Combined Code
movieClip 63 bosshealthbarorange {
}
movieClip 65 badguyhealthbar {
}
movieClip 68 heightbox {
frame 1 {
if (_root.testmode == 0) {
gotoAndStop(3);
}
var testmode = 0;
}
frame 2 {
stop();
}
}
movieClip 71 {
frame 1 {
if (_root.testmode == 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 73 trashwall {
frame 1 {
stop();
}
frame 21 {
_root.quest_fireout = true;
loadMovie('', this);
}
}
movieClip 78 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(3);
} else {
if (_root.player > 10) {
gotoAndStop(2);
}
}
stop();
}
}
// unknown tag 88 length 64
// unknown tag 88 length 75
movieClip 86 {
frame 1 {
if (_root.quest_zombiecount <= 0) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 88 {
frame 1 {
if (_root.quest_pirateboss == 0) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 90 {
frame 1 {
if (_root.quest_shipclear == 0) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 92 {
frame 1 {
if (_root.quest_getmedkit >= 2) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 97 {
frame 1 {
if (_root.quest_savemage == 5 or _root.quest_savemage == 6) {
stop();
}
}
frame 2 {
if (_root.player == 11) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 99 {
frame 1 {
if (_root.quest_zombiecount <= 0 and _root.quest_armdoor >= 2) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 101 {
frame 1 {
if (_root.quest_shippower == 7 or _root.quest_shippower == 11) {
stop();
}
}
frame 2 {
stop();
}
}
// unknown tag 88 length 63
movieClip 111 {
frame 1 {
var monstercounter = 5;
if (_root.quest_zombiecount <= 0) {
--monstercounter;
}
if (_root.quest_pirateboss == 0) {
--monstercounter;
}
if (_root.quest_shipclear == 0) {
--monstercounter;
}
gotoAndStop(monstercounter);
}
}
movieClip 120 {
frame 1 {
var questcounter = 6;
if (_root.quest_getmedkit >= 2) {
--questcounter;
}
if (_root.quest_savemage == 5 or _root.quest_savemage == 6 or _root.player == 11) {
--questcounter;
}
if (_root.quest_zombiecount <= 0 and _root.quest_armdoor >= 2) {
--questcounter;
}
if (_root.quest_shippower == 7 or _root.quest_shippower == 11) {
--questcounter;
}
gotoAndStop(questcounter);
}
}
button 125 {
on (release) {
_root.gotoAndPlay(3);
_parent._x = 0;
_parent._y = 0;
_parent._xscale = 100;
_parent._yscale = 100;
_root.camframe.removeMovieClip();
_root.fadeout.removeMovieClip();
this.removeMovieClip();
}
}
button 127 {
on (release) {
this.play();
}
}
movieClip 129 checklistboxact1 {
frame 1 {
this._alpha = 0;
}
frame 5 {
this._alpha += 10;
}
frame 6 {
this._alpha += 10;
}
frame 7 {
this._alpha += 10;
}
frame 8 {
this._alpha += 10;
}
frame 9 {
this._alpha += 10;
}
frame 10 {
this._alpha += 10;
}
frame 11 {
this._alpha += 10;
}
frame 12 {
this._alpha += 10;
}
frame 13 {
this._alpha += 10;
}
frame 14 {
this._alpha = 100;
}
frame 20 {
stop();
}
frame 22 {
this._alpha -= 10;
}
frame 23 {
this._alpha -= 10;
}
frame 24 {
this._alpha -= 10;
}
frame 25 {
this._alpha -= 10;
}
frame 26 {
this._alpha -= 10;
}
frame 27 {
this._alpha -= 10;
}
frame 28 {
this._alpha -= 10;
}
frame 29 {
this._alpha -= 10;
}
frame 30 {
this._alpha -= 10;
}
frame 31 {
this._alpha = 0;
_root.health = _root.maxhealth;
_root.cumchest = 5;
_root.cumface = 5;
_root.poisonlevel = 0;
_root.gotoAndStop('Comic-A2Start');
_parent._x = 0;
_parent._y = 0;
_parent._xscale = 100;
_parent._yscale = 100;
_root.camframe.removeMovieClip();
_root.fadeout.removeMovieClip();
this.removeMovieClip();
stop();
}
}
movieClip 131 {
}
movieClip 133 {
}
movieClip 135 {
}
movieClip 136 energyball2 {
}
movieClip 138 {
}
movieClip 140 {
}
movieClip 141 energyball-dark {
}
movieClip 145 {
frame 1 {
if (_root.player > 20) {
gotoAndPlay(41);
} else {
if (_root.player > 10) {
gotoAndPlay(21);
}
}
}
}
movieClip 148 {
frame 1 {
if (_root.player > 20) {
gotoAndPlay(41);
} else {
if (_root.player > 10) {
gotoAndPlay(21);
}
}
}
}
movieClip 149 energyball {
}
movieClip 194 {
}
movieClip 225 item_symbol_drop {
frame 1 {
stop();
}
}
movieClip 228 {
frame 1 {
if (_root.testmode == 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 229 item_drop {
frame 2 {
_root.choicetext = 'Pick up this item?';
if (_root.player % 10 == 3 and item_symbol._currentframe > 340 and item_symbol._currentframe < 351) {
_root.choiceA = 'Warriors may not equip staves';
_root.box3.choicebox.choicebuttonA.gotoAndStop(6);
} else {
if (_root.player % 10 == 1 and item_symbol._currentframe > 330 and item_symbol._currentframe < 341) {
_root.choiceA = 'Wizards may not equip large weapons.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(6);
} else {
_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();
}
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;
}
}
}
frame 52 {
loadMovie('', this);
}
}
movieClip 274 item_symbol {
frame 1 {
stop();
}
}
movieClip 275 item_drop_ani {
frame 1 {
var itemnumber = _root.maxitems;
}
frame 1 {
var wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 2 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 3 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 4 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 5 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 6 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 7 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 8 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 9 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 10 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 11 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 12 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 13 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 100, 400, true)) {
this._x -= 25;
}
if (_root.leftwall.hitTest(wallcheck - 100, 400, true)) {
this._x += 25;
}
}
frame 14 {
wallcheck = _root.camframe._x + item_symbol._x * this._xscale / 100;
if (_root.rightwall.hitTest(wallcheck + 125, 400, true)) {
this._x -= 50;
}
if (_root.leftwall.hitTest(wallcheck - 125, 400, true)) {
this._x += 50;
}
}
frame 15 {
_root.attachMovie('item_drop', 'obj' + itemnumber, 1001 + itemnumber);
_root['obj' + itemnumber]._x = this._x + 3.75 * this._xscale;
_root['obj' + itemnumber]._y = 550;
_root['obj' + itemnumber].item_symbol.gotoAndStop(this.item_symbol._currentframe);
loadMovie('', this);
stop();
}
}
movieClip 277 {
}
movieClip 279 {
}
movieClip 281 {
}
movieClip 284 {
}
movieClip 287 {
}
movieClip 288 {
}
movieClip 290 {
}
movieClip 291 {
frame 11 {
this._parent.unloadMovie();
}
}
movieClip 292 zombiedoor {
frame 1 {
stop();
}
}
movieClip 294 {
}
movieClip 296 {
}
movieClip 298 {
}
movieClip 300 {
}
movieClip 302 {
}
movieClip 304 {
}
movieClip 306 {
}
movieClip 308 {
}
movieClip 310 {
}
movieClip 312 {
}
movieClip 314 {
}
movieClip 316 {
}
movieClip 318 {
}
movieClip 320 {
}
movieClip 325 {
}
movieClip 327 {
}
movieClip 329 {
}
movieClip 331 {
}
movieClip 333 {
}
movieClip 335 {
}
movieClip 336 {
}
movieClip 337 {
}
movieClip 338 {
}
movieClip 340 {
}
movieClip 341 {
}
movieClip 342 {
frame 1 {
var unloadcounter = 0;
if (_root._currentframe > 49) {
unloadcounter = 240;
}
}
frame 21 {
++unloadcounter;
if (unloadcounter < 240) {
gotoAndPlay(16);
}
}
frame 23 {
this._parent._alpha -= 10;
}
frame 24 {
this._parent._alpha -= 10;
}
frame 25 {
this._parent._alpha -= 10;
}
frame 26 {
this._parent._alpha -= 10;
}
frame 27 {
this._parent._alpha -= 10;
}
frame 28 {
this._parent._alpha -= 10;
}
frame 29 {
this._parent._alpha -= 10;
}
frame 30 {
this._parent._alpha -= 10;
}
frame 31 {
this._parent._alpha = 100;
this._parent.unloadMovie();
}
}
movieClip 344 {
}
movieClip 346 {
}
movieClip 351 {
}
movieClip 356 {
}
movieClip 357 {
frame 24 {
this._parent._x += this._parent._xscale / 2;
}
frame 25 {
this._parent._x += this._parent._xscale / 2;
}
frame 26 {
this._parent._x += this._parent._xscale / 2;
}
frame 27 {
this._parent._x += this._parent._xscale / 2;
}
frame 28 {
this._parent._x += this._parent._xscale / 2;
}
frame 29 {
this._parent._x += this._parent._xscale / 2;
}
frame 30 {
this._parent._x += this._parent._xscale / 2;
}
frame 31 {
this._parent._x += this._parent._xscale / 2;
}
frame 32 {
this._parent._x += this._parent._xscale / 2;
}
frame 33 {
this._parent._x += this._parent._xscale / 2;
}
frame 34 {
this._parent._x += this._parent._xscale / 2;
}
frame 35 {
this._parent._x += this._parent._xscale / 2;
}
frame 36 {
this._parent._x += this._parent._xscale / 2;
}
frame 37 {
this._parent._x += this._parent._xscale / 2;
}
frame 38 {
this._parent._x += this._parent._xscale / 2;
}
frame 39 {
this._parent._x += this._parent._xscale / 2;
}
frame 40 {
this._parent._x += this._parent._xscale / 2;
}
frame 41 {
this._parent._x += this._parent._xscale / 2;
}
frame 42 {
this._parent._x += this._parent._xscale / 2;
}
frame 43 {
this._parent._x += this._parent._xscale / 2;
}
frame 44 {
this._parent._x += this._parent._xscale / 2;
}
frame 45 {
this._parent._x += this._parent._xscale / 2;
}
frame 46 {
this._parent._x += this._parent._xscale / 2;
}
frame 47 {
this._parent._x += this._parent._xscale / 2;
}
frame 48 {
this._parent._x += this._parent._xscale / 2;
}
frame 49 {
this._parent._x += this._parent._xscale / 2;
}
frame 50 {
this._parent._x += this._parent._xscale / 2;
}
frame 51 {
this._parent._x += this._parent._xscale / 2;
}
frame 52 {
this._parent._x += this._parent._xscale / 2;
}
frame 53 {
this._parent._x += this._parent._xscale / 2;
}
frame 54 {
this._parent._x += this._parent._xscale / 2;
}
frame 55 {
this._parent._x += this._parent._xscale / 2;
}
frame 56 {
this._parent._x += this._parent._xscale / 2;
}
frame 57 {
this._parent._x += this._parent._xscale / 2;
}
frame 58 {
this._parent._x += this._parent._xscale / 2;
}
frame 59 {
this._parent._x += this._parent._xscale / 2;
}
frame 60 {
this._parent._x += this._parent._xscale / 2;
}
frame 61 {
this._parent._x += this._parent._xscale / 2;
}
frame 62 {
this._parent._x += this._parent._xscale / 2;
}
frame 63 {
this._parent._x += this._parent._xscale / 2;
}
frame 64 {
this._parent._x += this._parent._xscale / 2;
}
frame 65 {
this._parent._x += this._parent._xscale / 2;
}
frame 66 {
this._parent._x += this._parent._xscale / 2;
}
frame 67 {
this._parent._x += this._parent._xscale / 2;
}
frame 68 {
this._parent._x += this._parent._xscale / 2;
}
frame 69 {
loadMovie('', this._parent);
}
}
movieClip 358 {
}
movieClip 359 wolfman {
}
movieClip 361 {
}
movieClip 363 {
}
movieClip 365 {
}
movieClip 367 {
}
movieClip 369 {
}
movieClip 371 {
}
movieClip 373 {
}
movieClip 375 {
}
movieClip 377 {
}
movieClip 379 {
}
movieClip 381 {
}
movieClip 386 {
}
movieClip 388 {
}
movieClip 390 {
}
movieClip 392 {
}
movieClip 394 {
}
movieClip 396 {
}
movieClip 397 {
}
movieClip 399 {
}
movieClip 401 {
}
movieClip 402 {
}
movieClip 403 {
}
movieClip 405 {
}
movieClip 406 {
}
movieClip 407 {
frame 1 {
var unloadcounter = 0;
if (_root._currentframe > 40) {
unloadcounter = 240;
}
}
frame 21 {
++unloadcounter;
if (unloadcounter < 240) {
gotoAndPlay(16);
}
}
frame 23 {
this._parent._alpha -= 10;
}
frame 24 {
this._parent._alpha -= 10;
}
frame 25 {
this._parent._alpha -= 10;
}
frame 26 {
this._parent._alpha -= 10;
}
frame 27 {
this._parent._alpha -= 10;
}
frame 28 {
this._parent._alpha -= 10;
}
frame 29 {
this._parent._alpha -= 10;
}
frame 30 {
this._parent._alpha -= 10;
}
frame 31 {
this._parent._alpha -= 10;
}
frame 32 {
this._parent._alpha -= 10;
}
frame 33 {
this._parent._alpha = 100;
this._parent.unloadMovie();
}
}
movieClip 411 {
}
movieClip 416 {
}
movieClip 417 {
frame 31 {
this._parent._x -= this._parent._xscale / 2;
}
frame 32 {
this._parent._x -= this._parent._xscale / 2;
}
frame 33 {
this._parent._x -= this._parent._xscale / 2;
}
frame 34 {
this._parent._x -= this._parent._xscale / 2;
}
frame 35 {
this._parent._x -= this._parent._xscale / 2;
}
frame 36 {
this._parent._x -= this._parent._xscale / 2;
}
frame 37 {
this._parent._x -= this._parent._xscale / 2;
}
frame 38 {
this._parent._x -= this._parent._xscale / 2;
}
frame 39 {
this._parent._x -= this._parent._xscale / 2;
}
frame 40 {
this._parent._x -= this._parent._xscale / 2;
}
frame 41 {
this._parent._x -= this._parent._xscale / 2;
}
frame 42 {
this._parent._x -= this._parent._xscale / 2;
}
frame 43 {
this._parent._x -= this._parent._xscale / 2;
}
frame 44 {
this._parent._x -= this._parent._xscale / 2;
}
frame 45 {
this._parent._x -= this._parent._xscale / 2;
}
frame 46 {
this._parent._x -= this._parent._xscale / 2;
}
frame 47 {
this._parent._x -= this._parent._xscale / 2;
}
frame 48 {
this._parent._x -= this._parent._xscale / 2;
}
frame 49 {
this._parent._x -= this._parent._xscale / 2;
}
frame 50 {
this._parent._x -= this._parent._xscale / 2;
}
frame 51 {
this._parent._x -= this._parent._xscale / 2;
}
frame 52 {
this._parent._x -= this._parent._xscale / 2;
}
frame 53 {
this._parent._x -= this._parent._xscale / 2;
}
frame 54 {
this._parent._x -= this._parent._xscale / 2;
}
frame 55 {
this._parent._x -= this._parent._xscale / 2;
}
frame 56 {
this._parent._x -= this._parent._xscale / 2;
}
frame 57 {
this._parent._x -= this._parent._xscale / 2;
}
frame 58 {
this._parent._x -= this._parent._xscale / 2;
}
frame 59 {
this._parent._x -= this._parent._xscale / 2;
}
frame 60 {
this._parent._x -= this._parent._xscale / 2;
}
frame 61 {
this._parent._x -= this._parent._xscale / 2;
}
frame 62 {
this._parent._x -= this._parent._xscale / 2;
}
frame 63 {
this._parent._x -= this._parent._xscale / 2;
}
frame 64 {
this._parent._x -= this._parent._xscale / 2;
}
frame 65 {
this._parent._x -= this._parent._xscale / 2;
}
frame 66 {
loadMovie('', this._parent);
}
}
movieClip 418 catguy {
}
movieClip 460 earthmound {
}
movieClip 489 wave {
}
movieClip 495 {
}
movieClip 505 {
}
movieClip 507 {
}
movieClip 511 {
}
movieClip 529 {
}
movieClip 531 {
}
movieClip 551 {
}
movieClip 561 {
}
movieClip 563 {
}
movieClip 567 {
}
movieClip 568 {
}
movieClip 569 {
}
movieClip 570 {
frame 1 {
i = 0;
var movebosshere = 0;
var whoami = this._parent._target;
}
frame 10 {
whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
_root['bghb' + i]._y = 1000;
}
++i;
}
if (Math.random() > 0.66) {
gotoAndPlay('Attack2');
}
}
frame 11 {
movebosshere = _root.camframe._x;
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 12 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 13 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 14 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 15 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 16 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 17 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 18 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 19 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 20 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 21 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 22 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 23 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 24 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 25 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 26 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 27 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 28 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 29 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 30 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 31 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 32 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 33 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 34 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 35 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 36 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 37 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 38 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 39 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
}
frame 40 {
if (Math.abs(this._parent._x - movebosshere) > 50) {
if (this._parent._x > movebosshere) {
this._parent._x -= 50;
} else {
this._parent._x += 50;
}
} else {
this._parent._x = movebosshere;
}
gotoAndPlay('EndAttack');
}
frame 51 {
if (_root.camframe._x > 0) {
movebosshere = -50;
} else {
movebosshere = 50;
}
this._parent._x += movebosshere;
}
frame 52 {
this._parent._x += movebosshere;
}
frame 53 {
this._parent._x += movebosshere;
}
frame 54 {
this._parent._x += movebosshere;
}
frame 55 {
this._parent._x += movebosshere;
}
frame 56 {
this._parent._x += movebosshere;
}
frame 57 {
this._parent._x += movebosshere;
}
frame 58 {
this._parent._x += movebosshere;
}
frame 59 {
this._parent._x += movebosshere;
}
frame 60 {
this._parent._x += movebosshere;
}
frame 61 {
if (_root.BGA.length > 6) {
if (_root.held < 100) {
i = 2;
while (i >= 0) {
if (_root.BGA[i][0] == 11) {
_root[_root.BGA[i][5]].gotoAndStop(21);
_root[_root.BGA[i][6]].removeMovieClip;
_root.BGA.splice([i][0], 1);
}
--i;
}
}
}
_root.addmobs(11, -2100, 3000, 50, 2);
_root.addmobs(11, -2100, 3000, 50, 2);
}
frame 61 {
this._parent._x += movebosshere;
}
frame 62 {
this._parent._x += movebosshere;
}
frame 63 {
this._parent._x += movebosshere;
}
frame 64 {
this._parent._x += movebosshere;
}
frame 65 {
this._parent._x += movebosshere;
}
frame 66 {
this._parent._x += movebosshere;
}
frame 67 {
this._parent._x += movebosshere;
}
frame 68 {
this._parent._x += movebosshere;
}
frame 69 {
this._parent._x += movebosshere;
}
frame 70 {
this._parent._x += movebosshere;
}
frame 71 {
this._parent._x += movebosshere;
}
frame 72 {
this._parent._x += movebosshere;
}
frame 73 {
this._parent._x += movebosshere;
}
frame 74 {
this._parent._x += movebosshere;
}
frame 75 {
this._parent._x += movebosshere;
}
frame 76 {
this._parent._x += movebosshere;
}
frame 77 {
this._parent._x += movebosshere;
}
frame 78 {
this._parent._x += movebosshere;
}
frame 79 {
this._parent._x += movebosshere;
}
frame 80 {
this._parent._x += movebosshere;
gotoAndPlay('EndAttack');
}
frame 100 {
whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
_root[_root.BGA[i][6]]._x = this._parent._x;
_root[_root.BGA[i][6]]._y = 550;
}
++i;
}
stop();
}
}
movieClip 572 {
}
movieClip 573 {
frame 1 {
_root.fadeout.gotoAndPlay(51);
_root.held = 905;
_root.camframe.hero.gotoAndStop(9);
}
frame 21 {
_root.quest_shipclear = 0;
loadMovie('', this._parent);
}
}
movieClip 580 {
frame 150 {
_root.BGA[0][9] = _root.BGtype[18][5];
_root.bghb0._y = 550;
}
frame 181 {
gotoAndPlay('loop');
}
}
movieClip 581 slimeboss {
}
movieClip 583 {
}
movieClip 585 {
}
movieClip 587 {
}
movieClip 589 {
}
movieClip 591 {
}
movieClip 593 {
}
movieClip 595 {
}
movieClip 597 {
}
movieClip 599 {
}
movieClip 604 {
}
movieClip 606 {
}
movieClip 608 {
}
movieClip 610 {
}
movieClip 612 {
}
movieClip 614 {
}
movieClip 617 {
}
movieClip 618 M19loader {
frame 1 {
blackout._alpha = 50;
}
frame 2 {
if (_root.camframe._x > this._parent._x) {
this._xscale = -100;
}
if (_root._currentframe == 40) {
if (Math.abs(_root.camframe._x - this._parent._x) > 500) {
gotoAndPlay(1);
}
}
}
frame 3 {
blackout._alpha = 75;
}
frame 4 {
blackout._alpha = 100;
}
frame 8 {
blackout._alpha = 75;
}
frame 10 {
blackout._alpha = 50;
}
frame 12 {
blackout._alpha = 25;
}
frame 30 {
j = 0;
i = 0;
b = 0;
var a = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
_root.BGA[i][9] = _root.BGtype[19][5];
_root['bghb' + i]._y = 550 + i * 2;
}
++i;
}
}
}
movieClip 619 {
}
movieClip 620 {
frame 17 {
gotoAndPlay(1);
}
}
movieClip 622 {
}
movieClip 623 {
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);
if (_parent._xscale == 100) {
_root.monatt.push([0, ['mp' + _root.mpnum], 8, 1, 75]);
_root['mp' + _root.mpnum]._x = _parent._x + 200;
} else {
_root.monatt.push([0, ['mp' + _root.mpnum], 8, -1, 75]);
_root['mp' + _root.mpnum]._x = _parent._x - 200;
}
_root['mp' + _root.mpnum]._y = 200;
}
frame 20 {
stop();
}
}
movieClip 628 {
}
movieClip 629 {
}
movieClip 630 {
frame 3 {
this._parent._alpha -= 10;
}
frame 5 {
this._parent._alpha -= 10;
}
frame 7 {
this._parent._alpha -= 10;
}
frame 9 {
this._parent._alpha -= 10;
}
frame 11 {
this._parent._alpha -= 10;
}
frame 13 {
this._parent._alpha -= 10;
}
frame 15 {
this._parent._alpha -= 10;
}
frame 17 {
this._parent._alpha -= 10;
}
frame 19 {
this._parent._alpha -= 10;
}
frame 21 {
if (_root.quest_pirateboss > 1) {
--_root.quest_pirateboss;
}
this._parent._alpha = 100;
this._parent.unloadMovie();
}
}
movieClip 631 pirate {
}
movieClip 640 {
}
movieClip 709 {
frame 56 {
gotoAndPlay(6);
}
}
movieClip 731 {
frame 54 {
gotoAndPlay(3);
}
}
movieClip 733 {
}
movieClip 740 {
frame 6 {
this._parent.unloadMovie();
}
}
movieClip 742 {
frame 20 {
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
_root.BGA[i][9] = _root.BGtype[11][5];
_root['bghb' + i]._y = 550 + i * 2;
}
++i;
}
stop();
}
}
movieClip 743 slimetentacle {
frame 1 {
stop();
}
}
movieClip 746 symbol_poison {
frame 1 {
var loopcount = 0;
}
frame 5 {
this._y -= 5;
++loopcount;
if (loopcount < 30) {
gotoAndPlay(2);
} else {
this.unloadMovie();
}
}
}
movieClip 749 M22_HighHammerBox {
frame 1 {
if (_root.testmode == 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 750 m19_punchbox {
frame 1 {
if (_root.testmode == 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 751 {
}
movieClip 753 {
}
movieClip 755 {
}
movieClip 757 {
}
movieClip 759 {
}
movieClip 761 {
}
movieClip 763 {
}
movieClip 765 {
}
movieClip 767 {
}
movieClip 769 {
}
movieClip 771 {
}
movieClip 773 {
}
movieClip 775 {
}
movieClip 778 {
}
movieClip 782 {
}
movieClip 785 {
}
movieClip 787 {
}
movieClip 789 {
}
movieClip 791 {
}
movieClip 793 {
}
movieClip 795 {
}
movieClip 797 {
}
// unknown tag 88 length 62
movieClip 801 M20loader {
frame 2 {
if (Math.abs(_root.camframe._x - this._parent._x) > 400) {
gotoAndPlay(1);
}
}
frame 3 {
_root.held = 990;
_root.xstart = -125;
_root.xfinish = -124;
_root.camframe.box.gotoAndPlay(61);
_root.camframe.hero.gotoAndStop(1);
}
frame 12 {
if (_root.held >= 900) {
gotoAndPlay(11);
}
}
frame 13 {
_root.crate1.gotoAndStop(6);
_root.crate2.gotoAndStop(6);
_root.leftwall._y = 0;
_root.rightwall._y = 0;
if (_root.quest_pirateboss > _root.BGA.length) {
addmobs(19, -1000, 1500, 750, 2);
}
}
frame 14 {
_root.BGA[0][9] = _root.BGtype[20][5];
_root.bghb0._y = 550;
}
frame 21 {
stop();
}
}
movieClip 803 {
}
movieClip 805 {
}
movieClip 806 {
}
movieClip 807 {
frame 21 {
gotoAndPlay(1);
}
}
movieClip 819 {
}
movieClip 836 {
frame 1 {
if (_root.BGA.length < _root.quest_pirateboss / 2) {
gotoAndPlay('addBGs');
}
}
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;
}
frame 20 {
stop();
}
frame 31 {
if (_root.quest_pirateboss > _root.BGA.length) {
_root.addmobs(19, -1000, 2000, 250, 2);
_root.addmobs(19, -1000, 2000, 250, 2);
}
}
frame 41 {
stop();
}
}
movieClip 840 {
}
movieClip 841 {
}
movieClip 842 {
frame 3 {
this._parent._alpha -= 10;
}
frame 5 {
this._parent._alpha -= 10;
}
frame 7 {
this._parent._alpha -= 10;
}
frame 9 {
this._parent._alpha -= 10;
}
frame 11 {
this._parent._alpha -= 10;
}
frame 13 {
this._parent._alpha -= 10;
}
frame 15 {
this._parent._alpha -= 10;
}
frame 17 {
this._parent._alpha -= 10;
}
frame 19 {
this._parent._alpha -= 10;
}
frame 21 {
if (_root._currentframe == 44) {
_root.quest_pirateboss = 0;
_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._alpha = 100;
this._parent.unloadMovie();
}
}
movieClip 843 pirateboss {
}
movieClip 844 m20whiphitbox {
frame 1 {
if (_root.testmode == 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 845 firepile {
}
movieClip 846 ss_fire {
frame 16 {
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] -= damage;
_root.BGA[i][7] += damage;
_root[_root.BGA[i][6]]._xscale = _root.BGA[i][4];
}
--i;
}
this._xscale -= 5;
this._yscale -= 5;
if (this._xscale <= 40) {
loadMovie('', this);
} else {
gotoAndPlay('Loop');
}
}
}
movieClip 853 ss_earth {
frame 1 {
var damage = _root.spirit + _root.wpndmgmag;
}
frame 25 {
if (_root.held !== 50) {
this.removeMovieClip();
stop();
}
}
frame 31 {
if (_root.wpn == 42 and _root.held == 50) {
gotoAndPlay('Loop');
}
}
frame 75 {
damage *= this._xscale / 2;
var i = 0;
i = _root.BGA.length - 1;
while (i >= 0) {
if (this.hitTest(_root[_root.BGA[i][5]].bghitbox)) {
_root.BGA[i][4] -= damage;
if (_root.BGA[i][7] < 500) {
_root.BGA[i][7] += damage;
} else {
_root.BGA[i][7] = damage;
}
_root[_root.BGA[i][6]]._xscale = _root.BGA[i][4];
}
--i;
}
}
frame 79 {
this.removeMovieClip();
stop();
}
}
movieClip 864 {
}
movieClip 874 ss_water {
frame 16 {
this._xscale -= 2;
this._yscale -= 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_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];
}
}
}
frame 21 {
this._xscale -= 2;
this._yscale -= 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_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];
}
}
}
frame 26 {
this._xscale -= 2;
this._yscale -= 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_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];
}
}
}
frame 31 {
this._xscale -= 2;
this._yscale -= 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_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];
}
}
}
frame 36 {
this._xscale -= 2;
this._yscale -= 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_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];
}
}
}
frame 41 {
this._xscale -= 2;
this._yscale -= 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_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];
}
}
}
frame 46 {
this._xscale -= 2;
this._yscale -= 2;
if (_root.BGA[0][8] == 50) {
if (this.hitTest(_root[_root.BGA[0][5]].bghitbox)) {
_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];
}
}
}
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] -= damage;
_root.BGA[i][7] += damage;
_root[_root.BGA[i][6]]._xscale = _root.BGA[i][4];
}
--i;
}
this._xscale -= 2;
this._yscale -= 2;
if (this._xscale <= 40) {
loadMovie('', this);
} else {
gotoAndPlay(10 + Math.ceil(Math.random() * 20));
}
}
}
movieClip 876 {
}
movieClip 878 {
}
movieClip 880 {
}
movieClip 882 {
}
movieClip 884 {
}
movieClip 886 {
}
movieClip 888 {
}
movieClip 890 {
}
movieClip 892 {
}
movieClip 894 {
}
movieClip 896 {
}
movieClip 898 {
}
movieClip 900 {
}
movieClip 902 {
}
movieClip 904 {
}
movieClip 906 {
}
movieClip 910 {
}
movieClip 912 {
}
movieClip 914 {
}
movieClip 916 {
}
movieClip 918 {
}
movieClip 923 {
frame 1 {
stop();
}
}
movieClip 924 {
frame 1 {
if (_root.quest_savemage == 6) {
gotoAndStop(2);
} else {
if (_root.quest_savemage == 5) {
stop();
}
}
}
frame 3 {
function BGjumpcheck() {
if (Math.abs(_root.camframe._x - _root.obj3._x) < 500) {
_root.bg10._x -= 100;
_root.bg10._y = 575;
_root.BGA[_root.BGA.length - 1][3] = _root.BGtype[16][3] * _root.gamediff;
if (llhbb < 100) {
_root.quest_savemage = 5;
_root.firechecked[7] = 2;
gotoAndStop(1);
} else {
_root.quest_savemage = 10;
gotoAndPlay(51);
}
}
}
var llhbb = 20;
var b = 16;
var i = 10;
_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.gamediff, _root.BGtype[b][2] * _root.gamediff, 0, 50 + _root.BGtype[b][1] * 10 * _root.gamediff, '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];
}
frame 6 {
BGjumpcheck();
}
frame 9 {
BGjumpcheck();
}
frame 12 {
if (llhbb < 100) {
++llhbb;
leileihealth.healthbarblock._xscale = llhbb;
_root.BGA[_root.BGA.length - 1][4] -= 1;
} else {
leileieye.gotoAndStop(6);
}
}
frame 12 {
BGjumpcheck();
}
frame 15 {
BGjumpcheck();
}
frame 18 {
BGjumpcheck();
}
frame 20 {
if (llhbb < 100) {
++llhbb;
leileihealth.healthbarblock._xscale = llhbb;
_root.BGA[_root.BGA.length - 1][4] -= 1;
} else {
leileieye.gotoAndStop(6);
}
}
frame 21 {
BGjumpcheck();
}
frame 24 {
BGjumpcheck();
}
frame 27 {
if (llhbb < 100) {
++llhbb;
leileihealth.healthbarblock._xscale = llhbb;
_root.BGA[_root.BGA.length - 1][4] -= 1;
} else {
leileieye.gotoAndStop(6);
}
}
frame 27 {
BGjumpcheck();
}
frame 31 {
BGjumpcheck();
}
frame 34 {
BGjumpcheck();
}
frame 35 {
if (llhbb < 100) {
++llhbb;
leileihealth.healthbarblock._xscale = llhbb;
_root.BGA[_root.BGA.length - 1][4] -= 1;
} else {
leileieye.gotoAndStop(6);
}
gotoAndPlay('Loop');
}
frame 52 {
this._alpha -= 10;
}
frame 53 {
this._alpha -= 10;
}
frame 54 {
this._alpha -= 10;
}
frame 55 {
this._alpha -= 10;
}
frame 56 {
this._alpha -= 10;
}
frame 57 {
this._alpha -= 10;
}
frame 58 {
this._alpha -= 10;
}
frame 59 {
this._alpha -= 10;
}
frame 60 {
this._alpha -= 10;
}
frame 61 {
removeMovieClip(_root.obj3);
}
}
movieClip 935 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();
}
}
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();
}
frame 10 {
stop();
}
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();
}
frame 20 {
stop();
}
frame 55 {
_root.quest_savemage = 6;
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 2;
_root.itemnewh = 601;
stop();
}
frame 101 {
if (_root.quest_savemage > 5) {
gotoAndPlay(106);
}
}
frame 105 {
_root.held = 0;
stop();
}
frame 111 {
_root.held = 0;
stop();
}
frame 151 {
if (_root.quest_savemage > 5) {
gotoAndPlay(156);
}
}
frame 155 {
_root.held = 0;
stop();
}
frame 161 {
_root.held = 0;
stop();
}
frame 306 {
stop();
}
}
movieClip 972 {
}
movieClip 973 slimewall {
frame 21 {
loadMovie('', this);
}
}
// unknown tag 88 length 73
movieClip 981 endingtalkact1 {
frame 1 {
var delaycount = 0;
}
frame 20 {
++delaycount;
if (delaycount < 3) {
gotoAndPlay(2);
}
}
frame 21 {
delaycount = 0;
}
frame 61 {
this._alpha -= 5;
}
frame 62 {
this._alpha -= 5;
}
frame 63 {
this._alpha -= 5;
}
frame 64 {
this._alpha -= 5;
}
frame 65 {
this._alpha -= 5;
}
frame 66 {
this._alpha -= 5;
}
frame 67 {
this._alpha -= 5;
}
frame 68 {
this._alpha -= 5;
}
frame 69 {
this._alpha -= 5;
}
frame 70 {
this._alpha -= 5;
}
frame 71 {
this._alpha -= 5;
}
frame 72 {
this._alpha -= 5;
}
frame 73 {
this._alpha -= 5;
}
frame 74 {
this._alpha -= 5;
}
frame 75 {
this._alpha -= 5;
}
frame 76 {
this._alpha -= 5;
}
frame 77 {
this._alpha -= 5;
}
frame 78 {
this._alpha -= 5;
}
frame 79 {
this._alpha -= 5;
}
frame 80 {
this._alpha = 100;
}
frame 181 {
this._alpha -= 5;
}
frame 182 {
this._alpha -= 5;
}
frame 183 {
this._alpha -= 5;
}
frame 184 {
this._alpha -= 5;
}
frame 185 {
this._alpha -= 5;
}
frame 186 {
this._alpha -= 5;
}
frame 187 {
this._alpha -= 5;
}
frame 188 {
this._alpha -= 5;
}
frame 189 {
this._alpha -= 5;
}
frame 190 {
this._alpha -= 5;
}
frame 191 {
this._alpha -= 5;
}
frame 192 {
this._alpha -= 5;
}
frame 193 {
this._alpha -= 5;
}
frame 194 {
this._alpha -= 5;
}
frame 195 {
this._alpha -= 5;
}
frame 196 {
this._alpha -= 5;
}
frame 197 {
this._alpha -= 5;
}
frame 198 {
this._alpha -= 5;
}
frame 199 {
this._alpha -= 5;
}
frame 200 {
this._alpha = 100;
}
frame 241 {
this._alpha = 100;
}
frame 281 {
this._alpha -= 5;
}
frame 282 {
this._alpha -= 5;
}
frame 283 {
this._alpha -= 5;
}
frame 284 {
this._alpha -= 5;
}
frame 285 {
this._alpha -= 5;
}
frame 286 {
this._alpha -= 5;
}
frame 287 {
this._alpha -= 5;
}
frame 288 {
this._alpha -= 5;
}
frame 289 {
this._alpha -= 5;
}
frame 290 {
this._alpha -= 5;
}
frame 291 {
this._alpha -= 5;
}
frame 292 {
this._alpha -= 5;
}
frame 293 {
this._alpha -= 5;
}
frame 294 {
this._alpha -= 5;
}
frame 295 {
this._alpha -= 5;
}
frame 296 {
this._alpha -= 5;
}
frame 297 {
this._alpha -= 5;
}
frame 298 {
this._alpha -= 5;
}
frame 299 {
this._alpha -= 5;
}
frame 300 {
this._alpha = 100;
_root.attachMovie('checklistboxact1', 'CLB1', 2002);
_root.CLB1._x = _root.camframe._x;
_root.CLB1._y = 0;
loadMovie('', this);
stop();
}
}
movieClip 983 {
}
movieClip 985 {
}
movieClip 987 {
}
movieClip 989 {
}
movieClip 991 {
}
movieClip 993 {
}
movieClip 995 {
}
movieClip 997 {
}
movieClip 999 {
}
movieClip 1001 {
}
movieClip 1003 {
}
movieClip 1005 {
}
movieClip 1007 {
}
movieClip 1009 {
}
movieClip 1011 {
}
movieClip 1013 {
}
movieClip 1015 {
}
movieClip 1017 {
}
movieClip 1019 {
}
movieClip 1021 {
}
movieClip 1023 {
}
movieClip 1025 {
}
movieClip 1026 {
}
movieClip 1027 {
}
movieClip 1029 {
}
movieClip 1032 {
frame 11 {
var a = _root.monatt.length;
++_root.mpnum;
if (_root.mpnum > 40) {
_root.mpnum = 1;
}
_root.attachMovie('m20whiphitbox', 'mp' + _root.mpnum, 250 + _root.mpnum);
if (_parent._xscale == 100) {
_root.monatt.push([0, ['mp' + _root.mpnum], 8, 1, 85]);
_root['mp' + _root.mpnum]._x = _parent._x;
} else {
_root.monatt.push([0, ['mp' + _root.mpnum], 8, -1, 85]);
_root['mp' + _root.mpnum]._x = _parent._x;
}
_root['mp' + _root.mpnum]._y = 200;
}
frame 14 {
var a = _root.monatt.length;
++_root.mpnum;
if (_root.mpnum > 40) {
_root.mpnum = 1;
}
_root.attachMovie('earthmound', 'mp' + _root.mpnum, 250 + _root.mpnum);
if (_parent._xscale == 100) {
_root.monatt.push([0, ['mp' + _root.mpnum], 12, 10, 200]);
_root['mp' + _root.mpnum]._x = _parent._x + 150;
} else {
_root.monatt.push([0, ['mp' + _root.mpnum], 12, -10, 200]);
_root['mp' + _root.mpnum]._x = _parent._x - 150;
}
_root['mp' + _root.mpnum]._y = 600;
}
frame 30 {
stop();
}
}
movieClip 1033 {
}
movieClip 1034 {
frame 1 {
if (_root._currentframe < 101) {
if (Math.random() <= 0.33) {
if (Math.random() < 0.5) {
gotoAndPlay(51);
} else {
gotoAndPlay(101);
}
}
}
}
frame 3 {
this._parent._alpha -= 10;
if (_root._currentframe < 101) {
++_root.maxitems;
var itemnumber = _root.maxitems;
if (Math.random() > 0.5) {
var itemnew = 342;
} else {
var itemnew = 113;
}
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = this._parent._x - this._parent._xscale * 2;
_root['obj_drop_ani' + itemnumber]._y = 300;
_root['obj_drop_ani' + itemnumber]._xscale = this._parent._xscale;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(itemnew);
}
}
frame 5 {
this._parent._alpha -= 10;
}
frame 7 {
this._parent._alpha -= 10;
}
frame 9 {
this._parent._alpha -= 10;
}
frame 11 {
this._parent._alpha -= 10;
}
frame 13 {
this._parent._alpha -= 10;
}
frame 15 {
this._parent._alpha -= 10;
}
frame 17 {
this._parent._alpha -= 10;
}
frame 19 {
this._parent._alpha -= 10;
}
frame 21 {
++_root.villagebunnies;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
frame 53 {
this._parent._alpha -= 10;
++_root.maxitems;
var itemnumber = _root.maxitems;
var itemnew = 342;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = this._parent._x - this._parent._xscale * 2;
_root['obj_drop_ani' + itemnumber]._y = 300;
_root['obj_drop_ani' + itemnumber]._xscale = this._parent._xscale;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(itemnew);
}
frame 55 {
this._parent._alpha -= 10;
}
frame 57 {
this._parent._alpha -= 10;
}
frame 59 {
this._parent._alpha -= 10;
}
frame 61 {
this._parent._alpha -= 10;
}
frame 63 {
this._parent._alpha -= 10;
}
frame 65 {
this._parent._alpha -= 10;
}
frame 67 {
this._parent._alpha -= 10;
}
frame 69 {
this._parent._alpha -= 10;
}
frame 71 {
++_root.villagebunnies;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
frame 103 {
this._parent._alpha -= 10;
++_root.maxitems;
var itemnumber = _root.maxitems;
var itemnew = 113;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = this._parent._x - this._parent._xscale * 2;
_root['obj_drop_ani' + itemnumber]._y = 300;
_root['obj_drop_ani' + itemnumber]._xscale = this._parent._xscale;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(itemnew);
}
frame 105 {
this._parent._alpha -= 10;
}
frame 107 {
this._parent._alpha -= 10;
}
frame 109 {
this._parent._alpha -= 10;
}
frame 111 {
this._parent._alpha -= 10;
}
frame 113 {
this._parent._alpha -= 10;
}
frame 115 {
this._parent._alpha -= 10;
}
frame 117 {
this._parent._alpha -= 10;
}
frame 119 {
this._parent._alpha -= 10;
}
frame 121 {
++_root.villagebunnies;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
}
movieClip 1035 bunnygirl {
}
movieClip 1037 {
}
movieClip 1039 {
}
movieClip 1041 {
}
movieClip 1043 {
}
movieClip 1045 {
}
movieClip 1047 {
}
movieClip 1049 {
}
movieClip 1051 {
}
movieClip 1053 {
}
movieClip 1055 {
}
movieClip 1060 {
}
movieClip 1062 {
}
movieClip 1064 {
}
movieClip 1066 {
}
movieClip 1068 {
}
movieClip 1070 {
}
movieClip 1072 {
}
movieClip 1074 {
}
movieClip 1075 {
}
movieClip 1076 {
}
movieClip 1078 {
}
movieClip 1080 {
}
movieClip 1081 {
frame 20 {
var a = _root.monatt.length;
++_root.mpnum;
if (_root.mpnum > 40) {
_root.mpnum = 1;
}
_root.attachMovie('energyball2', 'mp' + _root.mpnum, 250 + _root.mpnum);
if (_parent._xscale == 100) {
_root.monatt.push([0, ['mp' + _root.mpnum], 10, 20, 150]);
_root['mp' + _root.mpnum]._x = _parent._x + 200;
} else {
_root.monatt.push([0, ['mp' + _root.mpnum], 10, -20, 150]);
_root['mp' + _root.mpnum]._x = _parent._x - 200;
}
_root['mp' + _root.mpnum]._y = 300;
}
frame 26 {
a = _root.monatt.length;
++_root.mpnum;
if (_root.mpnum > 40) {
_root.mpnum = 1;
}
_root.attachMovie('energyball2', 'mp' + _root.mpnum, 250 + _root.mpnum);
if (_parent._xscale == 100) {
_root.monatt.push([0, ['mp' + _root.mpnum], 10, 20, 150]);
_root['mp' + _root.mpnum]._x = _parent._x + 200;
} else {
_root.monatt.push([0, ['mp' + _root.mpnum], 10, -20, 150]);
_root['mp' + _root.mpnum]._x = _parent._x - 200;
}
_root['mp' + _root.mpnum]._y = 300;
}
frame 40 {
stop();
}
}
movieClip 1082 {
frame 1 {
if (_root._currentframe == 72) {
if (_root.KFoxHealth > 0 and _root.KFoxHealth < 100) {
_root.KFoxHealth = 105;
_root.obj6.gotoAndStop(1);
}
i = 0;
while (i < _root.BGA.length) {
if (_root.BGA[i][9] == 2) {
_root.BGA[i][9] = _root.BGtype[28][5];
}
++i;
}
}
}
}
movieClip 1084 {
}
movieClip 1085 {
frame 1 {
if (_root._currentframe == 72) {
if (_root.KFoxHealth > 0 and _root.KFoxHealth < 100) {
_root.KFoxHealth = 105;
_root.obj6.gotoAndStop(1);
}
}
if (_root._currentframe < 101) {
if (Math.random() <= 0.33) {
if (Math.random() < 0.5) {
gotoAndPlay(51);
} else {
gotoAndPlay(101);
}
}
}
}
frame 3 {
this._parent._alpha -= 10;
}
frame 5 {
this._parent._alpha -= 10;
}
frame 7 {
this._parent._alpha -= 10;
}
frame 9 {
this._parent._alpha -= 10;
}
frame 11 {
this._parent._alpha -= 10;
}
frame 13 {
this._parent._alpha -= 10;
}
frame 15 {
this._parent._alpha -= 10;
}
frame 17 {
this._parent._alpha -= 10;
}
frame 19 {
this._parent._alpha -= 10;
}
frame 21 {
++_root.villagebunnies;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
frame 52 {
++_root.maxitems;
var itemnumber = _root.maxitems;
var itemnew = 311;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = this._parent._x - this._parent._xscale * 2;
_root['obj_drop_ani' + itemnumber]._y = 300;
_root['obj_drop_ani' + itemnumber]._xscale = this._parent._xscale;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(itemnew);
}
frame 53 {
this._parent._alpha -= 10;
}
frame 55 {
this._parent._alpha -= 10;
}
frame 57 {
this._parent._alpha -= 10;
}
frame 59 {
this._parent._alpha -= 10;
}
frame 61 {
this._parent._alpha -= 10;
}
frame 63 {
this._parent._alpha -= 10;
}
frame 65 {
this._parent._alpha -= 10;
}
frame 67 {
this._parent._alpha -= 10;
}
frame 69 {
this._parent._alpha -= 10;
}
frame 71 {
++_root.villagebunnies;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
frame 102 {
++_root.maxitems;
var itemnumber = _root.maxitems;
var itemnew = 609;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = this._parent._x - this._parent._xscale * 2;
_root['obj_drop_ani' + itemnumber]._y = 300;
_root['obj_drop_ani' + itemnumber]._xscale = this._parent._xscale;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(itemnew);
}
frame 103 {
this._parent._alpha -= 10;
}
frame 105 {
this._parent._alpha -= 10;
}
frame 107 {
this._parent._alpha -= 10;
}
frame 109 {
this._parent._alpha -= 10;
}
frame 111 {
this._parent._alpha -= 10;
}
frame 113 {
this._parent._alpha -= 10;
}
frame 115 {
this._parent._alpha -= 10;
}
frame 117 {
this._parent._alpha -= 10;
}
frame 119 {
this._parent._alpha -= 10;
}
frame 121 {
++_root.villagebunnies;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
}
movieClip 1089 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 1091 {
}
movieClip 1093 {
}
movieClip 1095 {
}
movieClip 1097 {
}
movieClip 1099 {
}
movieClip 1101 {
}
movieClip 1103 {
}
movieClip 1105 {
}
movieClip 1107 {
}
movieClip 1109 {
}
movieClip 1111 {
}
movieClip 1114 {
}
movieClip 1116 {
}
movieClip 1118 {
}
movieClip 1120 {
}
movieClip 1122 {
}
movieClip 1124 {
}
movieClip 1126 {
}
movieClip 1128 {
}
movieClip 1136 {
}
movieClip 1146 {
}
movieClip 1154 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 1156 {
}
movieClip 1164 {
}
movieClip 1166 {
}
movieClip 1169 {
}
movieClip 1171 {
}
movieClip 1173 {
}
movieClip 1175 {
}
movieClip 1177 {
frame 1 {
function BGjumpcheck() {
if (Math.abs(_root.camframe._x - this._parent._x) < 250) {
_root.KFoxHealth = 105;
_root.obj6.gotoAndStop(1);
i = 0;
while (i < _root.BGA.length) {
if (_root.BGA[i][9] == 2) {
_root.BGA[i][9] = _root.BGtype[28][5];
}
++i;
}
}
}
}
frame 81 {
splashmonster.gotoAndPlay(2);
}
frame 100 {
if (_root.held > 900) {
gotoAndPlay(_currentframe - 5);
} else {
_root.bghb0._y = 550;
_root.bghb1._y = 550;
}
}
frame 105 {
BGjumpcheck();
}
frame 110 {
BGjumpcheck();
}
frame 115 {
BGjumpcheck();
}
frame 120 {
BGjumpcheck();
}
frame 121 {
_root.KFoxHealth -= 6;
KFHB._x += 20;
_root.BGA[0][4] -= 4;
_root.BGA[1][4] -= 4;
_root.bghb0._xscale = _root.BGA[0][4];
_root.bghb1._xscale = _root.BGA[1][4];
if (_root.KFoxHealth > 0) {
gotoAndPlay('Grab');
}
}
frame 151 {
_root.KFoxHealth = 0;
removeMovieClip(_root.obj6);
i = 0;
while (i < _root.BGA.length) {
if (_root.BGA[i][9] == 2) {
_root.BGA[i][9] = _root.BGtype[28][5];
}
++i;
}
stop();
}
}
movieClip 1178 bunnyguy {
}
movieClip 1180 {
}
movieClip 1182 {
}
movieClip 1184 {
}
movieClip 1186 {
}
movieClip 1188 {
}
movieClip 1190 {
}
movieClip 1192 {
}
movieClip 1194 {
}
movieClip 1196 {
}
movieClip 1198 {
}
movieClip 1200 {
}
movieClip 1202 {
}
movieClip 1204 {
}
movieClip 1206 {
}
movieClip 1208 {
}
movieClip 1210 {
}
movieClip 1212 {
}
movieClip 1214 {
}
movieClip 1216 {
}
movieClip 1217 {
}
movieClip 1218 {
}
movieClip 1219 {
frame 1 {
whoamihb = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
whoamihb = _root.BGA[i][6];
}
++i;
}
}
frame 10 {
this._parent._x += 0.1 * this._parent._xscale;
_root[whoamihb]._x += 0.1 * this._parent._xscale;
}
frame 11 {
this._parent._x += 0.1 * this._parent._xscale;
_root[whoamihb]._x += 0.1 * this._parent._xscale;
}
frame 12 {
this._parent._x += 0.1 * this._parent._xscale;
_root[whoamihb]._x += 0.1 * this._parent._xscale;
var a = _root.monatt.length;
++_root.mpnum;
if (_root.mpnum > 40) {
_root.mpnum = 1;
}
_root.attachMovie('m20whiphitbox', 'mp' + _root.mpnum, 250 + _root.mpnum);
if (_parent._xscale == 100) {
_root.monatt.push([0, ['mp' + _root.mpnum], 9, 1, 85]);
_root['mp' + _root.mpnum]._x = _parent._x + 100;
} else {
_root.monatt.push([0, ['mp' + _root.mpnum], 9, -1, 85]);
_root['mp' + _root.mpnum]._x = _parent._x - 100;
}
_root['mp' + _root.mpnum]._y = 200;
}
frame 13 {
this._parent._x += 0.1 * this._parent._xscale;
_root[whoamihb]._x += 0.1 * this._parent._xscale;
}
frame 14 {
this._parent._x += 0.1 * this._parent._xscale;
_root[whoamihb]._x += 0.1 * this._parent._xscale;
}
frame 21 {
stop();
}
}
movieClip 1221 {
}
movieClip 1222 {
}
movieClip 1223 {
frame 1 {
if (_root._currentframe < 101) {
if (Math.random() <= 0.33) {
gotoAndPlay(51);
}
}
}
frame 3 {
this._parent._alpha -= 10;
}
frame 5 {
this._parent._alpha -= 10;
}
frame 7 {
this._parent._alpha -= 10;
}
frame 9 {
this._parent._alpha -= 10;
}
frame 11 {
this._parent._alpha -= 10;
}
frame 13 {
this._parent._alpha -= 10;
}
frame 15 {
this._parent._alpha -= 10;
}
frame 17 {
this._parent._alpha -= 10;
}
frame 19 {
this._parent._alpha -= 10;
}
frame 21 {
++_root.villagehumans;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
frame 53 {
this._parent._alpha -= 10;
var itemnew = 321;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = this._parent._x - this._parent._xscale * 2;
_root['obj_drop_ani' + itemnumber]._y = 300;
_root['obj_drop_ani' + itemnumber]._xscale = this._parent._xscale;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(itemnew);
}
frame 55 {
this._parent._alpha -= 10;
}
frame 57 {
this._parent._alpha -= 10;
}
frame 59 {
this._parent._alpha -= 10;
}
frame 61 {
this._parent._alpha -= 10;
}
frame 63 {
this._parent._alpha -= 10;
}
frame 65 {
this._parent._alpha -= 10;
}
frame 67 {
this._parent._alpha -= 10;
}
frame 69 {
this._parent._alpha -= 10;
}
frame 71 {
++_root.villagehumans;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
}
movieClip 1224 barbariangirl {
}
movieClip 1226 {
}
movieClip 1228 {
}
movieClip 1230 {
}
movieClip 1232 {
}
movieClip 1234 {
}
movieClip 1236 {
}
movieClip 1238 {
}
movieClip 1240 {
}
movieClip 1242 {
}
movieClip 1244 {
}
movieClip 1246 {
}
movieClip 1248 {
}
movieClip 1250 {
}
movieClip 1252 {
}
movieClip 1254 {
}
movieClip 1256 {
}
movieClip 1258 {
}
movieClip 1260 {
}
movieClip 1261 {
}
movieClip 1263 {
}
movieClip 1264 {
}
movieClip 1267 {
frame 1 {
whoamihb = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
whoamihb = _root.BGA[i][6];
}
++i;
}
}
frame 8 {
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], 18, 1, 75]);
if (_parent._xscale == -100) {
_root.monatt[a][3] = -1;
_root['mp' + _root.mpnum]._x = _parent._x - 300;
} else {
_root['mp' + _root.mpnum]._x = _parent._x + 300;
}
_root['mp' + _root.mpnum]._y = 200;
}
frame 23 {
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], 18, 1, 75]);
if (_parent._xscale == -100) {
_root.monatt[a][3] = -1;
_root['mp' + _root.mpnum]._x = _parent._x - 300;
} else {
_root['mp' + _root.mpnum]._x = _parent._x + 300;
}
_root['mp' + _root.mpnum]._y = 200;
}
frame 29 {
this._parent._x += 0.2 * this._parent._xscale;
_root[whoamihb]._x += 0.2 * this._parent._xscale;
}
frame 30 {
this._parent._x += 0.2 * this._parent._xscale;
_root[whoamihb]._x += 0.2 * this._parent._xscale;
}
frame 31 {
this._parent._x += 0.2 * this._parent._xscale;
_root[whoamihb]._x += 0.2 * this._parent._xscale;
}
frame 32 {
this._parent._x += 0.2 * this._parent._xscale;
_root[whoamihb]._x += 0.2 * this._parent._xscale;
}
frame 33 {
stop();
}
frame 33 {
this._parent._x += 0.2 * this._parent._xscale;
_root[whoamihb]._x += 0.2 * this._parent._xscale;
}
}
movieClip 1269 {
}
movieClip 1270 {
}
movieClip 1272 {
}
movieClip 1274 {
}
movieClip 1275 {
frame 11 {
_root.DropItem(this._parent._x, this._parent._xscale * -1, 611);
_root.obj1.gotoAndStop(1);
_root.obj2.gotoAndStop(1);
_root.obj3.gotoAndStop(1);
_root.obj1.objecthitbox.gotoAndStop(1);
_root.obj2.objecthitbox.gotoAndStop(1);
_root.obj3.objecthitbox.gotoAndStop(1);
_root.leftwall.gotoAndStop(1);
_root.act2clear += 1;
}
frame 13 {
this._parent._alpha -= 10;
_root.DropItem(this._parent._x, this._parent._xscale, 333);
}
frame 15 {
this._parent._alpha -= 10;
}
frame 17 {
this._parent._alpha -= 10;
}
frame 19 {
this._parent._alpha -= 10;
}
frame 21 {
this._parent._alpha -= 10;
}
frame 23 {
this._parent._alpha -= 10;
}
frame 25 {
this._parent._alpha -= 10;
}
frame 27 {
this._parent._alpha -= 10;
}
frame 29 {
this._parent._alpha -= 10;
}
frame 31 {
this._parent._alpha = 100;
i = 5;
while (i >= 0) {
_root['bg' + i].removeMovieClip();
_root['bghb' + i].removeMovieClip();
_root.BGA.splice([i][0], 1);
--i;
}
}
}
movieClip 1278 {
}
movieClip 1280 {
}
movieClip 1282 {
}
movieClip 1284 {
}
movieClip 1287 {
}
movieClip 1289 {
}
movieClip 1291 {
}
movieClip 1293 {
}
movieClip 1296 {
}
movieClip 1298 {
}
movieClip 1300 {
}
movieClip 1302 {
}
movieClip 1304 {
}
movieClip 1307 {
}
movieClip 1309 {
}
movieClip 1311 {
}
movieClip 1313 {
}
movieClip 1315 {
}
// unknown tag 88 length 69
movieClip 1326 {
}
movieClip 1333 {
}
movieClip 1338 {
}
movieClip 1340 {
}
movieClip 1359 {
frame 2 {
if (_root.camframe._x < 0) {
gotoAndPlay(1);
}
}
frame 3 {
_root.held = 982;
_root.xstart = 0;
_root.xfinish = 1250;
_root.camframe.box.gotoAndPlay(61);
_root.camframe.hero.gotoAndStop(1);
_root.obj1.gotoAndStop(201);
_root.obj2.gotoAndStop(201);
_root.obj3.gotoAndStop(201);
_root.obj1.objecthitbox.gotoAndStop(11);
_root.obj2.objecthitbox.gotoAndStop(11);
_root.obj3.objecthitbox.gotoAndStop(11);
}
frame 25 {
if (_root.held <= 986) {
gotoAndPlay(6);
}
}
frame 51 {
_root.leftwall.gotoAndStop(6);
_root.BGA[0][9] = _root.BGtype[27][5];
_root.bghb0._y = 550;
_root.addmobs(22, -1300, -1300, 0, 0);
_root.BGA[1][3] = 0;
_root.addmobs(22, -1250, -1250, 0, 0);
_root.BGA[2][3] = 0;
_root.bg2._y += 50;
_root.addmobs(22, 1800, 1800, 0, 0);
_root.BGA[3][3] = 0;
_root.bg3._xscale = -100;
_root.addmobs(22, 1750, 1750, 0, 0);
_root.BGA[4][3] = 0;
_root.bg4._y += 50;
_root.bg4._xscale = -100;
stop();
}
}
movieClip 1360 vendel {
}
movieClip 1362 {
}
movieClip 1364 {
}
movieClip 1366 {
}
movieClip 1368 {
}
movieClip 1370 {
}
movieClip 1372 {
}
movieClip 1374 {
}
movieClip 1376 {
}
movieClip 1378 {
}
movieClip 1380 {
}
movieClip 1382 {
}
movieClip 1384 {
}
movieClip 1386 {
}
movieClip 1388 {
}
movieClip 1390 {
}
movieClip 1392 {
}
movieClip 1394 {
}
movieClip 1396 {
}
movieClip 1398 {
}
movieClip 1399 {
}
movieClip 1400 {
frame 1 {
if (_root._currentframe == 80) {
stop();
}
}
}
movieClip 1402 {
}
movieClip 1404 {
}
movieClip 1406 {
}
movieClip 1408 {
}
movieClip 1409 {
frame 1 {
whoamihb = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
whoamihb = _root.BGA[i][6];
}
++i;
}
}
frame 10 {
this._parent._x += 0.1 * this._parent._xscale;
_root[whoamihb]._x += 0.1 * this._parent._xscale;
}
frame 11 {
this._parent._x += 0.2 * this._parent._xscale;
_root[whoamihb]._x += 0.2 * this._parent._xscale;
}
frame 12 {
this._parent._x += 0.2 * this._parent._xscale;
_root[whoamihb]._x += 0.2 * this._parent._xscale;
}
frame 13 {
this._parent._x += 0.1 * this._parent._xscale;
_root[whoamihb]._x += 0.1 * this._parent._xscale;
}
frame 14 {
var a = _root.monatt.length;
++_root.mpnum;
if (_root.mpnum > 40) {
_root.mpnum = 1;
}
_root.attachMovie('M22_HighHammerBox', 'mp' + _root.mpnum, 250 + _root.mpnum);
if (_parent._xscale == 100) {
_root.monatt.push([0, ['mp' + _root.mpnum], 15, 1, 75]);
_root['mp' + _root.mpnum]._x = _parent._x + 300;
} else {
_root.monatt.push([0, ['mp' + _root.mpnum], 15, -1, 75]);
_root['mp' + _root.mpnum]._x = _parent._x - 300;
}
_root['mp' + _root.mpnum]._y = 100;
}
frame 27 {
stop();
}
}
movieClip 1411 {
}
movieClip 1412 {
}
movieClip 1414 {
}
movieClip 1416 {
}
movieClip 1417 {
frame 1 {
if (_root._currentframe < 101) {
if (Math.random() <= 0.33) {
gotoAndPlay(51);
}
}
}
frame 3 {
this._parent._alpha -= 10;
}
frame 5 {
this._parent._alpha -= 10;
}
frame 7 {
this._parent._alpha -= 10;
}
frame 9 {
this._parent._alpha -= 10;
}
frame 11 {
this._parent._alpha -= 10;
}
frame 13 {
this._parent._alpha -= 10;
}
frame 15 {
this._parent._alpha -= 10;
}
frame 17 {
this._parent._alpha -= 10;
}
frame 19 {
this._parent._alpha -= 10;
}
frame 21 {
++_root.villagehumans;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
frame 52 {
var itemnew = 332;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = this._parent._x - this._parent._xscale * 2;
_root['obj_drop_ani' + itemnumber]._y = 300;
_root['obj_drop_ani' + itemnumber]._xscale = this._parent._xscale;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(itemnew);
}
frame 53 {
this._parent._alpha -= 10;
}
frame 55 {
this._parent._alpha -= 10;
}
frame 57 {
this._parent._alpha -= 10;
}
frame 59 {
this._parent._alpha -= 10;
}
frame 61 {
this._parent._alpha -= 10;
}
frame 63 {
this._parent._alpha -= 10;
}
frame 65 {
this._parent._alpha -= 10;
}
frame 67 {
this._parent._alpha -= 10;
}
frame 69 {
this._parent._alpha -= 10;
}
frame 71 {
++_root.villagehumans;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
}
movieClip 1418 barbarianguy {
}
movieClip 1420 {
}
movieClip 1422 {
}
movieClip 1424 {
}
movieClip 1426 {
}
movieClip 1428 {
}
movieClip 1430 {
}
movieClip 1432 {
}
movieClip 1434 {
}
movieClip 1436 {
}
movieClip 1438 {
}
movieClip 1440 {
}
movieClip 1442 {
}
movieClip 1444 {
}
movieClip 1446 {
}
movieClip 1448 {
}
movieClip 1450 {
}
movieClip 1452 {
}
movieClip 1454 {
}
movieClip 1455 {
}
movieClip 1456 {
frame 2 {
j = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
_root.BGA[i][1] = 2 * _root.gamediff;
}
++i;
}
}
}
movieClip 1457 {
frame 6 {
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
_root.BGA[i][1] = 3 * _root.gamediff;
}
++i;
}
stop();
}
}
movieClip 1460 {
}
movieClip 1461 {
frame 1 {
whoamihb = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
whoamihb = _root.BGA[i][6];
_root.BGA[i][1] = 5 * _root.gamediff;
_root.BGA[i][7] = 984;
}
++i;
}
}
frame 4 {
cloud1._alpha -= 15;
cloud2._alpha -= 10;
cloud3._alpha -= 10;
}
frame 5 {
cloud1._alpha -= 15;
cloud2._alpha -= 10;
cloud3._alpha -= 10;
}
frame 6 {
cloud1._alpha -= 15;
cloud2._alpha -= 10;
cloud3._alpha -= 10;
}
frame 7 {
cloud1._alpha -= 15;
cloud2._alpha -= 10;
cloud3._alpha -= 10;
}
frame 8 {
cloud1._alpha -= 15;
cloud2._alpha -= 10;
cloud3._alpha -= 10;
}
frame 9 {
cloud1._alpha -= 15;
cloud2._alpha -= 10;
cloud3._alpha -= 10;
}
frame 10 {
cloud1._alpha = 0;
cloud2._alpha -= 10;
cloud3._alpha -= 10;
}
frame 11 {
cloud1._alpha = 0;
cloud2._alpha -= 10;
cloud3._alpha -= 10;
}
frame 12 {
cloud1._alpha = 0;
cloud2._alpha -= 10;
cloud3._alpha -= 10;
}
frame 13 {
cloud1._alpha = 0;
cloud2._alpha = 0;
cloud3._alpha = 0;
}
frame 15 {
this._parent._x += 4 * this._parent._xscale;
_root[whoamihb]._x += 4 * this._parent._xscale;
if (this._parent._x < _root.camframe._x) {
this._parent._xscale = 100;
} else {
this._parent._xscale = -100;
}
stop();
}
}
movieClip 1463 {
}
movieClip 1464 {
frame 1 {
j = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
if (_root.BGA[i][1] == 3 * _root.gamediff) {
_root.BGA[i][1] = 4 * _root.gamediff;
this._parent.gotoAndStop(12);
}
}
++i;
}
stop();
}
}
movieClip 1466 {
}
movieClip 1467 {
frame 1 {
if (_root._currentframe < 101) {
if (Math.random() <= 0.33) {
gotoAndPlay(51);
}
}
}
frame 3 {
this._parent._alpha -= 10;
}
frame 5 {
this._parent._alpha -= 10;
}
frame 7 {
this._parent._alpha -= 10;
}
frame 9 {
this._parent._alpha -= 10;
}
frame 11 {
this._parent._alpha -= 10;
}
frame 13 {
this._parent._alpha -= 10;
}
frame 15 {
this._parent._alpha -= 10;
}
frame 17 {
this._parent._alpha -= 10;
}
frame 19 {
this._parent._alpha -= 10;
}
frame 21 {
++_root.villageelves;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
frame 53 {
this._parent._alpha -= 10;
var itemnew = 610;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = this._parent._x - this._parent._xscale * 2;
_root['obj_drop_ani' + itemnumber]._y = 300;
_root['obj_drop_ani' + itemnumber]._xscale = this._parent._xscale;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(itemnew);
}
frame 55 {
this._parent._alpha -= 10;
}
frame 57 {
this._parent._alpha -= 10;
}
frame 59 {
this._parent._alpha -= 10;
}
frame 61 {
this._parent._alpha -= 10;
}
frame 63 {
this._parent._alpha -= 10;
}
frame 65 {
this._parent._alpha -= 10;
}
frame 67 {
this._parent._alpha -= 10;
}
frame 69 {
this._parent._alpha -= 10;
}
frame 71 {
++_root.villageelves;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
}
movieClip 1468 elfgirl {
}
movieClip 1470 {
}
movieClip 1472 {
}
movieClip 1474 {
}
movieClip 1476 {
}
movieClip 1478 {
}
movieClip 1480 {
}
movieClip 1482 {
}
movieClip 1484 {
}
movieClip 1486 {
}
movieClip 1488 {
}
movieClip 1490 {
}
movieClip 1492 {
}
movieClip 1494 {
}
movieClip 1496 {
}
movieClip 1498 {
}
movieClip 1500 {
}
movieClip 1501 {
}
movieClip 1503 {
}
movieClip 1505 {
}
movieClip 1506 {
frame 40 {
gotoAndPlay(1);
}
}
movieClip 1507 mcelfguy {
}
movieClip 1509 {
}
movieClip 1511 {
}
movieClip 1513 {
}
movieClip 1515 {
}
movieClip 1517 {
}
movieClip 1519 {
}
movieClip 1521 {
}
movieClip 1523 {
}
movieClip 1525 {
}
movieClip 1527 {
}
movieClip 1529 {
}
movieClip 1531 {
}
movieClip 1533 {
}
movieClip 1535 {
}
movieClip 1537 {
}
movieClip 1539 {
}
movieClip 1540 {
}
movieClip 1541 {
}
movieClip 1542 {
frame 1 {
whoamihb = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
whoamihb = _root.BGA[i][6];
}
++i;
}
}
frame 4 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
}
frame 5 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
var a = _root.monatt.length;
++_root.mpnum;
if (_root.mpnum > 40) {
_root.mpnum = 1;
}
_root.attachMovie('m20whiphitbox', 'mp' + _root.mpnum, 250 + _root.mpnum);
if (_parent._xscale == 100) {
_root.monatt.push([0, ['mp' + _root.mpnum], 208, 5, 100]);
_root['mp' + _root.mpnum]._x = _parent._x;
} else {
_root.monatt.push([0, ['mp' + _root.mpnum], 208, -5, 100]);
_root['mp' + _root.mpnum]._x = _parent._x;
}
_root['mp' + _root.mpnum]._y = 200;
}
frame 6 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
}
frame 7 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
}
frame 8 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
}
frame 9 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
}
frame 10 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
}
frame 11 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
}
frame 12 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
}
frame 13 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
}
frame 14 {
this._parent._x += 0.25 * this._parent._xscale;
_root[whoamihb]._x += 0.25 * this._parent._xscale;
}
frame 20 {
stop();
}
}
movieClip 1544 {
}
movieClip 1545 {
}
movieClip 1547 {
}
movieClip 1549 {
}
movieClip 1551 {
}
movieClip 1553 {
}
movieClip 1554 {
frame 1 {
if (_root._currentframe < 101) {
if (Math.random() <= 0.33) {
gotoAndPlay(51);
}
}
}
frame 3 {
this._parent._alpha -= 10;
}
frame 5 {
this._parent._alpha -= 10;
}
frame 7 {
this._parent._alpha -= 10;
}
frame 9 {
this._parent._alpha -= 10;
}
frame 11 {
this._parent._alpha -= 10;
}
frame 13 {
this._parent._alpha -= 10;
}
frame 15 {
this._parent._alpha -= 10;
}
frame 17 {
this._parent._alpha -= 10;
}
frame 19 {
this._parent._alpha -= 10;
}
frame 21 {
++_root.villageelves;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
frame 52 {
var itemnew = 302;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = this._parent._x - this._parent._xscale * 2;
_root['obj_drop_ani' + itemnumber]._y = 300;
_root['obj_drop_ani' + itemnumber]._xscale = this._parent._xscale;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(itemnew);
}
frame 53 {
this._parent._alpha -= 10;
}
frame 55 {
this._parent._alpha -= 10;
}
frame 57 {
this._parent._alpha -= 10;
}
frame 59 {
this._parent._alpha -= 10;
}
frame 61 {
this._parent._alpha -= 10;
}
frame 63 {
this._parent._alpha -= 10;
}
frame 65 {
this._parent._alpha -= 10;
}
frame 67 {
this._parent._alpha -= 10;
}
frame 69 {
this._parent._alpha -= 10;
}
frame 71 {
++_root.villageelves;
this._parent._alpha = 100;
this._parent.unloadMovie();
}
}
// unknown tag 88 length 62
movieClip 1560 {
frame 2 {
if (Math.abs(_root.camframe._x - this._parent._x) > 400) {
gotoAndPlay(1);
}
}
frame 3 {
_root.held = 990;
_root.xstart = 1000;
_root.xfinish = 1000;
_root.camframe.box.gotoAndPlay(61);
_root.camframe.hero.gotoAndStop(1);
}
frame 12 {
if (_root.held >= 900) {
gotoAndPlay(11);
}
}
frame 13 {
_root.act2clear += 2;
k = 0;
j = 0;
i = 0;
b = 0;
var a = 0;
i = 2;
while (i <= 6) {
b = Math.floor(Math.random() * 2 + 25);
if (b > 26) {
b = 26;
}
_root.addmobs(b, -500, -100, 200, 0);
++i;
}
}
frame 14 {
_root.BGA[0][9] = _root.BGtype[25][5];
_root.bghb0._y = 550;
var NewItemNumber = 612;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = this._parent._x;
_root['obj_drop_ani' + itemnumber]._xscale = 100;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber);
}
frame 21 {
stop();
}
}
movieClip 1561 elfguy {
}
movieClip 1562 fireball_staff {
}
movieClip 1563 fireball {
}
movieClip 1574 Quest_RescueKFox {
frame 1 {
if (_root.KFoxHealth == 101) {
_root.KFoxHealth = 100;
_root.held = 987;
_root.xstart = _root.camframe._x;
_root.xfinish = -2200;
_root.camframe.box.gotoAndPlay(61);
}
if (_root.KFoxHealth <= 101) {
gotoAndStop(201);
}
stop();
}
frame 2 {
if (_root.KFoxHealth == 110) {
gotoAndStop(21);
}
if (_root.KFoxHealth == 106) {
gotoAndStop(11);
}
if (_root.KFoxHealth <= 101) {
gotoAndStop(201);
}
_root.choicetext = 'K. would like to reward you for saving her. Although barely clothed, she\'s carrying around quite a bit of extra stuff in her pack.';
_root.choiceA = '(Accept reward / say) Sure, what do you have?';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '(body/say) What are you doing here?';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'K. would like to reward you for saving her. Although barely clothed, she\'s carrying around quite a bit of extra stuff in her pack.';
_root.choiceA = '(Accept) Balistic Armor';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '(Accept) Medkit';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
if (_root.player % 10 == 1) {
_root.choiceD = '(Accept) Staff of Water (mop)';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Accept) Fireaxe';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 21 {
_root.choicetext = 'K. is packing up her stuff, looks like she\'s getting read to leave.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(body/say) What are you doing here?';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 51 {
if (_root.KFoxHealth == 106) {
gotoAndPlay(61);
}
}
frame 60 {
_root.KFoxHealth = 106;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(11);
stop();
}
frame 65 {
_root.KFoxHealth = 110;
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 41;
_root.itemnewh = 150;
stop();
}
frame 101 {
if (_root.KFoxHealth == 106) {
gotoAndPlay(111);
}
}
frame 105 {
_root.held = 0;
stop();
}
frame 116 {
_root.KFoxHealth = 110;
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 4;
_root.itemnewh = 601;
stop();
}
frame 155 {
_root.KFoxHealth = 110;
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
if (_root.player % 10 == 1) {
_root.itemnew = 41;
_root.itemnewh = 301;
} else {
_root.itemnew = 31;
_root.itemnewh = 301;
}
stop();
}
}
movieClip 1576 M29_FlowerDone {
}
movieClip 1577 heightchanger {
frame 1 {
stop();
}
}
movieClip 1580 {
frame 1 {
if (_root.testmode == 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 1582 {
}
movieClip 1584 {
}
movieClip 1586 {
}
movieClip 1589 {
}
movieClip 1591 {
}
movieClip 1593 {
}
movieClip 1595 {
}
movieClip 1597 {
}
movieClip 1599 {
}
movieClip 1601 {
}
movieClip 1603 {
}
movieClip 1604 {
}
movieClip 1629 {
}
movieClip 1632 {
frame 1 {
if (_root.testmode == 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 1637 {
}
movieClip 1640 {
}
movieClip 1642 {
}
movieClip 1645 {
}
movieClip 1673 {
frame 12 {
whoamihb = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
whoamihb = _root.BGA[i][6];
}
++i;
}
this._parent._x += 1 * this._parent._xscale;
_root[whoamihb]._x += 1 * this._parent._xscale;
}
frame 15 {
whoamihb = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
whoamihb = _root.BGA[i][6];
}
++i;
}
this._parent._x += 1 * this._parent._xscale;
_root[whoamihb]._x += 1 * this._parent._xscale;
var a = _root.monatt.length;
++_root.mpnum;
if (_root.mpnum > 40) {
_root.mpnum = 1;
}
_root.attachMovie('M22_HighHammerBox', 'mp' + _root.mpnum, 250 + _root.mpnum);
if (_parent._xscale == 100) {
_root.monatt.push([0, ['mp' + _root.mpnum], 1210, 35, 75]);
_root['mp' + _root.mpnum]._x = _parent._x + 350;
} else {
_root.monatt.push([0, ['mp' + _root.mpnum], 1210, -35, 75]);
_root['mp' + _root.mpnum]._x = _parent._x - 350;
}
_root['mp' + _root.mpnum]._y = 500;
}
frame 18 {
whoamihb = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
whoamihb = _root.BGA[i][6];
}
++i;
}
this._parent._x += 1 * this._parent._xscale;
_root[whoamihb]._x += 1 * this._parent._xscale;
}
frame 21 {
whoamihb = 0;
var i = 0;
var whoami = this._parent._target;
i = 0;
while (i < _root.BGA.length) {
if (whoami == '/' + _root.BGA[i][5]) {
whoamihb = _root.BGA[i][6];
}
++i;
}
this._parent._x += 1 * this._parent._xscale;
_root[whoamihb]._x += 1 * this._parent._xscale;
}
frame 40 {
stop();
}
}
movieClip 1675 {
}
movieClip 1676 {
}
movieClip 1678 {
}
movieClip 1679 {
frame 3 {
this._parent._alpha -= 10;
}
frame 5 {
this._parent._alpha -= 10;
}
frame 7 {
this._parent._alpha -= 10;
}
frame 9 {
this._parent._alpha -= 10;
}
frame 11 {
this._parent._alpha -= 10;
}
frame 13 {
this._parent._alpha -= 10;
}
frame 15 {
this._parent._alpha -= 10;
}
frame 17 {
this._parent._alpha -= 10;
}
frame 19 {
this._parent._alpha -= 10;
}
frame 21 {
this._parent._alpha = 100;
this._parent.unloadMovie();
}
}
movieClip 1680 snakeman {
frame 26 {
this.unloadMovie();
}
}
movieClip 1702 roc {
frame 1 {
stop();
}
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 == 1) {
_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();
}
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();
}
frame 51 {
if (_root.quest_shippower < 7) {
gotoAndPlay(61);
}
}
frame 55 {
_root.held = 0;
stop();
}
frame 65 {
_root.held = 0;
stop();
}
frame 101 {
switch (_root.quest_armdoor) {
case 0:
gotoAndPlay(111);
break;
case 1:
gotoAndPlay(121);
break;
case 3:
gotoAndPlay(141);
break;
default:
stop();
}
}
frame 105 {
_root.held = 0;
stop();
}
frame 115 {
_root.held = 0;
stop();
}
frame 125 {
_root.held = 0;
stop();
}
frame 145 {
_root.held = 0;
stop();
}
frame 151 {
if (_root.quest_getmedkit == 0 or _root.quest_getmedkit == 3) {
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);
}
}
}
frame 156 {
if (_root.backpack2 == -1) {
_root.camframe.box.invbox.gotoAndPlay(2);
_root.backpack2 = 4;
_root.backpack2h = 601;
_root.held = 0;
} else {
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 4;
_root.itemnewh = 601;
}
stop();
}
frame 166 {
_root.held = 0;
stop();
}
frame 176 {
_root.held = 0;
stop();
}
}
movieClip 1705 {
}
movieClip 1707 {
}
movieClip 1709 {
frame 1 {
stop();
}
}
movieClip 1713 {
}
movieClip 1715 {
}
movieClip 1718 ShipBckGrnd_Elev_Broke {
frame 1 {
stop();
}
frame 2 {
_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 {
if (_root.quest_shipclear !== 0 or _root.quest_pirateboss !== 0 or _root._currentframe == 48) {
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
} else {
_root.choiceD = 'Slide further down the cables.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
}
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 56 {
_root.held = 0;
stop();
}
frame 106 {
switch (_root._currentframe) {
case 20:
_root.gohere = 30;
_root.gox = 0;
break;
case 40:
_root.gohere = 20;
_root.gox = 5500;
break;
case 48:
_root.gohere = 40;
_root.gox = 0;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 155 {
switch (_root._currentframe) {
case 20:
_root.gohere = 40;
_root.gox = 0;
break;
case 30:
_root.gohere = 20;
_root.gox = 5500;
break;
case 40:
_root.gohere = 48;
_root.gox = 0;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 1723 {
frame 41 {
stop();
}
}
movieClip 1724 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 {
if (_root.quest_shipclear !== 0 or _root.quest_pirateboss !== 0 or _root._currentframe == 48) {
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
} else {
_root.choiceD = 'Ride the elevator further down?';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
}
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
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();
}
frame 56 {
_root.held = 0;
stop();
}
frame 131 {
switch (_root._currentframe) {
case 20:
_root.gohere = 30;
_root.gox = 0;
break;
case 40:
_root.gohere = 20;
_root.gox = 5500;
break;
case 48:
_root.gohere = 40;
_root.gox = 0;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 181 {
switch (_root._currentframe) {
case 20:
_root.gohere = 40;
_root.gox = 0;
break;
case 30:
_root.gohere = 20;
_root.gox = 5500;
break;
case 40:
_root.gohere = 48;
_root.gox = 0;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 1730 {
frame 1 {
if (_root._currentframe > 39) {
gotoAndStop(21);
} else {
if (_root._currentframe > 29) {
gotoAndStop(11);
}
}
stop();
}
}
movieClip 1735 {
frame 1 {
if (_root._currentframe > 39) {
gotoAndStop(21);
} else {
if (_root._currentframe > 29) {
gotoAndStop(11);
}
}
stop();
}
}
movieClip 1736 {
frame 1 {
stop();
}
}
movieClip 1739 {
}
movieClip 1741 {
}
movieClip 1747 {
frame 41 {
stop();
}
}
movieClip 1752 Ship_RecAreaDoubleDoors {
frame 1 {
stop();
}
frame 2 {
if (_root.quest_shippower < 7) {
if (_root._currentframe == 20) {
gotoAndStop(16);
} else {
gotoAndStop(11);
}
} else {
_root.box3.gotoAndStop(1);
_root.held = 905;
gotoAndPlay(51);
}
}
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 >= 6) {
_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();
}
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 >= 6) {
_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 >= 4) {
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 51 {
if (_root.quest_shippower < 7) {
gotoAndPlay(91);
}
}
frame 80 {
if (_root._currentframe == 20) {
_root.gohere = 22;
_root.gox = 500;
} else {
_root.gohere = 20;
_root.gox = 3000;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 95 {
_root.held = 0;
stop();
}
frame 131 {
if (_root._currentframe == 20) {
_root.gohere = 22;
_root.gox = 500;
} else {
_root.gohere = 20;
_root.gox = 3000;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 156 {
_root.held = 0;
stop();
}
}
movieClip 1762 gbararrow_r {
frame 1 {
stop();
}
frame 2 {
}
frame 11 {
stop();
}
}
movieClip 1776 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(101);
} else {
if (_root.player > 10) {
gotoAndStop(51);
}
}
stop();
}
frame 2 {
if (_root.player > 20) {
gotoAndPlay(102);
} else {
if (_root.player > 10) {
gotoAndPlay(52);
}
}
}
frame 20 {
gotoAndStop(1);
}
frame 70 {
gotoAndStop(51);
}
frame 120 {
gotoAndStop(101);
}
}
// unknown tag 88 length 64
movieClip 1781 {
frame 1 {
if (_root.camframe.hero._currentframe == 59 or _root.camframe.hero._currentframe == 106 or _root.camframe.hero._currentframe == 107) {
this._x = 0;
} else {
this._x = 200;
}
if (_root.armorh <= 0 or _root.armor > 100) {
gotoAndStop(3);
} else {
gotoAndStop(2);
}
}
frame 18 {
gotoAndStop(1);
}
}
movieClip 1785 {
}
movieClip 1790 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(11);
} else {
if (_root.player > 10) {
gotoAndStop(6);
}
}
stop();
}
}
movieClip 1792 {
}
movieClip 1794 {
}
movieClip 1796 {
}
movieClip 1797 grapplebar {
frame 1 {
stop();
}
frame 20 {
stop();
}
frame 41 {
stop();
}
}
movieClip 1799 M29+29_LargeFlower {
}
frame 2 {
var continues = 5;
gunhmax = 0;
var gunh = 0;
var gameoverman = false;
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
stop();
}
// unknown tag 88 length 68
movieClip 1806 {
}
button 1814 {
on (release) {
_root.play();
}
}
movieClip 1816 {
frame 1 {
stop();
}
instance of movieClip 1806 {
onClipEvent (enterFrame) {
this._xscale = 100 - 100 * (_root.getBytesLoaded() / _root.getBytesTotal());
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_parent.play();
loadMovie('', this);
}
}
}
frame 6 {
stop();
}
}
frame 3 {
var camzoom = 0.75;
var qualitytext = 'High';
var gspeed = 4;
var gamestart = 'GameStart';
gox = 0;
var gohere = 0;
doorleftgox = 0;
doorleftgo = 0;
doorrightgox = 0;
var doorrightgo = 0;
xsprite = 0;
xfinish = 0;
var xstart = 0;
var maxitems = 0;
choiceF = '';
choiceD = '';
choiceS = '';
choiceA = '';
var choicetext = '';
var activeobject = 0;
var gamediff = 1;
var held = 0;
gbararrowcheck = 0;
var grapple = 0;
escbgvar = 0;
var escherovar = 0;
var testmode = 0;
var player = 0;
sptrace = 0;
var bodrace = 0;
sptclass = 0;
var bodclass = 0;
spirit = 1;
var body = 1;
maxhealth = 100;
var health = 100;
wpndmgmag = 1;
wpndmgphy = 1;
var wpn = 1;
var armor = 31;
armorh = 100;
var armorhmax = 100;
var acc = 1;
HeroMainColorB = 0;
HeroMainColorG = 0;
var HeroMainColorR = 0;
HeroSecondColorB = 0;
HeroSecondColorG = 0;
var HeroSecondColorR = 0;
HeroMainColorSetB = 0;
HeroMainColorSetG = 0;
var HeroMainColorSetR = 0;
HeroSecondColorSetB = 0;
HeroSecondColorSetG = 0;
var HeroSecondColorSetR = 0;
cumface = 5;
var cumchest = 5;
poisoncolor = 0;
var poisonlevel = 0;
var hordemax = 10;
var hordelevel = 1;
HordeModeOptionsCount = 0;
var HordeModeOptions = 0;
var HMArmor = new Array();
var HMWeapon = new Array();
var HMAccessory = new Array();
var HMPotion = new Array();
var quest_shippower = 0;
var quest_armdoor = 0;
var quest_fireout = false;
var quest_getmedkit = 0;
var quest_zombiecount = 10;
var quest_pirateboss = 12;
var quest_savemage = 0;
var quest_shipclear = 10;
var quest_getmop = 0;
var quest_getaxe = 0;
var quest_getjumpsuit = 0;
var brigopen = 0;
var quest_getbokken = 0;
var quest_opencastle = 0;
var quest_openhuman = 0;
var quest_openelves = 0;
villagebunnies = 0;
villageelves = 0;
var villagehumans = 0;
var act2clear = 0;
var quest_gettorch = 0;
GotBreastPlate = 1;
GotStarterPlate = 1;
GotTravelingRobes = 1;
var GotGreenDress = 1;
var quest_helpdunecrawler = -1;
R15Loc = 0;
R14Loc = 0;
var R13Loc = 0;
var KFoxHealth = 101;
var quest_HelpBeka = 0;
var quest_HumanStash = 0;
var quest_dunecrawlershop = 0;
var quest_dunecrawlerSorceressRobes = 1;
var quest_dunecrawlerRubyPlate = 1;
var quest_dunecrawlerChainmailBikini = 1;
var firechecked = new Array(0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 recieve additional attacks when using fist weapons.']);
weapon.push([2, 'Weighted Gloves', 4, 4, 2.75, 0, 'Weighted Gloves. For the martial artist who wants a little more martial & a little less artist.']);
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, 'Wand of Fire', 2, 6, 3, 0, 'Wand of Fire. Much like a normal wand, only better. Because everything is better with fire.']);
weapon.push([13, 'Deathwand', 2, 7, 2.5, 0, 'Deathwand. A powerful, but cursed wand. Wielding death magic takes it\'s toll on living creatures. This wand also damages the caster with each use.']);
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, 'bokken', 2, 0, 1.25, 0, 'Bokken. A wooden sword designed for practicing. Very light and easy to use, but doesn\'t do much damage. Great for those who consider clubs to be advanced weapons.']);
weapon.push([23, 'magic torch', 2, 1, 4, 0, 'Magic Torch. This fire on this torch has been enchanted to give off a very bright light but very little heat. Can be used to light up almost any room. (Will NOT set objects on fire).']);
weapon.push([24, 'stonemace', 6, 0, 3.25, 0, 'Stone Mace. The bastard child born from combining the best attributes of both rock-tech and stick-tech. Is the world truely ready for a weapon of such destructive power?']);
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, 'stonemaul', 10, 0, 3.25, 0, 'Stone Maul. A large rock on the end of a large stick. It\'s what all the young rocks aspire to be when they grow up. (Heavy weapons may not be equiped by Wizards)']);
weapon.push([33, 'battleaxe', 8, 0, 3, 0, 'Battle Axe. A heavy weapon, properly balanced for combat. Only the strongest warriors can harness its true potential. (Heavy weapons may not be equiped by Wizards)']);
weapon.push([34, 'greatsword', 6, 0, 2.25, 0, 'Greatsword. The greatsword isn\'t nearly as massive as other large weapons, which makes it much easier to use. Young warriors often train with greatswords until they are ready for larger weapons.']);
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, 'earthstaff', 5, 6, 3.25, 0, 'Elemental Staff of Earth. An advanced weapon for wizards. Can be used to summon a meteor from space which will smash opponents in front of the caster. (Hold S, but watch your health). (Magical Staves may not be equiped by Warriors)']);
weapon.push([43, 'firestaff', 4, 5, 3.25, 0, 'Elemental Staff of Fire. An advanced weapon for wizards. Summons fire around the caster to burn all nearby enemies. (Hold S, but watch your health). (Magical Staves may not be equiped by Warriors)']);
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. (Not useable 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, 'Breast Plate', 125, 0, 'Breast Plate. Heavy plate mail across the vitals combined with much looser armor at the joints. Provides a good mix of protection and flexibility.']);
armorarray.push([61, 'Green Summer Dress', 100, 0, 'Green Summer Dress. A casual dress, not really meant for armor.']);
armorarray.push([71, 'reserved', 100, 0, '']);
armorarray.push([81, 'Sorceress Robes', 125, 22, 'Magically Enchanted Wizard Robes. Nothing says \'magic\' more than a set of wizard robes. In addition to providing protection from physical attacks, these robes have also been enhanced to enhance performance during grapples. (Moderate bonus to sexual attack & defense).']);
armorarray.push([91, 'Ruby Plate', 200, 20, 'Magical Plate Mail. This set of heavy armor is magically enchanted to protect the wearer from grapple attacks. (Moderate bonus to sexual defense, Not useable by Wizards)']);
armorarray.push([101, 'Chain Mail Bikini', 50, 2, 'The chain mail bikini is a very unusual set of armor. Although indestructable, it offers very little protection for the wearer (No Armor Save, Moderate bonus to sexual attack).']);
armorarray.push([111, 'Simple Brown Dress', 50, 0, 'The closest thing to wearing nothing at all, the simple brown dress is designed to be easy to slip on & off. Perfect for those \'formal occasions\' that require actual clothing. (No Armor Save).']);
armorarray.push([121, 'Red Lingerie', 25, 22, 'Red lingerie is sure to draw attention. Not really great for armor though. (No Armor Save, Moderate bonus to both sexual attack & sexual defense).']);
armorarray.push([131, 'reserved', 100, 0, '']);
armorarray.push([141, 'reserved', 100, 0, '']);
armorarray.push([151, 'reserved', 100, 0, '']);
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, 'Medical 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, 'Mystical Hat', 0, 2, 0, 'A wizard hat coverd with magical inscriptions. Offers a Moderate boost to your Spirit stat.']);
accessory.push([10, 'Collar of Submission', -1, -1, 3, 'Collar of Submission. This bondage collar marks you as a playtoy of an Elvin noble. It makes it hard to breathe or even focus, but it seems to also convey other benefits during grapples (Minor Penalty to both Body & Spirit, Massive bonus to sexual defense.']);
accessory.push([11, 'Chains of Command', 2, 0, 0, 'Chains of Command. There is a saying among the desert barbarians - A tribe is only as strong as its weakest link. As such, chain necklaces are often worn by tribe leaders or coucilmen. This particular chain has also been enchanted to grant a Moderate bonus to your Body stat.']);
accessory.push([12, 'Elvin Tiara', 1, 1, 0, 'Elvin Tiara. Tiaras are widely used amoung the Elves to mark people of prestige. This particular one is plain, but incredibly well made. Grants a Minor boost to both your Body & Sprit stats.']);
accessory.push([13, 'Dunecrawler Restrictor', 0, 0, 0, 'Dunecrawler Restrictor. This piece of machinery looks really out of place here. It is clearly not from this village. Perhaps it\'s valuable to someone.']);
accessory.push([14, 'Dunecrawler Resonator', 0, 0, 0, 'Dunecrawler Resonator. This piece of machinery looks really out of place here. It is clearly not from this village. Perhaps it\'s valuable to someone.']);
accessory.push([15, 'Dunecrawler Regulator', 0, 0, 0, 'Dunecrawler Regulator. This piece of machinery looks really out of place here. It is clearly not from this village. Perhaps it\'s valuable to someone.']);
accessory.push([16, 'Washcloth', 0, 0, 2, 'Washcloth. This cloth can be used to clean up a bit. (One use only. Equip to Accessory slot to use).']);
accessory.push([17, 'Small Health Potion', 0, 0, 50, 'Small Health Potion. This small potion will heal some health when used. (One use only. Equip to Accessory slot to use).']);
accessory.push([18, 'Large Health Potion', 0, 0, 100, 'Large Health Potion. This potion will heal a significant amount of health when used. (One use only. Equip to Accessory slot to use).']);
accessory.push([19, 'Keg of Health', 0, 0, 500, 'Keg of Health. This keg is full of healing tonics. It will fully heal all wounds. (One use only. Equip to Accessory slot to use).']);
accessory.push([20, 'cheattowin', 3, 3, 0, '']);
var backpack1 = 1;
backpack4 = -1;
backpack3 = -1;
var backpack2 = -1;
backpack4h = 301;
backpack3h = 301;
backpack2h = 301;
var backpack1h = 301;
itemnewh = 0;
itemnew = 0;
var itemselect = 0;
var itemdescription = '';
var pnum = 0;
var proj = new Array();
var mpnum = 0;
var monatt = new Array();
var BGA = new Array();
var BGtype = new Array();
BGtype.push(['trashwall', 10, 10, 0, 50, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 1, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 2, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 3, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 4, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 5, 1, 1000, 0]);
BGtype.push(['zombiedoor', 4, 1, 0, 1, 1, 1000, 0]);
BGtype.push(['slimewall', 5, 1, 0, 3, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 8, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 9, 1, 1000, 0]);
BGtype.push(['heightchanger', 0, 0, 0, 9999, 0, 1000, 0]);
BGtype.push(['slimetentacle', 6, 4, 0, 2, 0.975, 950, 0]);
BGtype.push(['reserved', 5, 1, 0, 13, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 13, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 14, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 15, 1, 1000, 0]);
BGtype.push(['wolfman', 4, 2.5, 2, 2, 0.995, 950, 0]);
BGtype.push(['catguy', 4, 2, 2.5, 2, 0.995, 950, 0]);
BGtype.push(['slimeboss', 8, 8, 8, 3, 0.975, 950, 0]);
BGtype.push(['pirate', 6, 3, 4, 0, 0.975, 980, 0]);
BGtype.push(['pirateboss', 6, 6, 3.5, 0, 0.95, 970, 0]);
BGtype.push(['reserved', 5, 1, 0, 21, 1, 1000, 0]);
BGtype.push(['barbarianguy', 7, 2, 5, 0, 0.98, 960, 0]);
BGtype.push(['barbariangirl', 5, 4, 5, 0, 0.97, 970, 0]);
BGtype.push(['reserved', 5, 1, 0, 24, 1, 1000, 0]);
BGtype.push(['elfguy', 5, 3, 7, 0, 0.96, 975, 0]);
BGtype.push(['elfgirl', 2, 5, 4, 1, 0.95, 970, 0]);
BGtype.push(['vendel', 10, 4, 6, 1, 0.97, 955, 0]);
BGtype.push(['bunnyguy', 4, 5, 3, 0, 0.99, 955, 0]);
BGtype.push(['bunnygirl', 3, 6, 3, 0, 0.99, 970, 0]);
BGtype.push(['reserved', 5, 1, 0, 30, 1, 1000, 0]);
BGtype.push(['snakeman', 7, 4, 7, 0, 0.96, 965, 0]);
BGtype.push(['reserved', 5, 1, 0, 32, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 33, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 34, 1, 1000, 0]);
BGtype.push(['mcelfguy', 5, 2, 3, 2, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 36, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 37, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 38, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 39, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 40, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 41, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 42, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 43, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 44, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 45, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 46, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 47, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 48, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 49, 1, 1000, 0]);
BGtype.push(['reserved', 5, 1, 0, 50, 1, 1000, 0]);
zzz = 0;
yyy = 0;
xxx = 0;
var ffps = 0;
Ar5 = 0;
Ar4 = 0;
Ar3 = 0;
Ar2 = 0;
Ar1 = 0;
var Ar0 = 0;
Ar15 = 0;
Ar14 = 0;
Ar13 = 0;
Ar12 = 0;
Ar11 = 0;
var Ar10 = 0;
addmobs = function (MobNumber, Minx, Maxx, Spacex, Paused) {
var v3 = Minx;
if (Minx !== Maxx) {
v3 = Minx + Math.round(Math.random() * (Maxx - Minx));
if (_root.BGtype[MobNumber][3] == 0 and _root._currentframe > 100) {
if (v3 < Minx + 250 or v3 > Maxx - 250) {
v3 = _root.camframe._x / -2;
}
}
if (Math.abs(_root.camframe._x - v3) < Spacex) {
if (_root.camframe._x > v3) {
v3 -= Spacex;
} else {
v3 += Spacex;
}
}
}
var v2 = 0;
j = 0;
while (j <= _root.BGA.length) {
k = 0;
while (k <= _root.BGA.length) {
if ('bg' + v2 == _root.BGA[k][5]) {
++v2;
}
++k;
}
++j;
}
_root.BGA.push([MobNumber, _root.BGtype[MobNumber][1] * _root.gamediff, _root.BGtype[MobNumber][2] * _root.gamediff, _root.BGtype[MobNumber][3] * _root.gamediff, 50 + _root.BGtype[MobNumber][1] * 10 * _root.gamediff, 'bg' + v2, 'bghb' + v2, 0, _root.BGtype[MobNumber][4], _root.BGtype[MobNumber][5], _root.BGtype[MobNumber][6]]);
_root.attachMovie(_root.BGtype[MobNumber][0], 'bg' + v2, v2);
_root['bg' + v2]._x = v3;
_root['bg' + v2]._y = 575 + 4 * v2;
_root.attachMovie('badguyhealthbar', 'bghb' + v2, v2 + 100);
_root['bghb' + v2]._x = v3;
_root['bghb' + v2]._y = 550 + 4 * v2;
_root['bghb' + v2]._xscale = _root.BGA[v2][4];
if (Paused == 2) {
_root.BGA[v2][9] = 2;
_root['bg' + v2].gotoAndStop(26);
} else {
_root['bg' + v2].gotoAndStop(1);
}
};
DropItem = function (StartX, FacingX, ItemCode) {
++_root.maxitems;
var v2 = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + v2, 300 + v2);
_root['obj_drop_ani' + v2]._x = StartX;
_root['obj_drop_ani' + v2]._y = 300;
_root['obj_drop_ani' + v2]._xscale = FacingX;
_root['obj_drop_ani' + v2].item_symbol.gotoAndStop(ItemCode);
};
}
frame 4 {
var codemsg = 'enter codes';
codes.text = '';
stage.focus = codes;
stop();
}
// unknown tag 88 length 78
movieClip 1827 {
}
movieClip 1835 {
}
button 1837 {
on (release) {
_root.gamestart = 'HordeMode';
gotoAndStop('charselect');
}
}
button 1838 {
on (release) {
gotoAndStop('about');
}
}
button 1839 {
on (release) {
gotoAndStop('basics');
}
}
movieClip 1843 {
}
instance of movieClip 1843 {
onClipEvent (keyPress '<Enter>') {
switch (_parent.codes.text) {
case 'NotToThirty':
if (_root.continues !== 30) {
_root.continues = 30;
_parent.codemsg = 'code NotToThirty accepted';
} else {
_parent.codemsg = 'code NotToThirty 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;
case 'Harder':
_root.gamediff += 0.25;
_parent.codemsg = 'Difficult Increased to ' + _root.gamediff * 100 + '%';
break;
case 'harder':
_root.gamediff += 0.25;
_parent.codemsg = 'Difficult Increased to ' + _root.gamediff * 100 + '%';
break;
case 'Softer':
_root.gamediff -= 0.25;
if (_root.gamediff <= 0.25) {
_root.gamediff = 0.25;
_parent.codemsg = 'That\'s as easy as it gets';
} else {
_parent.codemsg = 'Difficult Decreased to ' + _root.gamediff * 100 + '%';
}
break;
case 'softer':
_root.gamediff -= 0.25;
if (_root.gamediff <= 0.25) {
_root.gamediff = 0.25;
_parent.codemsg = 'That\'s as easy as it gets';
} else {
_parent.codemsg = 'Difficult Decreased to ' + _root.gamediff * 100 + '%';
}
break;
case 'GameOverMan':
if (_root.gameoverman == false) {
_root.gameoverman = true;
_parent.codemsg = 'code GameOverMan accepted';
} else {
_parent.codemsg = 'code GameOverMan already entered';
}
break;
case 'gameoverman':
if (_root.gameoverman == false) {
_root.gameoverman = true;
_parent.codemsg = 'code GameOverMan accepted';
} else {
_parent.codemsg = 'code GameOverMan already entered';
}
break;
case 'SmotheredAndCovered':
if (_root.cumface !== 1) {
_root.cumchest = 1;
_root.cumface = 1;
_parent.codemsg = 'code SmotheredAndCovered accepted';
} else {
_parent.codemsg = 'code SmotheredAndCovered already entered';
}
break;
case 'smotheredandcovered':
if (_root.cumface !== 1) {
_root.cumchest = 1;
_root.cumface = 1;
_parent.codemsg = 'code SmotheredAndCovered accepted';
} else {
_parent.codemsg = 'code SmotheredAndCovered already entered';
}
break;
case 'SlimeTime':
if (_root.gamestart !== 'SlimeBoss') {
_root.gamestart = 'SlimeBoss';
_parent.codemsg = 'code SlimeTime accepted';
} else {
_parent.codemsg = 'code SlimeTime already entered';
}
break;
case 'slimetime':
if (_root.gamestart !== 'SlimeBoss') {
_root.gamestart = 'SlimeBoss';
_parent.codemsg = 'code SlimeTime accepted';
} else {
_parent.codemsg = 'code SlimeTime already entered';
}
break;
case 'OffTheBoat':
if (_root.quest_shipclear !== 0) {
_root.gamestart = 'Comic-A2Start';
_parent.codemsg = 'code OffTheBoat accepted';
_root.quest_shippower = 7;
_root.quest_armdoor = 3;
_root.quest_fireout = true;
_root.quest_getmedkit = 3;
_root.quest_zombiecount = 0;
_root.quest_pirateboss = 0;
_root.quest_savemage = 6;
_root.firechecked[7] = 2;
_root.quest_shipclear = 0;
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.gotoAndStop('CheatItems');
} else {
_parent.codemsg = 'code OffTheBoat (or better) already entered';
}
break;
case 'offtheboat':
if (_root.quest_shipclear !== 0) {
_root.gamestart = 'Comic-A2Start';
_parent.codemsg = 'code OffTheBoat accepted';
_root.quest_shippower = 7;
_root.quest_armdoor = 3;
_root.quest_fireout = true;
_root.quest_getmedkit = 3;
_root.quest_zombiecount = 0;
_root.quest_pirateboss = 0;
_root.quest_savemage = 6;
_root.firechecked[7] = 2;
_root.quest_shipclear = 0;
_root.backpack2 = 1;
_root.backpack1 = 1;
_root.backpack2h = 301;
_root.backpack1h = 301;
_root.gotoAndStop('CheatItems');
} else {
_parent.codemsg = 'code OffTheBoat (or better) already entered';
}
break;
case 'VillagePillage':
if (_root.act2clear !== 10) {
_root.gamestart = 'Act3Start';
_parent.codemsg = 'code VillagePillage accepted';
_root.quest_shippower = 7;
_root.quest_armdoor = 3;
_root.quest_fireout = true;
_root.quest_getmedkit = 3;
_root.quest_zombiecount = 0;
_root.quest_pirateboss = 0;
_root.quest_savemage = 6;
_root.firechecked[7] = 2;
_root.quest_shipclear = 0;
_root.quest_opencastle = 3;
_root.quest_openhuman = 1;
_root.quest_openelves = 1;
_root.act2clear = 10;
_root.quest_helpdunecrawler = 10;
_root.KFoxHealth = 110;
_root.quest_HelpBeka = 2;
_root.quest_HumanStash = 1;
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.gotoAndStop('CheatItems');
} else {
_parent.codemsg = 'code VillagePillage already entered';
}
break;
case 'villagepillage':
if (_root.act2clear !== 10) {
_root.gamestart = 'Act3Start';
_parent.codemsg = 'code VillagePillage accepted';
_root.quest_shippower = 7;
_root.quest_armdoor = 3;
_root.quest_fireout = true;
_root.quest_getmedkit = 3;
_root.quest_zombiecount = 0;
_root.quest_pirateboss = 0;
_root.quest_savemage = 6;
_root.firechecked[7] = 2;
_root.quest_shipclear = 0;
_root.quest_opencastle = 3;
_root.quest_openhuman = 1;
_root.quest_openelves = 1;
_root.act2clear = 10;
_root.quest_helpdunecrawler = 10;
_root.KFoxHealth = 110;
_root.quest_HelpBeka = 2;
_root.quest_HumanStash = 1;
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.gotoAndStop('CheatItems');
} else {
_parent.codemsg = 'code VillagePillage already entered';
}
break;
case 'BabyHorde':
if (_root.hordemax !== 5) {
_root.hordemax = 5;
_parent.codemsg = 'code BabyHorde accepted';
} else {
_parent.codemsg = 'code BabyHorde already entered';
}
break;
case 'babyhorde':
if (_root.hordemax !== 5) {
_root.hordemax = 5;
_parent.codemsg = 'code BabyHorde accepted';
} else {
_parent.codemsg = 'code BabyHorde already entered';
}
break;
case 'TowardTheHorde':
if (_root.HordeModeOptions <= 1) {
_root.HordeModeOptions = 1;
_parent.codemsg = 'code Toward the Horde accepted';
} else {
_parent.codemsg = 'code Toward the Horde (or better) already entered';
}
break;
case 'towardthehorde':
if (_root.HordeModeOptions <= 1) {
_root.HordeModeOptions = 1;
_parent.codemsg = 'code Toward the Horde accepted';
} else {
_parent.codemsg = 'code Toward the Horde (or better) already entered';
}
break;
case 'SwordOfTheHorde':
if (_root.HordeModeOptions <= 3) {
_root.HordeModeOptions = 3;
_parent.codemsg = 'code Sword of the Horde accepted';
} else {
_parent.codemsg = 'code Sword the Horde (or better) already entered';
}
break;
case 'swordofthehorde':
if (_root.HordeModeOptions <= 3) {
_root.HordeModeOptions = 3;
_parent.codemsg = 'code Sword of the Horde accepted';
} else {
_parent.codemsg = 'code Sword the Horde (or better) already entered';
}
break;
case 'test':
if (_root.testmode == 0) {
_parent.codemsg = 'Test Mode Enabled';
_root.testmode = 1;
} else {
_parent.codemsg = 'Test Mode Disabled';
_root.testmode = 0;
}
break;
default:
_parent.codemsg = 'invalid code';
}
_parent.codes.text = '';
}
}
button 1844 {
on (release) {
_root.gotoAndStop('charselect');
}
}
button 1846 {
on (release) {
_root.gamestart = 'GameStart';
_root.quest_shippower = 0;
_root.quest_armdoor = 0;
_root.quest_fireout = false;
_root.quest_getmedkit = 0;
_root.quest_zombiecount = 10;
_root.quest_pirateboss = 12;
_root.quest_savemage = 0;
_root.firechecked[7] = 0;
_root.quest_shipclear = 10;
_root.gotoAndStop('charselect');
}
}
button 1849 {
on (release) {
_root.gamestart = 'Act2Start';
_root.quest_opencastle = 0;
_root.quest_openhuman = 0;
_root.quest_openelves = 0;
_root.act2clear = 0;
_root.quest_helpdunecrawler = -1;
_root.KFoxHealth = 101;
_root.quest_HelpBeka = 0;
_root.quest_HumanStash = 0;
_root.gotoAndStop('charselect');
}
}
button 1850 {
on (release) {
_root.gamestart = 'GameStart';
_root.quest_shippower = 0;
_root.quest_armdoor = 0;
_root.quest_fireout = false;
_root.quest_getmedkit = 0;
_root.quest_zombiecount = 10;
_root.quest_pirateboss = 12;
_root.quest_savemage = 0;
_root.firechecked[7] = 0;
_root.quest_shipclear = 10;
_root.quest_opencastle = 0;
_root.quest_openhuman = 0;
_root.quest_openelves = 0;
_root.act2clear = 0;
_root.quest_helpdunecrawler = -1;
_root.KFoxHealth = 101;
_root.quest_HelpBeka = 0;
_root.quest_HumanStash = 0;
_root.gotoAndStop('charselect');
}
}
movieClip 1852 {
frame 1 {
if (_root.gamestart == 'Comic-A2Start') {
gotoAndStop(6);
}
if (_root.gamestart == 'Act3Start') {
gotoAndStop(11);
}
}
frame 2 {
stop();
}
}
button 1859 {
on (release) {
gotoAndStop('mainmenu');
}
}
button 1860 {
on (release) {
gotoAndStop('stats');
}
}
button 1861 {
on (release) {
gotoAndStop('grapples');
}
}
button 1863 {
on (release) {
gotoAndStop('basics');
}
}
movieClip 1870 {
}
button 1871 {
on (release) {
gotoAndStop('grapples');
}
}
button 1877 {
on (release) {
gotoAndStop('stats');
}
}
button 1882 {
on (release) {
gotoAndStop('about');
}
}
movieClip 1885 {
}
movieClip 1887 {
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1936 {
frame 1 {
stop();
}
}
button 1939 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 41;
_root.backpack1h = 301;
Selected341.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 41;
_root.backpack2h = 301;
Selected341.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
button 1940 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 31;
_root.backpack1h = 301;
Selected331.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 31;
_root.backpack2h = 301;
Selected331.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
button 1941 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 41;
_root.backpack1h = 150;
Selected41.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 41;
_root.backpack2h = 150;
Selected41.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
button 1942 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 2;
_root.backpack1h = 601;
Selected602.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 2;
_root.backpack2h = 601;
Selected602.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
button 1943 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 3;
_root.backpack1h = 601;
Selected603.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 3;
_root.backpack2h = 601;
Selected603.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
button 1944 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 4;
_root.backpack1h = 601;
Selected604.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 4;
_root.backpack2h = 601;
Selected604.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
button 1951 {
on (release) {
_root.backpack2 = 1;
_root.backpack1 = 1;
_root.backpack2h = 301;
_root.backpack1h = 301;
Selected331.gotoAndStop(2);
Selected341.gotoAndStop(2);
Selected41.gotoAndStop(2);
Selected602.gotoAndStop(2);
Selected603.gotoAndStop(2);
Selected604.gotoAndStop(2);
gotoAndStop('Pick2');
}
}
button 1953 {
on (release) {
_root.gotoAndStop('mainmenu');
}
}
button 1955 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 41;
_root.backpack1h = 301;
Selected341.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 41;
_root.backpack2h = 301;
Selected341.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 41;
_root.backpack3h = 301;
Selected341.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1956 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 31;
_root.backpack1h = 301;
Selected331.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 31;
_root.backpack2h = 301;
Selected331.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 31;
_root.backpack3h = 301;
Selected331.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1957 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 41;
_root.backpack1h = 150;
Selected41.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 41;
_root.backpack2h = 150;
Selected41.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 41;
_root.backpack3h = 150;
Selected41.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1958 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 2;
_root.backpack1h = 601;
Selected602.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 2;
_root.backpack2h = 601;
Selected602.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 2;
_root.backpack3h = 601;
Selected602.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1959 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 3;
_root.backpack1h = 601;
Selected603.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 3;
_root.backpack2h = 601;
Selected603.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 3;
_root.backpack3h = 601;
Selected603.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1960 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 4;
_root.backpack1h = 601;
Selected604.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 4;
_root.backpack2h = 601;
Selected604.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 4;
_root.backpack3h = 601;
Selected604.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1961 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 22;
_root.backpack1h = 301;
Selected322.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 22;
_root.backpack2h = 301;
Selected322.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 22;
_root.backpack3h = 301;
Selected322.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1962 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 2;
_root.backpack1h = 301;
Selected302.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 2;
_root.backpack2h = 301;
Selected302.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 2;
_root.backpack3h = 301;
Selected302.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1963 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 24;
_root.backpack1h = 301;
Selected324.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 24;
_root.backpack2h = 301;
Selected324.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 24;
_root.backpack3h = 301;
Selected324.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1964 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 23;
_root.backpack1h = 301;
Selected323.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 23;
_root.backpack2h = 301;
Selected323.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 23;
_root.backpack3h = 301;
Selected323.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1965 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 33;
_root.backpack1h = 301;
Selected333.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 33;
_root.backpack2h = 301;
Selected333.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 33;
_root.backpack3h = 301;
Selected333.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1966 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 32;
_root.backpack1h = 301;
Selected332.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 32;
_root.backpack2h = 301;
Selected332.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 32;
_root.backpack3h = 301;
Selected332.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1967 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 34;
_root.backpack1h = 301;
Selected334.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 34;
_root.backpack2h = 301;
Selected334.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 34;
_root.backpack3h = 301;
Selected334.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1968 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 13;
_root.backpack1h = 301;
Selected313.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 13;
_root.backpack2h = 301;
Selected313.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 13;
_root.backpack3h = 301;
Selected313.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1969 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 12;
_root.backpack1h = 301;
Selected312.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 12;
_root.backpack2h = 301;
Selected312.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 12;
_root.backpack3h = 301;
Selected312.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1970 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 43;
_root.backpack1h = 301;
Selected343.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 43;
_root.backpack2h = 301;
Selected343.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 43;
_root.backpack3h = 301;
Selected343.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1971 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 42;
_root.backpack1h = 301;
Selected342.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 42;
_root.backpack2h = 301;
Selected342.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 42;
_root.backpack3h = 301;
Selected342.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1972 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 111;
_root.backpack1h = 50;
Selected111.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 111;
_root.backpack2h = 50;
Selected111.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 111;
_root.backpack3h = 50;
Selected111.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1973 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 61;
_root.backpack1h = 100;
Selected61.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 61;
_root.backpack2h = 100;
Selected61.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 61;
_root.backpack3h = 100;
Selected61.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1974 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 51;
_root.backpack1h = 125;
Selected51.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 51;
_root.backpack2h = 125;
Selected51.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 51;
_root.backpack3h = 125;
Selected51.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1975 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 9;
_root.backpack1h = 601;
Selected609.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 9;
_root.backpack2h = 601;
Selected609.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 9;
_root.backpack3h = 601;
Selected609.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1976 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 11;
_root.backpack1h = 601;
Selected611.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 11;
_root.backpack2h = 601;
Selected611.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 11;
_root.backpack3h = 601;
Selected611.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1977 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 12;
_root.backpack1h = 601;
Selected612.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 12;
_root.backpack2h = 601;
Selected612.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 12;
_root.backpack3h = 601;
Selected612.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1978 {
on (release) {
if (_root.backpack1 == 1) {
_root.backpack1 = 10;
_root.backpack1h = 601;
Selected610.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack2 == 1) {
_root.backpack2 = 10;
_root.backpack2h = 601;
Selected610.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
} else {
if (_root.backpack3 == 1) {
_root.backpack3 = 10;
_root.backpack3h = 601;
Selected610.gotoAndStop(3);
gotoAndStop(_currentframe + 1);
}
}
}
}
}
button 1980 {
on (release) {
Selected331.gotoAndStop(2);
Selected341.gotoAndStop(2);
Selected41.gotoAndStop(2);
Selected602.gotoAndStop(2);
Selected603.gotoAndStop(2);
Selected604.gotoAndStop(2);
Selected302.gotoAndStop(2);
Selected322.gotoAndStop(2);
Selected323.gotoAndStop(2);
Selected324.gotoAndStop(2);
Selected332.gotoAndStop(2);
Selected333.gotoAndStop(2);
Selected334.gotoAndStop(2);
Selected312.gotoAndStop(2);
Selected313.gotoAndStop(2);
Selected342.gotoAndStop(2);
Selected343.gotoAndStop(2);
Selected111.gotoAndStop(2);
Selected51.gotoAndStop(2);
Selected61.gotoAndStop(2);
Selected609.gotoAndStop(2);
Selected610.gotoAndStop(2);
Selected611.gotoAndStop(2);
Selected612.gotoAndStop(2);
_root.backpack3 = 1;
_root.backpack2 = 1;
_root.backpack1 = 1;
_root.backpack3h = 301;
_root.backpack2h = 301;
_root.backpack1h = 301;
gotoAndStop('Pick3');
}
}
movieClip 1981 {
frame 1 {
this.item_symbol331.gotoAndStop(331);
this.item_symbol341.gotoAndStop(341);
this.item_symbol41.gotoAndStop(41);
this.item_symbol602.gotoAndStop(602);
this.item_symbol603.gotoAndStop(603);
this.item_symbol604.gotoAndStop(604);
if (_root.gamestart == 'Act3Start') {
gotoAndStop(11);
} else {
_root.backpack2 = 1;
_root.backpack1 = 1;
_root.backpack2h = 301;
_root.backpack1h = 301;
stop();
}
}
frame 11 {
this.item_symbol302.gotoAndStop(302);
this.item_symbol322.gotoAndStop(322);
this.item_symbol323.gotoAndStop(323);
this.item_symbol324.gotoAndStop(324);
this.item_symbol332.gotoAndStop(332);
this.item_symbol333.gotoAndStop(333);
this.item_symbol334.gotoAndStop(334);
this.item_symbol312.gotoAndStop(312);
this.item_symbol313.gotoAndStop(313);
this.item_symbol342.gotoAndStop(342);
this.item_symbol343.gotoAndStop(343);
this.item_symbol111.gotoAndStop(111);
this.item_symbol51.gotoAndStop(51);
this.item_symbol61.gotoAndStop(61);
this.item_symbol609.gotoAndStop(609);
this.item_symbol610.gotoAndStop(610);
this.item_symbol611.gotoAndStop(611);
this.item_symbol612.gotoAndStop(612);
_root.backpack3 = 1;
_root.backpack2 = 1;
_root.backpack1 = 1;
_root.backpack3h = 301;
_root.backpack2h = 301;
_root.backpack1h = 301;
stop();
}
}
frame 10 {
stop();
}
button 1988 {
on (release) {
_root.player = 23;
_root.bodrace = 5;
_root.sptrace = 3;
_root.HeroMainColorSetR = 255;
_root.HeroMainColorR = 255;
_root.HeroMainColorSetG = 238;
_root.HeroMainColorG = 238;
_root.HeroMainColorSetB = 204;
_root.HeroMainColorB = 204;
_root.HeroSecondColorSetR = 204;
_root.HeroSecondColorR = 204;
_root.HeroSecondColorSetG = 51;
_root.HeroSecondColorG = 51;
_root.HeroSecondColorSetB = 0;
_root.HeroSecondColorB = 0;
_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.armorhmax = 150;
_root.armorh = 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.maxhealth = 50 + _root.body * 10;
_root.health = _root.maxhealth;
_root.heroview.gotoAndPlay(1);
_root.SelectPlayer_Farah.gotoAndPlay(1);
_root.SelectPlayer_KFox.gotoAndPlay(1);
_root.SelectPlayer_LeiLei.gotoAndPlay(1);
_root.SelectClass_Warrior.gotoAndPlay(1);
_root.SelectClass_SpaceMarshal.gotoAndPlay(1);
_root.SelectClass_Magician.gotoAndPlay(1);
_root.Select_StartButton.gotoAndPlay(1);
}
}
movieClip 1990 {
}
movieClip 1992 {
}
movieClip 1994 {
}
movieClip 1996 {
}
movieClip 1998 {
}
movieClip 2000 {
}
movieClip 2002 {
}
movieClip 2004 {
}
movieClip 2006 {
}
movieClip 2008 {
}
movieClip 2010 {
}
movieClip 2012 {
}
movieClip 2016 {
}
movieClip 2018 {
}
movieClip 2020 {
}
movieClip 2023 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 2025 {
}
movieClip 2027 {
}
movieClip 2029 {
}
movieClip 2031 {
}
movieClip 2032 {
}
movieClip 2037 {
frame 2 {
if (_root.player == 0) {
stop();
}
if (_root.player < 20 || _root.player > 29) {
stop();
}
}
frame 3 {
stop();
}
}
button 2040 {
on (release) {
_root.player = 2;
_root.bodrace = 4;
_root.sptrace = 4;
_root.HeroMainColorSetR = 153;
_root.HeroMainColorR = 153;
_root.HeroMainColorSetG = 170;
_root.HeroMainColorG = 170;
_root.HeroMainColorSetB = 238;
_root.HeroMainColorB = 238;
_root.HeroSecondColorSetR = 255;
_root.HeroSecondColorR = 255;
_root.HeroSecondColorSetG = 221;
_root.HeroSecondColorG = 221;
_root.HeroSecondColorSetB = 255;
_root.HeroSecondColorB = 255;
_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.armorhmax = 100;
_root.armorh = 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.maxhealth = 50 + _root.body * 10;
_root.health = _root.maxhealth;
_root.heroview.gotoAndPlay(1);
_root.SelectPlayer_Farah.gotoAndPlay(1);
_root.SelectPlayer_KFox.gotoAndPlay(1);
_root.SelectPlayer_LeiLei.gotoAndPlay(1);
_root.SelectClass_Warrior.gotoAndPlay(1);
_root.SelectClass_SpaceMarshal.gotoAndPlay(1);
_root.SelectClass_Magician.gotoAndPlay(1);
_root.Select_StartButton.gotoAndPlay(1);
}
}
movieClip 2042 {
}
movieClip 2044 {
}
movieClip 2046 {
}
movieClip 2047 {
}
movieClip 2052 {
frame 2 {
if (_root.player == 0) {
stop();
}
if (_root.player > 9) {
stop();
}
}
frame 3 {
stop();
}
}
button 2054 {
on (release) {
_root.player = 11;
_root.bodrace = 3;
_root.sptrace = 5;
_root.HeroMainColorSetR = 238;
_root.HeroMainColorR = 238;
_root.HeroMainColorSetG = 221;
_root.HeroMainColorG = 221;
_root.HeroMainColorSetB = 0;
_root.HeroMainColorB = 0;
_root.HeroSecondColorSetR = 255;
_root.HeroSecondColorR = 255;
_root.HeroSecondColorSetG = 255;
_root.HeroSecondColorG = 255;
_root.HeroSecondColorSetB = 238;
_root.HeroSecondColorB = 238;
_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.armorhmax = 100;
_root.armorh = 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.maxhealth = 50 + _root.body * 10;
_root.health = _root.maxhealth;
_root.heroview.gotoAndPlay(1);
_root.SelectPlayer_Farah.gotoAndPlay(1);
_root.SelectPlayer_KFox.gotoAndPlay(1);
_root.SelectPlayer_LeiLei.gotoAndPlay(1);
_root.SelectClass_Warrior.gotoAndPlay(1);
_root.SelectClass_SpaceMarshal.gotoAndPlay(1);
_root.SelectClass_Magician.gotoAndPlay(1);
_root.Select_StartButton.gotoAndPlay(1);
}
}
movieClip 2055 {
}
movieClip 2060 {
frame 2 {
if (_root.player == 0) {
stop();
}
if (_root.player < 10 || _root.player > 19) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 2063 {
}
button 2067 {
on (release) {
_root.player = Math.floor(_root.player / 10) * 10;
_root.player += 3;
_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.armorhmax = 150;
_root.armorh = 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.maxhealth = 50 + _root.body * 10;
_root.health = _root.maxhealth;
if (_root.backpack1 >= 41 and _root.backpack1 <= 50 and _root.backpack1h == 301) {
_root.backpack1 = 1;
}
if (_root.backpack2 >= 41 and _root.backpack2 <= 50 and _root.backpack2h == 301) {
_root.backpack2 = 1;
}
_root.heroview.gotoAndPlay(1);
_root.SelectPlayer_Farah.gotoAndPlay(1);
_root.SelectPlayer_KFox.gotoAndPlay(1);
_root.SelectPlayer_LeiLei.gotoAndPlay(1);
_root.SelectClass_Warrior.gotoAndPlay(1);
_root.SelectClass_SpaceMarshal.gotoAndPlay(1);
_root.SelectClass_Magician.gotoAndPlay(1);
}
}
movieClip 2068 {
frame 2 {
if (_root.player == 0) {
stop();
}
}
frame 3 {
if (_root.player % 10 !== 3) {
stop();
}
}
frame 4 {
stop();
}
}
movieClip 2070 {
}
button 2074 {
on (release) {
_root.player = Math.floor(_root.player / 10) * 10;
_root.player += 2;
_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.armorhmax = 100;
_root.armorh = 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.maxhealth = 50 + _root.body * 10;
_root.health = _root.maxhealth;
_root.heroview.gotoAndPlay(1);
_root.SelectPlayer_Farah.gotoAndPlay(1);
_root.SelectPlayer_KFox.gotoAndPlay(1);
_root.SelectPlayer_LeiLei.gotoAndPlay(1);
_root.SelectClass_Warrior.gotoAndPlay(1);
_root.SelectClass_SpaceMarshal.gotoAndPlay(1);
_root.SelectClass_Magician.gotoAndPlay(1);
}
}
movieClip 2075 {
frame 2 {
if (_root.player == 0) {
stop();
}
}
frame 3 {
if (_root.player % 10 !== 2) {
stop();
}
}
frame 4 {
stop();
}
}
movieClip 2077 {
}
button 2081 {
on (release) {
_root.player = Math.floor(_root.player / 10) * 10;
_root.player += 1;
_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.armorhmax = 100;
_root.armorh = 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.maxhealth = 50 + _root.body * 10;
_root.health = _root.maxhealth;
_root.heroview.gotoAndPlay(1);
_root.SelectPlayer_Farah.gotoAndPlay(1);
_root.SelectPlayer_KFox.gotoAndPlay(1);
_root.SelectPlayer_LeiLei.gotoAndPlay(1);
_root.SelectClass_Warrior.gotoAndPlay(1);
_root.SelectClass_SpaceMarshal.gotoAndPlay(1);
_root.SelectClass_Magician.gotoAndPlay(1);
_root.Select_StartButton.gotoAndPlay(1);
}
}
movieClip 2082 {
frame 2 {
if (_root.player == 0) {
stop();
}
}
frame 3 {
if (_root.player % 10 !== 1) {
stop();
}
}
frame 4 {
stop();
}
}
button 2084 {
on (release) {
if (_root.player % 10 == 3) {
if (_root.backpack1 >= 41 and _root.backpack1 <= 50 and _root.backpack1h == 301) {
_root.backpack1 = 1;
}
if (_root.backpack2 >= 41 and _root.backpack2 <= 50 and _root.backpack2h == 301) {
_root.backpack2 = 1;
}
if (_root.backpack3 >= 41 and _root.backpack3 <= 50 and _root.backpack3h == 301) {
_root.backpack3 = 1;
}
if (_root.backpack4 >= 41 and _root.backpack4 <= 50 and _root.backpack4h == 301) {
_root.backpack4 = 1;
}
}
if (_root.player % 10 == 1) {
if (_root.backpack1 >= 31 and _root.backpack1 <= 40 and _root.backpack1h == 301) {
_root.backpack1 = 1;
}
if (_root.backpack2 >= 31 and _root.backpack2 <= 40 and _root.backpack2h == 301) {
_root.backpack2 = 1;
}
if (_root.backpack3 >= 31 and _root.backpack3 <= 40 and _root.backpack3h == 301) {
_root.backpack3 = 1;
}
if (_root.backpack4 >= 31 and _root.backpack4 <= 40 and _root.backpack4h == 301) {
_root.backpack4 = 1;
}
}
if (_root.gamestart == 'GameStart') {
switch (_root.player) {
case 2:
_root.gotoAndStop('Start-KFox');
break;
case 11:
_root.gotoAndStop('Start-LeiLei');
break;
case 23:
_root.gotoAndStop('Start-Farah');
break;
default:
_root.gotoAndStop([_root.gamestart]);
}
} else {
_root.gotoAndStop([_root.gamestart]);
}
}
}
movieClip 2086 {
frame 2 {
if (_root.player == 0) {
stop();
}
}
frame 3 {
stop();
}
}
button 2090 {
on (release) {
var i = Math.floor(_root.player / 10);
switch (i) {
case 0:
_root.HeroMainColorSetR = 153;
_root.HeroMainColorR = 153;
_root.HeroMainColorSetG = 170;
_root.HeroMainColorG = 170;
_root.HeroMainColorSetB = 238;
_root.HeroMainColorB = 238;
_root.HeroSecondColorSetR = 255;
_root.HeroSecondColorR = 255;
_root.HeroSecondColorSetG = 221;
_root.HeroSecondColorG = 221;
_root.HeroSecondColorSetG = 255;
_root.HeroSecondColorB = 255;
break;
case 1:
_root.HeroMainColorSetR = 238;
_root.HeroMainColorR = 238;
_root.HeroMainColorSetG = 221;
_root.HeroMainColorG = 221;
_root.HeroMainColorSetB = 0;
_root.HeroMainColorB = 0;
_root.HeroSecondColorSetR = 255;
_root.HeroSecondColorR = 255;
_root.HeroSecondColorSetG = 255;
_root.HeroSecondColorG = 255;
_root.HeroSecondColorSetB = 238;
_root.HeroSecondColorB = 238;
break;
case 2:
_root.HeroMainColorSetR = 255;
_root.HeroMainColorR = 255;
_root.HeroMainColorSetG = 238;
_root.HeroMainColorG = 238;
_root.HeroMainColorSetB = 204;
_root.HeroMainColorB = 204;
_root.HeroSecondColorSetR = 204;
_root.HeroSecondColorR = 204;
_root.HeroSecondColorSetG = 51;
_root.HeroSecondColorG = 51;
_root.HeroSecondColorSetB = 0;
_root.HeroSecondColorB = 0;
break;
default:
_root.HeroMainColorSetR = 153;
_root.HeroMainColorR = 153;
_root.HeroMainColorSetG = 153;
_root.HeroMainColorG = 153;
_root.HeroMainColorSetB = 153;
_root.HeroMainColorB = 153;
_root.HeroSecondColorSetR = 204;
_root.HeroSecondColorR = 204;
_root.HeroSecondColorSetG = 204;
_root.HeroSecondColorG = 204;
_root.HeroSecondColorSetB = 204;
_root.HeroSecondColorB = 204;
}
this.gotoAndPlay(1);
}
}
button 2092 {
on (release) {
var i = Math.floor(_root.player / 10);
switch (i) {
case 0:
_root.HeroMainColorSetR = 221;
_root.HeroMainColorR = 221;
_root.HeroMainColorSetG = 153;
_root.HeroMainColorG = 153;
_root.HeroMainColorSetB = 53;
_root.HeroMainColorB = 53;
_root.HeroSecondColorSetR = 240;
_root.HeroSecondColorR = 240;
_root.HeroSecondColorSetG = 187;
_root.HeroSecondColorG = 187;
_root.HeroSecondColorSetB = 85;
_root.HeroSecondColorB = 85;
break;
case 1:
_root.HeroMainColorSetR = 221;
_root.HeroMainColorR = 221;
_root.HeroMainColorSetG = 170;
_root.HeroMainColorG = 170;
_root.HeroMainColorSetB = 255;
_root.HeroMainColorB = 255;
_root.HeroSecondColorSetR = 255;
_root.HeroSecondColorR = 255;
_root.HeroSecondColorSetG = 238;
_root.HeroSecondColorG = 238;
_root.HeroSecondColorSetB = 255;
_root.HeroSecondColorB = 255;
break;
case 2:
_root.HeroMainColorSetR = 221;
_root.HeroMainColorR = 221;
_root.HeroMainColorSetG = 170;
_root.HeroMainColorG = 170;
_root.HeroMainColorSetB = 119;
_root.HeroMainColorB = 119;
_root.HeroSecondColorSetR = 255;
_root.HeroSecondColorR = 255;
_root.HeroSecondColorSetG = 221;
_root.HeroSecondColorG = 221;
_root.HeroSecondColorSetB = 51;
_root.HeroSecondColorB = 51;
break;
default:
_root.HeroMainColorSetR = 153;
_root.HeroMainColorR = 153;
_root.HeroMainColorSetG = 153;
_root.HeroMainColorG = 153;
_root.HeroMainColorSetB = 153;
_root.HeroMainColorB = 153;
_root.HeroSecondColorSetR = 204;
_root.HeroSecondColorR = 204;
_root.HeroSecondColorSetG = 204;
_root.HeroSecondColorG = 204;
_root.HeroSecondColorSetB = 204;
_root.HeroSecondColorB = 204;
}
this.gotoAndPlay(1);
}
}
button 2094 {
on (release) {
var i = Math.floor(_root.player / 10);
switch (i) {
case 0:
_root.HeroMainColorSetR = 34;
_root.HeroMainColorR = 34;
_root.HeroMainColorSetG = 0;
_root.HeroMainColorG = 0;
_root.HeroMainColorSetB = 51;
_root.HeroMainColorB = 51;
_root.HeroSecondColorSetR = 136;
_root.HeroSecondColorR = 136;
_root.HeroSecondColorSetG = 136;
_root.HeroSecondColorG = 136;
_root.HeroSecondColorSetB = 153;
_root.HeroSecondColorB = 153;
break;
case 1:
_root.HeroMainColorSetR = 153;
_root.HeroMainColorR = 153;
_root.HeroMainColorSetG = 153;
_root.HeroMainColorG = 153;
_root.HeroMainColorSetB = 153;
_root.HeroMainColorB = 153;
_root.HeroSecondColorSetR = 221;
_root.HeroSecondColorR = 221;
_root.HeroSecondColorSetG = 221;
_root.HeroSecondColorG = 221;
_root.HeroSecondColorSetB = 221;
_root.HeroSecondColorB = 221;
break;
case 2:
_root.HeroMainColorSetSetR = 250;
_root.HeroMainColorR = 250;
_root.HeroMainColorSetSetG = 240;
_root.HeroMainColorG = 240;
_root.HeroMainColorSetSetB = 220;
_root.HeroMainColorB = 220;
_root.HeroSecondColorSetR = 32;
_root.HeroSecondColorR = 32;
_root.HeroSecondColorSetG = 32;
_root.HeroSecondColorG = 32;
_root.HeroSecondColorSetB = 32;
_root.HeroSecondColorB = 32;
break;
default:
_root.HeroMainColorSetR = 153;
_root.HeroMainColorR = 153;
_root.HeroMainColorSetG = 153;
_root.HeroMainColorG = 153;
_root.HeroMainColorSetB = 153;
_root.HeroMainColorB = 153;
_root.HeroSecondColorSetR = 204;
_root.HeroSecondColorR = 204;
_root.HeroSecondColorSetG = 204;
_root.HeroSecondColorG = 204;
_root.HeroSecondColorSetB = 204;
_root.HeroSecondColorB = 204;
}
_root.heroview.gotoAndPlay(1);
}
}
movieClip 2100 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2102 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2104 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2106 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2108 {
}
movieClip 2110 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2112 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2115 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2117 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2119 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(111);
} else {
if (_root.player > 10) {
gotoAndStop(101);
}
}
}
frame 100 {
if (_root.health > 0) {
gotoAndPlay(1);
} else {
stop();
}
}
}
movieClip 2121 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
if (_root.player < 10) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
}
movieClip 2123 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 2126 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
if (_root.player < 10) {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
frame 2 {
stop();
}
}
movieClip 2128 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 2131 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
}
movieClip 2133 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 2136 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
frame 2 {
stop();
}
}
movieClip 2138 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 2140 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 2142 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2151 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 2152 {
frame 2 {
stop();
}
}
movieClip 2154 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2165 {
frame 1 {
if (_root.wpn == 2 and (Math.floor(_root.armor / 10) == 12 or Math.floor(_root.armor / 10) == 8 and _root.armorh < 100)) {
gotoAndStop(2);
} else {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
}
movieClip 2167 {
frame 1 {
gotoAndStop(2);
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 1);
}
}
}
movieClip 2169 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2183 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 2188 {
frame 1 {
gotoAndStop(_root.cumchest + 1);
}
}
movieClip 2189 {
frame 2 {
stop();
}
}
movieClip 2192 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 2194 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2196 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2199 {
frame 1 {
var red = _root.HeroSecondColorR - 50;
var green = _root.HeroSecondColorG - 50;
var blue = _root.HeroSecondColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2202 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 2213 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 2215 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2217 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2220 {
frame 1 {
var red = _root.HeroMainColorR - 50;
var green = _root.HeroMainColorG - 50;
var blue = _root.HeroMainColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2223 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 2225 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2228 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2231 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 2232 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 2234 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2236 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2238 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2240 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2244 {
frame 1 {
gotoAndStop(_root.acc);
}
}
movieClip 2261 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 2263 {
frame 1 {
var red = _root.HeroMainColorR + 17;
var green = _root.HeroMainColorG + 17;
var blue = _root.HeroMainColorB + 17;
if (red > 255) {
red = 255;
}
if (green > 255) {
green = 255;
}
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2264 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
}
movieClip 2268 {
frame 1 {
gotoAndStop(_root.cumchest + 1);
}
}
movieClip 2270 {
frame 1 {
if (_root.player > 20) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
movieClip 2272 {
frame 1 {
if (_root.player > 20) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2274 {
frame 1 {
if (_root.player > 20) {
var red = _root.HeroMainColorR + 17;
var green = _root.HeroMainColorG + 17;
var blue = _root.HeroMainColorB + 17;
} else {
var red = _root.HeroSecondColorR + 17;
var green = _root.HeroSecondColorG + 17;
var blue = _root.HeroSecondColorB + 17;
}
if (red > 255) {
red = 255;
}
if (green > 255) {
green = 255;
}
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2276 {
frame 2 {
stop();
}
}
movieClip 2278 {
frame 1 {
if (_root.player > 20) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
movieClip 2280 {
frame 1 {
if (_root.player > 20) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2282 {
frame 1 {
if (_root.player > 20) {
var red = _root.HeroMainColorR + 17;
var green = _root.HeroMainColorG + 17;
var blue = _root.HeroMainColorB + 17;
} else {
var red = _root.HeroSecondColorR + 17;
var green = _root.HeroSecondColorG + 17;
var blue = _root.HeroSecondColorB + 17;
}
if (red > 255) {
red = 255;
}
if (green > 255) {
green = 255;
}
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2284 {
frame 2 {
stop();
}
}
movieClip 2291 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
frame 2 {
stop();
}
}
movieClip 2293 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2295 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2309 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 2311 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red += 17;
if (red > 255) {
red = 255;
}
green += 17;
if (green > 255) {
green = 255;
}
blue += 17;
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2312 {
frame 1 {
if (_root.player >= 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
}
movieClip 2314 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2316 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2318 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2320 {
frame 1 {
var red = _root.HeroSecondColorR;
var green = _root.HeroSecondColorG;
var blue = _root.HeroSecondColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2323 {
frame 1 {
var red = _root.HeroSecondColorR - 50;
var green = _root.HeroSecondColorG - 50;
var blue = _root.HeroSecondColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2326 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 2336 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 2338 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2340 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2342 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2344 {
frame 1 {
var red = _root.HeroSecondColorR;
var green = _root.HeroSecondColorG;
var blue = _root.HeroSecondColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2347 {
frame 1 {
var red = _root.HeroMainColorR - 50;
var green = _root.HeroMainColorG - 50;
var blue = _root.HeroMainColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2350 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 2352 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2354 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2357 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2360 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 2361 {
frame 1 {
if (_root.player == 1) {
gotoAndStop(2);
} else {
gotoAndStop(_root.player);
}
}
}
movieClip 2363 {
frame 1 {
gotoAndStop(_root.acc);
}
}
movieClip 2399 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
frame 2 {
stop();
}
}
movieClip 2405 {
frame 1 {
gotoAndStop(_root.cumface + 1);
}
}
movieClip 2407 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2409 {
frame 1 {
var red = _root.HeroSecondColorR;
var green = _root.HeroSecondColorG;
var blue = _root.HeroSecondColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2412 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2414 {
frame 1 {
var red = _root.HeroSecondColorR;
var green = _root.HeroSecondColorG;
var blue = _root.HeroSecondColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2417 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2419 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2421 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 2423 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2425 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2427 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2429 {
frame 1 {
var red = _root.HeroSecondColorR;
var green = _root.HeroSecondColorG;
var blue = _root.HeroSecondColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2432 {
frame 1 {
var red = Math.floor(_root.HeroMainColorR / 2.5);
var green = Math.floor(_root.HeroMainColorG / 2.5);
var blue = Math.floor(_root.HeroMainColorB / 2.5);
if (red < 16) {
red = 16;
}
if (green < 16) {
green = 16;
}
if (blue < 16) {
blue = 16;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2434 {
frame 1 {
var red = Math.floor(_root.HeroMainColorR / 2.5 + 25);
var green = Math.floor(_root.HeroMainColorG / 2.5 + 25);
var blue = Math.floor(_root.HeroMainColorB / 2.5 + 25);
if (red < 32) {
red = 32;
}
if (green < 32) {
green = 32;
}
if (blue < 32) {
blue = 32;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2436 {
frame 1 {
var red = Math.floor(_root.HeroMainColorR / 2.5 - 25);
var green = Math.floor(_root.HeroMainColorG / 2.5 - 25);
var blue = Math.floor(_root.HeroMainColorB / 2.5 - 25);
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2442 {
frame 1 {
gotoAndStop(_root.cumface + 1);
}
}
movieClip 2448 {
frame 1 {
if (_root.acc == 12) {
gotoAndStop(10 + Math.floor(_root.player / 10));
} else {
if (_root.acc == 10 or _root.acc == 11) {
stop();
} else {
gotoAndStop(_root.acc);
}
}
}
}
movieClip 2450 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2452 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2454 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2456 {
frame 1 {
var red = _root.HeroSecondColorR;
var green = _root.HeroSecondColorG;
var blue = _root.HeroSecondColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2459 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2461 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2463 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red += 17;
if (red > 255) {
red = 255;
}
green += 17;
if (green > 255) {
green = 255;
}
blue += 17;
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2466 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 2468 {
frame 1 {
var red = _root.HeroSecondColorR;
var green = _root.HeroSecondColorG;
var blue = _root.HeroSecondColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2470 {
frame 1 {
var red = _root.HeroSecondColorR;
var green = _root.HeroSecondColorG;
var blue = _root.HeroSecondColorB;
red += 25;
if (red > 255) {
red = 255;
}
green += 25;
if (green > 255) {
green = 255;
}
blue += 25;
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2472 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 2474 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2480 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 2483 {
frame 1 {
var red = Math.floor(_root.HeroMainColorR / 2);
var green = Math.floor(_root.HeroMainColorG / 2);
var blue = Math.floor(_root.HeroMainColorB / 2);
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2485 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2489 {
frame 1 {
var red = Math.floor(_root.HeroMainColorR / 2);
var green = Math.floor(_root.HeroMainColorG / 2);
var blue = Math.floor(_root.HeroMainColorB / 2);
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2491 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2495 {
frame 1 {
var red = Math.floor(_root.HeroSecondColorR / 1.5);
var green = Math.floor(_root.HeroSecondColorG / 1.5);
var blue = Math.floor(_root.HeroSecondColorB / 1.5);
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2496 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 2511 {
frame 1 {
if (_root.wpn < 10) {
gotoAndStop(_root.wpn + 1);
} else {
gotoAndStop(_root.wpn);
}
}
}
movieClip 2513 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2517 {
frame 1 {
if (_root.body > 1) {
gotoAndStop(_root.body);
}
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
stop();
}
}
movieClip 2525 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 2526 {
frame 2 {
stop();
}
}
movieClip 2528 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
if (_root.player < 10) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
}
movieClip 2530 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 2533 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 2537 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
(new Color(this)).setRGB(3355443);
} else {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
}
}
movieClip 2539 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
(new Color(this)).setRGB(2236962);
} else {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
}
movieClip 2542 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 2545 {
frame 1 {
if (_root.player >= 21) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(11);
} else {
if (_root.camframe.hero._currentframe < 51 and _root.wpn > 10) {
gotoAndStop(_currentframe + 1);
}
}
stop();
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
} else {
if (_root.camframe.hero._currentframe < 51 and _root.wpn > 10) {
gotoAndStop(_currentframe + 1);
}
}
}
}
movieClip 2547 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2549 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2551 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red += 17;
if (red > 255) {
red = 255;
}
green += 17;
if (green > 255) {
green = 255;
}
blue += 17;
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2565 {
frame 1 {
if (_root.wpn == 2 and (Math.floor(_root.armor / 10) == 12 or Math.floor(_root.armor / 10) == 8 and _root.armorh < 100)) {
gotoAndStop(2);
} else {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
}
movieClip 2568 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 2570 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2572 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red += 17;
if (red > 255) {
red = 255;
}
green += 17;
if (green > 255) {
green = 255;
}
blue += 17;
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2574 {
frame 1 {
if (_root.player <= 20) {
gotoAndStop(2);
} else {
gotoAndStop(22);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 2576 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 2579 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 2583 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 2586 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 2588 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 2590 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
if (_root.player < 10) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
}
movieClip 2592 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 2595 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
if (_root.player < 10) {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
frame 2 {
stop();
}
}
movieClip 2597 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 2600 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
}
movieClip 2602 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 2605 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
frame 2 {
stop();
}
}
movieClip 2607 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 2609 {
frame 1 {
if (_root.player >= 21) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 2610 {
frame 1 {
gotoAndStop(Math.ceil(_root.wpn / 10));
}
}
movieClip 2611 {
frame 1 {
if (_root.player == 0) {
stop();
}
}
frame 2 {
stop();
}
}
movieClip 2614 {
}
button 2618 {
on (release) {
if (_root.FadeoutBlack._currentframe <= 31) {
_root.FadeoutBlack.gotoAndPlay(32);
}
}
on (keyPress '<Space>') {
_root.FadeoutBlack.gotoAndPlay(32);
}
}
button 2624 {
on (release) {
if (_root.FadeoutBlack._currentframe <= 31) {
this.gotoAndStop(_currentframe + 1);
}
}
on (keyPress '<Right>') {
this.gotoAndStop(_currentframe + 1);
}
}
button 2629 {
on (release) {
if (_root.FadeoutBlack._currentframe <= 31) {
this.gotoAndStop(_currentframe - 1);
}
}
on (keyPress '<Left>') {
this.gotoAndStop(_currentframe - 1);
}
}
movieClip 2642 {
}
movieClip 2644 {
}
// unknown tag 88 length 73
button 2666 {
on (release) {
if (_root.FadeoutBlack._currentframe <= 31) {
_root.FadeoutBlack.gotoAndPlay(32);
}
}
}
movieClip 2668 {
frame 1 {
stop();
}
}
movieClip 2671 {
frame 31 {
stop();
}
frame 50 {
_root.gotoAndStop([_root.gamestart]);
stop();
}
}
movieClip 2674 {
}
button 2680 {
on (release) {
if (_root.FadeoutBlack._currentframe <= 31) {
_root.FadeoutBlack.gotoAndPlay(32);
}
}
on (keyPress '<Space>') {
_root.FadeoutBlack.gotoAndPlay(32);
_root.acc = 2;
}
}
button 2681 {
on (release) {
if (_root.FadeoutBlack._currentframe <= 31) {
this.gotoAndStop(_currentframe + 1);
}
}
on (keyPress '<Right>') {
this.gotoAndStop(_currentframe + 1);
}
}
movieClip 2685 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2688 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2691 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2693 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 2703 {
}
movieClip 2705 {
}
movieClip 2707 {
}
movieClip 2709 {
}
movieClip 2710 {
}
movieClip 2715 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2718 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2721 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 2723 {
frame 1 {
gotoAndStop(_root.player);
}
}
button 2728 {
on (release) {
if (_root.FadeoutBlack._currentframe <= 31) {
_root.FadeoutBlack.gotoAndPlay(32);
_root.acc = 2;
}
}
}
movieClip 2729 {
frame 1 {
_root.acc = 1;
stop();
}
}
movieClip 2732 {
}
movieClip 2734 {
}
movieClip 2736 {
}
movieClip 2738 {
}
movieClip 2740 {
}
movieClip 2742 {
}
movieClip 2745 {
}
button 2748 {
on (release) {
if (_root.FadeoutBlack._currentframe <= 31) {
_root.FadeoutBlack.gotoAndPlay(32);
}
}
on (keyPress '<Space>') {
_root.FadeoutBlack.gotoAndPlay(32);
}
}
button 2749 {
on (release) {
if (_root.FadeoutBlack._currentframe <= 31) {
this.gotoAndStop(_currentframe + 1);
}
}
on (keyPress '<Right>') {
this.gotoAndStop(_currentframe + 1);
}
}
movieClip 2768 {
}
movieClip 2770 {
}
movieClip 2776 {
}
movieClip 2778 {
}
movieClip 2795 {
}
// unknown tag 88 length 68
button 2815 {
on (release) {
if (_root.FadeoutBlack._currentframe <= 31) {
_root.FadeoutBlack.gotoAndPlay(32);
}
}
}
movieClip 2816 {
frame 1 {
stop();
}
}
movieClip 2821 {
frame 1 {
if (_root._currentframe > 39) {
gotoAndStop(21);
} else {
if (_root._currentframe > 29) {
gotoAndStop(11);
}
}
stop();
}
}
movieClip 2823 {
}
movieClip 2825 {
}
movieClip 2827 {
}
movieClip 2829 {
}
movieClip 2831 {
}
movieClip 2833 {
}
movieClip 2835 {
}
movieClip 2837 {
}
movieClip 2839 {
}
movieClip 2841 {
}
movieClip 2844 {
}
movieClip 2846 {
}
movieClip 2848 {
}
movieClip 2851 {
}
movieClip 2853 {
}
movieClip 2855 {
}
movieClip 2858 {
frame 1 {
if (_root.quest_shipclear == 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 2860 {
}
movieClip 2862 {
}
movieClip 2864 {
}
movieClip 2866 {
}
movieClip 2868 {
}
movieClip 2873 {
}
movieClip 2875 {
}
movieClip 2877 {
}
movieClip 2879 {
}
movieClip 2881 {
}
movieClip 2883 {
}
movieClip 2885 {
}
movieClip 2887 {
}
movieClip 2889 {
}
movieClip 2891 {
}
movieClip 2893 {
}
movieClip 2895 {
}
movieClip 2897 {
}
movieClip 2899 {
}
movieClip 2901 {
}
movieClip 2903 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 2905 {
}
movieClip 2907 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 2909 {
}
movieClip 2911 {
}
movieClip 2913 {
}
movieClip 2915 {
}
movieClip 2920 {
}
movieClip 2922 {
}
movieClip 2924 {
}
movieClip 2926 {
}
movieClip 2928 {
}
movieClip 2930 {
}
button 2933 {
on (release) {
if (_root.FadeoutWhite._currentframe <= 31) {
_root.FadeoutWhite.gotoAndPlay(32);
}
}
on (keyPress '<Space>') {
_root.FadeoutWhite.gotoAndPlay(32);
}
}
button 2934 {
on (release) {
if (_root.FadeoutWhite._currentframe <= 31) {
this.gotoAndStop(_currentframe + 1);
}
}
on (keyPress '<Right>') {
this.gotoAndStop(_currentframe + 1);
}
}
movieClip 2939 {
}
button 2946 {
on (release) {
if (_root.FadeoutWhite._currentframe <= 31) {
this.gotoAndStop(_currentframe - 1);
}
}
on (keyPress '<Left>') {
this.gotoAndStop(_currentframe - 1);
}
}
movieClip 2977 {
}
movieClip 2978 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 2992 {
}
movieClip 2994 {
}
movieClip 2996 {
}
button 3004 {
on (release) {
if (_root.FadeoutWhite._currentframe <= 31) {
_root.FadeoutWhite.gotoAndPlay(32);
}
}
}
movieClip 3022 {
frame 1 {
if (_root.quest_getmedkit < 3) {
gotoAndStop(21);
}
stop();
}
}
movieClip 3025 {
frame 31 {
stop();
}
frame 50 {
_root.held = 0;
_root.gamestart = 'Act2Start';
_root.gotoAndStop([_root.gamestart]);
stop();
}
}
// unknown tag 88 length 62
movieClip 3030 {
}
movieClip 3031 {
}
movieClip 3034 {
}
movieClip 3036 {
}
movieClip 3038 {
}
movieClip 3040 {
}
movieClip 3042 {
}
movieClip 3045 {
}
movieClip 3049 {
}
movieClip 3052 {
}
movieClip 3054 {
}
movieClip 3056 {
}
movieClip 3058 {
}
movieClip 3060 {
}
movieClip 3062 {
}
movieClip 3064 {
}
movieClip 3066 {
}
movieClip 3068 {
}
movieClip 3070 {
}
movieClip 3072 {
}
movieClip 3074 {
}
movieClip 3076 {
}
movieClip 3078 {
}
movieClip 3080 {
}
movieClip 3082 {
}
movieClip 3084 {
}
movieClip 3086 {
}
movieClip 3088 {
}
movieClip 3090 {
}
movieClip 3092 {
}
movieClip 3107 {
}
movieClip 3135 {
frame 1 {
if (_root.firechecked[_root._currentframe - 50 + 3] < 2) {
loadMovie('', smoke);
}
stop();
}
frame 2 {
if (_root._currentframe == 54) {
if (Math.floor(_root.player / 10) == 1) {
gotoAndStop(11);
} else {
if (_root.quest_savemage == 5 or _root.quest_savemage == 6) {
gotoAndStop(21);
}
}
} else {
if (_root.firechecked[_root._currentframe - 50 + 3] >= 2) {
_root.box3.gotoAndStop(1);
_root.held = 905;
gotoAndPlay(51);
}
}
_root.choicetext = 'The entrance to this home is locked.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
if (_root.body >= 7) {
_root.choiceS = '(Body Check) Force Door';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = '(Body Check) Force Door';
_root.box3.choicebox.choicebuttonS.gotoAndStop(6);
}
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'This is LeiLei\'s home. Despite the chaos outside, it looks like no one has broken in yet.';
_root.choiceA = 'Unlock door & go inside.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
if (_root.body >= 7) {
_root.choiceS = '(Body Check) Force Door';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = '(Body Check) Force Door';
_root.box3.choicebox.choicebuttonS.gotoAndStop(6);
}
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 21 {
_root.choicetext = 'As you approach, a familar faces opens the door & beckons you inside';
_root.choiceA = 'Enter Lei-Lei\'s home';
_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();
}
frame 51 {
play();
}
frame 81 {
_root.gohere = _root._currentframe + 3;
_root.gox = -1800;
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 130 {
_root.gohere = _root._currentframe + 3;
_root.gox = -1800;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 3142 {
}
movieClip 3144 {
}
movieClip 3145 {
frame 1 {
if (_root.quest_opencastle % 2 < 1) {
gotoAndStop(5);
}
}
frame 3 {
stop();
}
}
movieClip 3150 {
}
movieClip 3151 {
frame 1 {
if (_root.quest_opencastle < 2) {
gotoAndStop(5);
}
}
frame 3 {
stop();
}
}
movieClip 3157 {
frame 1 {
stop();
}
frame 2 {
if (_root.quest_opencastle >= 3) {
gotoAndStop(11);
}
_root.choicetext = 'This building appears to be the main warren of the village. Although there is no physical front gate, there is clearly magical energy sealing the archway.';
_root.choiceA = 'Attempt to open door';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (_root.spirit >= 5) {
_root.choiceD = '(Spirit Check) Study Gate';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Spirit Check) Study Gate';
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'With the wards deactivated, you are free to enter the great hall.';
_root.choiceA = 'Enter Building';
_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();
}
frame 51 {
if (Math.floor(_root.player / 10) == 1) {
_root.quest_opencastle = 3;
}
if (_root.quest_opencastle < 2) {
if (_root.wpn == 11 or _root.wpn == 42) {
_root.quest_opencastle += 2;
wardyellow.gotoAndPlay(1);
}
}
if (_root.quest_opencastle % 2 < 1) {
var clothescheck = false;
if (_root.acc == 2) {
clothescheck = true;
}
if (_root.acc == 9) {
clothescheck = true;
}
if (_root.armor >= 11 and _root.armor <= 15) {
clothescheck = true;
}
if (_root.armor >= 111 and _root.armor <= 113) {
clothescheck = true;
}
clothescheck = true;
if (clothescheck) {
_root.quest_opencastle += 1;
wardpurple.gotoAndPlay(1);
}
}
if (_root.quest_opencastle >= 3) {
gotoAndPlay(61);
}
}
frame 56 {
_root.held = 0;
stop();
}
frame 65 {
_root.gohere = _root._currentframe + 1;
_root.gox = -1750;
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 155 {
_root.held = 0;
stop();
}
}
movieClip 3170 {
}
movieClip 3173 {
}
movieClip 3175 {
}
movieClip 3180 {
}
movieClip 3216 {
}
movieClip 3250 {
}
movieClip 3290 {
}
movieClip 3310 {
}
movieClip 3325 {
frame 1 {
stop();
}
}
movieClip 3330 {
frame 1 {
if (_root.villagehumans + _root.villageelves + _root.villagebunnies >= 30) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 3332 {
frame 1 {
if (_root.act2clear >= 10) {
stop();
}
if (_root.act2clear % 2 == 1) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 3334 {
frame 1 {
if (_root.KFoxHealth >= 105) {
stop();
}
}
frame 2 {
if (_root.player <= 10) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 3336 {
frame 1 {
if (_root.act2clear >= 2) {
stop();
}
}
frame 3 {
stop();
}
}
movieClip 3338 {
frame 1 {
if (_root.quest_helpdunecrawler >= 10) {
stop();
}
}
frame 2 {
stop();
}
}
movieClip 3350 {
frame 1 {
if (_root.villagehumans + _root.villageelves + _root.villagebunnies >= 30) {
stop();
} else {
var monstercounter = Math.floor((_root.villagehumans + _root.villageelves + _root.villagebunnies) / 30);
}
}
frame 3 {
stop();
}
}
movieClip 3353 {
frame 1 {
var questcounter = 6;
if (_root.act2clear >= 3) {
questcounter -= 2;
} else {
if (_root.act2clear >= 1) {
--questcounter;
}
}
if (_root.KFoxHealth >= 105 or _root.player < 10) {
--questcounter;
}
if (_root.quest_helpdunecrawler >= 10) {
--questcounter;
}
gotoAndStop(questcounter);
}
}
button 3354 {
on (release) {
_root.gotoAndPlay(3);
_parent._x = 0;
_parent._y = 0;
_parent._xscale = 100;
_parent._yscale = 100;
this._parent.removeMovieClip();
}
}
button 3355 {
on (release) {
this.play();
this._parent.play();
}
}
movieClip 3356 {
frame 1 {
this._alpha = 0;
}
frame 5 {
this._alpha += 10;
}
frame 6 {
this._alpha += 10;
}
frame 7 {
this._alpha += 10;
}
frame 8 {
this._alpha += 10;
}
frame 9 {
this._alpha += 10;
}
frame 10 {
this._alpha += 10;
}
frame 11 {
this._alpha += 10;
}
frame 12 {
this._alpha += 10;
}
frame 13 {
this._alpha += 10;
}
frame 14 {
this._alpha = 100;
}
frame 20 {
stop();
}
frame 22 {
this._alpha -= 10;
}
frame 23 {
this._alpha -= 10;
}
frame 24 {
this._alpha -= 10;
}
frame 25 {
this._alpha -= 10;
}
frame 26 {
this._alpha -= 10;
}
frame 27 {
this._alpha -= 10;
}
frame 28 {
this._alpha -= 10;
}
frame 29 {
this._alpha -= 10;
}
frame 30 {
this._alpha -= 10;
}
frame 31 {
this._alpha = 0;
stop();
}
}
movieClip 3357 {
frame 31 {
stop();
}
frame 51 {
stop();
}
frame 71 {
_root.gohere = 70;
_root.gox = 0;
_root.held = 0;
_root.gotoAndStop(70);
stop();
}
}
frame 18 {
_root.maxitems = 2;
_root.doorrightgo = 50;
_root.doorrightgox = -1500;
_root.camframe.dark.gotoAndStop(1);
if (_root.gamestart == 'GameStart') {
_root.gamestart = 'Act1';
_root.camframe._x = -1000;
}
_root.attachMovie('heightbox', 'topbox1211', 1211);
_root.crawl1.swapDepths(_root.topbox1211);
_root.topbox1211.unloadMovie();
}
movieClip 3360 {
}
movieClip 3362 {
}
movieClip 3365 {
}
movieClip 3370 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 3371 {
}
movieClip 3372 {
frame 1 {
if (_root.quest_shipclear == 0) {
gotoAndStop(6);
}
stop();
}
}
movieClip 3374 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
_root.gohere = 20;
_root.gox = -500;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 3378 {
frame 1 {
stop();
}
frame 2 {
if (_root.player <= 10) {
_root.choicetext = 'Your ship is trashed. You\'d think TK-9 would have warned ya there\'d be trouble landing.';
} else {
_root.choicetext = 'This wreckage is different than the rest. It looks like a single person could sit inside if they wanted.';
}
_root.choiceA = 'Search Around';
_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();
}
frame 11 {
if (_root.player <= 10) {
_root.choicetext = 'There\'s not much to salvage, but you do find a single jumpsuit packed away.';
} else {
_root.choicetext = 'This is all foreign to you. However, you do find what appears to be a female outfit made from a strange, stretchable material.';
}
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = 'Take Jumpsuit';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel) Leave it for now.';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 51 {
if (_root.quest_getjumpsuit == 0) {
_root.held = 900;
_root.box3.gotoAndPlay(2);
gotoAndStop(11);
}
}
frame 56 {
_root.held = 0;
stop();
}
frame 106 {
_root.quest_getjumpsuit = 1;
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 31;
_root.itemnewh = 100;
stop();
}
}
movieClip 3380 {
}
movieClip 3383 {
frame 1 {
this.cacheAsBitmap = true;
if (_root._currentframe < 50) {
if (_root.quest_shippower == 7 or _root.quest_shippower == 11) {
gotoAndStop(2);
} else {
gotoAndStop(3);
}
}
if (_root._currentframe == 18) {
gotoAndStop(2);
}
if (_root._currentframe == 24 or _root._currentframe == 39) {
gotoAndStop(3);
}
if (_root.wpn == 23) {
gotoAndStop(2);
}
stop();
}
frame 3 {
if (_root.wpn == 23) {
gotoAndStop(2);
}
}
}
movieClip 3395 {
frame 1 {
if (_root._currentframe < 200) {
gotoAndStop(50);
}
var phase = Math.floor(_root.hordelevel / 10) + 1;
var level = _root.hordelevel % 10;
}
frame 50 {
stop();
}
frame 100 {
stop();
}
frame 150 {
stop();
}
}
movieClip 3397 {
}
movieClip 3399 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 3401 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 3414 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 3416 {
frame 1 {
var red = _root.HeroMainColorR + 17;
var green = _root.HeroMainColorG + 17;
var blue = _root.HeroMainColorB + 17;
if (red > 255) {
red = 255;
}
if (green > 255) {
green = 255;
}
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 3417 {
frame 1 {
if (_root.player >= 21) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
}
movieClip 3418 {
frame 1 {
if (_root.wpn > 30) {
gotoAndStop(6);
}
stop();
}
frame 6 {
if (_root.wpn == 34) {
gotoAndStop(_currentframe + 1);
}
}
}
movieClip 3419 {
frame 32 {
gotoAndPlay(1);
}
}
movieClip 3420 {
frame 1 {
if (_root.wpn > 30) {
gotoAndPlay(31);
}
}
frame 21 {
gotoAndPlay(1);
}
frame 51 {
gotoAndPlay(31);
}
}
movieClip 3421 {
frame 1 {
if (_root.wpn > 30) {
gotoAndPlay(31);
}
}
frame 13 {
gotoAndPlay(1);
}
frame 43 {
gotoAndPlay(1);
}
}
movieClip 3431 {
frame 1 {
if (_root.player > 20) {
gotoAndPlay(41);
} else {
if (_root.player > 10) {
gotoAndPlay(21);
}
}
}
frame 11 {
gotoAndPlay(1);
}
frame 31 {
gotoAndPlay(21);
}
frame 51 {
gotoAndPlay(41);
}
}
movieClip 3432 {
frame 1 {
_root.held = 50;
}
frame 2 {
_root.held = 50;
}
frame 3 {
_root.held = 50;
}
frame 4 {
_root.held = 50;
}
frame 5 {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
movieClip 3433 {
frame 1 {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
movieClip 3435 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 3438 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 3441 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 3445 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 3448 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 3450 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 3453 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotAndStop(6);
}
}
}
movieClip 3456 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 3459 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 3461 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 3463 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
if (_root.player < 10) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
}
movieClip 3465 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 3468 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
if (_root.player < 10) {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
frame 2 {
stop();
}
}
movieClip 3470 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 3474 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
}
movieClip 3476 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 3479 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
}
movieClip 3481 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 3483 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 3484 {
frame 26 {
stop();
}
}
movieClip 3486 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 3490 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 3494 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 3497 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 3498 {
frame 5 {
if (_root.camframe.gameover._currentframe == 1) {
_root.camframe.gameover.gotoAndPlay(2);
}
}
frame 43 {
stop();
}
}
movieClip 3499 {
frame 1 {
if (_root.armor <= 1 and !(_root.acc == 2 or _root.acc == 9 or _root.acc == 12)) {
gotoAndPlay(21);
}
}
frame 13 {
NewItemHealthNumber = 1;
var NewItemNumber = 1;
if (_root.acc == 2) {
NewItemNumber = _root.acc;
NewItemHealthNumber = 601;
_root.acc = 1;
_root.camframe.box.invacc.gotoAndPlay(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;
}
NewItemNumber += NewItemHealthNumber - 1;
++_root.maxitems;
_root.attachMovie('item_drop', 'obj' + _root.maxitems, 1001 + _root.maxitems);
_root['obj' + _root.maxitems]._x = _root.camframe._x - 300;
_root['obj' + _root.maxitems]._y = 550;
_root['obj' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber);
head.accessory.gotoAndStop(1);
}
if (_root.armor > 1) {
NewItemNumber = _root.armor;
NewItemHealthNumber = _root.armorh;
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
NewItemNumber += Math.ceil(NewItemHealthNumber / 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(NewItemNumber);
forearm.armor.gotoAndStop(1);
shoulder.armor.gotoAndStop(1);
chest.armor.gotoAndStop(1);
foothitbox.armor.gotoAndStop(1);
foothitbox.armor2.gotoAndStop(1);
thigh.armor.gotoAndStop(1);
footrear.armor.gotoAndStop(1);
footrear.armor2.gotoAndStop(1);
thighrear.armor.gotoAndStop(1);
forearmrear.armor.gotoAndStop(1);
shoulderrear.armor.gotoAndStop(1);
}
}
frame 21 {
head.cum.gotoAndStop(1);
cumboobs.gotoAndStop(1);
thighrear.cum.gotoAndStop(1);
cumchest.gotoAndStop(1);
}
frame 61 {
if (_root.camframe.hero._xscale == -100) {
gotoAndPlay(21);
}
}
frame 62 {
stop();
}
}
movieClip 3502 {
}
movieClip 3504 {
}
movieClip 3506 {
}
movieClip 3508 {
}
movieClip 3511 {
frame 1 {
head.cum.gotoAndStop(1);
cumboobs.gotoAndStop(1);
thighrear.cum.gotoAndStop(1);
cumchest.gotoAndStop(1);
if (_root._currentframe == 80) {
gotoAndStop(101);
}
}
frame 10 {
if (_root.acc !== 12) {
stop();
}
}
frame 17 {
SmokePuff1._alpha -= 25;
SmokePuff2._alpha -= 25;
SmokePuff3._alpha -= 25;
SmokePuff4._alpha -= 25;
SmokePuff5._alpha -= 25;
SmokePuff6._alpha -= 25;
}
frame 19 {
SmokePuff1._alpha -= 25;
SmokePuff2._alpha -= 25;
SmokePuff3._alpha -= 25;
SmokePuff4._alpha -= 25;
SmokePuff5._alpha -= 25;
SmokePuff6._alpha -= 25;
}
frame 21 {
SmokePuff1._alpha -= 25;
SmokePuff2._alpha -= 25;
SmokePuff3._alpha -= 25;
SmokePuff4._alpha -= 25;
SmokePuff5._alpha -= 25;
SmokePuff6._alpha -= 25;
}
frame 65 {
if (_root.cumface < 5) {
++_root.cumface;
}
if (_root.cumchest < 5) {
++_root.cumchest;
}
head.cum.gotoAndStop(1);
cumboobs.gotoAndStop(1);
thighrear.cum.gotoAndStop(1);
cumchest.gotoAndStop(1);
gotoAndPlay('Loop1');
}
}
movieClip 3512 {
frame 1 {
gotoAndStop(Math.ceil(_root.wpn / 10));
}
}
movieClip 3513 {
frame 1 {
var chaincost = 10 * _root.weapon[_root.wpn][4];
if (_root.player % 10 == 2) {
chaincost -= 10;
}
var scale = 100 + 10 * _root.body;
}
frame 2 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 3 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 4 {
++_root.held;
scale -= chaincost;
}
frame 4 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 6 {
if (_root.held == 9) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A2');
}
}
}
}
frame 8 {
if (_root.held <= 10 and _root.held > 0) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A2');
}
}
}
}
frame 12 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
frame 22 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 23 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 24 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 15;
}
scale -= chaincost;
}
frame 24 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 26 {
if (_root.held == 14) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A3');
}
}
}
}
frame 28 {
if (_root.held <= 15 and _root.held > 0) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A3');
}
}
}
}
frame 32 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
frame 42 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 43 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 44 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 46 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 20;
}
scale -= chaincost;
}
frame 48 {
if (_root.held == 19) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A4');
}
}
}
}
frame 50 {
if (_root.held <= 20 and _root.held > 0) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A4');
}
}
}
}
frame 55 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
frame 64 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 10;
}
scale -= chaincost;
}
frame 66 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 10;
}
}
frame 71 {
if (_root.held == 9) {
if (Key.isDown(65)) {
if (scale >= 100) {
if (_root.wpn < 11) {
gotoAndPlay('A5');
}
}
}
}
}
frame 74 {
if (_root.held <= 10 and _root.held > 0) {
if (Key.isDown(65)) {
if (scale >= 100) {
if (_root.wpn < 11) {
gotoAndPlay('A5');
}
}
}
}
}
frame 80 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
frame 91 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 92 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 40;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 40;
}
}
}
frame 93 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 10;
}
}
frame 93 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 40;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 40;
}
}
}
frame 94 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 97 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 25;
}
}
frame 105 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
}
movieClip 3514 {
frame 1 {
var a = 0;
var chaincost = 10 * _root.weapon[_root.wpn][4];
ballscale = 100 + 10 * _root.spirit;
var scale = ballscale;
if (ballscale < 150) {
ballscale = 150;
}
var ElementType = 'energyball';
var AttackSound = new Sound();
AttackSound.attachSound('magicsound');
if (_root.wpn == 12) {
ElementType = 'fireball';
AttackSound.attachSound('fireballsound');
}
if (_root.wpn == 13) {
ElementType = 'energyball-dark';
}
}
frame 13 {
a = _root.proj.length;
++_root.pnum;
if (_root.pnum > 10) {
_root.pnum = 1;
}
_root.attachMovie(ElementType, 'p' + _root.pnum, 200 + _root.pnum);
_root.proj.push([0, ['p' + _root.pnum], 5, 25, ballscale]);
AttackSound.start(0, 1);
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;
if (_root.wpn == 13) {
_root.health -= 1;
}
}
frame 18 {
if (_root.held <= 10) {
scale -= chaincost;
if (scale >= 100) {
gotoAndPlay('A1');
}
}
}
frame 26 {
if (_root.held <= 10) {
_root.held = 0;
_root.camframe.hero.gotoAndPlay(1);
}
}
}
movieClip 3518 {
frame 1 {
if (_root.player > 20) {
gotoAndPlay(41);
} else {
if (_root.player > 10) {
gotoAndPlay(21);
}
}
}
}
movieClip 3519 {
frame 1 {
var chaincost = 10 * _root.weapon[_root.wpn][4];
var scale = 100 + 10 * _root.body;
}
frame 4 {
++_root.held;
scale -= chaincost;
}
frame 6 {
if (_root.held == 9) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A2');
}
}
}
}
frame 8 {
if (_root.held <= 10 and _root.held > 0) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A2');
}
}
}
}
frame 13 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
frame 22 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 23 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 24 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 26 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 10;
}
scale -= chaincost;
}
frame 31 {
if (_root.held <= 10 and _root.held > 0) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A3');
}
}
}
}
frame 40 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
frame 52 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 53 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 54 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 55 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 56 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 57 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 20;
}
scale -= chaincost;
}
frame 57 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 58 {
if (_root.held == 19) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A4');
}
}
}
}
frame 60 {
if (_root.held <= 20 and _root.held > 0) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A4');
}
}
}
}
frame 67 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
frame 81 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 40;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 40;
}
}
}
frame 82 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 40;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 40;
}
}
}
frame 83 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 85 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 10;
}
}
frame 87 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 25;
}
}
frame 96 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
}
movieClip 3529 {
frame 1 {
var chaincost = 10 * _root.weapon[_root.wpn][4];
var scale = 100 + 10 * _root.body;
}
frame 3 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 4 {
++_root.held;
scale -= chaincost;
}
frame 10 {
if (_root.held == 9) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A2');
}
}
}
}
frame 12 {
if (_root.held <= 10 and _root.held > 0) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A2');
}
}
}
}
frame 23 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
frame 33 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 34 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 35 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 36 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 10;
}
scale -= chaincost;
}
frame 39 {
if (_root.held == 9) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A3');
}
}
}
}
frame 41 {
if (_root.held <= 10 and _root.held > 0) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A3');
}
}
}
}
frame 61 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
frame 73 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 74 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 75 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 40;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 40;
}
}
}
frame 76 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 80;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 80;
}
}
}
frame 77 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 80;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 80;
}
}
}
frame 78 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 20;
}
scale -= chaincost;
}
frame 78 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 80;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 80;
}
}
}
frame 79 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 80;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 80;
}
}
}
frame 80 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 80;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 80;
}
}
}
frame 81 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 40;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 40;
}
}
}
frame 82 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 83 {
if (_root.held <= 20 and _root.held > 0) {
if (Key.isDown(65)) {
if (scale >= 100) {
gotoAndPlay('A4');
}
}
}
}
frame 83 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 88 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
frame 103 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 104 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 105 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 25;
}
}
frame 105 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 107 {
if (_root.held <= 25 and _root.held > 0) {
_root.held = 25;
}
}
frame 116 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
} else {
stop();
}
}
}
movieClip 3530 {
frame 1 {
var chaincost = 10 * _root.weapon[_root.wpn][4];
var scale = 100 + 10 * _root.spirit;
var AttackSound = new Sound();
switch (_root.wpn) {
case 41:
var energytype = 'wave';
var projectilespeed = 15;
AttackSound.attachSound('wavesound');
break;
case 42:
var energytype = 'earthmound';
var projectilespeed = 10;
scale += 50;
AttackSound.attachSound('rocksound');
break;
case 43:
var energytype = 'fireball_staff';
var projectilespeed = 50;
AttackSound.attachSound('');
break;
default:
var energytype = 'energyball';
var projectilespeed = 25;
AttackSound.attachSound('');
}
}
frame 3 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 4 {
++_root.held;
scale -= chaincost;
}
frame 5 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 6 {
var a = _root.proj.length;
++_root.pnum;
if (_root.pnum > 10) {
_root.pnum = 1;
}
_root.attachMovie(energytype, 'p' + _root.pnum, 200 + _root.pnum);
_root['p' + _root.pnum]._y = 575;
if (_root.wpn == 43) {
_root['p' + _root.pnum]._y = 300;
}
AttackSound.start(0, 1);
if (_root.camframe.hero._xscale == -100) {
_root['p' + _root.pnum]._x = _root.camframe._x - 150;
_root.proj.push([0, ['p' + _root.pnum], 5, -1 * projectilespeed, scale]);
} else {
_root['p' + _root.pnum]._x = _root.camframe._x + 150;
_root.proj.push([0, ['p' + _root.pnum], 5, projectilespeed, scale]);
}
}
frame 7 {
}
frame 8 {
}
frame 21 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
frame 36 {
if (_root.held <= 25) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
frame 36 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5;
}
}
}
}
movieClip 3531 {
frame 2 {
if (_root.held <= 60) {
_root.held = 50;
}
}
frame 4 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 5 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 5 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 6 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 7 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 7 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 8 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 9 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 9 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 10 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 11 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 11 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 12 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 13 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 15 {
if (_root.held <= 60) {
_root.held = 60;
}
}
frame 17 {
if (_root.held <= 60) {
_root.held = 60;
}
}
frame 19 {
_root.camframe.hero.gotoAndStop(_root.camframe.hero._currentframe + 1);
}
frame 24 {
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
}
movieClip 3532 {
frame 6 {
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
}
movieClip 3533 {
frame 1 {
var a = 0;
var chaincost = 15;
ballscale = 100 + 10 * _root.spirit;
var scale = ballscale;
var ElementType = 'energyball';
var AttackSound = new Sound();
AttackSound.attachSound('magicsound');
if (_root.wpn == 12) {
ElementType = 'fireball';
AttackSound.attachSound('fireballsound');
}
if (_root.wpn == 13) {
ElementType = 'energyball-dark';
}
}
frame 2 {
if (_root.held <= 60) {
_root.held = 50;
}
}
frame 7 {
a = _root.proj.length;
++_root.pnum;
if (_root.pnum > 10) {
_root.pnum = 1;
}
_root.attachMovie(ElementType, 'p' + _root.pnum, 200 + _root.pnum);
_root.proj.push([0, ['p' + _root.pnum], 5, 25, ballscale]);
AttackSound.start(0, 1);
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 % 2 == 1) {
_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;
if (_root.wpn == 13) {
_root.health -= 1;
}
}
frame 9 {
if (_root.held <= 50) {
scale -= chaincost;
if (scale >= 100) {
gotoAndPlay('A1');
}
}
}
frame 20 {
if (_root.held <= 50) {
_root.held = 0;
_root.camframe.hero.gotoAndPlay(1);
}
}
}
movieClip 3534 {
frame 2 {
if (_root.held <= 60) {
_root.held = 50;
}
}
frame 4 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 4 {
_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;
}
frame 5 {
_root.camframe.hero.herospecialattack.w6._alpha = 75;
}
frame 6 {
_root.camframe.hero.herospecialattack.w5._alpha = 75;
_root.camframe.hero.herospecialattack.w6._alpha = 100;
_root.camframe.hero.herospecialattack.w7._alpha = 75;
}
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;
}
frame 8 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 8 {
_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;
}
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;
}
frame 10 {
_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;
}
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;
}
frame 12 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 12 {
_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;
}
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;
}
frame 14 {
_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;
}
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;
}
frame 16 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 16 {
_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;
}
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;
}
frame 18 {
_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;
}
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;
}
frame 20 {
if (_root.held <= 60) {
_root.held = 60;
}
}
frame 20 {
_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;
}
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;
}
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;
}
frame 23 {
_root.camframe.hero.gotoAndStop(_root.camframe.hero._currentframe + 1);
}
frame 23 {
_root.camframe.hero.herospecialattack.w5._alpha = 0;
_root.camframe.hero.herospecialattack.w7._alpha = 0;
}
frame 30 {
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
}
movieClip 3535 {
frame 1 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 1 {
_root.camframe.hero.herospecialattack.w5._alpha = 0;
_root.camframe.hero.herospecialattack.w7._alpha = 0;
}
frame 8 {
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
}
movieClip 3554 {
frame 2 {
if (_root.held <= 60) {
_root.held = 50;
}
}
frame 4 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 7 {
_root.camframe.hero._xscale *= -1;
this._xscale *= -1;
}
frame 8 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 11 {
_root.camframe.hero._xscale *= -1;
this._xscale *= -1;
}
frame 12 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 15 {
_root.camframe.hero._xscale *= -1;
this._xscale *= -1;
}
frame 16 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 19 {
_root.camframe.hero._xscale *= -1;
this._xscale *= -1;
}
frame 20 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 23 {
_root.camframe.hero._xscale *= -1;
this._xscale *= -1;
}
frame 24 {
if (_root.held <= 60) {
_root.held = 55;
}
}
frame 27 {
_root.camframe.hero.gotoAndStop(_root.camframe.hero._currentframe + 1);
}
frame 27 {
_root.camframe.hero._xscale *= -1;
this._xscale *= -1;
}
frame 45 {
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
}
movieClip 3555 {
frame 23 {
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
}
movieClip 3556 {
frame 1 {
switch (_root.wpn) {
case 41:
var energytype = 'ss_water';
var projectileheight = 100;
var projectiledistance = _root.camframe._x;
break;
case 42:
var energytype = 'ss_earth';
var projectileheight = 550;
var projectiledistance = _root.camframe._x + _root.camframe.hero._xscale * 4;
break;
case 43:
var energytype = 'ss_fire';
var projectileheight = 800;
var projectiledistance = _root.camframe._x;
break;
default:
var energytype = 'energyball';
var projectileheight = 100;
var projectiledistance = _root.camframe._x;
}
}
frame 2 {
if (_root.held <= 60) {
_root.held = 50;
}
}
frame 2 {
var chargesound = new Sound();
chargesound.attachSound('stormcharge');
chargesound.start(0, 2);
}
frame 3 {
_root.attachMovie(energytype, 'ss', 249);
var scale = 20;
var maxscale = 100 * _root.spirit;
var chargecount = 0;
_root.ss._x = projectiledistance;
_root.ss._y = projectileheight;
_root.ss._xscale = scale;
_root.ss._yscale = scale;
}
frame 4 {
var scale = 40;
_root.ss._xscale = scale;
_root.ss._yscale = scale;
}
frame 5 {
var scale = 60;
_root.ss._xscale = scale;
_root.ss._yscale = scale;
}
frame 6 {
if (scale < maxscale) {
scale += _root.spirit;
}
_root.ss._xscale = scale;
_root.ss._yscale = scale;
}
frame 8 {
if (scale < maxscale) {
scale += _root.spirit;
}
_root.ss._xscale = scale;
_root.ss._yscale = scale;
}
frame 10 {
if (scale < maxscale) {
scale += _root.spirit;
}
_root.ss._xscale = scale;
_root.ss._yscale = scale;
}
frame 12 {
if (scale < maxscale) {
scale += _root.spirit;
}
_root.ss._xscale = scale;
_root.ss._yscale = scale;
}
frame 14 {
if (scale < maxscale) {
scale += _root.spirit;
}
_root.ss._xscale = scale;
_root.ss._yscale = scale;
}
frame 15 {
++chargecount;
if (chargecount <= 5) {
if (Key.isDown(83)) {
_root.health -= 5;
gotoAndPlay('L1');
}
}
}
frame 16 {
if (_root.held == 50) {
_root.held = 51;
}
}
frame 16 {
chargesound.stop();
}
frame 24 {
if (chargecount <= 1) {
gotoAndPlay(56);
}
}
frame 40 {
if (chargecount <= 3) {
gotoAndPlay(56);
}
}
frame 60 {
if (_root.held <= 60) {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
}
movieClip 3557 {
frame 2 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 3 {
if (_root.held == 41) {
_root.held = 40;
}
}
frame 3 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 4 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 40;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 40;
}
}
}
frame 5 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 40;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 40;
}
}
}
frame 6 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 20;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 20;
}
}
}
frame 7 {
if (_root.camframe.hero._xscale == 100) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 10;
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 10;
}
}
}
frame 9 {
if (_root.held <= 41) {
_root.held = 39;
}
}
frame 15 {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
movieClip 3558 {
frame 1 {
var monsterdamage = Math.floor(_root.monatt[0][2] % 100);
if (isNaN(monsterdamage)) {
monsterdamage = 5;
}
var monsterKB = Math.floor(_root.monatt[0][2] % 100) * 10;
if (isNaN(monsterKB)) {
monsterKB = 50;
}
if (_root.held == 97) {
monsterdamage /= 2;
if (Math.floor(_root.monatt[0][2] / 200) == 1) {
monsterKB += 200;
}
if (Math.floor(_root.monatt[0][2] / 200) == 6) {
monsterKB += 200;
}
} else {
if (_root.held == 99) {
monsterdamage *= 2;
monsterKB *= 5;
}
}
if (_root.armorh > 0) {
_root.health -= monsterdamage / 2;
_root.armorh -= monsterdamage / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
}
} else {
_root.health -= monsterdamage;
}
if (_root.held == 97) {
gotoAndPlay(11);
} else {
if (_root.held == 99) {
gotoAndPlay(21);
} else {}
}
}
frame 2 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 3 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 4 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 5 {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
frame 11 {
if (_root.wpn > 30) {
gotoAndPlay(16);
}
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 12 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 13 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
_root.held = 0;
if (Key.isDown(40) or Key.isDown(87)) {
_root.camframe.hero.gotoAndStop(2);
} else {
_root.camframe.hero.gotoAndStop(1);
}
}
frame 16 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 17 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 18 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
_root.held = 0;
if (Key.isDown(40) or Key.isDown(87)) {
_root.camframe.hero.gotoAndStop(2);
} else {
_root.camframe.hero.gotoAndStop(1);
}
}
frame 21 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 22 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 23 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 24 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 25 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 26 {
if (monsterKB > 0) {
if (_root.monatt[0][3] > 0) {
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x += 100;
monsterKB -= 100;
} else {
_root.camframe._x += monsterKB;
monsterKB = 0;
}
}
} else {
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
if (monsterKB > 100) {
_root.camframe._x -= 100;
monsterKB -= 100;
} else {
_root.camframe._x -= monsterKB;
monsterKB = 0;
}
}
}
monsterKB -= 100;
}
}
frame 44 {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
movieClip 3559 {
frame 1 {
var monsterdamage = _root.BGA[0][1];
_root.camframe._x += _root[_root.BGA[0][5]]._xscale * monsterdamage / 5;
if (_root.armorh > 0) {
_root.health -= monsterdamage / 2;
_root.armorh -= monsterdamage / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
}
} else {
_root.health -= monsterdamage;
}
}
frame 5 {
_root.held = 0;
_root.camframe.hero.gotoAndStop(1);
}
}
movieClip 3569 {
frame 1 {
stop();
}
frame 2 {
if (_root.player > 20) {
gotoAndPlay(22);
} else {
if (_root.player > 10) {
gotoAndPlay(12);
} else {
play();
}
}
}
frame 11 {
stop();
}
frame 21 {
stop();
}
frame 31 {
stop();
}
}
movieClip 3599 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
if (_root.player < 10) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
}
movieClip 3601 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 3604 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
if (_root.player < 10) {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
frame 2 {
stop();
}
}
movieClip 3606 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 3610 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
}
movieClip 3612 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 3615 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
frame 2 {
stop();
}
}
movieClip 3617 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 3619 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 4126 {
frame 1 {
G = 0;
B = 0;
var R = 0;
var ArmorColorCheck = 0;
ArmorColorCheck = Math.floor(_root.armor / 10);
switch (ArmorColorCheck) {
case 1:
R = 102;
G = 102;
B = 102;
break;
case 2:
R = 153;
G = 102;
B = 0;
break;
case 3:
R = 34;
G = 51;
B = 51;
break;
case 4:
R = 0;
G = 102;
B = 0;
break;
case 5:
R = 102;
G = 51;
B = 0;
break;
case 6:
R = 0;
G = 255;
B = 0;
break;
case 8:
R = 0;
G = 0;
B = 153;
break;
case 9:
R = 255;
G = 0;
B = 0;
break;
case 10:
R = 204;
G = 204;
B = 204;
break;
case 11:
R = 153;
G = 102;
B = 51;
break;
case 12:
R = 153;
G = 0;
B = 0;
break;
default:
R = 51;
G = 51;
B = 51;
}
(new Color(this)).setRGB(R * 256 * 256 + G * 256 + B);
}
}
movieClip 4128 {
}
movieClip 4145 {
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 += 180 * j;
++i;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_root.BGA[0][1] = 0;
_root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
} else {
_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 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 7 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 11 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 11 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 16 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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');
} else {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 31 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 40 {
if (_root.cumface > 1) {
--_root.cumface;
}
_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;
}
frame 75 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 127 {
if (_root.cumface > 1) {
--_root.cumface;
}
_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;
}
frame 131 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
_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;
}
frame 180 {
heroesc();
stop();
}
frame 181 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 181 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 186 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 191 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 196 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 201 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 210 {
if (_root.cumface > 1) {
--_root.cumface;
}
_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;
}
frame 240 {
heroesc();
stop();
}
frame 241 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 3;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
}
}
}
frame 241 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 246 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 251 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 251 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 256 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 261 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 262 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 268 {
}
frame 314 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 316 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 326 {
heroesc();
stop();
}
}
movieClip 4186 {
}
movieClip 4243 {
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() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
} else {
_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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held == 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 7 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 11 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 11 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 16 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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');
} else {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 31 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 33 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 90 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 5;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 121 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 126 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 131 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 131 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 136 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 140 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 141 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 146 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 151 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 151 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 156 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 160 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 161 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 163 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 220 {
heroesc();
stop();
}
frame 221 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 226 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 231 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 236 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 241 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 242 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 280 {
heroesc();
stop();
}
frame 281 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
if (_root.armor == 51 and _root.armorh > 100) {
thigh.armor.gotoAndStop(2);
thighrear.armor.gotoAndStop(2);
}
}
}
}
frame 281 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 286 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 291 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 293 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 296 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 307 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 312 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 354 {
heroesc();
stop();
}
frame 356 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 366 {
heroesc();
stop();
}
}
movieClip 4290 {
}
movieClip 4316 {
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 += 180;
++i;
}
_root.gbararrowcheck = 2;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
} else {
_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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held == 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 7 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 11 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 11 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 16 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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');
} else {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 31 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 35 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 90 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 5;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 107 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 113 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 116 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 125 {
if (Math.random() > 0.33) {
gotoAndPlay('BGCum2Loop');
}
}
frame 130 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 182 {
heroesc();
stop();
}
frame 183 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 183 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 188 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 193 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 198 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 203 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 203 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 242 {
heroesc();
stop();
}
frame 243 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
}
}
}
frame 243 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 248 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 253 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 255 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 258 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 263 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 268 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 269 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 273 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 311 {
heroesc();
stop();
}
frame 318 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 328 {
heroesc();
stop();
}
}
movieClip 4326 {
}
movieClip 4328 {
}
movieClip 4330 {
}
movieClip 4332 {
}
movieClip 4334 {
}
movieClip 4537 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
if (_root.player < 10) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
}
movieClip 4539 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 4542 {
frame 1 {
if (_root.player < 10) {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 4544 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 4547 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
}
movieClip 4549 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 4552 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 4554 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 4556 {
frame 1 {
if (_root.player >= 21) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 4677 {
frame 1 {
function attacharrows() {
i = 1;
while (i <= 6) {
_root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i);
_root['arrow' + i]._x = _root.camframe._x - 50 * i + 175;
_root['arrow' + i]._y = 100;
j = Math.floor(Math.random() * 4);
if (j > 3) {
j = 3;
}
_root['arrow' + i]._rotation += 90 * j;
++i;
}
_root.gbararrowcheck = 6;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_root.BGA[0][1] = 0;
_root[_root.BGA[0][5]]._x += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
} else {
_root[_root.BGA[0][5]]._x += 2.5 * _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][5]]._x;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
if (_root.BGA[0][4] <= 0) {
_root.held = 95;
_root.quest_shipclear = 0;
_root.camframe.hero.gotoAndStop(9);
} else {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
}
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 11 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 20;
} else {
_root.camframe._x += 20;
}
}
frame 11 {
_root.poisonlevel += 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie('symbol_poison', 'symbol_poison', 1301);
_root.symbol_poison._x = _root.camframe._x;
_root.symbol_poison._y = 100;
}
frame 12 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 20;
} else {
_root.camframe._x += 20;
}
}
frame 13 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 20;
} else {
_root.camframe._x += 20;
}
}
frame 14 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 20;
} else {
_root.camframe._x += 20;
}
}
frame 15 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 20;
} else {
_root.camframe._x += 20;
}
}
frame 16 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 20;
} else {
_root.camframe._x += 20;
}
}
frame 30 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 31 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 6;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 41 {
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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 41 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 46 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 50 {
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) {
heroesc();
}
}
}
frame 51 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 60 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
_root.poisonlevel += 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie('symbol_poison', 'symbol_poison', 1302);
_root.symbol_poison._x = _root.camframe._x;
_root.symbol_poison._y = 100;
}
frame 61 {
_root.fadeout.gotoAndPlay(51);
}
frame 64 {
if (_root.cumface > 1) {
--_root.cumface;
}
_root.poisonlevel += 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie('symbol_poison', 'symbol_poison', 1303);
_root.symbol_poison._x = _root.camframe._x + 50;
_root.symbol_poison._y = 100;
}
frame 91 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 115 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 116 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 121 {
if (_root.cumface > 1) {
--_root.cumface;
}
_root.poisonlevel += 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie('symbol_poison', 'symbol_poison', 1302);
_root.symbol_poison._x = _root.camframe._x;
_root.symbol_poison._y = 100;
}
frame 123 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
_root.poisonlevel += 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie('symbol_poison', 'symbol_poison', 1303);
_root.symbol_poison._x = _root.camframe._x + 50;
_root.symbol_poison._y = 100;
}
frame 125 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
_root.poisonlevel += 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie('symbol_poison', 'symbol_poison', 1304);
_root.symbol_poison._x = _root.camframe._x - 50;
_root.symbol_poison._y = 100;
}
frame 126 {
_root.fadeout.gotoAndPlay(51);
}
frame 131 {
if (_root.cumface > 1) {
--_root.cumface;
}
_root.poisonlevel += 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie('symbol_poison', 'symbol_poison', 1305);
_root.symbol_poison._x = _root.camframe._x;
_root.symbol_poison._y = 100;
}
frame 156 {
heroesc();
stop();
}
frame 181 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 181 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 186 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 191 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 196 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 201 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 210 {
if (_root.cumface > 1) {
--_root.cumface;
}
_root.poisonlevel += 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie('symbol_poison', 'symbol_poison', 1302);
_root.symbol_poison._x = _root.camframe._x;
_root.symbol_poison._y = 100;
}
frame 211 {
_root.fadeout.gotoAndPlay(51);
}
frame 213 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
if (_root.cumface > 1) {
--_root.cumface;
}
_root.poisonlevel += 50;
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.attachMovie('symbol_poison', 'symbol_poison', 1303);
_root.symbol_poison._x = _root.camframe._x + 50;
_root.symbol_poison._y = 100;
}
frame 241 {
heroesc();
stop();
}
frame 251 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.grapple = 75;
_root.held = 106;
}
}
var lassoloop = 0;
}
frame 265 {
++lassoloop;
if (lassoloop < 3) {
gotoAndPlay('HeroGrab2Loop');
}
}
frame 271 {
_root.BGA[0][4] -= (_root.body + _root.spirit) * 2;
_root[_root.BGA[0][5]]._x -= 10 * _root.camframe.hero._xscale;
}
frame 286 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 301 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
unloadarrows();
}
frame 310 {
forearm.armor.gotoAndStop(1);
shoulder.armor.gotoAndStop(1);
armorchest.gotoAndStop(1);
armorbra.gotoAndStop(1);
chest.armor.gotoAndStop(1);
foothitbox.armor.gotoAndStop(1);
foothitbox.armor2.gotoAndStop(1);
thigh.armor.gotoAndStop(1);
footrear.armor.gotoAndStop(1);
footrear.armor2.gotoAndStop(1);
thighrear.armor.gotoAndStop(1);
forearmrear.armor.gotoAndStop(1);
shoulderrear.armor.gotoAndStop(1);
}
frame 311 {
_root.gbararrowcheck = -1;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
_root.grapple = 40;
gotoAndPlay('HeroGrab1');
}
frame 331 {
_root.quest_shipclear = 0;
stop();
}
}
movieClip 4679 {
}
movieClip 4681 {
}
movieClip 4683 {
}
movieClip 4685 {
}
movieClip 4706 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
if (_root.player < 10) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
}
movieClip 4708 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 4711 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 4715 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
}
movieClip 4717 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 4720 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 4722 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 4747 {
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 += 180 * j;
++i;
}
_root.gbararrowcheck = 2;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_root.BGA[0][1] = 0;
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 10 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 11 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 11 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 16 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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');
} else {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (Math.random() > 0.25) {
gotoAndPlay('BGgrab1loop');
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 31 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 40 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 70 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
if (herovoiceplay == true) {
herovoice.attachSound('HV' + hl + '9');
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 110 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 121 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 121 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 126 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 130 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
}
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) {
heroesc();
}
}
}
frame 131 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 151 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 229 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 270 {
heroesc();
stop();
}
frame 281 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
}
}
}
frame 281 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 286 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 290 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 291 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 296 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 301 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 310 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 311 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 319 {
}
frame 354 {
heroesc();
stop();
}
frame 356 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 366 {
heroesc();
stop();
}
}
movieClip 4750 {
}
movieClip 4751 {
}
movieClip 4764 {
}
movieClip 4766 {
}
movieClip 4776 {
}
movieClip 4789 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 4792 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 4798 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 4800 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 4803 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 4805 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 4807 {
}
movieClip 4809 {
}
movieClip 4811 {
}
movieClip 4815 {
}
movieClip 4817 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
if (_root.player < 10) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
}
movieClip 4819 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 4822 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
if (_root.player < 10) {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
frame 2 {
stop();
}
}
movieClip 4824 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 4828 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
}
movieClip 4830 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 4833 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
frame 2 {
stop();
}
}
movieClip 4835 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 4837 {
frame 1 {
if (_root.player >= 21) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 4841 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
if (_root.player < 10) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
}
movieClip 4843 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 4846 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 4849 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(10027008);
} else {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
}
movieClip 4851 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 4854 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(6);
}
}
frame 2 {
stop();
}
}
movieClip 4856 {
frame 1 {
if (_root.player >= 21) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 4865 {
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 += 90 * j;
++i;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_root.BGA[0][1] = 0;
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
m20thigh.spankred._alpha = 0;
}
frame 20 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 10;
} else {
_root.camframe._x += 10;
}
}
frame 21 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 10;
} else {
_root.camframe._x += 10;
}
}
frame 22 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 10;
} else {
_root.camframe._x += 10;
}
}
frame 23 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 10;
} else {
_root.camframe._x += 10;
}
}
frame 24 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 10;
} else {
_root.camframe._x += 10;
}
}
frame 25 {
if (_root.camframe.hero._xscale == 100) {
_root.camframe._x -= 10;
} else {
_root.camframe._x += 10;
}
}
frame 30 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 36 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 5;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
}
frame 43 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
}
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');
} else {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (_root.escbgvar * -1 - 100 > _root.grapple) {
heroesc();
}
}
}
frame 51 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
}
frame 58 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
}
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) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (_root.escbgvar * -1 - 100 > _root.grapple) {
heroesc();
}
}
}
frame 67 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 68 {
m20thigh.spankred._alpha = 0;
}
frame 120 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 121 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 121 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
}
frame 125 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
}
frame 129 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (_root.escbgvar * -1 - 100 > _root.grapple) {
heroesc();
}
}
}
frame 129 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
}
frame 133 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
}
frame 137 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (_root.escbgvar * -1 - 100 > _root.grapple) {
heroesc();
}
}
}
frame 138 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 139 {
m20thigh.spankred._alpha = 0;
}
frame 144 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 175 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 176 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 176 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
if (_root._currentframe == 44) {
_root.escbgvar -= 3;
}
}
frame 182 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
if (_root._currentframe == 44) {
_root.escbgvar -= 3;
}
}
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 {}
} 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();
}
}
}
frame 188 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
if (_root._currentframe == 44) {
_root.escbgvar -= 3;
}
}
frame 194 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
if (_root._currentframe == 44) {
_root.escbgvar -= 3;
}
}
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) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (_root.escbgvar * -1 - 100 > _root.grapple) {
heroesc();
}
}
}
frame 201 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 203 {
m20thigh.spankred._alpha = 0;
}
frame 241 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 251 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
}
}
}
frame 251 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
if (_root._currentframe == 44) {
_root.escbgvar -= 6;
}
}
frame 256 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
if (_root._currentframe == 44) {
_root.escbgvar -= 6;
}
}
frame 256 {
if (m20thigh.spankred._alpha < 75) {
m20thigh.spankred._alpha += 25;
} else {
m20thigh.spankred._alpha = 100;
}
}
frame 258 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (_root.escbgvar * -1 - 100 > _root.grapple) {
heroesc();
}
}
}
frame 261 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
if (m20thigh.spankred._alpha > 0) {
m20thigh.spankred._alpha -= 5;
}
if (_root._currentframe == 44) {
_root.escbgvar -= 6;
}
}
frame 265 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (_root.escbgvar * -1 - 100 > _root.grapple) {
heroesc();
}
}
}
frame 266 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 295 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 302 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 312 {
heroesc();
stop();
}
}
movieClip 4867 {
}
movieClip 4869 {
}
movieClip 4871 {
}
movieClip 4905 {
}
movieClip 4907 {
}
movieClip 4929 {
frame 1 {
function attacharrows() {
j = Math.floor(Math.random() * 4);
if (j > 3) {
j = 3;
}
i = 1;
while (i <= 3) {
_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 += 90 * j;
++i;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 15 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
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) {
heroesc();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 58 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 100 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 132 {
if (Math.random() > 0.25) {
gotoAndPlay('BGgrab2cum');
}
}
frame 139 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 186 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
foothitbox.armor.gotoAndStop(1);
foothitbox.armor2.gotoAndStop(1);
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 221 {
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 226 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
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();
}
}
}
frame 231 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 232 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 281 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
foothitbox.armor.gotoAndStop(2);
foothitbox.armor2.gotoAndStop(2);
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 321 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 321 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 326 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 331 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 332 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 340 {
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 4931 {
}
movieClip 4933 {
}
movieClip 4936 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
if (_root.player < 10) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 4939 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
if (_root.player < 10) {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
frame 2 {
stop();
}
}
movieClip 4942 {
frame 1 {
if (Math.floor(_root.armor / 10) == 12) {
(new Color(this)).setRGB(8912896);
} else {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
}
movieClip 4945 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
} else {
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(3);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
frame 2 {
stop();
}
}
movieClip 4947 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 4949 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 4951 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 4953 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 4955 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 4959 {
frame 1 {
gotoAndStop(_root.acc);
}
}
movieClip 4972 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 4973 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
}
movieClip 4975 {
frame 1 {
if (_root.player > 20) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
movieClip 4977 {
frame 1 {
if (_root.player > 20) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 4979 {
frame 1 {
if (_root.player > 20) {
var red = _root.HeroMainColorR + 17;
var green = _root.HeroMainColorG + 17;
var blue = _root.HeroMainColorB + 17;
} else {
var red = _root.HeroSecondColorR + 17;
var green = _root.HeroSecondColorG + 17;
var blue = _root.HeroSecondColorB + 17;
}
if (red > 255) {
red = 255;
}
if (green > 255) {
green = 255;
}
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 4981 {
frame 2 {
stop();
}
}
movieClip 4983 {
}
movieClip 4990 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 4991 {
frame 1 {
function attacharrows() {
j = Math.floor(Math.random() * 4);
if (j > 3) {
j = 3;
}
i = 1;
while (i <= 4) {
_root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i);
_root['arrow' + i]._x = _root.camframe._x - 50 * i + 75;
_root['arrow' + i]._y = 100;
if (i == 2) {
_root['arrow' + i]._rotation += 90 * j + 90;
} else {
_root['arrow' + i]._rotation += 90 * j;
}
++i;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 20 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
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) {
heroesc();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 45 {
}
frame 76 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 6;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 137 {
if (Math.random() > 0.25) {
gotoAndPlay('BGgrab2cum');
}
}
frame 145 {
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 213 {
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 224 {
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) {
heroesc();
}
}
}
frame 225 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 232 {
}
frame 281 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 327 {
if (Math.random() > 0.25) {
gotoAndPlay('HeroGrab2CumLoop');
}
}
frame 329 {
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 5035 {
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 + 75;
_root['arrow' + i]._y = 100;
j = Math.floor(Math.random() * 2);
if (j > 2) {
j = 1;
}
_root['arrow' + i]._rotation += 180 * j;
++i;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 20 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
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) {
heroesc();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 51 {
}
frame 76 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 113 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 121 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 124 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 125 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 145 {
if (Math.random() > 0.25) {
gotoAndPlay('BGgrab2cum');
}
}
frame 155 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 191 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 231 {
}
frame 261 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 331 {
}
frame 360 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 5037 {
}
movieClip 5039 {
}
movieClip 5040 {
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 + 75;
_root['arrow' + i]._y = 100;
j = Math.floor(Math.random() * 2);
if (j > 2) {
j = 1;
}
_root['arrow' + i]._rotation += 90 + 180 * j;
++i;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
instance of movieClip 1460 {
onClipEvent (load) {
this._alpha = 75;
}
}
instance of movieClip 1460 {
onClipEvent (load) {
this._alpha = 50;
}
}
instance of movieClip 1460 {
onClipEvent (load) {
this._alpha = 25;
}
}
frame 20 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 5;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
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) {
heroesc();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 53 {
if (Math.random() > 0.33) {
gotoAndPlay('BGgrab1cum');
}
}
frame 56 {
}
frame 81 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 6;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 133 {
if (Math.random() > 0.33) {
gotoAndPlay('BGgrab2cum');
}
}
frame 139 {
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 3;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 221 {
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 226 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
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();
}
}
}
frame 231 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 246 {
}
frame 281 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 331 {
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 5059 {
}
movieClip 5085 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5096 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 5097 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 5100 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 5102 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 5104 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5106 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 5108 {
frame 1 {
var red = _root.HeroSecondColorR;
var green = _root.HeroSecondColorG;
var blue = _root.HeroSecondColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5111 {
frame 1 {
var red = _root.HeroSecondColorR - 50;
var green = _root.HeroSecondColorG - 50;
var blue = _root.HeroSecondColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5114 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5123 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 5125 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 5127 {
frame 1 {
var red = _root.HeroSecondColorR;
var green = _root.HeroSecondColorG;
var blue = _root.HeroSecondColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5131 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5133 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 5135 {
frame 1 {
var red = _root.HeroMainColorR;
var green = _root.HeroMainColorG;
var blue = _root.HeroMainColorB;
red -= 25;
if (red < 0) {
red = 0;
}
green -= 25;
if (green < 0) {
green = 0;
}
blue -= 25;
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5138 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 5141 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5142 {
frame 1 {
if (_root.player == 1) {
gotoAndStop(2);
} else {
gotoAndStop(_root.player);
}
}
}
movieClip 5144 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 5146 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5148 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5152 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5160 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 5162 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 5164 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5166 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5170 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5172 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 5174 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5178 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5179 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 5194 {
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() * 4);
if (j > 3) {
j = 3;
}
_root['arrow' + i]._rotation += 90 * j;
++i;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 20 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
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) {
heroesc();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 55 {
if (Math.random() < 0.6) {
gotoAndPlay('BGgrab1cum');
}
}
frame 62 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 91 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 3;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 136 {
if (_root.held < 1000) {
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {}
}
frame 141 {
if (Math.random() > 0.33) {
gotoAndPlay('BGgrab2cumloop');
}
}
frame 144 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
foothitbox.armor.gotoAndStop(1);
foothitbox.armor2.gotoAndStop(1);
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 230 {
}
frame 261 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
foothitbox.armor.gotoAndStop(2);
foothitbox.armor2.gotoAndStop(2);
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 331 {
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 5261 {
frame 1 {
function attacharrows() {
j = Math.floor(Math.random() * 4);
if (j > 3) {
j = 3;
}
i = 1;
while (i <= 4) {
_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 += 90 * j;
j += 1;
++i;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
splashmonster.gotoAndPlay(2);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 20 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 3;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 33 {
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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 41 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 45 {
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) {
heroesc();
}
}
}
frame 46 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 65 {
if (Math.random() > 0.25) {
gotoAndPlay('BGgrab1cum');
}
}
frame 75 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 100 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 134 {
if (Math.random() > 0.15) {
gotoAndPlay('BGgrab2cumLoop');
}
}
frame 137 {
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 213 {
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 224 {
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) {
heroesc();
}
}
}
frame 225 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 237 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 271 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 331 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 5263 {
}
movieClip 5287 {
}
movieClip 5317 {
}
movieClip 5359 {
frame 1 {
function attacharrows() {
j = Math.floor(Math.random() * 4);
if (j > 3) {
j = 3;
}
i = 1;
while (i <= 4) {
_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 += 90 * j;
j -= 1;
if (j < 0) {
j = 3;
}
++i;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
if (_root._currentframe <= 100) {
++_root.maxitems;
var v2 = _root.maxitems;
_root.attachMovie('M29_FlowerDone', 'obj' + v2, 300 + v2);
_root['obj' + v2]._xscale = _root.camframe.hero._xscale * -1;
_root['obj' + v2]._x = _root.camframe._x + 2 * _root.camframe.hero._xscale;
_root['obj' + v2]._y = 550;
}
} else {
_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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 35 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 51 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 51 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 56 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 61 {
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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 61 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 66 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 70 {
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) {
heroesc();
}
}
}
frame 71 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 81 {
}
frame 115 {
heroesc();
stop();
}
frame 121 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 121 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 126 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 131 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 131 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 136 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 140 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 141 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 151 {
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 231 {
}
frame 261 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 331 {
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 5370 {
}
movieClip 5372 {
}
movieClip 5374 {
}
movieClip 5486 {
}
movieClip 5586 {
}
movieClip 5696 {
frame 1 {
function attacharrows() {
i = 1;
while (i <= 5) {
_root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i);
_root['arrow' + i]._x = _root.camframe._x - 50 * i + 150;
_root['arrow' + i]._y = 100;
j = Math.floor(Math.random() * 2);
if (j > 2) {
j = 2;
}
_root['arrow' + i]._rotation += 180 * j;
++i;
}
_root.gbararrowcheck = 5;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.camframe.hero._xscale !== _root[_root.BGA[0][5]]._xscale) {
_root.camframe.hero._xscale *= -1;
}
if (_root.BGA[0][4] <= 0) {
_root.BGA[0][1] = 0;
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held == 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
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) {
heroesc();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 43 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 45 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 90 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 5;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 122 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 124 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 170 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 222 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 224 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 261 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
if (_root.armor == 51 and _root.armorh > 100) {
thigh.armor.gotoAndStop(2);
thighrear.armor.gotoAndStop(2);
}
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 322 {
}
frame 324 {
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 361 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 372 {
heroesc();
stop();
}
}
movieClip 5725 {
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 + 75;
_root['arrow' + i]._y = 100;
j = Math.floor(Math.random() * 2);
if (j > 2) {
j = 1;
}
_root['arrow' + i]._rotation += 180 * j;
++i;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
unloadarrows();
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 20 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 104) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.spirit + _root.body) / 2 + herobonusdmg) * 0.5 / _root.gspeed;
if (_root.held == 103) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 104;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
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) {
heroesc();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 51 {
}
frame 76 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 25;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 103) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - _root.BGA[0][1] * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = (_root.BGA[0][2] * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit + herobonusdmg) / 2) * 0.5 / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 103;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 113 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 121 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 124 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 102;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 125 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 145 {
if (Math.random() > 0.25) {
gotoAndPlay('BGgrab2cum');
}
}
frame 155 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 191 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 105) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = (_root.BGA[0][2] * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) * 0.75 / _root.gspeed;
if (_root.held == 106) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 105;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
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) {
heroesc();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 231 {
}
frame 261 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 106) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1]) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 106;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 107;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
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) {
heroesc();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 108;
}
}
frame 331 {
}
frame 360 {
_root.camframe.hero._xscale *= -1;
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 5727 {
}
movieClip 5792 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 5794 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5796 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5799 {
frame 1 {
var red = _root.HeroSecondColorR - 50;
var green = _root.HeroSecondColorG - 50;
var blue = _root.HeroSecondColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5802 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5812 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 5814 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5816 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5819 {
frame 1 {
var red = _root.HeroMainColorR - 50;
var green = _root.HeroMainColorG - 50;
var blue = _root.HeroMainColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5822 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5824 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5827 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 5830 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5831 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 5833 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 5835 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 5837 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5839 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 5841 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5844 {
frame 1 {
var red = _root.HeroSecondColorR - 50;
var green = _root.HeroSecondColorG - 50;
var blue = _root.HeroSecondColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5847 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5856 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 5858 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 5860 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5862 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 5864 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5867 {
frame 1 {
var red = _root.HeroMainColorR - 50;
var green = _root.HeroMainColorG - 50;
var blue = _root.HeroMainColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5870 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5872 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 5874 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5877 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 5880 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 5881 {
frame 1 {
gotoAndStop(_root.player);
if (_root.player == 1) {
gotoAndStop(2);
}
}
}
movieClip 5883 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 5885 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5896 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 5897 {
frame 1 {
var red = _root.HeroMainColorR + 17;
var green = _root.HeroMainColorG + 17;
var blue = _root.HeroMainColorB + 17;
if (red > 255) {
red = 255;
}
if (green > 255) {
green = 255;
}
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 5898 {
frame 1 {
if (_root.player >= 21) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
}
movieClip 5920 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 5988 {
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() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
} else {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][5]]._y = 575;
} else {
_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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held == 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
}
}
frame 11 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 11 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 16 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 30 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 31 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 35 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 49 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 90 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 131 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 139 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 220 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 226 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 231 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 231 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 236 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 240 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 241 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 251 {
if (Math.random() < 0.7) {
gotoAndPlay('HeroGrab1cum');
}
}
frame 254 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 257 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 300 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 5990 {
}
movieClip 6036 {
}
movieClip 6071 {
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 += j;
++i;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
} else {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][5]]._y = 575;
} else {
_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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held == 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_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.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
}
}
frame 11 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 11 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 16 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 30 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 31 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 35 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 49 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 90 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 131 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 139 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 220 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 226 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 231 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 231 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 236 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 240 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 241 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 251 {
if (Math.random() < 0.7) {
gotoAndPlay('HeroGrab1cum');
}
}
frame 254 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 257 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 300 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
}
}
movieClip 6150 {
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() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
} else {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][5]]._y = 575;
} else {
_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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held == 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
}
}
frame 11 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 11 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 16 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 30 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 31 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 35 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 49 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 90 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 131 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 139 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 220 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 226 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 231 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 231 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 236 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 240 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 241 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 251 {
if (Math.random() < 0.7) {
gotoAndPlay('HeroGrab1cum');
}
}
frame 254 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 257 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 300 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
}
}
movieClip 6229 {
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 += j;
++i;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
} else {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][5]]._y = 575;
} else {
_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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held == 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
}
}
frame 11 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 11 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 16 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 30 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 31 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 35 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 49 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 90 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 131 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 139 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 220 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 226 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 231 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 231 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 236 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 240 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 241 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 251 {
if (Math.random() < 0.7) {
gotoAndPlay('HeroGrab1cum');
}
}
frame 254 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 257 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 300 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 6231 {
}
movieClip 6258 {
}
movieClip 6278 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 6280 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 6282 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 6284 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 6286 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 6289 {
frame 1 {
var red = _root.HeroSecondColorR - 50;
var green = _root.HeroSecondColorG - 50;
var blue = _root.HeroSecondColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 6292 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 6303 {
frame 1 {
gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25));
}
}
movieClip 6305 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 6307 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 6309 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 6311 {
frame 1 {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 6314 {
frame 1 {
var red = _root.HeroMainColorR - 50;
var green = _root.HeroMainColorG - 50;
var blue = _root.HeroMainColorB - 50;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 6317 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 6319 {
frame 1 {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
}
}
movieClip 6321 {
frame 1 {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 6323 {
frame 1 {
var red = _root.HeroMainColorR + 17;
var green = _root.HeroMainColorG + 17;
var blue = _root.HeroMainColorB + 17;
if (red > 255) {
red = 255;
}
if (green > 255) {
green = 255;
}
if (blue > 255) {
blue = 255;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 6326 {
frame 1 {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
movieClip 6329 {
frame 1 {
if (Math.floor(_root.armor / 10) == 8) {
gotoAndStop(3);
}
if (Math.floor(_root.armor / 10) == 12) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 6330 {
frame 1 {
gotoAndStop(_root.player);
if (_root.player == 1) {
gotoAndStop(2);
}
}
}
movieClip 6344 {
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 += 180 * j;
++i;
}
_root.gbararrowcheck = 3;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 10 {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
}
frame 11 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 11 {
if (_root.held < 1000) {
damagecall();
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
if (herovoiceplay == true) {
herovoice.attachSound('HV' + hl + '9');
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 22 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
}
frame 30 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 39 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 41 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 47 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 48 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 50 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 55 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 71 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 110 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 126 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 131 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 132 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 144 {
if (Math.random() < 0.5) {
gotoAndPlay('BGgrab2cum');
}
}
frame 149 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 155 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 186 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 221 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 226 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 230 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 231 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 271 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 376 {
heroesc();
stop();
}
}
movieClip 6399 {
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 += 90 * j;
++i;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 11 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 11 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 16 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
if (_root.escbgvar < 0) {
if (_root.escbgvar * -1 - 100 > _root.grapple) {
heroesc();
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 30 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 31 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 32 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 41 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 76 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 131 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 136 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 166 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 3;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
if (_root._currentframe == 44) {
if (_root.held !== 112) {
_root.escbgvar -= 3;
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
if (_root._currentframe == 44) {
if (_root.held !== 112) {
_root.escbgvar -= 3;
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} 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();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
if (_root._currentframe == 44) {
if (_root.held !== 112) {
_root.escbgvar -= 3;
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
if (_root._currentframe == 44) {
if (_root.held !== 112) {
_root.escbgvar -= 3;
}
}
}
frame 220 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 231 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 275 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
if (_root._currentframe == 44) {
if (_root.held !== 112) {
_root.escbgvar -= 6;
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
if (_root._currentframe == 44) {
if (_root.held !== 112) {
_root.escbgvar -= 6;
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
if (_root._currentframe == 44) {
if (_root.held !== 112) {
_root.escbgvar -= 6;
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
if (_root._currentframe == 44) {
if (_root.held !== 112) {
_root.escbgvar -= 6;
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 330 {
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 6401 {
}
movieClip 6429 {
}
movieClip 6490 {
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() * 2);
if (j > 1) {
j = 1;
}
_root['arrow' + i]._rotation += 180 * j;
++i;
}
_root.gbararrowcheck = 4;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 58 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 63 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 100 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 132 {
if (Math.random() < 0.5) {
gotoAndPlay('BGgrab2cum');
}
}
frame 138 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 141 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 3;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 221 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 226 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 230 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 231 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 232 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 236 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 281 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
if (_root.armor == 51 and _root.armorh > 100) {
thigh.armor.gotoAndStop(2);
thighrear.armor.gotoAndStop(2);
}
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 321 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 326 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 331 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 332 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 340 {
}
frame 346 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 370 {
heroesc();
stop();
}
frame 371 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 381 {
heroesc();
stop();
}
}
movieClip 6528 {
}
movieClip 6551 {
frame 1 {
function attacharrows() {
i = 1;
while (i <= 5) {
_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;
}
if (i == 1 or i == 3) {
_root['arrow' + i]._rotation += 180 * j + 90;
} else {
_root['arrow' + i]._rotation += 180 * j;
}
++i;
}
_root.gbararrowcheck = 5;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 61 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 101 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 133 {
if (Math.random() < 0.5) {
gotoAndPlay('BGgrab1cum');
}
}
frame 138 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 143 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
}
frame 180 {
heroesc();
stop();
}
frame 201 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 220 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 232 {
if (Math.random() < 0.5) {
gotoAndPlay('BGgrab2cum');
}
}
frame 238 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 241 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
}
frame 281 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
if (_root.armor == 51 and _root.armorh > 100) {
thigh.armor.gotoAndStop(2);
thighrear.armor.gotoAndStop(2);
}
_root.held = 115;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 321 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 321 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 326 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 330 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 331 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 336 {
if (Math.random() > 0.5) {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
}
frame 339 {
}
frame 381 {
heroesc();
stop();
}
frame 401 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 401 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 406 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 411 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 411 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 416 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 420 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 421 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 431 {
if (Math.random() > 0.5) {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
}
frame 434 {
}
frame 470 {
heroesc();
stop();
}
frame 471 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 481 {
heroesc();
stop();
}
}
movieClip 6553 {
}
movieClip 6555 {
}
movieClip 6556 {
frame 1 {
function attacharrows() {
j = Math.floor(Math.random() * 4);
if (j > 3) {
j = 3;
}
i = 1;
while (i <= 5) {
_root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i);
_root['arrow' + i]._x = _root.camframe._x - 50 * i + 75;
_root['arrow' + i]._y = 100;
if (i == 1 or i == 3) {
_root['arrow' + i]._rotation += 90 * j + 90;
} else {
_root['arrow' + i]._rotation += 90 * j;
}
++i;
}
_root.gbararrowcheck = 5;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 55 {
if (Math.random() < 0.6) {
gotoAndPlay('BGgrab1cum');
}
}
frame 61 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
}
frame 64 {
}
frame 100 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 6;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 133 {
if (Math.random() < 0.6) {
gotoAndPlay('BGgrab2cum');
}
}
frame 138 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
}
frame 141 {
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 221 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 226 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 230 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 231 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 232 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
}
frame 236 {
if (Math.random() > 0.5) {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
}
frame 281 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 330 {
if (Math.random() > 0.5) {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
}
frame 333 {
}
frame 370 {
heroesc();
stop();
}
frame 371 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 381 {
heroesc();
stop();
}
}
movieClip 6618 {
frame 1 {
function attacharrows() {
i = 1;
while (i <= 5) {
_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 += 180 * j;
++i;
}
_root.gbararrowcheck = 5;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 50 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 54 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 100 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 113 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 121 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 124 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 125 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 144 {
if (Math.random() < 0.5) {
gotoAndPlay('BGgrab2cum');
}
}
frame 154 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 156 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 3;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 220 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 231 {
}
frame 233 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 266 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 321 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 322 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 329 {
}
frame 332 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 370 {
heroesc();
stop();
}
frame 371 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 381 {
heroesc();
stop();
}
}
movieClip 6641 {
frame 1 {
function attacharrows() {
i = 1;
while (i <= 5) {
_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() * 4);
if (j > 3) {
j = 3;
}
_root['arrow' + i]._rotation += 90 * j;
++i;
}
_root.gbararrowcheck = 5;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
if (_root.BGA[0][0] == 26) {
gotoAndPlay('girlfirst');
}
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 51 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 101 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 130 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 134 {
}
frame 161 {
heroesc();
stop();
}
frame 201 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 213 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 224 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 225 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 244 {
if (Math.random() < 0.5) {
gotoAndPlay('BGgrab2cum');
}
}
frame 254 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 256 {
}
frame 281 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 331 {
}
frame 333 {
}
frame 366 {
heroesc();
stop();
}
frame 401 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 3;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 401 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 406 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 411 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 411 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 416 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 421 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 422 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 431 {
}
frame 432 {
}
frame 466 {
heroesc();
stop();
}
frame 471 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 481 {
heroesc();
stop();
}
}
movieClip 6642 {
frame 1 {
function attacharrows() {
i = 1;
while (i <= 5) {
_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 = 1;
}
_root['arrow' + i]._rotation += 90 + 180 * j;
++i;
}
_root.gbararrowcheck = 5;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 5;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 53 {
if (Math.random() < 0.5) {
gotoAndPlay('BGgrab1cum');
}
}
frame 55 {
}
frame 57 {
}
frame 100 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 133 {
if (Math.random() < 0.5) {
gotoAndPlay('BGgrab2cum');
}
}
frame 138 {
}
frame 140 {
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 3;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 213 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 224 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 225 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 240 {
if (Math.random() < 0.5) {
gotoAndPlay('HeroGrab1cum');
}
}
frame 248 {
}
frame 250 {
}
frame 281 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 321 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 322 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 329 {
}
frame 332 {
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 370 {
heroesc();
stop();
}
}
movieClip 6659 {
}
movieClip 6661 {
}
movieClip 6714 {
frame 1 {
function attacharrows() {
j = Math.floor(Math.random() * 4);
if (j > 3) {
j = 3;
}
i = 1;
while (i <= 6) {
_root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i);
_root['arrow' + i]._x = _root.camframe._x - 50 * i + 125;
_root['arrow' + i]._y = 100;
_root['arrow' + i]._rotation += 90 * j;
j += 1;
++i;
}
_root.gbararrowcheck = 6;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 5;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 33 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 41 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 45 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 46 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 65 {
if (Math.random() > 0.25) {
gotoAndPlay('BGgrab1cum');
}
}
frame 75 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 77 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 96 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 138 {
if (Math.random() > 0.33) {
gotoAndPlay('BGgrab2cumLoop');
} else {
gotoAndPlay('BGgrab2cumEnd');
}
}
frame 150 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 152 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 212 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 221 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 224 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 225 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 236 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 238 {
if (_root.cumfchest > 1) {
--_root.cumchest;
}
}
frame 271 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 330 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 332 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 6720 {
frame 2 {
stop();
}
frame 40 {
stop();
}
}
movieClip 6726 {
frame 2 {
stop();
}
frame 40 {
stop();
}
}
movieClip 6727 {
frame 1 {
gotoAndStop(2);
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 1);
}
}
}
movieClip 6729 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 6730 {
frame 2 {
stop();
}
}
movieClip 6732 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 6733 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
}
movieClip 6735 {
frame 1 {
if (_root.player > 20) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
movieClip 6737 {
frame 1 {
if (_root.player > 20) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 6739 {
frame 2 {
stop();
}
}
movieClip 6741 {
frame 1 {
if (_root.player > 20) {
(new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB);
} else {
(new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB);
}
}
}
movieClip 6743 {
frame 1 {
if (_root.player > 20) {
var red = _root.HeroMainColorR - 25;
var green = _root.HeroMainColorG - 25;
var blue = _root.HeroMainColorB - 25;
} else {
var red = _root.HeroSecondColorR - 25;
var green = _root.HeroSecondColorG - 25;
var blue = _root.HeroSecondColorB - 25;
}
if (red < 0) {
red = 0;
}
if (green < 0) {
green = 0;
}
if (blue < 0) {
blue = 0;
}
(new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue);
}
}
movieClip 6745 {
frame 2 {
stop();
}
}
movieClip 6748 {
frame 1 {
gotoAndStop(_root.player);
}
}
movieClip 6749 {
frame 1 {
if (_root.player <= 20) {
gotoAndStop(2);
} else {
gotoAndStop(22);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 6750 {
frame 1 {
if (_root.player >= 21) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
} else {
if (_root.camframe.hero._currentframe < 51 and _root.wpn > 10) {
gotoAndStop(_currentframe + 1);
}
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
} else {
if (_root.camframe.hero._currentframe < 51 and _root.wpn > 10) {
gotoAndStop(_currentframe + 1);
}
}
}
}
movieClip 6752 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(22);
} else {
gotoAndStop(2);
}
}
frame 2 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
frame 22 {
if (_root.wpn == 2) {
gotoAndStop(_currentframe + 2);
}
}
}
movieClip 6796 {
frame 1 {
function attacharrows() {
j = Math.floor(Math.random() * 4);
if (j > 3) {
j = 3;
}
i = 1;
while (i <= 6) {
_root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i);
_root['arrow' + i]._x = _root.camframe._x - 50 * i + 125;
_root['arrow' + i]._y = 100;
_root['arrow' + i]._rotation += 90 * j;
j += 1;
++i;
}
_root.gbararrowcheck = 6;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
_root.armorh = temparmor;
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
var temparmor = _root.armorh;
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
var alphamodifier = 10;
FadeOutTimer = setInterval(function () {
if ((eval(M28_Hand))._alpha <= 0 or _currentframe > 15) {
clearInterval(FadeOutTimer);
} else {
M28_Hand._alpha -= alphamodifier;
M28_Weapon._alpha -= alphamodifier;
M28_Forearm._alpha -= alphamodifier;
M28_Shoulder._alpha -= alphamodifier;
M28_Foot._alpha -= alphamodifier;
M28_Thigh._alpha -= alphamodifier;
M28_Eye._alpha -= alphamodifier;
M28_Head._alpha -= alphamodifier;
M28_Jaw._alpha -= alphamodifier;
M28_Cock._alpha -= alphamodifier;
M28_Balls._alpha -= alphamodifier;
M28_Torso._alpha -= alphamodifier;
M28_Tail._alpha -= alphamodifier;
M28_HandRear._alpha -= alphamodifier;
M28_ForearmRear._alpha -= alphamodifier;
M28_ShoulderRear._alpha -= alphamodifier;
M28_FootRear._alpha -= alphamodifier;
M28_ThighRear._alpha -= alphamodifier;
M29_FistRearFingers._alpha -= alphamodifier;
M29_Hand._alpha -= alphamodifier;
M29_Weapon._alpha -= alphamodifier;
M29_Forearm._alpha -= alphamodifier;
M29_Shoulder._alpha -= alphamodifier;
M29_Foot._alpha -= alphamodifier;
M29_Thigh._alpha -= alphamodifier;
M29_Eye._alpha -= alphamodifier;
M29_Head._alpha -= alphamodifier;
M29_Jaw._alpha -= alphamodifier;
M29_Dress._alpha -= alphamodifier;
M29_Nipple._alpha -= alphamodifier;
M29_Boob._alpha -= alphamodifier;
M29_NippleRear._alpha -= alphamodifier;
M29_BoobRear._alpha -= alphamodifier;
M29_Torso._alpha -= alphamodifier;
M29_Tail._alpha -= alphamodifier;
M29_FootRear._alpha -= alphamodifier;
M29_ThighRear._alpha -= alphamodifier;
M29_FistRear._alpha -= alphamodifier;
M29_ForearmRear._alpha -= alphamodifier;
M29_ShoulderRear._alpha -= alphamodifier;
Shadow._alpha -= alphamodifier;
M28_Shadow._alpha -= alphamodifier;
M29_Shadow._alpha -= alphamodifier;
}
--time;
}, 50);
}
frame 16 {
_root.armorh = 0;
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
splashmonster.gotoAndPlay(2);
forearm.armor.gotoAndStop(1);
shoulder.armor.gotoAndStop(1);
chest.armor.gotoAndStop(1);
foothitbox.armor.gotoAndStop(1);
foothitbox.armor2.gotoAndStop(1);
thigh.armor.gotoAndStop(1);
footrear.armor.gotoAndStop(1);
footrear.armor2.gotoAndStop(1);
thighrear.armor.gotoAndStop(1);
forearmrear.armor.gotoAndStop(1);
shoulderrear.armor.gotoAndStop(1);
}
frame 31 {
C1_Forearm._alpha = 0;
C1_Fist._alpha = 0;
C1_shoulder._alpha = 0;
C1_Eye._alpha = 0;
C1_Head._alpha = 0;
C1_Jaw._alpha = 0;
C1_Foot._alpha = 0;
C1_Thigh._alpha = 0;
C1_Nipple._alpha = 0;
C1_Boob._alpha = 0;
C1_NippleRear._alpha = 0;
C1_BoobRear._alpha = 0;
C1_Chest._alpha = 0;
C1_Cock._alpha = 0;
C1_Balls._alpha = 0;
C1_Tail._alpha = 0;
C1_FootRear._alpha = 0;
C1_ThighRear._alpha = 0;
C1_ForearmRear._alpha = 0;
C1_ShoulderRear._alpha = 0;
C1_FistRear._alpha = 0;
C2_Forearm._alpha = 0;
C2_Fist._alpha = 0;
C2_shoulder._alpha = 0;
C2_Eye._alpha = 0;
C2_Head._alpha = 0;
C2_Jaw._alpha = 0;
C2_Foot._alpha = 0;
C2_Thigh._alpha = 0;
C2_Nipple._alpha = 0;
C2_Boob._alpha = 0;
C2_NippleRear._alpha = 0;
C2_BoobRear._alpha = 0;
C2_Chest._alpha = 0;
C2_Cock._alpha = 0;
C2_Balls._alpha = 0;
C2_Tail._alpha = 0;
C2_FootRear._alpha = 0;
C2_ThighRear._alpha = 0;
C2_ForearmRear._alpha = 0;
C2_ShoulderRear._alpha = 0;
C2_FistRear._alpha = 0;
alphamodifier2 = 10;
FadeInTimer = setInterval(function () {
if ((eval(C1_Forearm))._alpha >= 100 or _currentframe > 45) {
C1_Forearm._alpha = 100;
C1_Fist._alpha = 100;
C1_shoulder._alpha = 100;
C1_Eye._alpha = 100;
C1_Head._alpha = 100;
C1_Jaw._alpha = 100;
C1_Foot._alpha = 100;
C1_Thigh._alpha = 100;
C1_Nipple._alpha = 100;
C1_Boob._alpha = 100;
C1_NippleRear._alpha = 100;
C1_BoobRear._alpha = 100;
C1_Chest._alpha = 100;
C1_Cock._alpha = 100;
C1_Balls._alpha = 100;
C1_Tail._alpha = 100;
C1_FootRear._alpha = 100;
C1_ThighRear._alpha = 100;
C1_ForearmRear._alpha = 100;
C1_ShoulderRear._alpha = 100;
C1_FistRear._alpha = 100;
C2_Forearm._alpha = 100;
C2_Fist._alpha = 100;
C2_shoulder._alpha = 100;
C2_Eye._alpha = 100;
C2_Head._alpha = 100;
C2_Jaw._alpha = 100;
C2_Foot._alpha = 100;
C2_Thigh._alpha = 100;
C2_Nipple._alpha = 100;
C2_Boob._alpha = 100;
C2_NippleRear._alpha = 100;
C2_BoobRear._alpha = 100;
C2_Chest._alpha = 100;
C2_Cock._alpha = 100;
C2_Balls._alpha = 100;
C2_Tail._alpha = 100;
C2_FootRear._alpha = 100;
C2_ThighRear._alpha = 100;
C2_ForearmRear._alpha = 100;
C2_ShoulderRear._alpha = 100;
C2_FistRear._alpha = 100;
clearInterval(FadeInTimer);
} else {
C1_Forearm._alpha += alphamodifier2;
C1_Fist._alpha += alphamodifier2;
C1_shoulder._alpha += alphamodifier2;
C1_Eye._alpha += alphamodifier2;
C1_Head._alpha += alphamodifier2;
C1_Jaw._alpha += alphamodifier2;
C1_Foot._alpha += alphamodifier2;
C1_Thigh._alpha += alphamodifier2;
C1_Nipple._alpha += alphamodifier2;
C1_Boob._alpha += alphamodifier2;
C1_NippleRear._alpha += alphamodifier2;
C1_BoobRear._alpha += alphamodifier2;
C1_Chest._alpha += alphamodifier2;
C1_Cock._alpha += alphamodifier2;
C1_Balls._alpha += alphamodifier2;
C1_Tail._alpha += alphamodifier2;
C1_FootRear._alpha += alphamodifier2;
C1_ThighRear._alpha += alphamodifier2;
C1_ForearmRear._alpha += alphamodifier2;
C1_ShoulderRear._alpha += alphamodifier2;
C1_FistRear._alpha += alphamodifier2;
C2_Forearm._alpha += alphamodifier2;
C2_Fist._alpha += alphamodifier2;
C2_shoulder._alpha += alphamodifier2;
C2_Eye._alpha += alphamodifier2;
C2_Head._alpha += alphamodifier2;
C2_Jaw._alpha += alphamodifier2;
C2_Foot._alpha += alphamodifier2;
C2_Thigh._alpha += alphamodifier2;
C2_Nipple._alpha += alphamodifier2;
C2_Boob._alpha += alphamodifier2;
C2_NippleRear._alpha += alphamodifier2;
C2_BoobRear._alpha += alphamodifier2;
C2_Chest._alpha += alphamodifier2;
C2_Cock._alpha += alphamodifier2;
C2_Balls._alpha += alphamodifier2;
C2_Tail._alpha += alphamodifier2;
C2_FootRear._alpha += alphamodifier2;
C2_ThighRear._alpha += alphamodifier2;
C2_ForearmRear._alpha += alphamodifier2;
C2_ShoulderRear._alpha += alphamodifier2;
C2_FistRear._alpha += alphamodifier2;
}
--time;
}, 50);
}
frame 46 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 101 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 113 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 121 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 125 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 126 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 135 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
BGred.gotoAndPlay(10);
}
frame 138 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
BGblue.gotoAndPlay(15);
}
frame 171 {
heroesc();
stop();
}
frame 201 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 214 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 215 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 221 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
BGred.gotoAndPlay(10);
}
frame 223 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
BGblue.gotoAndPlay(15);
}
frame 251 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 5;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 310 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 330 {
BGred.gotoAndPlay(10);
}
frame 332 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
BGblue.gotoAndPlay(15);
}
frame 366 {
heroesc();
stop();
}
frame 401 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 4;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 401 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 406 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 411 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 411 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 416 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 420 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 421 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 430 {
BGred.gotoAndPlay(10);
}
frame 432 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
BGblue.gotoAndPlay(15);
}
frame 460 {
heroesc();
stop();
}
frame 461 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
heroesc();
stop();
}
}
movieClip 6806 {
}
movieClip 6945 {
frame 1 {
function attacharrows() {
j = Math.floor(Math.random() * 4);
if (j > 3) {
j = 3;
}
i = 1;
while (i <= 6) {
_root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i);
_root['arrow' + i]._x = _root.camframe._x - 50 * i + 125;
_root['arrow' + i]._y = 100;
_root['arrow' + i]._rotation += 90 * j;
j -= 1;
if (j < 0) {
j = 3;
}
++i;
}
_root.gbararrowcheck = 6;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][5]]._y = 575;
if (_root._currentframe <= 100) {
if (_root.held >= 116) {
++_root.maxitems;
var v2 = _root.maxitems;
_root.attachMovie('M29+29_LargeFlower', 'obj' + v2, 300 + v2);
_root['obj' + v2]._xscale = _root.camframe.hero._xscale * -1;
_root['obj' + v2]._x = _root.camframe._x + 2 * _root.camframe.hero._xscale;
_root['obj' + v2]._y = 550;
}
}
} else {
_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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 41 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 5;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 41 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 46 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 51 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 51 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 56 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 60 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 61 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 70 {
}
frame 72 {
}
frame 100 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 120 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 121 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 130 {
}
frame 132 {
}
frame 161 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 2;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 220 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 230 {
}
frame 232 {
}
frame 261 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 0;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 320 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 321 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 330 {
}
frame 332 {
}
frame 360 {
heroesc();
stop();
}
frame 361 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
heroesc();
stop();
}
}
movieClip 7003 {
frame 1 {
function attacharrows() {
i = 1;
while (i <= 5) {
_root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i);
_root['arrow' + i]._x = _root.camframe._x - 50 * i + 150;
_root['arrow' + i]._y = 100;
j = Math.floor(Math.random() * 2);
if (j > 1) {
j = 1;
}
_root['arrow' + i]._rotation += 180 * j;
++i;
}
_root.gbararrowcheck = 5;
}
function unloadarrows() {
_root.gbararrowcheck = -100;
i = 1;
while (i < 10) {
_root['arrow' + i].unloadMovie();
++i;
}
}
function damagecall() {
_root.grapple += strdiff;
_root.BGA[0][4] -= herodmg;
if (_root.BGA[0][4] < 0) {
_root.BGA[0][4] = 0;
}
_root.BGA[1][4] -= herodmg;
if (_root.BGA[1][4] < 0) {
_root.BGA[1][4] = 0;
}
if (_root.armorh > 0) {
_root.armorh -= mondmg / 2;
_root.health -= mondmg / 2;
if (_root.armorh < 0) {
_root.armorh = 0;
if (_root.armor <= 100) {
gotoAndPlay('clothestear');
}
}
} else {
_root.health -= mondmg;
}
if (_root.gbararrowcheck == -1) {
attacharrows();
}
if (_root.gbararrowcheck < -1) {
if (_root.gbararrowcheck !== -100) {
_root.gbararrowcheck += _root.spirit;
}
if (_root.gbararrowcheck > -1) {
_root.gbararrowcheck = -1;
}
}
}
function heroesc() {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
if (_root.BGA[0][4] <= 0) {
_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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
}
if (_root.BGA[1][4] <= 0) {
_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 += 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 += 2.5 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
}
_root.camframe.box.gotoAndPlay(42);
if (_root.held < 1000 or _root.held >= 1100) {
if (_root.held == 1100) {
_root.obj4._y -= 2000;
}
_root.held = 49;
_root.camframe.hero.gotoAndStop(6);
} else {
_root.held = 1000;
_root.camframe.hero.gotoAndStop(10);
}
}
if (_root.poisonlevel > 200) {
_root.poisonlevel = 199;
}
_root.gbararrowcheck = -1;
_root.escbgvar = 0;
_root.escherovar = 0;
j = 0;
var i = 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;
if (_root.acc == 10) {
herodr += _root.accessory[10][4];
}
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(1);
}
frame 1 {
function herovoicecall() {
sl += Math.random() - _root.health / 200;
if (sl < 0) {
sl = 0;
}
if (dsl + Math.floor(sl) > 0) {
herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl)));
if (herovoiceplay == true) {
herovoiceplay = false;
herovoice.start(0, 1);
herovoice.onSoundComplete = function () {
herovoiceplay = true;
};
}
}
if (sl > 1) {
sl = 0;
}
}
var hl = Math.floor(_root.player / 10);
var dsl = 0;
var moandelay = 0;
var sl = 0;
var herovoiceplay = true;
var herovoice = new Sound();
}
frame 2 {
if (_root.grapple > 0) {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
gotoAndPlay('HeroGrab1');
} else {
var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
gotoAndPlay('BGgrab1');
}
}
frame 21 {
if (_root.held < 1000) {
if (_root.held !== 114) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 7;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
if (_root.held == 113) {
_root.grapple += 10;
splash.gotoAndPlay(2);
} else {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
}
_root.held = 114;
}
}
}
frame 21 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 26 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 31 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 31 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 36 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 40 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 41 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 50 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 52 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
}
frame 54 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 100 {
heroesc();
stop();
}
frame 101 {
if (_root.armorh > 0 and _root.armor <= 100) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
_root.armorh -= 40;
if (_root.armorh < 0) {
_root.armorh = 0;
}
gotoAndPlay('clothestear');
}
if (_root.held < 1000) {
if (_root.held > 113) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 8;
strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = 0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed;
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
_root.held = 113;
}
}
}
frame 101 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 106 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 111 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 113 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 116 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 121 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 124 {
if (_root.grapple < -100) {
_root.grapple = -100;
if (_root.held < 1000) {
_root.held = 112;
}
_root.camframe.box.grapplebar.gotoAndPlay(22);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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('BGgrab1B');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 125 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 144 {
if (Math.random() < 0.5) {
gotoAndPlay('BGgrab2cum');
}
}
frame 154 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 155 {
if (Math.random() > 0.5) {
if (_root.cumface > 1) {
--_root.cumface;
}
}
}
frame 156 {
if (_root.cumchest > 1) {
--_root.cumchest;
}
}
frame 181 {
heroesc();
stop();
}
frame 201 {
if (_root.held < 1000) {
if (_root.held !== 115) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 3;
strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed;
if (mondmg < 0) {
mondmg = 0;
}
herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed;
if (_root.held == 116) {
_root.grapple -= 10;
splashmonster.gotoAndPlay(2);
} else {
_root.grapple += 10;
splash.gotoAndPlay(2);
}
_root.held = 115;
}
}
}
frame 201 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 206 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 211 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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 {}
} else {
if (_root.grapple < -50) {
gotoAndPlay('BGgrab2');
} else {
gotoAndPlay('BGgrab1');
}
}
}
if (_root.escherovar > 0) {
if (_root.escherovar * -1 + 100 < _root.grapple) {
heroesc();
}
}
}
frame 211 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 216 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 220 {
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 221 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 231 {
}
frame 232 {
}
frame 233 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 266 {
heroesc();
stop();
}
frame 301 {
if (_root.held < 1000) {
if (_root.held < 116) {
_root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2);
dsl = 1;
strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed;
if (Math.abs(strdiff) < 0.25) {
strdiff = -0.25;
}
mondmg = 0;
herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed;
_root.grapple += 10;
splash.gotoAndPlay(2);
_root.held = 116;
}
}
}
frame 301 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 306 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 311 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 311 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 316 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 321 {
if (_root.grapple > 100) {
_root.grapple = 100;
_root.held = 117;
_root.camframe.box.grapplebar.gotoAndPlay(2);
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
strdiff = 0;
}
if (_root.held < 1000) {
if (_root.health <= 0) {
_root.held = 1011;
_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();
}
}
}
frame 322 {
if (_root.gbararrowcheck > 0) {
unloadarrows();
}
_root.gbararrowcheck = -100;
if (_root.held < 1000) {
_root.held = 118;
}
}
frame 329 {
}
frame 331 {
}
frame 332 {
if (_root.cumface > 1) {
--_root.cumface;
}
}
frame 370 {
heroesc();
stop();
}
frame 371 {
_root.camframe.box.grapplebar.armorsave.gotoAndPlay(6);
if (_root.held < 1000) {
_root.held = 101;
}
}
frame 371 {
if (_root.held < 1000) {
damagecall();
moandelay -= Math.random();
if (moandelay < 0) {
herovoicecall();
moandelay = (_root.health / _root.maxhealth) * 10;
}
} else {
if (_root.held < 1100) {
if (_root.grapple > -100) {
_root.grapple -= _root.BGA[0][1];
}
}
}
}
frame 381 {
heroesc();
stop();
}
}
movieClip 7004 {
frame 1 {
stop();
}
}
movieClip 7007 {
}
button 7009 {
on (release) {
_root.armorh -= 26;
}
}
button 7010 {
on (release) {
_root.wpn += 10;
if (_root.wpn > 41) {
_root.wpn = 1;
}
_root.wpndmgphy = _root.weapon[_root.wpn][2];
_root.wpndmgmag = _root.weapon[_root.wpn][4];
_root.camframe.box.invwpn.gotoAndPlay(1);
}
}
button 7012 {
on (release) {
if (_root.player > 20) {
_root.player = 2;
_root.bodrace = 4;
_root.sptrace = 4;
_root.bodclass = 1;
_root.sptclass = 1;
_root.armor = 31;
_root.armorhmax = 100;
_root.armorh = 100;
_root.wpn = 1;
_root.acc = 1;
} else {
if (_root.player > 10) {
_root.player = 23;
_root.bodrace = 5;
_root.sptrace = 3;
_root.bodclass = 2;
_root.sptclass = 0;
_root.wpn = 21;
_root.armor = 21;
_root.armorhmax = 150;
_root.armorh = 150;
_root.acc = 1;
} else {
_root.player = 11;
_root.bodrace = 3;
_root.sptrace = 5;
_root.bodclass = 0;
_root.sptclass = 2;
_root.wpn = 11;
_root.armor = 11;
_root.armorhmax = 100;
_root.armorh = 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.maxhealth = 50 + _root.body * 10;
_root.health = _root.maxhealth;
_root.camframe.box.invwpn.gotoAndPlay(1);
_root.camframe.box.invarm.gotoAndPlay(1);
_root.camframe.box.invacc.gotoAndPlay(1);
_root.camframe.hero.gotoAndStop(8);
}
}
button 7013 {
on (release) {
_root.armor += 10;
if (_root.armor > 151) {
_root.armor = 1;
}
_root.armorhmax = _root.armorarray[Math.floor(_root.armor / 10)][2];
_root.armorh = _root.armorhmax;
_root.camframe.box.invarm.gotoAndPlay(1);
}
}
movieClip 7040 {
frame 1 {
}
frame 2 {
if (_root.testmode == 1) {
gotoAndStop(3);
}
stop();
}
}
movieClip 7046 {
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();
}
}
movieClip 7047 {
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();
}
}
movieClip 7048 {
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();
}
}
movieClip 7049 {
frame 2 {
if (_root.backpack1h > 300) {
this.item_symbol.gotoAndStop(_root.backpack1 + _root.backpack1h - 1);
} else {
this.item_symbol.gotoAndStop(_root.backpack1);
}
stop();
}
}
movieClip 7056 {
frame 1 {
if (_root.backpack2 >= 0) {
gotoAndStop(21);
}
if (_root.backpack3 >= 0) {
gotoAndStop(31);
}
if (_root.backpack4 >= 0) {
gotoAndStop(41);
}
}
frame 2 {
if (_root.backpack2 >= 0) {
gotoAndPlay(12);
}
if (_root.backpack3 >= 0) {
gotoAndPlay(22);
}
if (_root.backpack4 >= 0) {
gotoAndPlay(32);
}
}
frame 11 {
stop();
}
frame 21 {
_root.camframe.box.invb2.gotoAndPlay(1);
stop();
}
frame 31 {
_root.camframe.box.invb3.gotoAndPlay(1);
stop();
}
frame 40 {
_root.camframe.box.invb4.gotoAndPlay(1);
stop();
}
}
movieClip 7057 {
frame 2 {
this.item_symbol.gotoAndStop(_root.acc + 600);
stop();
}
}
movieClip 7059 {
frame 2 {
this.item_symbol.gotoAndStop(_root.armor);
stop();
}
}
movieClip 7061 {
frame 2 {
this.item_symbol.gotoAndStop(_root.wpn + 300);
stop();
}
}
movieClip 7063 {
}
movieClip 7065 {
}
movieClip 7069 {
}
movieClip 7073 {
frame 1 {
if (_root.player > 20) {
gotoAndPlay(22);
} else {
if (_root.player > 10) {
gotoAndPlay(12);
}
}
}
frame 2 {
if (_root.poisonlevel > 0) {
gotoAndStop(_currentframe + 1);
}
stop();
}
frame 12 {
if (_root.poisonlevel > 0) {
gotoAndStop(_currentframe + 1);
}
stop();
}
frame 22 {
if (_root.poisonlevel > 0) {
gotoAndStop(_currentframe + 1);
}
stop();
}
}
movieClip 7076 {
frame 1 {
if (_root.gunhmax > 0) {
gotoAndStop(2);
}
stop();
}
}
button 7079 {
on (release) {
if (_root.held == 0) {
_root.held = 904;
gotoAndPlay(10);
}
}
}
button 7084 {
on (release) {
if (_root.BGtype[16][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[16][7] = 1;
CheckM16.gotoAndStop(3);
}
} else {
_root.BGtype[16][7] = 0;
CheckM16.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
button 7085 {
on (release) {
if (_root.BGtype[17][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[17][7] = 1;
CheckM17.gotoAndStop(3);
}
} else {
_root.BGtype[17][7] = 0;
CheckM17.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
button 7086 {
on (release) {
if (_root.BGtype[19][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[19][7] = 1;
CheckM19.gotoAndStop(3);
}
} else {
_root.BGtype[19][7] = 0;
CheckM19.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
button 7087 {
on (release) {
if (_root.BGtype[20][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[20][7] = 1;
CheckM20.gotoAndStop(3);
}
} else {
_root.BGtype[20][7] = 0;
CheckM20.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
button 7088 {
on (release) {
if (_root.BGtype[11][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[11][7] = 1;
CheckM11.gotoAndStop(3);
}
} else {
_root.BGtype[11][7] = 0;
CheckM11.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
button 7089 {
on (release) {
if (_root.BGtype[22][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[22][7] = 1;
CheckM22.gotoAndStop(3);
}
} else {
_root.BGtype[22][7] = 0;
CheckM22.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
button 7090 {
on (release) {
if (_root.BGtype[23][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[23][7] = 1;
CheckM23.gotoAndStop(3);
}
} else {
_root.BGtype[23][7] = 0;
CheckM23.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
button 7091 {
on (release) {
if (_root.BGtype[25][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[25][7] = 1;
CheckM25.gotoAndStop(3);
}
} else {
_root.BGtype[25][7] = 0;
CheckM25.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
button 7092 {
on (release) {
if (_root.BGtype[26][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[26][7] = 1;
CheckM26.gotoAndStop(3);
}
} else {
_root.BGtype[26][7] = 0;
CheckM26.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
button 7093 {
on (release) {
if (_root.BGtype[28][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[28][7] = 1;
CheckM28.gotoAndStop(3);
}
} else {
_root.BGtype[28][7] = 0;
CheckM28.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
button 7094 {
on (release) {
if (_root.BGtype[29][7] == 0) {
if (_root.HordeModeOptionsCount < _root.HordeModeOptions) {
++_root.HordeModeOptionsCount;
_root.BGtype[29][7] = 1;
CheckM29.gotoAndStop(3);
}
} else {
_root.BGtype[29][7] = 0;
CheckM29.gotoAndStop(2);
if (_root.HordeModeOptionsCount > 0) {
--_root.HordeModeOptionsCount;
}
}
}
}
movieClip 7097 {
frame 2 {
stop();
}
frame 4 {
stop();
}
}
button 7098 {
on (release) {
_root.held = 0;
gotoAndPlay(1);
}
}
movieClip 7114 {
frame 1 {
if (_root.HordeModeOptions == 0) {
gotoAndStop(3);
}
if (_root._currentframe < 100) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
frame 19 {
_root.HordeModeOptionsCount = 0;
if (_root.BGtype[16][7] == 1) {
CheckM16.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
if (_root.BGtype[17][7] == 1) {
CheckM17.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
if (_root.BGtype[19][7] == 1) {
CheckM19.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
if (_root.BGtype[20][7] == 1) {
CheckM20.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
if (_root.BGtype[11][7] == 1) {
CheckM11.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
if (_root.BGtype[22][7] == 1) {
CheckM22.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
if (_root.BGtype[23][7] == 1) {
CheckM23.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
if (_root.BGtype[25][7] == 1) {
CheckM25.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
if (_root.BGtype[26][7] == 1) {
CheckM26.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
if (_root.BGtype[28][7] == 1) {
CheckM28.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
if (_root.BGtype[29][7] == 1) {
CheckM29.gotoAndStop(3);
++_root.HordeModeOptionsCount;
}
stop();
}
}
button 7116 {
on (release) {
if (_quality == 'LOW') {
_quality = 'MEDIUM';
_root.qualitytext = 'Medium';
} else {
if (_quality == 'MEDIUM') {
_quality = 'HIGH';
_root.qualitytext = 'High';
} else {
_quality = 'LOW';
_root.qualitytext = 'Low';
}
}
}
}
movieClip 7119 {
}
button 7120 {
on (release) {
switch (_root.gspeed) {
case 2:
_root.gspeed = 10;
break;
case 3:
_root.gspeed = 2;
break;
case 4:
_root.gspeed = 3;
break;
case 6:
_root.gspeed = 4;
break;
default:
_root.gspeed = 6;
}
grapplespeedbars.gotoAndPlay(1);
}
}
movieClip 7127 {
frame 1 {
gotoAndStop(_root.gspeed);
}
}
// unknown tag 88 length 75
movieClip 7143 {
frame 16 {
stop();
}
frame 26 {
stop();
}
frame 36 {
stop();
}
}
movieClip 7245 {
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);
}
}
frame 5 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 10 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 15 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 20 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 25 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 30 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 35 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 40 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 55 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 60 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 65 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 70 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 75 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 80 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 85 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
frame 90 {
if (_root.itemnew < 1) {
gotoAndPlay(_root.itemselect * 5 + 46);
} else {
gotoAndPlay(_root.itemselect * 5 - 4);
}
}
}
movieClip 7248 {
}
button 7250 {
on (release) {
if (_root.armorh > 0) {
_root.armorh -= 15;
}
}
}
button 7251 {
on (release) {
_root.wpn += 10;
if (_root.wpn > 41) {
_root.wpn = 1;
}
_root.wpndmgphy = _root.weapon[_root.wpn][2];
_root.wpndmgmag = _root.weapon[_root.wpn][4];
}
}
button 7253 {
on (release) {
if (_root.player > 20) {
_root.player = 2;
_root.bodrace = 4;
_root.sptrace = 4;
_root.bodclass = 1;
_root.sptclass = 1;
_root.armor = 31;
_root.armorh = 100;
_root.wpn = 1;
_root.acc = 1;
} else {
if (_root.player > 10) {
_root.player = 23;
_root.bodrace = 5;
_root.sptrace = 3;
_root.bodclass = 2;
_root.sptclass = 0;
_root.wpn = 21;
_root.armor = 21;
_root.armorh = 150;
_root.acc = 1;
} else {
_root.player = 11;
_root.bodrace = 3;
_root.sptrace = 5;
_root.bodclass = 0;
_root.sptclass = 2;
_root.wpn = 11;
_root.armor = 11;
_root.armorh = 75;
_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.maxhealth = 50 + _root.body * 10;
_root.health = _root.maxhealth;
_root.camframe.box.invwpn.gotoAndPlay(1);
_root.camframe.box.invarm.gotoAndPlay(1);
_root.camframe.box.invacc.gotoAndPlay(1);
_root.camframe.hero.gotoAndStop(8);
}
}
button 7254 {
on (release) {
switch (_root.camx) {
case 800:
_root.camx = 1024;
_root.camy = 768;
_root.camframe._xscale = 100;
_root.camframe._yscale = 100;
break;
case 1024:
_root.camx = 1280;
_root.camy = 960;
_root.camframe._xscale = 125;
_root.camframe._yscale = 125;
break;
case 1280:
_root.camx = 1600;
_root.camy = 1200;
_root.camframe._xscale = 156.25;
_root.camframe._yscale = 156.25;
break;
case 1600:
_root.camx = 800;
_root.camy = 600;
_root.camframe._xscale = 78.125;
_root.camframe._yscale = 78.125;
}
_root.camframe.gotoAndStop(1);
_root.camframe.dark._xscale = 100;
_root.camframe.dark._yscale = 100;
}
}
movieClip 7262 {
frame 1 {
}
frame 2 {
if (_root.testmode == 1) {
gotoAndStop(3);
}
stop();
}
}
movieClip 7265 {
frame 1 {
if (_root.held < 1000) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 7267 {
}
movieClip 7270 {
frame 1 {
if (_root.held == 910) {
gotoAndStop(20);
}
}
frame 19 {
gotoAndPlay(1);
}
}
movieClip 7271 {
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 armorbar of movieClip 7065 {
}
instance healthbar of movieClip 7073 {
}
frame 2 {
play();
}
frame 11 {
stop();
}
instance invbox of movieClip 7245 {
onClipEvent (load) {
var delay2 = 0;
b = 0;
var a = 0;
}
onClipEvent (enterFrame) {
if (_root.held == 901) {
if (delay2 == 0) {
if (Key.isDown(71)) {
delay2 = 3;
switch (_root.gspeed) {
case 2:
_root.gspeed = 10;
break;
case 3:
_root.gspeed = 2;
break;
case 4:
_root.gspeed = 3;
break;
case 6:
_root.gspeed = 4;
break;
default:
_root.gspeed = 6;
}
this._parent.grapplespeedbars.gotoAndPlay(1);
}
if (Key.isDown(89)) {
delay2 = 3;
if (_quality == 'LOW') {
_quality = 'MEDIUM';
_root.qualitytext = 'Medium';
} else {
if (_quality == 'MEDIUM') {
_quality = 'HIGH';
_root.qualitytext = 'High';
} else {
_quality = 'LOW';
_root.qualitytext = 'Low';
}
}
}
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.itemnewh = 0;
_root.itemnew = 0;
_root.itemselect = 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);
if (_root.wpn == 23) {
_root.camframe.dark.gotoAndStop(2);
}
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;
if (_root.acc === 16) {
_root.cumface += _root.accessory[_root.acc][4];
if (_root.cumface > 5) {
_root.cumface = 5;
}
_root.cumchest += _root.accessory[_root.acc][4];
if (_root.cumchest > 5) {
_root.cumchest = 5;
}
_root.acc = 1;
}
if (_root.acc >= 17 and _root.acc <= 19) {
_root.health += _root.accessory[_root.acc][4];
if (_root.health > _root.maxhealth) {
_root.health = _root.maxhealth;
}
_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:
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) {
if (_root.itemnewh > 300) {
_root.itemnew += _root.itemnewh - 1;
} else {
_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 += b - 1;
} else {
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(8);
_root.itemnewh = 0;
_root.itemnew = 0;
_root.itemselect = 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.itemnewh - 1;
} else {
_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(8);
_root.itemnewh = 0;
_root.itemnew = 0;
_root.itemselect = 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);
}
}
}
}
}
frame 21 {
if (_root.held < 100) {
gotoAndStop(1);
}
stop();
}
frame 31 {
_root.camzoom += 0.025;
_parent._parent._y -= 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 32 {
_root.camzoom += 0.025;
_parent._parent._y -= 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
play();
}
frame 33 {
_root.camzoom += 0.025;
_parent._parent._y -= 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 34 {
_root.camzoom += 0.025;
_parent._parent._y -= 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 35 {
_root.camzoom += 0.025;
_parent._parent._y -= 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 36 {
_root.camzoom += 0.025;
_parent._parent._y -= 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 37 {
_root.camzoom += 0.025;
_parent._parent._y -= 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 38 {
_root.camzoom += 0.025;
_parent._parent._y -= 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 39 {
_root.camzoom += 0.025;
_parent._parent._y -= 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 40 {
_root.camzoom += 0.025;
_parent._parent._y -= 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 41 {
_root.camzoom = 1;
_parent._parent._y = 0;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
stop();
}
instance armorbar of movieClip 7065 {
onClipEvent (load) {
this._xscale = _root.armorhmax;
}
}
instance healthbar of movieClip 7073 {
onClipEvent (load) {
this._xscale = _root.maxhealth;
}
}
frame 42 {
_root.camzoom -= 0.025;
_parent._parent._y += 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 43 {
_root.camzoom -= 0.025;
_parent._parent._y += 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 44 {
_root.camzoom -= 0.025;
_parent._parent._y += 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 45 {
_root.camzoom -= 0.025;
_parent._parent._y += 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 46 {
_root.camzoom -= 0.025;
_parent._parent._y += 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 47 {
_root.camzoom -= 0.025;
_parent._parent._y += 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 48 {
_root.camzoom -= 0.025;
_parent._parent._y += 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 49 {
_root.camzoom -= 0.025;
_parent._parent._y += 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 50 {
_root.camzoom -= 0.025;
_parent._parent._y += 10;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
}
frame 51 {
_root.camzoom = 0.75;
_parent._parent._y = 100;
_parent._parent._xscale = 100 * _root.camzoom;
_parent._parent._yscale = 100 * _root.camzoom;
if (_root.held < 100) {
gotoAndStop(1);
}
stop();
}
instance armorbar of movieClip 7065 {
}
instance healthbar of movieClip 7073 {
}
frame 61 {
if (_root.xfinish !== _root.xstart) {
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 += xshift;
_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);
}
}
frame 101 {
if (_root.held <= 910) {
stop();
} else {
if (_root.held < 990) {
++_root.held;
gotoAndPlay(81);
}
}
}
instance of movieClip 7270 {
onClipEvent (enterFrame) {
if (_root.held == 910 and Key.isDown(65)) {
clearInterval(_parent.boxslide);
_parent.play();
}
}
}
frame 102 {
if (_root.xfinish !== _root.xstart) {
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 += xshift;
_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);
}
}
frame 121 {
_root.held = 0;
gotoAndStop(1);
}
}
movieClip 7276 {
frame 1 {
this._alpha = 10;
if (_root.player > 20) {
gotoAndPlay(21);
} else {
if (_root.player > 10) {
gotoAndPlay(11);
}
}
}
frame 3 {
if (this._alpha < 100) {
this._alpha += 2;
}
gotoAndPlay(2);
}
frame 13 {
if (this._alpha < 100) {
this._alpha += 2;
}
gotoAndPlay(12);
}
frame 23 {
if (this._alpha < 100) {
this._alpha += 2;
}
gotoAndPlay(22);
}
}
movieClip 7281 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(21);
} else {
if (_root.player > 10) {
gotoAndStop(11);
}
}
stop();
}
}
button 7282 {
on (release) {
l = 0;
k = 0;
j = 0;
var i = 0;
i = 50;
while (i >= 0) {
_root['bg' + i].removeMovieClip();
_root['bghb' + i].removeMovieClip();
_root.BGA.splice([i][0], 1);
--i;
}
j = _root.monatt.length - 1;
while (j >= 0) {
loadMovie('', _root[_root.monatt[j][1]]);
_root.monatt.splice([j][0], 1);
--j;
}
l = _root.proj.length - 1;
while (l >= 0) {
loadMovie('', _root[_root.proj[l][1]]);
_root.proj.splice([l][0], 1);
--l;
}
_root.ss.removeMovieClip();
k = _root.maxitems;
while (k > 0) {
_root['obj' + k].removeMovieClip();
--k;
}
_root.doorleft.removeMovieClip();
_root.doorright.removeMovieClip();
_root.doorleftgox = 0;
_root.doorleftgo = 0;
_root.doorrightgox = 0;
_root.doorrightgo = 0;
_root.gotoAndPlay(2);
_parent._parent._x = 0;
_parent._parent._y = 0;
_parent._parent._xscale = 100;
_parent._parent._yscale = 100;
_root.camframe.removeMovieClip();
}
}
movieClip 7289 {
frame 1 {
if (_root.player > 20) {
gotoAndPlay(21);
} else {
if (_root.player > 10) {
gotoAndPlay(11);
}
}
stop();
}
}
movieClip 7299 {
frame 1 {
if (_root.player > 20) {
gotoAndStop(21);
} else {
if (_root.player > 10) {
gotoAndStop(11);
}
}
stop();
}
}
button 7300 {
on (release) {
_root.health = _root.maxhealth;
_root.camframe.box.healthbar.gotoAndPlay(1);
_root.poisonlevel = 0;
_root.poisoncolor = 0;
_root.HeroMainColorR = _root.HeroMainColorSetR;
_root.HeroSecondColorR = _root.HeroSecondColorSetR;
_root.HeroMainColorG = _root.HeroMainColorSetG;
_root.HeroSecondColorG = _root.HeroSecondColorSetG;
_root.HeroMainColorB = _root.HeroMainColorSetB;
_root.HeroSecondColorB = _root.HeroSecondColorSetB;
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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
_root.camframe.box.gotoAndPlay(42);
}
if (_root.held == 1011) {
_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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
_root[_root.BGA[1][5]]._x += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[1][5]]._y = 575;
_root[_root.BGA[1][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[1][6]]._x += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
_root.camframe.box.gotoAndPlay(42);
}
i = _root.BGA.length - 1;
while (i >= 0) {
if (Math.abs(_root[_root.BGA[i][5]]._x - _root.camframe._x) < 300) {
if (_root[_root.BGA[i][5]]._x > _root.camframe._x) {
_root[_root.BGA[i][5]]._x += 400;
_root[_root.BGA[i][6]]._x += 400;
} else {
_root[_root.BGA[i][5]]._x -= 400;
_root[_root.BGA[i][6]]._x -= 400;
}
}
--i;
}
_root.held = 49;
--_root.continues;
_root.camframe.hero.gotoAndStop(6);
this.gotoAndStop(1);
}
}
button 7303 {
on (release) {
_root.health = _root.maxhealth;
_root.camframe.box.healthbar.gotoAndPlay(1);
_root.poisonlevel = 0;
_root.poisoncolor = 0;
_root.HeroMainColorR = _root.HeroMainColorSetR;
_root.HeroSecondColorR = _root.HeroSecondColorSetR;
_root.HeroMainColorG = _root.HeroMainColorSetG;
_root.HeroSecondColorG = _root.HeroSecondColorSetG;
_root.HeroMainColorB = _root.HeroMainColorSetB;
_root.HeroSecondColorB = _root.HeroSecondColorSetB;
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 += 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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
_root.camframe.box.gotoAndPlay(42);
}
if (_root.held == 1011) {
_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 += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[0][6]]._y = 550;
_root[_root.BGA[1][5]]._x += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[1][5]]._y = 575;
_root[_root.BGA[1][6]]._xscale = _root.BGA[0][4];
_root[_root.BGA[1][6]]._x += 2 * _root.camframe.hero._xscale;
_root[_root.BGA[1][6]]._y = 550;
_root.camframe.box.gotoAndPlay(42);
}
i = _root.BGA.length - 1;
while (i >= 0) {
if (Math.abs(_root[_root.BGA[i][5]]._x - _root.camframe._x) < 300) {
if (_root[_root.BGA[i][5]]._x > _root.camframe._x) {
_root[_root.BGA[i][5]]._x += 400;
_root[_root.BGA[i][6]]._x += 400;
} else {
_root[_root.BGA[i][5]]._x -= 400;
_root[_root.BGA[i][6]]._x -= 400;
}
}
--i;
}
_root.held = 49;
--_root.continues;
_root.camframe.hero.gotoAndStop(6);
this.gotoAndStop(1);
}
}
movieClip 7304 {
frame 1 {
stop();
}
frame 2 {
if (_root.gameoverman == true) {
gotoAndPlay(51);
}
}
frame 42 {
if (_root.continues > 0) {
gotoAndStop(_currentframe + 1);
}
stop();
}
frame 50 {
stop();
}
frame 91 {
if (_root.continues > 0) {
gotoAndStop(_currentframe + 1);
}
stop();
}
frame 100 {
stop();
}
}
movieClip 7305 {
instance hero of movieClip 7004 {
onClipEvent (load) {
var runstatus = 2;
k = 0;
j = 0;
i = 0;
b = 0;
var a = 0;
var hityes = false;
dr = 0;
damage = 0;
bghb = 0;
var bg = 0;
escattempt = 0;
keyread = 0;
var arrowread = 0;
monscale2 = 0;
var monscale = 0;
var hitsound = new Sound();
var spsound = new Sound();
oldtime = 1;
var newtime = 1;
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) {
newtime = getTimer();
_root.ffps = Math.round(1000 / (newtime - oldtime));
oldtime = newtime;
_root.xxx = _root.poisonlevel;
_root.yyy = _root.held;
_root.zzz = _root._currentframe;
_root.monsterarraylength = _root.BGA.length;
_root.Ar0 = _root.BGA[0][5];
_root.Ar1 = _root.BGA[1][5];
_root.Ar2 = _root.BGA[2][5];
_root.Ar3 = _root.BGA[3][5];
_root.Ar4 = _root.BGA[4][5];
_root.Ar5 = _root.BGA[5][5];
_root.Ar10 = _root.BGA[0][4];
_root.Ar11 = _root.BGA[1][4];
_root.Ar12 = _root.BGA[2][4];
_root.Ar13 = _root.BGA[3][4];
_root.Ar14 = _root.BGA[4][4];
_root.Ar15 = _root.BGA[5][4];
_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.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);
if (_root.poisoncolor !== 0) {
_root.HeroMainColorR = _root.HeroMainColorSetR;
_root.HeroSecondColorR = _root.HeroSecondColorSetR;
_root.HeroMainColorG = _root.HeroMainColorSetG;
_root.HeroSecondColorG = _root.HeroSecondColorSetG;
_root.HeroMainColorB = _root.HeroMainColorSetB;
_root.HeroSecondColorB = _root.HeroSecondColorSetB;
_root.poisoncolor = 0;
}
} else {
if (_root.poisonlevel > 200) {
_root.held = 90;
_root.camframe.hero.gotoAndStop(13);
if (_root.poisoncolor !== 3) {
if (_root.HeroMainColorSetG > _root.HeroSecondColorSetG) {
_root.HeroMainColorB = 192;
_root.HeroMainColorG = 192;
_root.HeroMainColorR = 192;
_root.HeroSecondColorB = 128;
_root.HeroSecondColorG = 128;
_root.HeroSecondColorR = 128;
} else {
_root.HeroMainColorB = 128;
_root.HeroMainColorG = 128;
_root.HeroMainColorR = 128;
_root.HeroSecondColorB = 192;
_root.HeroSecondColorG = 192;
_root.HeroSecondColorR = 192;
}
_root.poisoncolor = 3;
}
} else {
if (_root.poisonlevel > 100) {
if (_root.held == 90) {
_root.held = 0;
}
_root.health -= Math.ceil(_root.poisonlevel / 100) * 0.01;
if (_root.poisoncolor !== 2) {
if (_root.HeroMainColorSetG > _root.HeroSecondColorSetG) {
_root.HeroMainColorG = 153 + Math.ceil((_root.HeroMainColorSetG - 153) / 1.5);
_root.HeroSecondColorG = 102 + Math.ceil((_root.HeroSecondColorSetG - 102) / 1.5);
} else {
_root.HeroMainColorG = 102 + Math.ceil((_root.HeroMainColorSetG - 102) / 1.5);
_root.HeroSecondColorG = 153 + Math.ceil((_root.HeroSecondColorSetG - 153) / 1.5);
}
if (_root.HeroMainColorG > 255) {
_root.HeroMainColorG = 255;
}
if (_root.HeroSecondColorG > 255) {
_root.HeroSecondColorG = 255;
}
_root.HeroMainColorR = Math.ceil(_root.HeroMainColorSetR / 1.5);
_root.HeroSecondColorR = Math.ceil(_root.HeroSecondColorSetR / 1.5);
_root.HeroMainColorB = Math.ceil(_root.HeroMainColorSetB / 4);
_root.HeroSecondColorB = Math.ceil(_root.HeroSecondColorSetB / 4);
_root.poisoncolor = 2;
}
} else {
if (_root.poisoncolor !== 1) {
if (_root.HeroMainColorSetG > _root.HeroSecondColorSetG) {
_root.HeroMainColorG = 204 + Math.ceil((_root.HeroMainColorSetG - 204) / 1.125);
_root.HeroSecondColorG = 153 + Math.ceil((_root.HeroSecondColorSetG - 153) / 1.125);
} else {
_root.HeroMainColorG = 153 + Math.ceil((_root.HeroMainColorSetG - 153) / 1.125);
_root.HeroSecondColorG = 204 + Math.ceil((_root.HeroSecondColorSetG - 204) / 1.125);
}
if (_root.HeroMainColorG > 255) {
_root.HeroMainColorG = 255;
}
if (_root.HeroSecondColorG > 255) {
_root.HeroSecondColorG = 255;
}
_root.HeroMainColorR = Math.ceil(_root.HeroMainColorSetR / 1.125);
_root.HeroSecondColorR = Math.ceil(_root.HeroSecondColorSetR / 1.125);
_root.HeroMainColorB = Math.ceil(_root.HeroMainColorSetB / 2);
_root.HeroSecondColorB = Math.ceil(_root.HeroSecondColorSetB / 2);
_root.poisoncolor = 1;
}
}
}
}
}
if (_root.held < 6 or _root.held == 107 or _root.held == 117) {
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.spirit * 0.01;
if (_root.acc == 4) {
_root.health += _root.accessory[4][4];
}
}
}
if (_root.armor == 101) {
if (_root.armorh < _root.armorhmax) {
_root.armorh += 0.05;
}
}
}
}
if (_root.held < 100) {
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) {
if (runstatus > 2) {
runstatus = 2;
}
_root.held = 50;
_root.health -= 10;
spsound.attachSound('super');
spsound.start(0, 1);
this.gotoAndStop(31 + Math.floor((_root.wpn - 1) / 10) * 2);
}
}
}
if (_root.held <= 30) {
if (Key.isDown(68)) {
if (runstatus > 2) {
runstatus = 2;
}
this.gotoAndStop(41);
_root.held = 41;
}
}
if (_root.held <= 2) {
if (Key.isDown(65)) {
if (runstatus > 2) {
runstatus = 2;
}
_root.held = 9;
this.gotoAndStop(21 + Math.floor((_root.wpn - 1) / 10));
}
}
if (_root.held <= 2) {
if (_root.poisonlevel < 200) {
if (Key.isDown(40) or Key.isDown(87)) {
_root.held = 2;
if (runstatus > 2) {
runstatus = 2;
}
if (Key.isDown(37) or Key.isDown(81)) {
this.gotoAndStop(3);
if (this._xscale == 100) {
this._xscale = -100;
}
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 400, true)) {
_root.camframe._x -= 3 * runstatus;
}
} else {
if (Key.isDown(39) or Key.isDown(69)) {
this.gotoAndStop(3);
if (this._xscale == -100) {
this._xscale = 100;
}
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 400, true)) {
_root.camframe._x += 3 * runstatus;
}
} else {
this.gotoAndStop(2);
}
}
} else {
if (Key.isDown(37) or Key.isDown(81)) {
_root.held = 1;
if (runstatus > 2) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(4);
}
if (this._xscale == 100) {
this._xscale = -100;
}
if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) {
_root.camframe._x -= 5 * runstatus;
}
} else {
if (Key.isDown(39) or Key.isDown(69)) {
_root.held = 1;
if (runstatus > 2) {
this.gotoAndStop(5);
} else {
this.gotoAndStop(4);
}
if (this._xscale == -100) {
this._xscale = 100;
}
if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) {
_root.camframe._x += 5 * runstatus;
}
} else {
this.gotoAndStop(1);
if (_root.held <= 2) {
_root.held = 0;
}
}
}
if (_root.poisonlevel > 100) {
runstatus = 1;
} else {
if (_root.poisonlevel == 0) {
if (Key.isDown(38) or Key.isDown(82)) {
runstatus = 5;
}
}
if (runstatus == 1) {
runstatus = 2;
}
}
}
}
}
if (_root.doorrightgo > 0) {
if (_root.doorright.hitTest(_root.camframe._x + 100, 400, true)) {
_root.held = 905;
_root.gohere = _root.doorrightgo;
_root.gox = _root.doorrightgox;
_root.fadeout.gotoAndPlay(1);
}
}
if (_root.doorleftgo > 0) {
if (_root.doorleft.hitTest(_root.camframe._x - 100, 400, true)) {
_root.held = 905;
_root.gohere = _root.doorleftgo;
_root.gox = _root.doorleftgox;
_root.fadeout.gotoAndPlay(1);
}
}
if (_root.held < 3) {
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;
_root.camframe.box.gotoAndPlay(2);
_root.itemselect = 4;
this.gotoAndStop(1);
}
}
}
} else {
if (runstatus > 2) {
runstatus = 2;
}
if (Key.isDown(83)) {
if (_root.gbararrowcheck > -100) {
--_root.health;
_root.escherovar += (_root.body + _root.spirit) / 2;
}
} else {
if (_root.gbararrowcheck > 0) {
arrowread = (eval(_root['arrow' + _root.gbararrowcheck]))._rotation;
if (Key.isDown(37) or Key.isDown(81)) {
if (arrowread == 180) {
_root['arrow' + _root.gbararrowcheck].gotoAndPlay(2);
--_root.gbararrowcheck;
} else {
_root.grapple -= 2;
}
} else {
if (Key.isDown(38) or Key.isDown(82)) {
if (arrowread == -90) {
_root['arrow' + _root.gbararrowcheck].gotoAndPlay(2);
--_root.gbararrowcheck;
} else {
_root.grapple -= 2;
}
} else {
if (Key.isDown(39) or Key.isDown(69)) {
if (arrowread == 0) {
_root['arrow' + _root.gbararrowcheck].gotoAndPlay(2);
--_root.gbararrowcheck;
} else {
_root.grapple -= 2;
}
} else {
if (Key.isDown(40) or Key.isDown(87)) {
if (arrowread == 90) {
_root['arrow' + _root.gbararrowcheck].gotoAndPlay(2);
--_root.gbararrowcheck;
} else {
_root.grapple -= 2;
}
}
}
}
}
}
}
if (_root.held >= 1100) {
if (_root.grapple < 100) {
if (Key.isDown(37) or Key.isDown(81)) {
_root.grapple += 1;
}
}
if (_root.grapple > -100) {
if (Key.isDown(39) or Key.isDown(69)) {
_root.grapple -= 1;
}
}
if (Key.isDown(38) or Key.isDown(82)) {
_root.BGA[0][4] = 0;
_root.BGA[1][4] = 0;
}
}
if (_root.escherovar > 0) {
_root.escherovar -= 0.25;
_root.camframe.box.grapplebar.eschero._x = -400 + _root.escherovar * 4;
}
if (_root.escbgvar < 0) {
_root.escbgvar += 0.25;
_root.camframe.box.grapplebar.escbg._x = 400 + _root.escbgvar * 4;
}
if (_root.gbararrowcheck > -100 or _root.held >= 1100) {
_root.camframe.box.grapplebar.gbarmark._x = -4 * _root.grapple;
} else {
_root.camframe.box.grapplebar.gbarmark._alpha = 0;
}
_root.camframe.box.grapplebar.monsterhealthbar.monsterhealthbarblock._xscale = 100 * (monscale - _root.BGA[0][4]) / monscale;
if (_root.camframe.hero._currentframe > 99) {
_root.camframe.box.grapplebar.monsterhealthbar2.monsterhealthbarblock._xscale = 100 * (monscale2 - _root.BGA[1][4]) / monscale2;
}
if (_root.gbararrowcheck == 0) {
_root.gbararrowcheck = -99;
_root.grapple += (_root.spirit + 5) * 10 / _root.gspeed;
cleararrows = setInterval(function () {
var v2 = 0;
v2 = 1;
while (v2 < 10) {
_root['arrow' + v2].unloadMovie();
++v2;
}
clearInterval(cleararrows);
}, 500);
}
}
if (_root.held < 500) {
j = _root.proj.length - 1;
while (j >= 0) {
_root[_root.proj[j][1]]._x += _root.proj[j][3];
_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) {
loadMovie('', _root[_root.proj[j][1]]);
_root.proj.splice([j][0], 1);
}
--j;
}
j = _root.monatt.length - 1;
while (j >= 0) {
_root[_root.monatt[j][1]]._x += _root.monatt[j][3];
_root.monatt[j][4] -= 5;
--j;
}
j = _root.monatt.length - 1;
while (j >= 0) {
if (Math.abs(_root.monatt[j][4]) > 60) {
if (_root.held < 100) {
if (_root.camframe.hero.chesthitbox.hitTest(_root[_root.monatt[j][1]])) {
if (_root.camframe.hero._currentframe == 2) {
_root.held = 97;
hitsound.attachSound('blocksound');
} else {
if (Math.floor(_root.monatt[j][2] / 1000) == 1) {
_root.poisonlevel += 50;
_root.attachMovie('symbol_poison', 'symbol_poison', 1300 + Math.ceil(_root.monatt[0][2] / 1000));
_root.monatt[j][2] -= 1000;
_root.symbol_poison._x = _root.camframe._x;
_root.symbol_poison._y = 100;
_root.camframe.box.healthbar.gotoAndPlay(1);
}
if (_root.camframe.hero._currentframe == 5) {
runstatus = 2;
_root.held = 99;
hitsound.attachSound('hit2');
} else {
_root.held = 98;
hitsound.attachSound('hit1');
}
}
if (Math.floor(_root.monatt[j][2] / 200) !== 1 and Math.floor(_root.monatt[j][2] / 200) !== 6) {
_root.monatt[j][4] = 60;
}
_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);
hitsound.start(0, 1);
}
}
} else {
if (Math.abs(_root.monatt[j][4]) < 50) {
loadMovie('', _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.BGA[i][8] !== 9999) {
if (_root[bg].bghitbox.hitTest(_root[_root.proj[j][1]])) {
if (Math.floor(_root.wpn / 10) == 4) {
damage = (_root.spirit + _root.wpndmgmag - dr) / 10;
} else {
damage = _root.spirit + _root.wpndmgmag - dr;
_root.proj[j][4] = 25;
hitsound.attachSound('hit1');
hitsound.start(0, 1);
}
if (damage > 0) {
_root.BGA[i][4] -= damage;
if (_root.BGA[i][7] < 500) {
_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];
}
}
}
k = _root.monatt.length - 1;
while (k >= 0) {
if (Math.abs(_root.monatt[j][3]) >= 5) {
if (_root[_root.proj[j][1]].hitTest(_root[_root.monatt[j][1]])) {
_root.proj[j][4] = 25;
_root.monatt[j][4] = 25;
}
}
--k;
}
}
--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] -= damage;
if (_root.wpn <= 10) {
damage += 3;
}
if (_root.BGA[i][7] < 500) {
_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 + _root.wpndmgphy - dr;
if (damage > 0) {
_root.BGA[i][4] -= damage;
if (_root.wpn <= 10) {
damage += 3;
}
if (_root.BGA[i][7] < 500) {
_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] -= damage;
if (_root.BGA[i][7] < 500) {
_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] -= damage;
if (_root.BGA[i][7] < 500) {
_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('hit3');
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[0][0] < 11) {
this.gotoAndStop(51);
} else {
this.gotoAndStop(41 + _root.BGA[0][0]);
_root[bg]._y += 2000;
_root[bghb]._y += 2000;
_root.grapple = 25 + (_root.health - _root.BGA[0][4]) * 0.25;
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
monscale = 50 + _root.BGA[0][1] * 10;
if (_root.BGA[0][4] > monscale) {
monscale = _root.BGA[0][4];
}
_root.camframe.box.grapplebar.monsterhealthbar._xscale = monscale;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0;
}
}
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] -= damage;
if (_root.BGA[i][7] < 500) {
if (Math.floor((_root.wpn - 1) / 10) !== 2) {
_root.BGA[i][7] += damage;
} else {
_root.BGA[i][7] += 3;
}
} else {
if (Math.floor((_root.wpn - 1) / 10) !== 2) {
_root.BGA[i][7] = damage;
} else {
_root.BGA[i][7] = 3;
}
}
_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 60:
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.herospecialattack.wpnhitbox)) {
damage = _root.body + _root.spirit + _root.wpndmgphy - dr;
if (damage > 0) {
_root.BGA[i][4] -= damage;
if (_root.BGA[i][7] < 500) {
_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('hit3');
hitsound.start(0, 1);
}
}
}
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] -= damage;
if (_root.BGA[i][7] < 500) {
_root.BGA[i][7] += 15;
} else {
_root.BGA[i][7] = 15;
}
_root[bghb]._xscale = _root.BGA[i][4];
if (_root.BGA[i][0] < 6) {
_root[bghb]._yscale = _root.BGA[i][4];
}
hityes = true;
hitsound.attachSound('hit2');
hitsound.start(0, 1);
}
}
if (_root.BGA[i][7] == 0) {
if (_root.BGA[i][9] !== 2) {
if (Math.abs(_root[bg]._x - _root.camframe._x) > 150) {
_root[bg].gotoAndStop(6);
if (_root[bg]._x < _root.camframe._x) {
_root[bg]._xscale = 100;
if (_root.held < 100) {
_root[bg]._x += _root.BGA[i][3];
_root[bghb]._x += _root.BGA[i][3];
} else {
_root[bg]._x += _root.BGA[i][3] / 2;
_root[bghb]._x += _root.BGA[i][3] / 2;
}
} else {
_root[bg]._xscale = -100;
if (_root.held < 100) {
_root[bg]._x -= _root.BGA[i][3];
_root[bghb]._x -= _root.BGA[i][3];
} else {
_root[bg]._x -= _root.BGA[i][3] / 2;
_root[bghb]._x -= _root.BGA[i][3] / 2;
}
}
} else {
_root[bg].gotoAndStop(1);
}
}
if (_root.held > 101) {
if (_root.held < 106) {
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(cleararrows);
_root.gbararrowcheck = -100;
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 += 2000;
_root[bghb]._y += 2000;
_root.grapple -= 0.25 * _root.BGA[i][4];
if (_root.grapple < -49) {
_root.grapple = -49;
}
_root.camframe.box.gotoAndPlay(40);
monscale2 = 50 + _root.BGA[1][1] * 10;
if (_root.BGA[1][4] > monscale2) {
monscale2 = _root.BGA[1][4];
}
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
}
}
}
}
if (_root.held < 100) {
if (_root[bg].bghitbox.hitTest(_root.camframe.hero.chesthitbox)) {
if (_root.BGA[0][0] == 10) {
_root.camframe.hero._y = _root[bg]._y;
} else {
_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[0][0] < 10) {
if (runstatus > 2) {
_root.health -= _root.BGA[0][1];
}
this.gotoAndStop(51);
} else {
stopAllSounds();
this.gotoAndStop(41 + _root.BGA[0][0]);
_root[bg]._y += 2000;
_root[bghb]._y += 2000;
_root.grapple = -25 + (_root.health - _root.BGA[0][4] * runstatus / 2) * 0.25;
if (_root.grapple < -49) {
_root.grapple = -49;
}
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
monscale = 50 + _root.BGA[0][1] * 10;
if (_root.BGA[0][4] > monscale) {
monscale = _root.BGA[0][4];
}
_root.camframe.box.grapplebar.monsterhealthbar._xscale = monscale;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0;
}
}
}
}
if (_root.held < 100) {
if (Math.abs(_root[bg]._x - _root.camframe._x) > 175) {
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] >= 500) {
++_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]._xscale;
_root[bghb]._x -= _root[bg]._xscale;
}
_root.BGA[i][7] -= 10;
_root[bg].gotoAndStop(16);
} else {
if (_root.BGA[i][0] > 15) {
_root[bg]._x -= 0.05 * _root.BGA[i][7] * _root[bg]._xscale;
_root[bghb]._x -= 0.05 * _root.BGA[i][7] * _root[bg]._xscale;
}
_root.BGA[i][7] = 0;
_root[bg].gotoAndStop(16);
}
}
}
if (_root.held < 100) {
if (_root.BGA[i][4] <= 0) {
if (_root.BGA[i][1] > 0) {
_root[bg].gotoAndStop(21);
} else {
_root[bg].gotoAndStop(22);
}
loadMovie('', _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.held = 905;
_root['obj' + _root.activeobject].gotoAndPlay(51);
_root.box3.gotoAndPlay(12);
}
}
if (Key.isDown(83)) {
if (_root.box3.choicebox.choicebuttonS._currentframe < 6) {
_root.held = 905;
_root['obj' + _root.activeobject].gotoAndPlay(101);
_root.box3.gotoAndPlay(12);
}
}
if (Key.isDown(68)) {
if (_root.box3.choicebox.choicebuttonD._currentframe < 6) {
_root.held = 905;
_root['obj' + _root.activeobject].gotoAndPlay(151);
_root.box3.gotoAndPlay(12);
}
}
if (Key.isDown(70)) {
_root.held = 0;
_root.box3.gotoAndPlay(12);
}
}
}
}
}
movieClip 7315 {
frame 1 {
this._x = _root.camframe._x;
var facing = _root.camframe.hero._xscale;
}
frame 9 {
l = 0;
k = 0;
j = 0;
var i = 0;
i = 25;
while (i >= 0) {
_root['bg' + i].removeMovieClip();
_root['bghb' + i].removeMovieClip();
_root.BGA.splice([i][0], 1);
--i;
}
j = _root.monatt.length - 1;
while (j >= 0) {
loadMovie('', _root[_root.monatt[j][1]]);
_root.monatt.splice([j][0], 1);
--j;
}
l = _root.proj.length - 1;
while (l >= 0) {
loadMovie('', _root[_root.proj[l][1]]);
_root.proj.splice([l][0], 1);
--l;
}
_root.ss.removeMovieClip();
k = _root.maxitems;
while (k > 0) {
_root['obj' + k].removeMovieClip();
--k;
}
_root.doorleft.removeMovieClip();
_root.doorright.removeMovieClip();
_root.doorleftgox = 0;
_root.doorleftgo = 0;
_root.doorrightgox = 0;
_root.doorrightgo = 0;
_root.leftwall.removeMovieClip();
_root.rightwall.removeMovieClip();
}
frame 12 {
if (_root.gohere >= 18) {
_root.gotoAndStop(_root.gohere);
_root.camframe._x = _root.gox;
this._x = _root.camframe._x;
_root.camframe.hero._xscale = facing;
_root.held = 0;
} else {
_root.health = _root.maxhealth;
_root.cumchest = 5;
_root.cumface = 5;
_root.poisonlevel = 0;
_root.gotoAndStop('Comic-A3Start');
_parent._x = 0;
_parent._y = 0;
_parent._xscale = 100;
_parent._yscale = 100;
_root.camframe.removeMovieClip();
_root.fadeout.removeMovieClip();
this.removeMovieClip();
stop();
}
}
frame 21 {
if (_root.held < 100) {
_root.held = 0;
}
stop();
}
frame 25 {
this._x = _root.camframe._x;
}
frame 45 {
_root.held = 0;
stop();
}
frame 51 {
this._x = _root.camframe._x;
}
frame 81 {
l = 0;
k = 0;
j = 0;
var i = 0;
i = 25;
while (i >= 0) {
_root['bg' + i].removeMovieClip();
_root['bghb' + i].removeMovieClip();
_root.BGA.splice([i][0], 1);
--i;
}
j = _root.monatt.length - 1;
while (j >= 0) {
loadMovie('', _root[_root.monatt[j][1]]);
_root.monatt.splice([j][0], 1);
--j;
}
l = _root.proj.length - 1;
while (l >= 0) {
loadMovie('', _root[_root.proj[l][1]]);
_root.proj.splice([l][0], 1);
--l;
}
_root.ss.removeMovieClip();
k = _root.maxitems;
while (k > 0) {
_root['obj' + k].removeMovieClip();
--k;
}
_root.doorleft.removeMovieClip();
_root.doorright.removeMovieClip();
_root.leftwall.removeMovieClip();
_root.rightwall.removeMovieClip();
if (_root._currentframe == 26) {
_root.attachMovie('endingtalkact1', 'ETA1', 2001);
_root.ETA1._x = _root.camframe._x;
_root.ETA1._y = 0;
stop();
}
}
frame 100 {
stop();
}
}
movieClip 7324 {
frame 21 {
stop();
}
}
movieClip 7331 {
frame 21 {
stop();
}
}
movieClip 7338 {
frame 21 {
stop();
}
}
movieClip 7345 {
frame 21 {
stop();
}
}
movieClip 7346 {
}
movieClip 7347 {
frame 1 {
stop();
}
frame 11 {
stop();
}
}
frame 20 {
_root.maxitems = 3;
_root.doorrightgo = 26;
_root.doorrightgox = -2250;
_root.doorleftgo = 18;
_root.doorleftgox = 2500;
_root.camframe.dark.gotoAndStop(1);
removeMovieClip(_root.crawl1);
if (_root.quest_fireout == false) {
var i = 0;
var 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];
}
if (_root.quest_zombiecount == 10) {
addmobs(16, 2500, 2500, 0, 0);
}
}
movieClip 7348 {
}
movieClip 7350 {
}
movieClip 7352 {
}
movieClip 7354 {
}
movieClip 7356 {
}
movieClip 7358 {
}
movieClip 7360 {
}
movieClip 7364 {
frame 1 {
if (_root._currentframe > 39) {
gotoAndStop(21);
} else {
if (_root._currentframe > 29) {
gotoAndStop(11);
}
}
stop();
}
}
movieClip 7366 {
}
movieClip 7368 {
}
// unknown tag 88 length 62
movieClip 7375 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7378 {
}
movieClip 7380 {
}
movieClip 7382 {
}
frame 22 {
_root.maxitems = 4;
_root.camframe.dark.gotoAndStop(1);
}
movieClip 7384 {
}
movieClip 7386 {
}
movieClip 7388 {
}
movieClip 7390 {
}
movieClip 7392 {
}
movieClip 7394 {
}
movieClip 7396 {
}
movieClip 7398 {
}
movieClip 7400 {
}
movieClip 7402 {
}
movieClip 7404 {
}
movieClip 7406 {
}
movieClip 7408 {
}
movieClip 7410 {
}
movieClip 7413 {
}
movieClip 7415 {
}
movieClip 7416 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7417 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
gotoAndPlay(51);
}
frame 80 {
_root.gohere = 20;
_root.gox = 3000;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 7421 {
}
movieClip 7423 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
play();
}
frame 20 {
_root.gohere = 24;
_root.gox = -1000;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 7426 {
}
movieClip 7428 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
play();
}
frame 20 {
_root.gohere = 25;
_root.gox = -2200;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 24 {
_root.maxitems = 5;
_root.camframe.dark.gotoAndStop(1);
}
movieClip 7430 {
frame 2 {
stop();
}
}
movieClip 7433 {
}
movieClip 7435 {
}
movieClip 7436 {
}
movieClip 7438 {
}
movieClip 7440 {
}
movieClip 7442 {
}
movieClip 7444 {
}
movieClip 7446 {
}
movieClip 7448 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7451 {
}
movieClip 7453 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
frame 20 {
_root.gohere = 22;
if (_root._currentframe == 24) {
_root.gox = -1250;
} else {
_root.gox = 2100;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 7459 {
frame 1 {
stop();
}
frame 2 {
_root.choicetext = 'A sink. You can wash your face here.';
_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();
}
frame 65 {
if (_root.cumface < 5) {
_root.cumface = 5;
_root.camframe.hero.gotoAndPlay(8);
}
_root.held = 0;
gotoAndPlay('Use');
}
}
movieClip 7465 {
}
movieClip 7466 {
frame 1 {
stop();
}
frame 2 {
_root.choicetext = 'A shower. You can wash up, but it will take a little while.';
if (_root.BGA.length > 0) {
_root.choiceA = '(Cancel) You really need to secure this room first!';
} else {
if (_root._currentframe == 38 or _root.quest_shipclear == 0 and _root._currentframe == 39) {
_root.choiceA = 'Wash up';
} else {
_root.choiceA = '(Cancel) Not now. I don\'t think I\'m alone.';
}
}
_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();
}
frame 51 {
if (_root.BGA.length == 0 and _root._currentframe == 38 or _root.quest_shipclear == 0 and _root._currentframe == 39) {
_root.held = 982;
_root.xfinish = _root.obj4._x - 150;
_root.xstart = _root.xfinish;
_root.camframe.box.gotoAndPlay(61);
_root.camframe.hero.gotoAndStop(4);
} else {
_root.held = 0;
stop();
}
}
frame 53 {
if (Math.abs(_root.camframe._x - (_root.obj4._x - 150)) > 25) {
if (_root.camframe._x > _root.obj4._x - 150) {
if (_root.camframe.hero._xscale == 100) {
_root.camframe.hero._xscale = -100;
}
_root.camframe._x -= 4;
} else {
if (_root.camframe.hero._xscale == -100) {
_root.camframe.hero._xscale = 100;
}
_root.camframe._x += 4;
}
gotoAndPlay(52);
} else {
_root.camframe.hero._xscale = -100;
_root.camframe.hero.gotoAndStop(11);
}
}
frame 75 {
if (_root.cumface < 5) {
++_root.cumface;
}
if (_root.cumchest < 5) {
++_root.cumchest;
}
if (_root.cumface == 5 or _root.quest_zombiecount <= 0) {
if (_root.held > 910) {
_root.held = 910;
}
gotoAndPlay('washloop');
}
}
frame 76 {
_root.camzoom = 0.75;
_parent._y = 100;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 77 {
_root.camzoom += 0.025;
_parent._y -= 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 78 {
_root.camzoom += 0.025;
_parent._y -= 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 79 {
_root.camzoom += 0.025;
_parent._y -= 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 80 {
_root.camzoom += 0.025;
_parent._y -= 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 81 {
_root.camzoom += 0.025;
_parent._y -= 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 82 {
_root.camzoom += 0.025;
_parent._y -= 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 83 {
_root.camzoom += 0.025;
_parent._y -= 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 84 {
_root.camzoom += 0.025;
_parent._y -= 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 85 {
_root.camzoom += 0.025;
_parent._y -= 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 86 {
_root.camzoom = 1;
_parent._y = 0;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 91 {
_root.addmobs(16, _root.camframe._x + 450, _root.camframe._x + 450, 0, 2);
_root.bg0._xscale = -100;
}
frame 96 {
if (_root.cumface < 5) {
++_root.cumface;
}
if (_root.cumchest < 5) {
++_root.cumchest;
}
}
frame 116 {
if (_root.cumface < 5) {
++_root.cumface;
}
if (_root.cumchest < 5) {
++_root.cumchest;
}
}
frame 136 {
if (_root.cumface < 5) {
++_root.cumface;
}
if (_root.cumchest < 5) {
++_root.cumchest;
}
}
frame 156 {
_root.cumchest = 5;
_root.cumface = 5;
}
frame 171 {
_root.camframe.hero._xscale = 100;
_root.camzoom -= 0.025;
_parent._y += 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 172 {
_root.camzoom -= 0.025;
_parent._y += 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 173 {
_root.camzoom -= 0.025;
_parent._y += 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 174 {
_root.camzoom -= 0.025;
_parent._y += 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 175 {
_root.camzoom -= 0.025;
_parent._y += 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 176 {
_root.camzoom -= 0.025;
_parent._y += 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 177 {
_root.camzoom -= 0.025;
_parent._y += 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 178 {
_root.camzoom -= 0.025;
_parent._y += 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 179 {
_root.camzoom -= 0.025;
_parent._y += 10;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
}
frame 180 {
_root.camzoom = 0.75;
_parent._y = 100;
_parent._xscale = 100 * _root.camzoom;
_parent._yscale = 100 * _root.camzoom;
_root.BGA[0][9] = _root.BGtype[16][5];
_root.bghb10._y = 550;
stop();
}
}
movieClip 7471 {
}
movieClip 7475 {
}
movieClip 7477 {
frame 1 {
stop();
}
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();
}
frame 55 {
_root.held = 0;
stop();
}
}
frame 25 {
_root.maxitems = 5;
}
movieClip 7478 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7484 {
}
movieClip 7489 {
}
movieClip 7490 {
frame 1 {
stop();
}
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();
}
frame 55 {
_root.held = 0;
stop();
}
}
frame 26 {
_root.maxitems = 0;
_root.doorleftgo = 20;
_root.doorleftgox = 8400;
if (_root.quest_shipclear == 10) {
addboss = setInterval(function () {
if (_root._currentframe !== 26) {
clearInterval(addboss);
} else {
if (_root.camframe._x > 1700) {
addmobs(18, 500, 500, 0, 2);
_root.BGA[0][4] = 220 * _root.gamediff;
_root.bghb0._xscale = _root.BGA[0][4];
_root.leftwall._y = 0;
_root.held = 985;
_root.xstart = _root.camframe._x;
_root.xfinish = 700;
_root.camframe.box.gotoAndPlay(61);
_root.camframe.hero.gotoAndStop(1);
clearInterval(addboss);
}
}
}, 1000);
}
}
movieClip 7492 {
frame 1 {
if (_root.quest_shipclear == 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 7494 {
}
movieClip 7496 {
frame 1 {
if (_root.quest_shipclear == 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 7497 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 30 {
_root.maxitems = 4;
if (_root.quest_shippower < 7 and _root.quest_zombiecount > 4) {
addmobs(6, 2288, 2288, 0, 0);
}
}
movieClip 7500 {
}
movieClip 7501 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7503 {
}
movieClip 7510 {
frame 1 {
if (_root._currentframe > 39) {
gotoAndStop(21);
} else {
if (_root._currentframe > 29) {
gotoAndStop(11);
}
}
stop();
}
}
movieClip 7515 {
frame 1 {
if (_root._currentframe > 39) {
gotoAndStop(21);
} else {
if (_root._currentframe > 29) {
gotoAndStop(11);
}
}
stop();
}
}
movieClip 7517 {
frame 1 {
stop();
}
frame 2 {
if (_root.quest_shippower >= 7) {
_root.box3.gotoAndStop(1);
_root.held = 905;
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();
}
}
frame 81 {
_root.gohere = 32;
_root.gox = 0;
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 131 {
_root.gohere = 32;
_root.gox = 0;
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 155 {
_root.held = 0;
}
}
movieClip 7519 {
frame 1 {
stop();
}
frame 2 {
if (_root.quest_shippower >= 7) {
_root.box3.gotoAndStop(1);
_root.held = 905;
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 >= 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();
}
}
frame 51 {
if (_root.quest_shippower < 7) {
gotoAndPlay(91);
}
}
frame 81 {
_root.gohere = 34;
_root.gox = -2000;
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 131 {
_root.gohere = 34;
_root.gox = -2000;
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 155 {
_root.held = 0;
}
}
frame 32 {
_root.maxitems = 1;
_root.doorrightgo = 30;
_root.doorrightgox = -1500;
if (_root.quest_shipclear == 0) {
loadMovie('', _root.obj1);
}
}
movieClip 7522 {
}
movieClip 7523 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7525 {
}
movieClip 7527 {
}
movieClip 7529 {
}
movieClip 7536 {
frame 1 {
if (_root.quest_getmedkit == 3) {
gotoAndStop(6);
}
stop();
}
}
movieClip 7538 {
frame 1 {
_root.camframe.hero.gotoAndStop(1);
}
}
movieClip 7562 {
frame 1 {
var havemedkit = false;
if (_root.acc == 4) {
havemedkit = true;
}
if (_root.backpack1 == 4 and _root.backpack1h == 601) {
havemedkit = true;
}
if (_root.backpack2 == 4 and _root.backpack2h == 601) {
havemedkit = true;
}
if (_root.backpack3 == 4 and _root.backpack3h == 601) {
havemedkit = true;
}
if (_root.backpack4 == 4 and _root.backpack4h == 601) {
havemedkit = true;
}
if (_root.quest_getmedkit == 0) {
_root.held = 910;
_root.xstart = 0;
_root.xfinish = -1000;
_root.camframe.box.gotoAndPlay(61);
this.gotoAndStop(201);
_root.quest_getmedkit = 1;
} else {
stop();
}
}
frame 2 {
if (_root.quest_getmedkit == 3) {
gotoAndStop(21);
}
_root.choicetext = 'The captain appears to be unconcious & badly hurt. The first mate is hoping you have a medkit, or can find one.';
if (havemedkit == true) {
_root.choiceA = '(say): Yes, I have one right here.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_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 >= 5) {
_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();
}
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();
}
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();
}
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();
}
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();
}
frame 51 {
if (havemedkit == true) {
gotoAndPlay(61);
}
if (_root.quest_getmedkit == 3) {
gotoAndPlay(71);
}
}
frame 55 {
_root.held = 0;
stop();
}
frame 65 {
_root.quest_getmedkit = 3;
_root.quest_armdoor = 2;
this.captain.eye.gotoAndStop(6);
_root.held = 0;
stop();
}
frame 71 {
if (_root.quest_zombiecount == 0) {
gotoAndPlay(76);
}
var helpcount = 'Thank you for your help. According to my calculations, there should be ' + _root.quest_zombiecount + ' crew members left who need your abilities.';
}
frame 75 {
_root.held = 0;
stop();
}
frame 80 {
_root.quest_zombiecount = -1;
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 3;
_root.itemnewh = 601;
stop();
}
frame 101 {
if (_root.quest_getmedkit == 3) {
gotoAndPlay(111);
}
}
frame 105 {
_root.held = 0;
stop();
}
frame 115 {
_root.held = 0;
stop();
}
frame 155 {
_root.held = 0;
stop();
}
frame 201 {
}
}
frame 34 {
_root.maxitems = 7;
_root.doorleftgo = 30;
_root.doorleftgox = 2000;
_root.camframe.dark.gotoAndStop(1);
i = 0;
var b = 0;
i = 0;
while (i < Math.ceil(_root.quest_zombiecount / 2)) {
b = Math.floor(Math.random() * 2) + 16;
if (b > 17) {
b = 17;
}
addmobs(b, -1250, 3250, 300, 0);
++i;
}
}
movieClip 7563 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7567 {
}
movieClip 7569 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
frame 30 {
if (_root.camframe._x > 1000) {
_root.gohere = 37;
_root.gox = _root.camframe._x - 4000;
_root.xstart = _root.gox;
} else {
_root.gohere = 36;
_root.gox = _root.camframe._x;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 7570 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
frame 30 {
_root.gohere = 38;
_root.gox = -1000;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 7571 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
frame 30 {
_root.gohere = 39;
_root.gox = -1000;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 7581 {
frame 1 {
stop();
}
frame 2 {
if (_root.quest_getmop == 1 and _root.gamestart !== 'Act1') {
gotoAndStop(21);
}
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 >= 6 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();
}
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();
}
frame 55 {
_root.held = 0;
stop();
}
frame 156 {
_root.quest_getmop = 1;
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 41;
_root.itemnewh = 301;
stop();
}
}
frame 36 {
_root.maxitems = 4;
if (_root.quest_shipclear !== 0) {
i = 0;
var b = 0;
i = 0;
while (i < Math.ceil(_root.quest_zombiecount / 3)) {
b = Math.floor(Math.random() * 2) + 16;
if (b > 17) {
b = 17;
}
addmobs(b, -1500, 200, 300, 0);
++i;
}
}
}
movieClip 7582 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7583 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
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();
}
}
movieClip 7584 {
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();
}
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();
}
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();
}
frame 56 {
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 5;
_root.itemnewh = 601;
stop();
}
}
movieClip 7587 {
}
movieClip 7589 {
}
movieClip 7592 {
frame 1 {
if (_root.quest_shipclear !== 0) {
loadMovie('', this);
}
stop();
}
frame 2 {
var funtime = 0;
_root.choicetext = 'These injured crewmen appear to be sleeping.';
_root.choiceA = '(Say) Hey boys, how about some fun?';
_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();
}
frame 11 {
_root.choicetext = 'Who do you want to have fun with?';
_root.choiceA = '(Say) Sure, both of you. C\'mon.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '(Say) Just you blue. For now. ;)';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '(Say) Just you red. For now. ;)';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 56 {
if (funtime == 0) {
funtime = 1;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(11);
} else {
if (_root.armor > 1) {
NewItemNumber = _root.armor;
NewItemHealthNumber = _root.armorh;
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
NewItemNumber += Math.ceil(NewItemHealthNumber / 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(NewItemNumber);
}
_root.camframe.hero.gotoAndStop(101);
_root.grapple = 75;
_root.held = 1100;
_root.BGA.push([16, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]);
_root.BGA.push([17, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]);
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
monscale = 100;
monscale2 = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
this._y += 2000;
}
stop();
stop();
}
frame 105 {
if (_root.armor > 1) {
NewItemNumber = _root.armor;
NewItemHealthNumber = _root.armorh;
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
NewItemNumber += Math.ceil(NewItemHealthNumber / 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(NewItemNumber);
}
_root.camframe.hero.gotoAndStop(57);
_root.grapple = 75;
_root.held = 1100;
_root.BGA.push([16, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]);
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
monscale = 50 + _root.BGA[0][1] * 10;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0;
this._y += 2000;
stop();
}
frame 155 {
if (_root.armor > 1) {
NewItemNumber = _root.armor;
NewItemHealthNumber = _root.armorh;
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
NewItemNumber += Math.ceil(NewItemHealthNumber / 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(NewItemNumber);
}
_root.camframe.hero.gotoAndStop(58);
_root.grapple = 75;
_root.held = 1100;
_root.BGA.push([16, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]);
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
monscale = 50 + _root.BGA[0][1] * 10;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0;
this._y += 2000;
stop();
}
}
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;
var b = 0;
i = 0;
while (i < Math.ceil(_root.quest_zombiecount / 4)) {
b = Math.floor(Math.random() * 2) + 16;
if (b > 17) {
b = 17;
}
addmobs(b, -1500, 1200, 300, 0);
++i;
}
}
movieClip 7593 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 38 {
_root.maxitems = 5;
_root.camframe.hero._xscale = -100;
i = 0;
b = 0;
var a = 0;
i = 0;
while (i < Math.ceil(_root.quest_zombiecount / 3)) {
b = Math.floor(Math.random() * 2) + 16;
if (b > 17) {
b = 17;
}
addmobs(b, -2000, -1000, 300, 0);
++i;
}
}
movieClip 7594 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7597 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
frame 20 {
_root.gohere = 34;
if (_root._currentframe == 38) {
_root.gox = 1000;
} else {
_root.gox = 1600;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 7601 {
frame 1 {
stop();
}
frame 2 {
if (_root.quest_shipclear !== 0 and _root._currentframe == 39) {
_root.choicetext = 'A toilet stall. The door is locked.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
} else {
_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();
}
frame 55 {
_root.held = 0;
stop();
}
}
frame 39 {
_root.maxitems = 6;
_root.camframe.hero._xscale = -100;
_root.camframe.dark.gotoAndStop(1);
if (_root.quest_shipclear == 0) {
loadMovie('', _root.obj6);
}
}
movieClip 7603 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7625 {
frame 1 {
stop();
}
frame 2 {
_root.choicetext = 'This crew memeber appears nervous, but otherwise unharmed.';
_root.choiceA = '(Say) What happened? All the other crew up here have lost their minds.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '(Say) Don\'t worry, I\'m here to deal with the \'problem\'.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '(Say) Are you alright? Are there any other survivors?';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 56 {
_root.held = 0;
}
frame 80 {
stop();
}
frame 106 {
_root.held = 0;
if (Math.floor(_root.player / 10) == 1) {
stop();
}
}
frame 131 {
stop();
}
frame 156 {
_root.held = 0;
}
frame 181 {
stop();
}
}
frame 40 {
_root.maxitems = 3;
_root.doorrightgo = 44;
_root.doorrightgox = -1250;
_root.doorleftgo = 30;
_root.doorleftgox = 2000;
removeMovieClip(_root.crate1);
removeMovieClip(_root.crate2);
if (_root.quest_pirateboss > 1) {
var i = 0;
i = 0;
while (i < (_root.quest_pirateboss - 1) / 4) {
addmobs(19, -1000, 1500, 750, 2);
++i;
}
}
}
movieClip 7627 {
}
movieClip 7628 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7632 {
}
movieClip 7634 {
}
movieClip 7636 {
frame 1 {
stop();
}
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();
}
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();
}
frame 51 {
_root.quest_armdoor = 3;
}
frame 81 {
_root.gohere = 42;
_root.gox = 2250;
_root.fadeout.gotoAndPlay(1);
}
}
frame 42 {
_root.maxitems = 4;
_root.doorrightgo = 40;
_root.doorrightgox = -1750;
}
movieClip 7637 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7644 {
frame 1 {
if (_root.quest_getaxe == 1 and _root.gamestart !== 'Act1') {
gotoAndStop(60);
}
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();
}
frame 2 {
if (_root.player % 10 == 1) {
gotoAndStop(11);
}
if (_root.quest_getaxe == 1 and _root.gamestart !== 'Act1') {
gotoAndStop(21);
}
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();
}
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();
}
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();
}
frame 56 {
_root.quest_getaxe = 1;
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 31;
_root.itemnewh = 301;
stop();
}
}
movieClip 7648 {
frame 1 {
stop();
}
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();
}
frame 56 {
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 41;
_root.itemnewh = 150;
stop();
}
}
movieClip 7652 {
frame 1 {
stop();
}
frame 2 {
_root.choicetext = 'An Empty Cabinet.';
_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();
}
}
frame 44 {
_root.maxitems = 1;
_root.doorleftgo = 40;
_root.doorleftgox = 1750;
_root.doorrightgo = 46;
_root.doorrightgox = -2000;
removeMovieClip(_root.crawl1);
if (_root.quest_pirateboss > 0) {
addmobs(20, 250, 250, 0, 2);
_root.BGA[0][4] = 220 * _root.gamediff;
_root.bghb0._xscale = _root.BGA[0][4];
_root.BGA[0][8] = 2;
} 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();
}
}
movieClip 7653 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7657 {
frame 1 {
stop();
}
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();
}
frame 56 {
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 7;
_root.itemnewh = 601;
stop();
}
frame 106 {
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 6;
_root.itemnewh = 601;
stop();
}
frame 155 {
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 8;
_root.itemnewh = 601;
stop();
}
}
movieClip 7661 {
frame 1 {
stop();
}
}
frame 46 {
_root.maxitems = 4;
_root.doorleftgo = 44;
_root.doorleftgox = 2500;
removeMovieClip(_root.crate1);
removeMovieClip(_root.crate2);
_root.attachMovie('heightbox', 'topbox1211', 1211);
_root.crawl1.swapDepths(_root.topbox1211);
_root.topbox1211.unloadMovie();
var a = 0;
var b = 11;
var i = 0;
if (_root.quest_shippower % 2 < 1) {
a = -300;
i = 0;
_root.BGA.push([b, _root.BGtype[b][1] * _root.gamediff, _root.BGtype[b][2] * _root.gamediff, _root.BGtype[b][3] * _root.gamediff, 50 + _root.BGtype[b][1] * 10 * _root.gamediff, 'bg' + i, 'bghb' + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie(_root.BGtype[b][0], 'bg' + i, i);
_root['bg' + i]._x = a;
_root['bg' + i]._y = 575;
_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 = 1150;
i = 1;
_root.BGA.push([b, _root.BGtype[b][1] * _root.gamediff, _root.BGtype[b][2] * _root.gamediff, _root.BGtype[b][3] * _root.gamediff, 50 + _root.BGtype[b][1] * 10 * _root.gamediff, 'bg' + i, 'bghb' + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie(_root.BGtype[b][0], 'bg' + i, i);
_root['bg' + i]._x = a;
_root['bg' + i]._y = 575;
_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 = 2500;
i = 2;
_root.BGA.push([b, _root.BGtype[b][1] * _root.gamediff, _root.BGtype[b][2] * _root.gamediff, _root.BGtype[b][3] * _root.gamediff, 50 + _root.BGtype[b][1] * 10 * _root.gamediff, 'bg' + i, 'bghb' + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]);
_root.attachMovie(_root.BGtype[b][0], 'bg' + i, i);
_root['bg' + i]._x = a;
_root['bg' + i]._y = 575;
_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];
}
}
movieClip 7664 {
}
movieClip 7666 {
}
movieClip 7668 {
}
movieClip 7670 {
}
movieClip 7671 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7680 {
}
movieClip 7681 {
frame 1 {
if (_root.quest_shipclear !== 0) {
loadMovie('', this);
}
stop();
}
frame 2 {
_root.choicetext = 'Looks like there\'s still one small leak left in these pipes. You think you see a small tentacle swiming around in the puddle.';
_root.choiceA = '(Sex) A small tentacle could be a lot of fun... ';
_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();
}
frame 56 {
if (_root.armor > 1) {
NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25);
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
++_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(NewItemNumber);
}
_root.grapple = 25;
_root.held = 1100;
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
_root.camframe.hero.gotoAndStop(52);
_root.BGA.push([11, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0;
monscale = 50 + _root.BGA[0][1] * 10;
stop();
}
}
movieClip 7698 {
}
movieClip 7699 {
frame 1 {
if (_root.quest_shippower % 2 == 1) {
gotoAndStop(11);
}
stop();
}
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();
}
frame 11 {
stop();
}
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 += 1;
_root.camframe.dark.gotoAndStop(1);
_root.bg0.removeMovieClip();
_root.bghb0.removeMovieClip();
_root.held = 0;
if (_root.quest_shippower == 7 or _root.quest_shippower == 11) {
_root.crawl1.gotoAndPlay(5);
_root.leftwall.gotoAndStop(5);
_root.rightwall.gotoAndStop(5);
}
stop();
}
}
movieClip 7700 {
frame 1 {
if (_root.quest_shippower % 4 >= 2) {
gotoAndStop(11);
}
stop();
}
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();
}
frame 11 {
stop();
}
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 += 2;
_root.camframe.dark.gotoAndStop(1);
_root.bg1.removeMovieClip();
_root.bghb1.removeMovieClip();
_root.held = 0;
if (_root.quest_shippower == 7 or _root.quest_shippower == 11) {
_root.crawl1.gotoAndPlay(5);
_root.leftwall.gotoAndStop(5);
_root.rightwall.gotoAndStop(5);
}
stop();
}
}
movieClip 7701 {
frame 1 {
if (_root.quest_shippower % 8 > 3) {
gotoAndStop(11);
}
if (_root.quest_shippower % 16 > 7) {
gotoAndStop(21);
}
stop();
}
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();
}
frame 11 {
stop();
}
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 += 4;
_root.camframe.dark.gotoAndStop(1);
_root.bg2.removeMovieClip();
_root.bghb2.removeMovieClip();
_root.held = 0;
if (_root.quest_shippower == 7) {
_root.crawl1.gotoAndPlay(5);
_root.leftwall.gotoAndStop(5);
_root.rightwall.gotoAndStop(5);
}
stop();
}
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 += 8;
_root.camframe.dark.gotoAndStop(1);
_root.bg2.removeMovieClip();
_root.bghb2.removeMovieClip();
_root.held = 0;
if (_root.quest_shippower == 11) {
_root.crawl1.gotoAndPlay(5);
_root.leftwall.gotoAndStop(5);
_root.rightwall.gotoAndStop(5);
}
stop();
}
}
movieClip 7702 {
frame 1 {
if (_root.quest_shippower == 7 or _root.quest_shippower == 11) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
movieClip 7704 {
frame 1 {
if (_root.quest_shippower == 7 or _root.quest_shippower == 11) {
gotoAndStop(50);
}
}
frame 2 {
stop();
}
}
movieClip 7705 {
frame 1 {
if (_root.quest_shippower == 7 or _root.quest_shippower == 11) {
gotoAndStop(5);
}
}
frame 2 {
stop();
}
}
frame 48 {
_root.maxitems = 4;
if (_root.brigopen >= 2) {
loadMovie('', _root.obj4);
}
}
movieClip 7707 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7713 {
frame 1 {
if (_root.quest_shipclear !== 0) {
loadMovie('', this);
}
stop();
}
frame 2 {
if (_root.brigopen % 2 == 0) {
gotoAndStop(31);
}
var funtime = 0;
_root.choicetext = 'You are talking to pirate captain Luka & her defeated crew.';
_root.choiceA = '(Say) Arrrrrrrr?';
_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();
}
frame 11 {
_root.choicetext = 'Who do you want to have fun with?';
_root.choiceA = '(Say) I just be needing ye captain.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '(Say) Captain. And bring one of your strong friends wit ye.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '(Say) I just be needing the boys fer now.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 21 {
_root.choicetext = 'Who do you want to have fun with?';
_root.choiceA = '(Say) Just one of ye mates. For now.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '(Say) Two of ye boys, that sounds mighty fine.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '(Say) I changed me mind. Captain, ye need ta be joining us.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 31 {
_root.choicetext = 'You see the pirate captain & her defeated crew locked up in the brig.';
_root.choiceA = '(Say) Arrrrrrrr?';
_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();
}
frame 51 {
if (_root.brigopen % 2 == 0) {
gotoAndPlay(61);
}
}
frame 55 {
if (funtime == 0) {
funtime = 1;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(11);
} else {
if (_root.armor > 1) {
NewItemNumber = _root.armor;
NewItemHealthNumber = _root.armorh;
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
NewItemNumber += Math.ceil(NewItemHealthNumber / 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(NewItemNumber);
}
if (funtime == 1) {
_root.camframe.hero.gotoAndStop(61);
_root.BGA.push([20, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]);
} else {
_root.camframe.hero.gotoAndStop(60);
_root.BGA.push([19, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]);
}
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
monscale = 50 + _root.BGA[0][1] * 10;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0;
_root.grapple = 75;
_root.held = 1100;
this._y += 2000;
_root.brigopen += 2;
}
stop();
stop();
}
frame 65 {
_root.held = 0;
stop();
}
frame 105 {
if (_root.armor > 1) {
NewItemNumber = _root.armor;
NewItemHealthNumber = _root.armorh;
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
NewItemNumber += Math.ceil(NewItemHealthNumber / 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(NewItemNumber);
}
if (funtime == 1) {
_root.camframe.hero.gotoAndStop(107);
_root.BGA.push([20, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]);
_root.BGA.push([19, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]);
} else {
_root.camframe.hero.gotoAndStop(106);
_root.BGA.push([19, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]);
_root.BGA.push([19, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]);
}
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
monscale = 100;
monscale2 = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
_root.grapple = 75;
_root.held = 1100;
this._y += 2000;
_root.brigopen += 2;
stop();
}
frame 155 {
if (funtime == 1) {
funtime = 2;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(21);
} else {
funtime = 1;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(11);
}
}
}
movieClip 7715 {
frame 1 {
stop();
}
frame 2 {
_root.choicetext = 'This button appears to open & close the door to the brig.';
if (_root.brigopen % 2 == 0) {
_root.choiceA = 'open brig door';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = 'open brig door';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
}
if (_root.brigopen % 2 == 1) {
_root.choiceS = 'close brig door';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = 'close brig door';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
}
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 56 {
_root.brigopen += 1;
_root.brigdoor.gotoAndPlay(1);
_root.rightwall.gotoAndPlay(1);
_root.held = 0;
stop();
}
frame 106 {
_root.brigopen += 1;
if (_root.bridgeopen >= 4) {
loadMovie('', _root.obj4);
_root.bridgeopen = 2;
}
_root.brigdoor.gotoAndPlay(1);
_root.rightwall.gotoAndPlay(1);
_root.held = 0;
stop();
}
}
movieClip 7719 {
}
movieClip 7720 {
frame 1 {
if (_root.brigopen % 2 == 1) {
gotoAndStop(51);
}
}
frame 41 {
gotoAndPlay(2);
}
}
movieClip 7721 {
frame 1 {
if (_root.brigopen % 2 == 1) {
gotoAndStop(5);
}
}
frame 3 {
stop();
}
}
frame 50 {
_root.maxitems = 0;
_root.doorleftgo = 18;
_root.doorleftgox = 3750;
_root.doorrightgo = 51;
_root.doorrightgox = -1750;
_root.camframe.dark.gotoAndStop(1);
removeMovieClip(_root.crawl1);
if (_root.gamestart == 'Act2Start') {
_root.gamestart = 'Act2';
_root.camframe._x = -1500;
_root.R13Loc = 66 + Math.floor(Math.random() * 3);
if (_root.R13Loc > 68) {
_root.R13Loc = 68;
}
_root.R14Loc = 62 + Math.floor(Math.random() * 3);
if (_root.R14Loc > 64) {
_root.R14Loc = 64;
}
_root.R15Loc = 82 + Math.floor(Math.random() * 3);
if (_root.R15Loc > 84) {
_root.R15Loc = 84;
}
}
}
movieClip 7725 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 51 {
_root.maxitems = 1;
_root.doorleftgo = 50;
_root.doorleftgox = 2500;
_root.doorrightgo = 52;
_root.doorrightgox = -1750;
removeMovieClip(_root.ShrubLineFront);
}
movieClip 7729 {
}
movieClip 7731 {
}
movieClip 7733 {
}
movieClip 7734 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7740 {
frame 1 {
if (_root.quest_getbokken == 0) {
gotoAndPlay(6);
}
}
frame 2 {
stop();
}
frame 50 {
gotoAndPlay('loop');
}
}
movieClip 7761 {
frame 1 {
if (_root.act2clear >= 10) {
loadMovie('', this);
}
stop();
}
frame 2 {
if (_root.quest_getbokken == 0) {
gotoAndStop(11);
}
_root.choicetext = 'From the description, you would guess those orbs are affecting these villagers. Maybe there\'s something you can do to help.';
if (Math.floor(_root.player / 10) == 0 and _root.quest_getbokken <= 1) {
_root.choiceA = '(Say) Peace Festival? What\'s that?';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = '(Say) Stay here & warn anyone else. I\'ll fix this.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
}
if (_root.quest_getbokken < 10) {
_root.choiceS = '(Say) Do you have anything that can help?';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
}
_root.choiceD = '(Say/Spirit) Why weren\'t you affected? Is anyone else still ok too?';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'There\'s a frantic young bunnykin here. It sounds like something bad has happened up ahead.';
_root.choiceA = '(Say) Easy now. What exactly is going on?';
_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();
}
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();
}
frame 51 {
if (_root.quest_getbokken == 0) {
_root.quest_getbokken = 1;
gotoAndPlay(91);
} else {
if (Math.floor(_root.player / 10) == 0 and _root.quest_getbokken <= 1) {
_root.quest_getbokken = 2;
gotoAndPlay(61);
}
}
}
frame 56 {
_root.held = 0;
stop();
}
frame 85 {
_root.held = 0;
stop();
}
frame 95 {
_root.held = 0;
stop();
}
frame 101 {
if (_root.wpn > 1) {
gotoAndPlay(111);
}
}
frame 105 {
_root.quest_getbokken = 10;
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 22;
_root.itemnewh = 301;
stop();
}
frame 116 {
_root.held = 0;
stop();
}
frame 155 {
if (Math.floor(_root.player / 10) !== 1) {
_root.held = 0;
stop();
}
}
frame 180 {
_root.held = 0;
stop();
}
}
frame 52 {
_root.maxitems = 0;
_root.doorleftgo = 51;
_root.doorleftgox = 2500;
_root.doorrightgo = 54;
_root.doorrightgox = -1750;
_root.attachMovie('heightbox', 'topbox1201', 1201);
_root.ShrubLineFront.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
if (Math.random() < 0.7) {
b = Math.floor(Math.random() * 2) + 28;
if (b == 30) {
b = 29;
}
} else {
if (Math.random() < 0.5) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
} else {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
}
}
addmobs(b, -750, 1250, 300, 0);
++i;
}
}
}
}
movieClip 7762 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7763 {
}
frame 54 {
_root.camframe.dark.gotoAndStop(2);
removeMovieClip(_root.ShrubLineFront);
removeMovieClip(_root.crawl1);
_root.maxitems = 2;
_root.doorleftgo = 52;
_root.doorleftgox = 2500;
_root.doorrightgo = 58;
_root.doorrightgox = -1750;
_root.firechecked[2] = 2;
}
movieClip 7764 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7777 {
frame 1 {
if (_root.firechecked[_root._currentframe - 50 + 1] < 2) {
loadMovie('', smoke);
}
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
frame 30 {
_root.gohere = _root._currentframe + 1;
_root.gox = -1800;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 55 {
_root.camframe.hero._xscale = 100;
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.camframe.dark.gotoAndStop(3);
}
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = -1100;
}
movieClip 7780 {
}
movieClip 7782 {
}
movieClip 7784 {
}
movieClip 7786 {
}
movieClip 7788 {
}
movieClip 7791 {
}
movieClip 7793 {
}
movieClip 7795 {
}
movieClip 7797 {
}
movieClip 7799 {
}
movieClip 7802 {
}
movieClip 7804 {
}
movieClip 7806 {
}
movieClip 7807 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7811 {
frame 1 {
gotoAndStop(_root.firechecked[_root._currentframe - 50] + 2);
}
}
movieClip 7814 {
frame 1 {
stop();
}
}
movieClip 7816 {
frame 1 {
stop();
}
frame 2 {
switch (_root.firechecked[_root._currentframe - 50]) {
case 0:
_root.choicetext = 'A stone fireplace. There is wood sitting ready, but the ashes are cold.';
_root.choiceA = 'Start a Fire.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
break;
case 1:
_root.choicetext = 'A stone fireplace. There is a small fire still smoldering.';
_root.choiceA = 'Stoke fire a bit.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
break;
default:
_root.choicetext = 'A stone fireplace. There is a cozy fire burning.';
_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();
}
frame 55 {
_root.firechecked[_root._currentframe - 50] = 2;
fire.gotoAndPlay(1);
_root.camframe.dark.gotoAndStop(2);
_root.held = 0;
stop();
}
}
frame 57 {
_root.camframe.hero._xscale = 100;
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.camframe.dark.gotoAndStop(3);
}
_root.maxitems = 6;
_root.doorleftgo = _root._currentframe - 3;
_root.doorleftgox = 500;
_root.attachMovie('heightbox', 'topbox1201', 1201);
_root.crawl1.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
if (_root.quest_savemage < 5 or _root.quest_savemage > 6 or Math.floor(_root.player / 10) == 1) {
loadMovie('', _root.obj6);
}
}
movieClip 7819 {
}
movieClip 7821 {
}
movieClip 7822 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7826 {
frame 1 {
gotoAndStop(_root.firechecked[_root._currentframe - 50] + 2);
}
}
movieClip 7828 {
frame 1 {
stop();
}
frame 2 {
switch (_root.firechecked[_root._currentframe - 50]) {
case 0:
_root.choicetext = 'A stone fireplace. There is wood sitting ready, but the ashes are cold.';
_root.choiceA = 'Start a Fire.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
break;
case 1:
_root.choicetext = 'A stone fireplace. There is a small fire still smoldering.';
_root.choiceA = 'Stoke fire a bit.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
break;
default:
_root.choicetext = 'A stone fireplace. There is a cozy fire burning.';
_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();
}
frame 11 {
_root.choicetext = 'A stone fireplace. With the fire extinguished, you now see a small tunnel you could crawl through.';
_root.choiceA = 'Build a new fire.';
_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();
}
frame 55 {
_root.firechecked[_root._currentframe - 50] = 2;
fire.gotoAndPlay(1);
_root.camframe.dark.gotoAndStop(2);
_root.held = 0;
stop();
}
}
movieClip 7830 {
frame 1 {
if (_root.LeiLeiRobeHat == 1) {
gotoAndStop(7);
}
if (_root.LeiLeiRobeHat == 2) {
gotoAndStop(12);
}
if (_root.LeiLeiRobeHat == 3) {
gotoAndStop(17);
}
stop();
}
frame 2 {
if (_root.GotTravelingRobes > 0) {
_root.choicetext = 'Coatracks filled with stater wizard robes & hats. Although clearly sized for childern, there\'s one large one robe that might fit you.';
} else {
_root.choicetext = 'Coatracks filled with stater wizard robes & hats.';
}
if (_root.GotTravelingRobes > 0) {
_root.choiceA = 'Get Traveller\'s Robe';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
}
_root.choiceS = 'Get Starter Wizard\'s Hat';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 56 {
--_root.GotTravelingRobes;
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 11;
_root.itemnewh = 100;
stop();
}
frame 105 {
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 2;
_root.itemnewh = 601;
stop();
}
}
movieClip 7832 {
}
movieClip 7834 {
}
movieClip 7836 {
frame 1 {
stop();
}
frame 2 {
_root.choicetext = 'A washbasin. You can wash your face here.';
_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();
}
frame 55 {
if (_root.cumface < 5) {
_root.cumface = 5;
_root.camframe.hero.gotoAndPlay(8);
}
_root.held = 0;
stop();
}
}
movieClip 7839 {
frame 1 {
stop();
}
frame 2 {
var gotdeathwand = 0;
if (_root.wpn == 13) {
gotdeathwand = 2;
}
if (_root.backpack1 == 13 and _root.backpack1h == 301) {
gotdeathwand = 2;
}
if (_root.backpack2 == 13 and _root.backpack2h == 301) {
gotdeathwand = 2;
}
if (_root.backpack3 == 13 and _root.backpack3h == 301) {
gotdeathwand = 2;
}
if (_root.backpack4 == 13 and _root.backpack4h == 301) {
gotdeathwand = 2;
}
_root.choicetext = 'This shelf contains a pile of basic wands, as well as some schoolbooks.';
_root.choiceA = 'Take a basic wand';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (gotdeathwand < 2) {
if (_root.spirit >= 5) {
_root.choiceD = '(Spirit) Search around a bit more.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Spirit) Search around a bit more.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
} else {
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'You sense dark magic nearby. Searching around reveals a wand sized box on the top shelf.';
_root.choiceA = 'Take a basic wand';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = 'Take Deathwand';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 56 {
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 11;
_root.itemnewh = 301;
}
frame 156 {
if (gotdeathwand == 0) {
gotdeathwand = 1;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(11);
} else {
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 13;
_root.itemnewh = 301;
}
stop();
}
}
movieClip 7841 {
}
movieClip 7850 {
frame 1 {
stop();
}
frame 2 {
if (_root.act2clear >= 10) {
gotAndStop(11);
}
_root.choicetext = 'Lei Lei looks bruised, tired, & very concerned. She is clearly glad to see you.';
_root.choiceA = 'What is this place?';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'What happened here?';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = 'Are you ok?';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'Lei Lei thanks you for a job well done.';
_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();
}
frame 55 {
_root.held = 0;
stop();
}
frame 106 {
_root.held = 0;
stop();
}
frame 155 {
_root.held = 0;
stop();
}
}
movieClip 7852 {
frame 1 {
if (_root.firechecked[_root._currentframe - 50 + 3] < 2) {
loadMovie('', smoke);
}
stop();
}
frame 2 {
_root.choicetext = 'A simple straw bed.';
if (_root.quest_savemage < 5 or _root.quest_savemage > 6) {
_root.choiceA = 'It\'s not safe to rest here.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(6);
} else {
_root.choiceA = '(Restore Health) Take a quick rest.';
_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();
}
frame 55 {
_root.health = _root.maxhealth;
_root.fadeout.gotoAndPlay(25);
stop();
}
}
frame 58 {
_root.camframe.dark.gotoAndStop(2);
removeMovieClip(_root.crawl1);
removeMovieClip(_root.crawl2);
_root.maxitems = 3;
_root.doorleftgo = 54;
_root.doorleftgox = 1250;
_root.doorrightgo = 62;
_root.doorrightgox = -1500;
}
movieClip 7854 {
}
movieClip 7856 {
}
movieClip 7857 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7871 {
frame 1 {
if (_root.firechecked[_root._currentframe - 50 + 2] < 2) {
loadMovie('', smoke);
}
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
frame 30 {
_root.gohere = _root._currentframe + 2;
if (_root._currentframe == 58) {
if (_root.camframe._x < 0) {
_root.gox = -1800;
} else {
_root.gox = 4800;
}
} else {
_root.gox = -1800;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 7873 {
frame 2 {
if (_root._currentframe == 58) {
_root.choicetext = 'This road runs through HoppyKin Village. In the distance, you can see what looks like a Human camp to the West (up).';
} else {
_root.choicetext = 'This road runs through HoppyKin Village. You think you see traces of an Elvin camp farther to the East (down).';
}
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up) Head West.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '(Go Down) Head East.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
if (_root._currentframe == 58) {
_root.gohere = 78;
_root.gox = -1750;
} else {
_root.gohere = 58;
_root.gox = _root.camframe._x;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 151 {
if (_root._currentframe == 70) {
_root.gohere = 82;
_root.gox = -1750;
} else {
_root.gohere = 70;
_root.gox = _root.camframe._x;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 60 {
if (_root.camframe._x < 0) {
_root.camframe.hero._xscale = 100;
} else {
_root.camframe.hero._xscale = -100;
}
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.camframe.dark.gotoAndStop(3);
}
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 2;
_root.doorleftgox = -450;
_root.doorrightgo = _root._currentframe - 2;
_root.doorrightgox = 750;
_root.attachMovie('heightbox', 'topbox1201', 1201);
_root.crawl1.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
_root.attachMovie('heightbox', 'topbox1202', 1202);
_root.crawl2.swapDepths(_root.topbox1202);
_root.topbox1202.unloadMovie();
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 4 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
if (Math.random() < 0.7) {
b = Math.floor(Math.random() * 2) + 28;
if (b == 30) {
b = 29;
}
} else {
if (Math.random() < 0.5) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
} else {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
}
}
addmobs(b, 500, 2500, 300, 0);
++i;
}
}
}
}
movieClip 7875 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 62 {
_root.camframe.dark.gotoAndStop(2);
removeMovieClip(_root.crawl1);
_root.maxitems = 2;
_root.doorleftgo = 58;
_root.doorleftgox = 2500;
var dropR14 = false;
if (_root.R14Loc == _root._currentframe) {
dropR14 = true;
}
if (_root.acc == 14) {
dropR14 = false;
}
if (_root.backpack1 == 14 and _root.backpack1h == 601) {
dropR14 = false;
}
if (_root.backpack2 == 14 and _root.backpack2h == 601) {
dropR14 = false;
}
if (_root.backpack3 == 14 and _root.backpack3h == 601) {
dropR14 = false;
}
if (_root.backpack4 == 14 and _root.backpack4h == 601) {
dropR14 = false;
}
if (dropR14 == true) {
var NewItemNumber = 614;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = 1150;
_root['obj_drop_ani' + itemnumber]._xscale = 100;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber);
}
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.firechecked[_root._currentframe - 50] = 2;
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
if (Math.random() < 0.7) {
b = Math.floor(Math.random() * 2) + 28;
if (b == 30) {
b = 29;
}
} else {
if (Math.random() < 0.5) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
} else {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
}
}
addmobs(b, -750, 1250, 300, 0);
++i;
}
}
}
}
movieClip 7877 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 63 {
_root.camframe.hero._xscale = 100;
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.camframe.dark.gotoAndStop(3);
}
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = -1100;
var dropR14 = false;
if (_root.R14Loc == _root._currentframe) {
dropR14 = true;
}
if (_root.acc == 14) {
dropR14 = false;
}
if (_root.backpack1 == 14 and _root.backpack1h == 601) {
dropR14 = false;
}
if (_root.backpack2 == 14 and _root.backpack2h == 601) {
dropR14 = false;
}
if (_root.backpack3 == 14 and _root.backpack3h == 601) {
dropR14 = false;
}
if (_root.backpack4 == 14 and _root.backpack4h == 601) {
dropR14 = false;
}
if (dropR14 == true) {
var NewItemNumber = 614;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = 400;
_root['obj_drop_ani' + itemnumber]._xscale = 100;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber);
}
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
if (Math.random() < 0.7) {
b = Math.floor(Math.random() * 2) + 28;
if (b == 30) {
b = 29;
}
} else {
if (Math.random() < 0.5) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
} else {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
}
}
addmobs(b, -250, 750, 300, 0);
++i;
}
}
}
}
movieClip 7880 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 64 {
_root.camframe.hero._xscale = 100;
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.camframe.dark.gotoAndStop(3);
}
_root.attachMovie('heightbox', 'topbox1201', 1201);
_root.crawl1.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 2;
_root.doorleftgox = 600;
var dropR14 = false;
if (_root.R14Loc == _root._currentframe) {
dropR14 = true;
}
if (_root.acc == 14) {
dropR14 = false;
}
if (_root.backpack1 == 14 and _root.backpack1h == 601) {
dropR14 = false;
}
if (_root.backpack2 == 14 and _root.backpack2h == 601) {
dropR14 = false;
}
if (_root.backpack3 == 14 and _root.backpack3h == 601) {
dropR14 = false;
}
if (_root.backpack4 == 14 and _root.backpack4h == 601) {
dropR14 = false;
}
if (dropR14 == true) {
var NewItemNumber = 614;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = 2200;
_root['obj_drop_ani' + itemnumber]._xscale = 100;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber);
}
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 4 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
if (Math.random() < 0.7) {
b = Math.floor(Math.random() * 2) + 28;
if (b == 30) {
b = 29;
}
} else {
if (Math.random() < 0.5) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
} else {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
}
}
addmobs(b, -250, 750, 300, 0);
++i;
}
}
}
}
movieClip 7882 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 66 {
_root.camframe.dark.gotoAndStop(2);
removeMovieClip(_root.crawl1);
removeMovieClip(_root.ShrubLineFront);
_root.maxitems = 3;
_root.doorrightgo = 70;
_root.doorrightgox = -1750;
var dropR13 = false;
if (_root.R13Loc == _root._currentframe) {
dropR13 = true;
}
if (_root.acc == 13) {
dropR13 = false;
}
if (_root.backpack1 == 13 and _root.backpack1h == 601) {
dropR13 = false;
}
if (_root.backpack2 == 13 and _root.backpack2h == 601) {
dropR13 = false;
}
if (_root.backpack3 == 13 and _root.backpack3h == 601) {
dropR13 = false;
}
if (_root.backpack4 == 13 and _root.backpack4h == 601) {
dropR13 = false;
}
if (dropR13 == true) {
var NewItemNumber = 613;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = -2500;
_root['obj_drop_ani' + itemnumber]._xscale = 100;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber);
}
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.firechecked[_root._currentframe - 50] = 2;
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
if (Math.random() < 0.7) {
b = Math.floor(Math.random() * 2) + 28;
if (b == 30) {
b = 29;
}
} else {
if (Math.random() < 0.5) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
} else {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
}
}
addmobs(b, -750, 1250, 300, 0);
++i;
}
}
}
}
movieClip 7884 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 67 {
_root.camframe.hero._xscale = 100;
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.camframe.dark.gotoAndStop(3);
}
_root.maxitems = 2;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 900;
var dropR13 = false;
if (_root.R13Loc == _root._currentframe) {
dropR13 = true;
}
if (_root.acc == 13) {
dropR13 = false;
}
if (_root.backpack1 == 13 and _root.backpack1h == 601) {
dropR13 = false;
}
if (_root.backpack2 == 13 and _root.backpack2h == 601) {
dropR13 = false;
}
if (_root.backpack3 == 13 and _root.backpack3h == 601) {
dropR13 = false;
}
if (_root.backpack4 == 13 and _root.backpack4h == 601) {
dropR13 = false;
}
if (dropR13 == true) {
var NewItemNumber = 613;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = 200;
_root['obj_drop_ani' + itemnumber]._xscale = 100;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber);
}
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
if (Math.random() < 0.7) {
b = Math.floor(Math.random() * 2) + 28;
if (b == 30) {
b = 29;
}
} else {
if (Math.random() < 0.5) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
} else {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
}
}
addmobs(b, 0, 500, 300, 0);
++i;
}
}
}
}
movieClip 7886 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 68 {
_root.camframe.hero._xscale = 100;
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.camframe.dark.gotoAndStop(3);
}
_root.attachMovie('heightbox', 'topbox1201', 1201);
_root.crawl1.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 2;
_root.doorleftgox = -1000;
var dropR13 = false;
if (_root.R13Loc == _root._currentframe) {
dropR13 = true;
}
if (_root.acc == 13) {
dropR13 = false;
}
if (_root.backpack1 == 13 and _root.backpack1h == 601) {
dropR13 = false;
}
if (_root.backpack2 == 13 and _root.backpack2h == 601) {
dropR13 = false;
}
if (_root.backpack3 == 13 and _root.backpack3h == 601) {
dropR13 = false;
}
if (_root.backpack4 == 13 and _root.backpack4h == 601) {
dropR13 = false;
}
if (dropR13 == true) {
var NewItemNumber = 613;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = 2200;
_root['obj_drop_ani' + itemnumber]._xscale = 100;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber);
}
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
if (Math.random() < 0.7) {
b = Math.floor(Math.random() * 2) + 28;
if (b == 30) {
b = 29;
}
} else {
if (Math.random() < 0.5) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
} else {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
}
}
addmobs(b, 1000, 3000, 300, 0);
++i;
}
}
}
}
movieClip 7888 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 70 {
_root.camframe.dark.gotoAndStop(2);
_root.maxitems = 2;
_root.doorleftgo = 66;
_root.doorleftgox = 1400;
_root.doorrightgo = 74;
_root.doorrightgox = -1750;
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
b = Math.floor(Math.random() * 2) + 28;
if (b == 30) {
b = 29;
}
addmobs(b, -750, 1250, 300, 0);
++i;
}
}
}
}
movieClip 7890 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 71 {
removeMovieClip(_root.crawl1);
if (_root.camframe._x < 0) {
_root.camframe.hero._xscale = 100;
} else {
_root.camframe.hero._xscale = -100;
}
_root.maxitems = 5;
_root.doorleftgo = 70;
_root.doorleftgox = 100;
_root.firechecked[20] = 2;
}
movieClip 7892 {
}
movieClip 7896 {
}
movieClip 7898 {
frame 1 {
if (_root.act2clear >= 10) {
stop();
}
}
frame 2 {
stop();
}
}
movieClip 7900 {
frame 1 {
stop();
}
frame 2 {
if (_root.act2clear < 10) {
gotoAndPlay(41);
} else {
var funtime = 0;
_root.choicetext = 'You see an outright orgy behind the curtain. Looks like the bunnykin are doing what they know best.';
_root.choiceA = 'Join the fun with a single partner.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'Join the fun with two partners.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
}
stop();
}
frame 11 {
_root.choicetext = 'You see an outright orgy behind the curtain. Looks like the bunnykin are doing what they know best.';
_root.choiceA = 'Find a male bunnykin.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'Find a female bunnykin.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 21 {
_root.choicetext = 'You see an outright orgy behind the curtain. Looks like the bunnykin are doing what they know best.';
_root.choiceA = 'Find two male bunnykins.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'Find a male and a female bunnykin.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = 'Fine two female bunnykins.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 41 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
frame 45 {
_root.gohere = 72;
_root.gox = _root.camframe._x;
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 56 {
if (funtime == 0) {
funtime = 10;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(11);
} else {
if (_root.armor > 1) {
NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25);
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
++_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(NewItemNumber);
}
_root.grapple = 25;
_root.held = 1100;
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
if (funtime == 10) {
_root.camframe.hero.gotoAndStop(69);
_root.BGA.push([28, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0;
monscale = 50 + _root.BGA[0][1] * 10;
} else {
_root.camframe.hero.gotoAndStop(124);
_root.BGA.push([28, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([28, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
monscale2 = 100;
monscale = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
}
}
stop();
}
frame 105 {
if (funtime == 0) {
funtime = 20;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(21);
} else {
if (_root.armor > 1) {
NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25);
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
++_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(NewItemNumber);
}
_root.grapple = 25;
_root.held = 1100;
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
if (funtime == 10) {
_root.camframe.hero.gotoAndStop(70);
_root.BGA.push([29, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
monscale = 50 + _root.BGA[0][1] * 10;
} else {
_root.camframe.hero.gotoAndStop(125);
_root.BGA.push([28, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([29, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
monscale2 = 100;
monscale = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
}
}
stop();
}
frame 155 {
if (_root.armor > 1) {
NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25);
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
++_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(NewItemNumber);
}
_root.grapple = 25;
_root.held = 1100;
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
_root.camframe.hero.gotoAndStop(126);
_root.BGA.push([29, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([29, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
monscale2 = 100;
monscale = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
stop();
}
}
movieClip 7907 {
}
movieClip 7908 {
frame 1 {
if (_root.act2clear < 2) {
gotoAndStop(5);
}
}
frame 3 {
stop();
}
}
movieClip 7914 {
}
movieClip 7915 {
frame 1 {
if (_root.act2clear < 3) {
if (_root.act2clear !== 1) {
gotoAndStop(5);
}
}
}
frame 3 {
stop();
}
}
movieClip 7920 {
frame 1 {
stop();
}
frame 2 {
if (_root.act2clear >= 3) {
gotoAndStop(11);
} else {
if (_root.act2clear == 0) {
_root.choicetext = 'You see stairs leading down, but three more wardstones block your path. Oddly, the center one appears to have already been deactivated.';
} else {
_root.choicetext = 'You see stairs leading down, but one remaining ward is still blocking the entryway.';
}
}
_root.choiceA = 'Attempt to go down the stairs';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (_root.spirit >= 5) {
_root.choiceD = '(Spirit Check) Study the stairway';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Spirit Check) Study the stairway';
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'You see stairs leading down. All three wardstones have been deactivated.';
_root.choiceA = 'Go down the stairs';
_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();
}
frame 51 {
if (_root.act2clear == 3) {
gotoAndPlay(71);
}
if (_root.act2clear > 3) {
gotoAndPlay(61);
}
}
frame 56 {
_root.held = 0;
stop();
}
frame 65 {
_root.gohere = 73;
if (_root._currentframe == 71) {
_root.gox = -2500;
} else {
_root.gox = 3000;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 76 {
_root.act2clear = 10;
_root.gamestart == 'Act3Start';
if (_root.quest_opencastle < 3) {
_root.quest_opencastle = 3;
}
_root.gohere = 15;
_root.gox = 0;
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 155 {
_root.held = 0;
stop();
}
}
frame 72 {
_root.maxitems = 5;
if (_root.KFoxHealth < 110 and _root.player >= 10) {
_root.maxitems += 1;
_root.attachMovie('Quest_RescueKFox', 'obj6', 306);
_root.obj6._x = -2800;
_root.obj6._y = 355;
if (_root.KFoxHealth < 105) {
addmobs(28, -2200, -2200, 0, 2);
_root.bghb0._y = 1000;
addmobs(28, -2600, -2600, 0, 2);
_root.bg1.gotoAndStop(27);
_root.bghb1._y = 1000;
}
} else {
if (_root.act2clear < 10) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 4 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
b = Math.floor(Math.random() * 2) + 28;
if (b == 30) {
b = 29;
}
addmobs(b, -2000, 2500, 300, 0);
++i;
}
}
}
}
movieClip 7922 {
}
movieClip 7924 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
frame 5 {
_root.gohere = 71;
_root.gox = _root.camframe._x;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 7926 {
frame 1 {
if (_root.quest_gettorch > 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 7928 {
frame 1 {
stop();
}
frame 2 {
if (_root.quest_gettorch > 0) {
gotoAndStop(11);
}
_root.choicetext = 'The mounting on this magical torch is damaged. You could probably pry it out & use it to light any dark rooms.';
_root.choiceA = 'Get Torch';
_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();
}
frame 11 {
_root.choicetext = 'You see a broken mounting for a torch.';
_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();
}
frame 56 {
_root.quest_gettorch = 1;
torch.gotoAndPlay(1);
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 23;
_root.itemnewh = 301;
stop();
}
}
frame 73 {
if (_root.camframe._x < 0) {
_root.camframe.hero._xscale = 100;
} else {
_root.camframe.hero._xscale = -100;
}
_root.maxitems = 5;
_root.attachMovie('heightbox', 'topbox1201', 1201);
_root.crawl1.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
}
movieClip 7930 {
}
movieClip 7935 {
frame 1 {
stop();
}
frame 2 {
_root.box3.gotoAndStop(1);
_root.held = 905;
play();
}
frame 5 {
if (_root.camframe._x < 0) {
_root.gohere = 71;
_root.gox = 3000;
} else {
_root.gohere = 77;
_root.gox = -2000;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 7937 {
}
movieClip 7939 {
frame 1 {
stop();
}
frame 2 {
if (_root.GotGreenDress > 0) {
_root.choicetext = 'A clothing rack. Looks like the matron really likes the color green. In back you think there might be one dress that could fit you.';
} else {
_root.choicetext = 'A clothing rack. Looks like the matron really likes the color green.';
}
if (_root.GotGreenDress > 0) {
_root.choiceA = 'Get green summer dress.';
_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();
}
frame 56 {
--_root.GotGreenDress;
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 61;
_root.itemnewh = 100;
stop();
}
}
movieClip 7941 {
frame 1 {
if (_root.wpn == 43) {
gotoAndStop(3);
}
if (_root.backpack1 == 43 and _root.backpack1h == 301) {
gotoAndStop(3);
}
if (_root.backpack2 == 43 and _root.backpack2h == 301) {
gotoAndStop(3);
}
if (_root.backpack3 == 43 and _root.backpack3h == 301) {
gotoAndStop(3);
}
if (_root.backpack4 == 43 and _root.backpack4h == 301) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
frame 4 {
stop();
}
}
movieClip 7943 {
frame 1 {
if (_root.wpn == 12) {
gotoAndStop(3);
}
if (_root.backpack1 == 12 and _root.backpack1h == 301) {
gotoAndStop(3);
}
if (_root.backpack2 == 12 and _root.backpack2h == 301) {
gotoAndStop(3);
}
if (_root.backpack3 == 12 and _root.backpack3h == 301) {
gotoAndStop(3);
}
if (_root.backpack4 == 12 and _root.backpack4h == 301) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
frame 4 {
stop();
}
}
movieClip 7944 {
frame 1 {
if (_root.quest_HumanStash < 2) {
gotoAndStop(201);
}
stop();
}
frame 2 {
var gotfirewand = false;
if (_root.wpn == 12) {
gotfirewand = true;
}
if (_root.backpack1 == 12 and _root.backpack1h == 301) {
gotfirewand = true;
}
if (_root.backpack2 == 12 and _root.backpack2h == 301) {
gotfirewand = true;
}
if (_root.backpack3 == 12 and _root.backpack3h == 301) {
gotfirewand = true;
}
if (_root.backpack4 == 12 and _root.backpack4h == 301) {
gotfirewand = true;
}
if (gotfirewand == true) {
firewand.gotoAndStop(3);
}
var gotfirestaff = false;
if (_root.wpn == 43) {
gotfirestaff = true;
}
if (_root.backpack1 == 43 and _root.backpack1h == 301) {
gotfirestaff = true;
}
if (_root.backpack2 == 43 and _root.backpack2h == 301) {
gotfirestaff = true;
}
if (_root.backpack3 == 43 and _root.backpack3h == 301) {
gotfirestaff = true;
}
if (_root.backpack4 == 43 and _root.backpack4h == 301) {
gotfirestaff = true;
}
if (gotfirestaff == true) {
firestaff.gotoAndStop(3);
}
_root.choicetext = 'This rock has been roughly carved to make a small table.';
if (gotfirewand == false) {
_root.choiceA = 'Get fire wand.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
}
if (gotfirestaff == false) {
_root.choiceS = 'Get staff of fire.';
if (_root.player % 10 !== 3) {
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonS.gotoAndStop(6);
}
} 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();
}
frame 56 {
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 12;
_root.itemnewh = 301;
firewand.gotoAndStop(3);
stop();
}
frame 106 {
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 43;
_root.itemnewh = 301;
firestaff.gotoAndStop(3);
stop();
}
}
movieClip 7949 {
frame 1 {
stop();
}
frame 2 {
_root.choicetext = 'The bunnykin matron seems to have halted the ritual that was driving the town crazy.';
_root.choiceA = 'Glad I could help. Is there anything else I can do?';
_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();
}
frame 56 {
_root.held = 0;
stop();
}
}
frame 74 {
_root.camframe.dark.gotoAndStop(2);
_root.maxitems = 4;
_root.doorleftgo = 70;
_root.doorleftgox = 2600;
_root.doorrightgo = 88;
_root.doorrightgox = -1750;
removeMovieClip(_root.bridge);
}
movieClip 7950 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 7956 {
frame 1 {
if (_root.quest_helpdunecrawler == 10) {
gotoAndStop(3);
} else {
if (_root.quest_helpdunecrawler > 0) {
if (_root.quest_helpdunecrawler % 2 == 1) {
gotoAndStop(3);
}
}
}
}
frame 2 {
stop();
}
}
movieClip 7961 {
frame 1 {
if (_root.quest_helpdunecrawler >= 4) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 7966 {
frame 1 {
if (_root.quest_helpdunecrawler == 10) {
gotoAndStop(3);
} else {
if (_root.quest_helpdunecrawler > 0) {
if (_root.quest_helpdunecrawler % 4 >= 2) {
gotoAndStop(3);
}
}
}
}
frame 2 {
stop();
}
}
// unknown tag 88 length 4
movieClip 7984 {
frame 1 {
if (_root.act2clear >= 10) {
this.unloadMovie();
}
stop();
}
frame 2 {
if (_root.quest_helpdunecrawler >= 10) {
gotoAndStop(21);
} else {
if (_root.quest_helpdunecrawler >= 0) {
gotoAndStop(11);
}
}
if (Math.floor(_root.player / 10) == 0) {
_root.choicetext = 'You see a large machine blocking the path out of the village. It appears to be a vehicle of some sort.';
} else {
_root.choicetext = 'You see a dunecrawler blocking the path out of the village. Merchants use these vehicles to travel the wastelands.';
}
_root.choiceA = '(Knock/Say): Hello?';
_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();
}
frame 11 {
var haveparts = false;
if (_root.acc == 13 or _root.acc == 14 or _root.acc == 15) {
haveparts = true;
}
if ((_root.backpack1 == 13 or _root.backpack1 == 14 or _root.backpack1 == 15) and _root.backpack1h == 601) {
haveparts = true;
}
if ((_root.backpack2 == 13 or _root.backpack2 == 14 or _root.backpack2 == 15) and _root.backpack2h == 601) {
haveparts = true;
}
if ((_root.backpack3 == 13 or _root.backpack3 == 14 or _root.backpack3 == 15) and _root.backpack3h == 601) {
haveparts = true;
}
if ((_root.backpack4 == 13 or _root.backpack4 == 14 or _root.backpack4 == 15) and _root.backpack4h == 601) {
haveparts = true;
}
if (Math.floor(_root.player / 10) == 0) {
_root.choicetext = 'You see a large vehicle blocking the path out of the village. The driver sounds quite angry.';
} else {
_root.choicetext = 'You see a dunecrawler blocking the path out of the village. The driver sounds quite angry.';
}
_root.choiceA = '(say): What are you doing here?';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (_root.quest_helpdunecrawler >= 0) {
if (haveparts == true) {
_root.choiceD = '(say): I think I found some parts for your dunecrawler.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(say): Is it running yet?';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
}
} else {
_root.choiceD = '(spirit / say): Why are you blocking the road?';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 21 {
_root.choicetext = 'You\'re standing in front of a dunecrawler. The owner seems happy to stay inside for now.';
_root.choiceA = 'Okay, so now what?';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'You made this backpack? Got anything else?';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 51 {
if (_root.quest_helpdunecrawler >= 10) {
gotoAndPlay(71);
} else {
if (_root.quest_helpdunecrawler >= 0) {
gotoAndPlay(61);
}
}
}
frame 55 {
_root.quest_helpdunecrawler = 0;
_root.held = 0;
stop();
}
frame 65 {
_root.held = 0;
stop();
}
frame 75 {
_root.held = 0;
stop();
}
frame 105 {
_root.held = 0;
stop();
}
frame 151 {
if (_root.quest_helpdunecrawler < 0) {
gotoAndPlay(161);
} else {
if (_root.acc == 13 or _root.backpack1 == 13 or _root.backpack2 == 13 or _root.backpack3 == 13 or _root.backpack4 == 13) {
gotoAndPlay(171);
} else {
if (_root.acc == 14 or _root.backpack1 == 14 or _root.backpack2 == 14 or _root.backpack3 == 14 or _root.backpack4 == 14) {
gotoAndPlay(176);
} else {
if (_root.acc == 15 or _root.backpack1 == 15 or _root.backpack2 == 15 or _root.backpack3 == 15 or _root.backpack4 == 15) {
gotoAndPlay(181);
}
}
}
}
}
frame 155 {
_root.held = 0;
stop();
}
frame 165 {
_root.quest_helpdunecrawler = 0;
_root.held = 0;
stop();
}
frame 171 {
_root.quest_helpdunecrawler += 1;
_root.R13Loc = 0;
r13.gotoAndPlay(1);
if (_root.acc == 13) {
_root.acc = 1;
_root.camframe.box.invacc.gotoAndPlay(1);
} else {
if (_root.backpack1 == 13 and _root.backpack1h == 601) {
_root.backpack1 = 1;
_root.backpack1h = 301;
_root.camframe.box.invb1.gotoAndPlay(1);
} else {
if (_root.backpack2 == 13 and _root.backpack2h == 601) {
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.camframe.box.invb2.gotoAndPlay(1);
} else {
if (_root.backpack3 == 13 and _root.backpack3h == 601) {
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.camframe.box.invb3.gotoAndPlay(1);
} else {
if (_root.backpack4 == 13 and _root.backpack4h == 601) {
_root.backpack4 = 1;
_root.backpack4h = 301;
_root.camframe.box.invb4.gotoAndPlay(1);
}
}
}
}
}
if (_root.quest_helpdunecrawler == 7) {
gotoAndPlay(186);
}
}
frame 175 {
_root.held = 0;
stop();
}
frame 176 {
_root.quest_helpdunecrawler += 2;
_root.R14Loc = 0;
r14.gotoAndPlay(1);
if (_root.acc == 14) {
_root.acc = 1;
_root.camframe.box.invacc.gotoAndPlay(1);
} else {
if (_root.backpack1 == 14 and _root.backpack1h == 601) {
_root.backpack1 = 1;
_root.backpack1h = 301;
_root.camframe.box.invb1.gotoAndPlay(1);
} else {
if (_root.backpack2 == 14 and _root.backpack2h == 601) {
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.camframe.box.invb2.gotoAndPlay(1);
} else {
if (_root.backpack3 == 14 and _root.backpack3h == 601) {
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.camframe.box.invb3.gotoAndPlay(1);
} else {
if (_root.backpack4 == 14 and _root.backpack4h == 601) {
_root.backpack4 = 1;
_root.backpack4h = 301;
_root.camframe.box.invb4.gotoAndPlay(1);
}
}
}
}
}
if (_root.quest_helpdunecrawler == 7) {
gotoAndPlay(186);
}
}
frame 180 {
_root.held = 0;
stop();
}
frame 181 {
_root.quest_helpdunecrawler += 4;
_root.R15Loc = 0;
r15.gotoAndPlay(1);
if (_root.acc == 15) {
_root.acc = 1;
_root.camframe.box.invacc.gotoAndPlay(1);
} else {
if (_root.backpack1 == 15 and _root.backpack1h == 601) {
_root.backpack1 = 1;
_root.backpack1h = 301;
_root.camframe.box.invb1.gotoAndPlay(1);
} else {
if (_root.backpack2 == 15 and _root.backpack2h == 601) {
_root.backpack2 = 1;
_root.backpack2h = 301;
_root.camframe.box.invb2.gotoAndPlay(1);
} else {
if (_root.backpack3 == 15 and _root.backpack3h == 601) {
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.camframe.box.invb3.gotoAndPlay(1);
} else {
if (_root.backpack4 == 15 and _root.backpack4h == 601) {
_root.backpack4 = 1;
_root.backpack4h = 301;
_root.camframe.box.invb4.gotoAndPlay(1);
}
}
}
}
}
if (_root.quest_helpdunecrawler == 7) {
gotoAndPlay(186);
}
}
frame 185 {
_root.held = 0;
stop();
}
frame 186 {
_root.quest_helpdunecrawler = 10;
}
frame 190 {
if (_root.backpack2 == -1) {
_root.backpack2 = 1;
_root.backpack2h = 301;
}
if (_root.backpack3 == -1) {
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.camframe.box.invbox.gotoAndPlay(2);
}
_root.held = 0;
stop();
}
}
movieClip 7985 {
frame 1 {
if (_root.act2clear >= 10) {
this.unloadMovie();
}
}
}
movieClip 8000 {
frame 1 {
if (_root.act2clear < 10) {
this.unloadMovie();
}
var armorchoice = 0;
var ShopKeeperTextBox1 = '';
if (_root.player % 10 == 1) {
_root.quest_dunecrawlerRubyPlate = 0;
}
stop();
}
frame 2 {
if (_root.quest_dunecrawlershop >= 10) {
gotoAndStop(21);
} else {
_root.choicetext = 'Now that everyone is settling down again, it seems this merchant is almost ready to open his shop.';
_root.choiceA = '(Knock/Say): Hello?';
_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();
}
frame 11 {
if (_root.quest_dunecrawlershop == 0) {
_root.choicetext = 'The shopkeeper is offering you a reward for saving the village.';
ShopKeeperTextBox1 = 'AH! Well Elo Thar. Whole town chipped in to buy ya sumthin\' nice for saving ta day. Take a look. ';
} else {
_root.choicetext = 'The shopkeeper is offering you a reward for your \'aid\'.';
ShopKeeperTextBox1 = 'Thanks again for your... \'help\' fixing up my shop. Should be ready to open... \'soon\'.';
}
if (_root.quest_dunecrawlerRubyPlate + _root.quest_dunecrawlerChainmailBikini + _root.quest_dunecrawlerSorceressRobes > 0) {
_root.choiceA = 'I\'d like some new armor.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = 'I\'d like some armor. (Sold Out)';
_root.box3.choicebox.choicebuttonA.gotoAndStop(11);
}
if (_root.armorh < _root.armorhmax) {
_root.choiceS = 'Can you repair my armor?';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = 'Armor repair (Already at Max)';
_root.box3.choicebox.choicebuttonS.gotoAndStop(11);
}
if (_root.backpack3 < 1) {
_root.choiceD = 'I\'d like a larger backpack';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = 'Larger backpack (Already at Max)';
_root.box3.choicebox.choicebuttonD.gotoAndStop(11);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 16 {
armorchoice = 2;
_root.choicetext = 'Which armor would you like?';
if (_root.quest_dunecrawlerRubyPlate == 1) {
_root.choiceA = 'Ruby Plate';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = 'Ruby Plate (sold out)';
_root.box3.choicebox.choicebuttonA.gotoAndStop(11);
}
if (_root.quest_dunecrawlerChainmailBikini == 1) {
_root.choiceS = 'Chain Mail Bikini';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = 'Chain Mail Bikini (sold out)';
_root.box3.choicebox.choicebuttonS.gotoAndStop(11);
}
if (_root.quest_dunecrawlerSorceressRobes == 1) {
_root.choiceD = 'Sorceress Robes';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = 'Sorceress Robes (sold out)';
_root.box3.choicebox.choicebuttonD.gotoAndStop(11);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 21 {
_root.choicetext = 'The merchant is still busy setting up, but is willing to talk with you.';
_root.choiceA = '(Say): Do you have anything ready for sale?';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (_root.spirit >= 5) {
_root.choiceD = '(Charm/Say) I really like your stuff. Perhaps I could help you set-up? *wink*';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Charm/Say) I really like your stuff. Perhaps I could help you set-up? *wink*';
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 55 {
if (armorchoice == 2) {
gotoAndPlay(61);
} else {
if (_root.quest_dunecrawlershop >= 10) {
gotoAndPlay(71);
} else {
_root.held = 900;
_root.box3.gotoAndPlay(2);
if (armorchoice == 0) {
armorchoice = 1;
gotoAndStop(11);
} else {
gotoAndStop(16);
}
}
}
stop();
}
frame 61 {
play();
}
frame 65 {
_root.quest_dunecrawlershop += 10;
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 91;
_root.itemnewh = 200;
_root.quest_dunecrawlerRubyPlate = 0;
armorchoice = 0;
stop();
}
frame 71 {
play();
}
frame 75 {
_root.held = 0;
stop();
}
frame 101 {
if (armorchoice == 2) {
gotoAndPlay(111);
} else {
_root.quest_dunecrawlershop += 10;
_root.armorh = _root.armorhmax;
}
}
frame 105 {
_root.held = 0;
stop();
}
frame 111 {
play();
}
frame 115 {
_root.quest_dunecrawlershop += 10;
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 101;
_root.itemnewh = 50;
_root.quest_dunecrawlerChainmailBikini = 0;
armorchoice = 0;
stop();
}
frame 151 {
play();
}
frame 155 {
if (armorchoice == 2) {
gotoAndPlay(161);
} else {
if (_root.quest_dunecrawlershop >= 10) {
gotoAndPlay(171);
} else {
_root.quest_dunecrawlershop += 10;
if (_root.backpack2 == -1) {
_root.backpack2 = 1;
_root.backpack2h = 301;
}
if (_root.backpack3 == -1) {
_root.backpack3 = 1;
_root.backpack3h = 301;
_root.camframe.box.invbox.gotoAndPlay(2);
}
}
}
stop();
}
frame 161 {
play();
}
frame 165 {
_root.quest_dunecrawlershop += 10;
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 81;
_root.itemnewh = 125;
_root.quest_dunecrawlerSorceressRobes = 0;
armorchoice = 0;
stop();
}
frame 171 {
play();
}
frame 230 {
_root.quest_dunecrawlershop -= 9;
_root.gohere = 75;
_root.gox = 250;
_root.fadeout.gotoAndPlay(1);
}
}
frame 75 {
_root.camframe.dark.gotoAndStop(2);
_root.maxitems = 1;
_root.doorrightgo = 74;
_root.doorrightgox = 2400;
}
movieClip 8002 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 76 {
_root.camframe.hero._xscale = 100;
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.camframe.dark.gotoAndStop(3);
}
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 2;
_root.doorleftgox = 500;
}
movieClip 8004 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 77 {
if (_root.camframe._x > -1900) {
_root.camframe.hero._xscale = -100;
_root.camframe._x = 3100;
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.camframe.dark.gotoAndStop(3);
}
_root.leftwall.gotoAndStop(3);
_root.rightwall.gotoAndStop(3);
} else {
_root.camframe.hero._xscale = 100;
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.camframe.dark.gotoAndStop(3);
}
_root.leftwall.gotoAndStop(3);
_root.leftwall.gotoAndStop(3);
_root.rightwall.gotoAndStop(3);
}
_root.maxitems = 3;
_root.doorrightgo = _root._currentframe - 3;
_root.doorrightgox = -900;
removeMovieClip(_root.crawl1);
}
movieClip 8006 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8012 {
frame 1 {
stop();
}
frame 2 {
if (_root.firechecked[_root._currentframe - 50] == 0) {
gotoAndStop(11);
}
if (_root.firechecked[_root._currentframe - 50] == 1) {
_root.choicetext = 'A stone fireplace. There is a small fire still smoldering.';
_root.choiceA = 'Stoke fire a bit.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choicetext = 'A stone fireplace. There is a cozy fire burning.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
}
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (_root.spirit >= 5) {
_root.choiceD = '(Spirit Check) Search fireplace';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Spirit Check) Search fireplace';
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'A stone fireplace. With the fire extinguished, you now see a small tunnel you could crawl through.';
_root.choiceA = 'Build a new fire.';
_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();
}
frame 55 {
_root.firechecked[_root._currentframe - 50] = 2;
fire.gotoAndPlay(1);
_root.camframe.dark.gotoAndStop(2);
overlay.gotoAndStop(1);
_root.leftwall.gotoAndStop(2);
_root.held = 0;
stop();
}
frame 156 {
_root.firechecked[_root._currentframe - 50] = 0;
fire.gotoAndPlay(1);
_root.camframe.dark.gotoAndStop(3);
overlay.gotoAndStop(3);
_root.leftwall.gotoAndStop(3);
_root.held = 0;
stop();
}
}
movieClip 8014 {
frame 1 {
stop();
}
frame 2 {
if (_root.firechecked[_root._currentframe - 50] == 0) {
gotoAndStop(11);
}
if (_root.firechecked[_root._currentframe - 50] == 1) {
_root.choicetext = 'A stone fireplace. There is a small fire still smoldering.';
_root.choiceA = 'Stoke fire a bit.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choicetext = 'A stone fireplace. There is a cozy fire burning.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
}
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (_root.spirit >= 5) {
_root.choiceD = '(Spirit Check) Search fireplace';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
if (_root._currentframe == 77) {
_root.choiceD = 'Extinguish Fire';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Spirit Check) Search fireplace';
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'A stone fireplace. With the fire extinguished, you now see a small tunnel you could crawl through.';
_root.choiceA = 'Build a new fire.';
_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();
}
frame 55 {
_root.firechecked[_root._currentframe - 50] = 2;
fire.gotoAndPlay(1);
_root.camframe.dark.gotoAndStop(2);
overlay.gotoAndStop(1);
_root.rightwall.gotoAndStop(2);
_root.held = 0;
stop();
}
frame 156 {
_root.firechecked[_root._currentframe - 50] = 0;
fire.gotoAndPlay(1);
_root.camframe.dark.gotoAndStop(3);
overlay.gotoAndStop(3);
_root.rightwall.gotoAndStop(3);
_root.held = 0;
stop();
}
}
movieClip 8015 {
frame 2 {
stop();
}
}
frame 78 {
_root.maxitems = 2;
if (_root.camframe._x < 0) {
_root.camframe.hero._xscale = 100;
}
_root.doorleftgo = 58;
_root.doorleftgox = 1850;
_root.doorrightgo = 80;
_root.doorrightgox = -1750;
if (_root.quest_HelpBeka == 2) {
_root.quest_HelpBeka = 3;
}
if (_root.quest_HumanStash > 1) {
_root.quest_HumanStash = 1;
}
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.firechecked[_root._currentframe - 50] = 2;
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 3 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
addmobs(b, -750, 1250, 300, 0);
++i;
}
}
}
}
movieClip 8016 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8019 {
frame 2 {
if (_root._currentframe == 78) {
gotoAndStop(11);
}
_root.choicetext = 'There is a shallow path here leading to the opposite side of the village.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up) Move to West side of village.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'There is a shallow path here leading deeper into the human camp.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up) Walk into human encampment.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
if (_root._currentframe == 78) {
_root.gohere = 79;
_root.gox = 1400;
} else {
_root.gohere = _root._currentframe - 12;
_root.gox = _root.camframe._x;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 151 {
_root.gohere = _root._currentframe + 12;
_root.gox = _root.camframe._x;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 8026 {
frame 1 {
if (_root.quest_openhuman > 0) {
gotoAndStop(50);
}
}
frame 40 {
gotoAndPlay(2);
}
}
movieClip 8032 {
frame 1 {
stop();
}
frame 2 {
if (_root.quest_openhuman > 0) {
gotoAndStop(11);
}
_root.choicetext = 'This tent is much larger than the others, and appears to be guarded by a magical barrier.';
_root.choiceA = 'Attempt to cross the ward.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (_root.spirit >= 5) {
_root.choiceD = '(Spirit Check) Study ward';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Spirit Check) Study ward';
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'With the ward deactivated, you are free to enter the tent.';
_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();
}
frame 51 {
if (Math.floor(_root.player / 10) == 2) {
_root.quest_openhuman = 1;
_root.rightwall.gotoAndPlay(1);
wardrings.gotoAndPlay(1);
}
if (_root.wpn == 21 or _root.wpn == 32) {
_root.quest_openhuman = 1;
_root.rightwall.gotoAndPlay(1);
wardrings.gotoAndPlay(1);
}
if (_root.quest_openhuman > 0) {
gotoAndPlay(61);
}
}
frame 56 {
_root.held = 0;
stop();
}
frame 65 {
_root.held = 0;
stop();
}
frame 155 {
_root.held = 0;
stop();
}
}
movieClip 8033 {
frame 1 {
if (_root.quest_openhuman > 0) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
frame 79 {
_root.maxitems = 2;
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 4 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
addmobs(b, -500, 3000, 500, 0);
++i;
}
}
}
}
movieClip 8034 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8036 {
frame 2 {
if (_root._currentframe == 79) {
gotoAndStop(11);
}
_root.choicetext = 'There is a shallow path here leading to the opposite side of the village.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = '(Go Down) Move the East side of the village.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'There is a shallow path here leading out of this camp.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = '(Go Down) Leave the camp.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
_root.gohere = _root._currentframe - 12;
_root.gox = _root.camframe._x;
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 151 {
if (_root._currentframe == 79) {
_root.gohere = 78;
_root.gox = 750;
} else {
_root.gohere = _root._currentframe + 12;
_root.gox = _root.camframe._x;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
}
instance of movieClip 7856 {
onClipEvent (load) {
if (_root.act2clear >= 10) {
loadMovie('', this);
}
}
}
movieClip 8039 {
}
movieClip 8041 {
frame 1 {
if (_root.act2clear < 10) {
loadMovie('', this);
}
stop();
}
frame 2 {
var funtime = 0;
var NewItemNumber = 0;
_root.choicetext = 'You hear loud voices from inside. Sounds like the few humans who are still awake have moved the party to this tent.';
_root.choiceA = 'Join the party & find a guy.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'Join the party & find a girl.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'After some drink & meriment, you decide now would be a good time to sneak off quietly for some real fun.';
_root.choiceA = 'Sneak outside with just your partner.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'Sneak outside and bring an extra guy.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = 'Sneak outside and bring an extra girl.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 56 {
if (funtime == 0) {
funtime = 1;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(11);
} else {
if (_root.armor > 1) {
NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25);
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
++_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(NewItemNumber);
}
_root.grapple = 25;
_root.held = 1100;
if (funtime == 1) {
_root.camframe.hero.gotoAndStop(63);
_root.BGA.push([22, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
} else {
_root.camframe.hero.gotoAndStop(64);
_root.BGA.push([23, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
}
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
monscale = 50 + _root.BGA[0][1] * 10;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0;
}
stop();
}
frame 105 {
if (funtime == 0) {
funtime = 2;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(11);
} else {
if (_root.armor > 1) {
NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25);
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
++_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(NewItemNumber);
}
_root.grapple = 25;
_root.held = 1100;
if (funtime == 1) {
_root.camframe.hero.gotoAndStop(112);
_root.BGA.push([22, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([22, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
} else {
_root.camframe.hero.gotoAndStop(113);
_root.BGA.push([22, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([23, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
}
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
monscale = 100;
monscale2 = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
}
stop();
}
frame 155 {
if (_root.armor > 1) {
NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25);
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
++_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(NewItemNumber);
}
_root.grapple = 25;
_root.held = 1100;
if (funtime == 1) {
_root.camframe.hero.gotoAndStop(113);
_root.BGA.push([22, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([23, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
} else {
_root.camframe.hero.gotoAndStop(114);
_root.BGA.push([23, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([23, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
}
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
monscale = 100;
monscale2 = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
stop();
}
}
frame 80 {
_root.maxitems = 6;
_root.doorleftgo = 78;
_root.doorleftgox = 2600;
if (_root.act2clear < 3) {
if (_root.act2clear % 2 < 1) {
addmobs(27, 1400, 1400, 0, 2);
_root.bghb0._y = 1000;
_root.BGA[0][4] = 250;
_root.obj1.gotoAndStop(201);
_root.obj2.gotoAndStop(201);
}
}
}
movieClip 8043 {
}
movieClip 8045 {
}
movieClip 8048 {
}
movieClip 8050 {
}
movieClip 8051 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8052 {
frame 2 {
stop();
}
}
movieClip 8055 {
frame 1 {
if (_root.quest_HumanStash == 2) {
gotoAndStop(11);
}
}
frame 2 {
stop();
}
}
movieClip 8058 {
frame 1 {
if (_root.quest_HumanStash == 2) {
gotoAndStop(11);
}
}
frame 2 {
stop();
}
}
movieClip 8063 {
frame 1 {
if (_root.quest_HumanStash == 2) {
objecthitbox.gotoAndStop(11);
}
stop();
}
frame 2 {
_root.choicetext = 'You see a magestic throne.';
_root.choiceA = 'Have a seat.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (_root.quest_HumanStash >= 1) {
_root.choiceD = 'Push Throne Aside.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Spirit Check) Search Throne.';
if (_root.spirit >= 8) {
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 51 {
_root.held = 910;
_root.xfinish = 1300;
_root.xstart = 1300;
_root.camframe._x = 1300;
_root.camframe.hero._xscale = 100;
_root.camframe.box.gotoAndPlay(61);
_root.camframe.hero.gotoAndStop(12);
}
frame 55 {
stop();
}
frame 151 {
if (_root.quest_HumanStash < 1) {
gotoAndPlay(_currentframe + 5);
} else {
_root.quest_HumanStash = 2;
ThroneAni.gotoAndPlay(1);
CurtainAni.gotoAndPlay(1);
_root.obj5.gotoAndStop(1);
_root.rightwall.gotoAndStop(6);
}
}
frame 155 {
_root.held = 0;
stop();
}
frame 156 {
_root.quest_HumanStash = 1;
}
frame 160 {
_root.held = 0;
stop();
}
}
movieClip 8065 {
frame 3 {
stop();
}
}
movieClip 8069 {
}
movieClip 8092 {
frame 1 {
if (_root.quest_HelpBeka == 0) {
gotoAndStop(26);
} else {
if (_root.quest_HelpBeka <= 2) {
gotoAndStop(16);
} else {
var dropchainsofcommand = true;
if (_root.acc == 11) {
dropchainsofcommand = false;
}
if (_root.backpack1 == 11 and _root.backpack1h == 601) {
dropchainsofcommand = false;
}
if (_root.backpack2 == 11 and _root.backpack2h == 601) {
dropchainsofcommand = false;
}
if (_root.backpack3 == 11 and _root.backpack3h == 601) {
dropchainsofcommand = false;
}
if (_root.backpack4 == 11 and _root.backpack4h == 601) {
dropchainsofcommand = false;
}
if (dropchainsofcommand == true) {
chain.gotoAndStop(2);
} else {
chain.gotoAndStop(3);
}
stop();
}
}
}
frame 2 {
if (_root.quest_HelpBeka == 0) {
gotoAndStop(21);
}
if (_root.quest_HelpBeka == 1 or _root.quest_HelpBeka == 2) {
gotoAndStop(11);
}
_root.choicetext = 'Looks like Beka is going to make it. Good thing Vendel is already dead, or he\'d be in for a lot of pain.';
_root.choiceA = 'You\'re looking better. Any changes with the tribe while I was gone?';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
if (dropchainsofcommand == true) {
_root.choiceS = 'Wasn\'t Vendel wearing that chain?';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
}
_root.choiceD = 'I could really use some better gear.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
if (_root.quest_HelpBeka == 2) {
_root.choicetext = 'Looks like Beka is going to make it. Good thing Vendel is already dead, or he\'d be in for a lot of pain.';
_root.choiceA = 'Beka, Vendel\'s been defeated. Can you stay & watch the rest of the tribe?';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = 'Beka, what were you doing here?';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
} else {
_root.choicetext = 'The woman is clearly going to be sore later, but otherwise she seems to be recovering quickly.';
_root.choiceA = 'Are you going to be alright? I need to save the rest of this town.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = 'Who are you?';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
}
stop();
}
frame 21 {
if (Math.floor(_root.player / 10) == 2) {
_root.choicetext = 'Beka is unconcious, but appears to be breathing.';
_root.choiceA = 'Beka! Are you alright?!!';
_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);
} else {
_root.choicetext = 'This girl is unconcious, but appears to be breathing.';
_root.choiceA = 'Hey there, are you alright?';
_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();
}
frame 51 {
switch (_root.quest_HelpBeka) {
case 3:
gotoAndPlay(_currentframe + 15);
break;
case 2:
gotoAndPlay(_currentframe + 10);
break;
case 1:
gotoAndPlay(_currentframe + 5);
break;
default:
if (Math.floor(_root.player / 10) == 2) {
_root.quest_HelpBeka = 2;
} else {
_root.quest_HelpBeka = 1;
}
}
}
frame 55 {
_root.held = 0;
stop();
}
frame 60 {
_root.held = 0;
stop();
}
frame 65 {
_root.held = 0;
stop();
}
frame 66 {
if (dropchainsofcommand == true) {
chain.gotoAndStop(2);
} else {
chain.gotoAndStop(3);
}
}
frame 70 {
_root.held = 0;
stop();
}
frame 101 {
if (_root.quest_HumanStash < 1) {
_root.quest_HumanStash = 1;
}
if (dropchainsofcommand == true) {
chain.gotoAndStop(2);
} else {
chain.gotoAndStop(3);
}
}
frame 121 {
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 11;
_root.itemnewh = 601;
dropchainsofcommand == false;
stop();
}
frame 151 {
if (_root.quest_HelpBeka >= 3) {
gotoAndPlay(_currentframe + 10);
} else {
if (_root.quest_HelpBeka == 2) {
gotoAndPlay(_currentframe + 5);
} else {
_root.quest_HelpBeka = 2;
}
}
}
frame 155 {
_root.held = 0;
stop();
}
frame 156 {
if (_root.quest_HumanStash < 1) {
_root.quest_HumanStash = 1;
}
}
frame 160 {
_root.held = 0;
stop();
}
frame 161 {
if (_root.quest_HumanStash < 1) {
_root.quest_HumanStash = 1;
}
}
frame 165 {
_root.held = 0;
stop();
}
}
movieClip 8093 {
frame 2 {
stop();
}
}
movieClip 8094 {
frame 2 {
stop();
}
}
movieClip 8097 {
frame 1 {
if (objecthitbox._currentframe > 10) {
gotoAndStop(201);
}
stop();
}
frame 2 {
_root.choicetext = 'A weapon rack. These weapons look like they\'ve seen a few too many battles, but they\'ll still do in a pinch.';
_root.choiceA = 'Get Longsword';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'Get Practice Sword';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 56 {
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 21;
_root.itemnewh = 301;
stop();
}
frame 106 {
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 22;
_root.itemnewh = 301;
stop();
}
}
movieClip 8099 {
frame 1 {
stop();
}
frame 2 {
_root.choicetext = 'A weapon rack. These weapons look like they\'ve seen a few too many battles, but they\'ll still do in a pinch.';
_root.choiceA = 'Get Stone Maul (large weapon)';
if (_root.player % 10 !== 1) {
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonA.gotoAndStop(6);
}
_root.choiceS = 'Get Stone Mace';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 56 {
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 32;
_root.itemnewh = 301;
stop();
}
frame 106 {
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 24;
_root.itemnewh = 301;
stop();
}
}
movieClip 8103 {
frame 1 {
if (_root.quest_HumanStash < 2) {
gotoAndStop(201);
}
stop();
}
frame 2 {
var gotgreatsword = false;
if (_root.wpn == 34) {
gotgreatsword = true;
}
if (_root.backpack1 == 34 and _root.backpack1h == 301) {
gotgreatsword = true;
}
if (_root.backpack2 == 34 and _root.backpack2h == 301) {
gotgreatsword = true;
}
if (_root.backpack3 == 34 and _root.backpack3h == 301) {
gotgreatsword = true;
}
if (_root.backpack4 == 34 and _root.backpack4h == 301) {
gotgreatsword = true;
}
if (gotgreatsword == true) {
gotoAndStop(11);
}
if (_root.GotStarterPlate > 0) {
_root.choicetext = 'A large trunk. Inside you see some pieces of plate mail and a very large sword. You think there\'s enough pieces here to make one set of armor that would fit you.';
} else {
_root.choicetext = 'A large trunk. Inside you see some pieces of plate mail and a very large sword.';
}
if (_root.GotStarterPlate > 0) {
_root.choiceA = 'Get starter plate (heavy armor)';
if (_root.player % 10 !== 1) {
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonA.gotoAndStop(6);
}
} else {
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
}
_root.choiceS = 'Get greatsword (large weapon)';
if (_root.player % 10 !== 1) {
_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();
}
frame 11 {
if (_root.GotStarterPlate > 0) {
_root.choicetext = 'A large trunk. Inside you see some pieces of plate mail. You think there\'s enough pieces here to make one set of armor that would fit you.';
} else {
_root.choicetext = 'A large trunk. Inside you see some pieces of plate mail.';
}
if (_root.GotStarterPlate > 0) {
_root.choiceA = 'Get starter plate (heavy armor)';
if (_root.player % 10 !== 1) {
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.box3.choicebox.choicebuttonA.gotoAndStop(6);
}
} 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();
}
frame 56 {
--_root.GotStarterPlate;
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 21;
_root.itemnewh = 150;
stop();
}
frame 106 {
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 34;
_root.itemnewh = 301;
stop();
}
}
movieClip 8105 {
frame 1 {
stop();
}
frame 2 {
var gotbattleaxe = false;
if (_root.wpn == 33) {
gotbattleaxe = true;
}
if (_root.backpack1 == 33 and _root.backpack1h == 301) {
gotbattleaxe = true;
}
if (_root.backpack2 == 33 and _root.backpack2h == 301) {
gotbattleaxe = true;
}
if (_root.backpack3 == 33 and _root.backpack3h == 301) {
gotbattleaxe = true;
}
if (_root.backpack4 == 33 and _root.backpack4h == 301) {
gotbattleaxe = true;
}
if (_root.quest_HelpBeka <= 2) {
gotbattleaxe = true;
}
if (gotbattleaxe == true) {
gotoAndStop(11);
}
if (_root.GotBreastPlate > 0) {
_root.choicetext = 'A large trunk. Inside you see some pieces of armor and a large axe. It looks like there\'s enough pieces here to build you one set of armor.';
} else {
_root.choicetext = 'A large trunk. Inside you see some pieces of armor and a large axe.';
}
if (_root.GotBreastPlate > 0) {
_root.choiceA = 'Get breast plate';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
}
_root.choiceS = 'Get battle axe (large weapon)';
if (_root.player % 10 !== 1) {
_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();
}
frame 11 {
_root.choicetext = 'A large trunk. Inside you see some pieces of armor.';
_root.choiceA = 'Get breast plate';
_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();
}
frame 56 {
--_root.GotBreastPlate;
_root.held = 901;
_root.itemselect = 2;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 51;
_root.itemnewh = 150;
stop();
}
frame 106 {
_root.held = 901;
_root.itemselect = 1;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 33;
_root.itemnewh = 301;
stop();
}
}
frame 82 {
_root.maxitems = 3;
if (_root.camframe._x < 0) {
_root.camframe.hero._xscale = 100;
}
_root.camframe.dark.gotoAndStop(2);
_root.doorleftgo = 70;
_root.doorleftgox = 1850;
var dropR15 = false;
if (_root.R15Loc == _root._currentframe) {
dropR15 = true;
}
if (_root.acc == 15) {
dropR15 = false;
}
if (_root.backpack1 == 15 and _root.backpack1h == 601) {
dropR15 = false;
}
if (_root.backpack2 == 15 and _root.backpack2h == 601) {
dropR15 = false;
}
if (_root.backpack3 == 15 and _root.backpack3h == 601) {
dropR15 = false;
}
if (_root.backpack4 == 15 and _root.backpack4h == 601) {
dropR15 = false;
}
if (dropR15 == true) {
var NewItemNumber = 615;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = 1800;
_root['obj_drop_ani' + itemnumber]._xscale = 100;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber);
}
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
_root.firechecked[_root._currentframe - 50] = 2;
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
addmobs(b, -750, 1250, 300, 0);
++i;
}
}
}
}
movieClip 8106 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8114 {
frame 1 {
if (_root.quest_openelves > 0) {
gotoAndStop(50);
}
}
frame 49 {
gotoAndPlay(1);
}
}
movieClip 8119 {
frame 1 {
stop();
}
frame 2 {
if (_root.quest_openelves > 0) {
gotoAndStop(11);
}
_root.choicetext = 'This dark tent appears to have a magical barrier preventing anyone from entering.';
_root.choiceA = 'Attempt to cross the ward.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (_root.spirit >= 5) {
_root.choiceD = '(Spirit Check) Study ward';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Spirit Check) Study ward';
_root.box3.choicebox.choicebuttonD.gotoAndStop(6);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'You peer inside a large tent, but it\'s too dark inside to make out any details.';
_root.choiceA = 'Enter Tent';
_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();
}
frame 51 {
if (_root.wpn == 2 or _root.acc == 10) {
_root.quest_openelves = 1;
wardrings.gotoAndPlay(1);
}
if (_root.quest_openelves > 0) {
gotoAndPlay(61);
}
}
frame 56 {
_root.held = 0;
stop();
}
frame 66 {
_root.gohere = 85;
_root.gox = -1000;
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 156 {
_root.held = 0;
stop();
}
}
movieClip 8121 {
frame 1 {
stop();
}
frame 2 {
_root.choicetext = 'You peer inside a large tent, but it\'s too dark inside to make out any details.';
_root.choiceA = 'Enter Tent';
_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();
}
frame 55 {
if (_root.camframe._x < 600) {
_root.gohere = 83;
_root.gox = 1500;
} else {
_root.gohere = 84;
_root.gox = -1000;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 83 {
_root.maxitems = 0;
_root.camframe.dark.gotoAndStop(3);
_root.camframe.hero._xscale = -100;
_root.doorrightgo = 82;
_root.doorrightgox = 300;
var dropR15 = false;
if (_root.R15Loc == _root._currentframe) {
dropR15 = true;
}
if (_root.acc == 15) {
dropR15 = false;
}
if (_root.backpack1 == 15 and _root.backpack1h == 601) {
dropR15 = false;
}
if (_root.backpack2 == 15 and _root.backpack2h == 601) {
dropR15 = false;
}
if (_root.backpack3 == 15 and _root.backpack3h == 601) {
dropR15 = false;
}
if (_root.backpack4 == 15 and _root.backpack4h == 601) {
dropR15 = false;
}
if (dropR15 == true) {
var NewItemNumber = 615;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = -1600;
_root['obj_drop_ani' + itemnumber]._xscale = 100;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber);
}
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 3 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
addmobs(b, -2000, 500, 300, 0);
++i;
}
}
}
}
movieClip 8124 {
}
movieClip 8126 {
}
movieClip 8128 {
}
movieClip 8130 {
}
movieClip 8132 {
}
movieClip 8134 {
frame 1 {
if (_root._currentframe == 85 && _root.act2clear >= 2) {
loadMovie('', this);
}
stop();
}
}
movieClip 8135 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 84 {
_root.maxitems = 0;
_root.camframe.dark.gotoAndStop(3);
_root.camframe.hero._xscale = 100;
_root.doorleftgo = 82;
_root.doorleftgox = 1000;
var dropR15 = false;
if (_root.R15Loc == _root._currentframe) {
dropR15 = true;
}
if (_root.acc == 15) {
dropR15 = false;
}
if (_root.backpack1 == 15 and _root.backpack1h == 601) {
dropR15 = false;
}
if (_root.backpack2 == 15 and _root.backpack2h == 601) {
dropR15 = false;
}
if (_root.backpack3 == 15 and _root.backpack3h == 601) {
dropR15 = false;
}
if (_root.backpack4 == 15 and _root.backpack4h == 601) {
dropR15 = false;
}
if (dropR15 == true) {
var NewItemNumber = 615;
++_root.maxitems;
var itemnumber = _root.maxitems;
_root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber);
_root['obj_drop_ani' + itemnumber]._x = 1200;
_root['obj_drop_ani' + itemnumber]._xscale = 100;
_root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber);
}
if (_root.act2clear < 10) {
if (_root.firechecked[_root._currentframe - 50] < 2) {
i = 0;
b = 0;
var a = 0;
var MaxMonsters = 3 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
b = Math.floor(Math.random() * 2) + 25;
if (b == 27) {
b = 26;
}
addmobs(b, -750, 0, 2000, 0);
++i;
}
}
}
}
movieClip 8136 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 85 {
_root.maxitems = 2;
_root.camframe.dark.gotoAndStop(3);
_root.camframe.hero._xscale = 100;
_root.doorleftgo = 82;
_root.doorleftgox = 650;
if (_root.act2clear < 2) {
addmobs(25, 800, 800, 0, 2);
_root.BGA[0][4] = 120 * _root.gamediff;
}
}
movieClip 8139 {
}
movieClip 8141 {
}
movieClip 8143 {
}
movieClip 8145 {
}
movieClip 8146 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8150 {
frame 1 {
if (_root.acc == 12) {
gotoAndStop(3);
}
if (_root.backpack1 == 12 and _root.backpack1h == 601) {
gotoAndStop(3);
}
if (_root.backpack2 == 12 and _root.backpack2h == 601) {
gotoAndStop(3);
}
if (_root.backpack3 == 12 and _root.backpack3h == 601) {
gotoAndStop(3);
}
if (_root.backpack4 == 12 and _root.backpack4h == 601) {
gotoAndStop(3);
}
}
frame 2 {
stop();
}
}
movieClip 8151 {
frame 1 {
if (_root.act2clear < 2) {
loadMovie('', this);
}
stop();
}
frame 2 {
droptiara = true;
if (_root.acc == 12) {
droptiara = false;
}
if (_root.backpack1 == 12 and _root.backpack1h == 601) {
droptiara = false;
}
if (_root.backpack2 == 12 and _root.backpack2h == 601) {
droptiara = false;
}
if (_root.backpack3 == 12 and _root.backpack3h == 601) {
droptiara = false;
}
if (_root.backpack4 == 12 and _root.backpack4h == 601) {
droptiara = false;
}
_root.choicetext = 'You see a magestic throne.';
_root.choiceA = 'Have a seat.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
if (droptiara == true) {
_root.choiceS = 'Take Tiara';
_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();
}
frame 51 {
_root.held = 910;
_root.camframe.box.gotoAndPlay(61);
_root.camframe.hero.gotoAndStop(12);
if (_root.acc == 12) {
gotoAndPlay(61);
}
}
frame 55 {
stop();
}
frame 61 {
_root.held = 910;
}
frame 65 {
stop();
}
frame 105 {
_root.held = 901;
_root.itemselect = 3;
_root.camframe.box.gotoAndPlay(2);
_root.itemnew = 12;
_root.itemnewh = 601;
droptiara == false;
tiara.gotoAndStop(3);
stop();
}
}
movieClip 8153 {
frame 1 {
if (_root.act2clear < 10) {
loadMovie('', this);
}
stop();
}
frame 2 {
var funtime = 0;
var NewItemNumber = 0;
_root.choicetext = 'Pungent pefumes assault you as you peer around the curtain. You see several shadows dancing and twisting in the darkness.';
_root.choiceA = 'Join the dance and find one partner.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'Join the dance and find two partners.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = 'Skip the dance and grab three partners.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 11 {
_root.choicetext = 'The erotic dancing is overwhelming your senses.';
_root.choiceA = 'Sneak outside with a guy.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'Sneak outside with a girl.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 21 {
_root.choicetext = 'The erotic dancing is overwhelming your senses.';
_root.choiceA = 'Sneak outside with two guys.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
_root.choiceS = 'Sneak outside with a guy and girl.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = 'Sneak outside with two girls.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 56 {
if (funtime == 0) {
funtime = 10;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(11);
} else {
if (_root.armor > 1) {
NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25);
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
++_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(NewItemNumber);
}
_root.grapple = 25;
_root.held = 1100;
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
if (funtime == 10) {
_root.camframe.hero.gotoAndStop(66);
_root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0;
monscale = 50 + _root.BGA[0][1] * 10;
} else {
_root.camframe.hero.gotoAndStop(118);
_root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
monscale2 = 100;
monscale = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
}
}
stop();
}
frame 105 {
if (funtime == 0) {
funtime = 20;
_root.held = 900;
_root.box3.gotoAndPlay(2);
this.gotoAndStop(21);
} else {
if (_root.armor > 1) {
NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25);
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
++_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(NewItemNumber);
}
_root.grapple = 25;
_root.held = 1100;
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
if (funtime == 10) {
_root.camframe.hero.gotoAndStop(67);
_root.BGA.push([26, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
monscale = 50 + _root.BGA[0][1] * 10;
} else {
_root.camframe.hero.gotoAndStop(119);
_root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([26, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
monscale2 = 100;
monscale = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
}
}
stop();
}
frame 155 {
if (_root.armor > 1) {
NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25);
_root.armor = 1;
_root.armorhmax = 0;
_root.armorh = 0;
_root.camframe.box.invarm.gotoAndPlay(1);
++_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(NewItemNumber);
}
_root.grapple = 25;
_root.held = 1100;
_root.camframe.box.gotoAndPlay(31);
_root.camframe.box.grapplebar.eschero._x = -400;
_root.camframe.box.grapplebar.escbg._x = 400;
_root.camframe.box.grapplebar.gbarmark._alpha = 100;
if (funtime == 20) {
_root.camframe.hero.gotoAndStop(120);
_root.BGA.push([26, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([26, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
monscale2 = 100;
monscale = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
} else {
_root.camframe.hero.gotoAndStop(201);
_root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
_root.BGA.push([26, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]);
monscale2 = 100;
monscale = 100;
_root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2;
_root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100;
}
stop();
}
}
frame 88 {
_root.camframe.dark.gotoAndStop(2);
_root.maxitems = 1;
_root.doorleftgo = 74;
_root.doorleftgox = 2500;
_root.attachMovie('heightbox', 'topbox1201', 1201);
_root.bridge.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
var i = 0;
var b = 10;
i = 1;
while (i <= 5) {
_root.attachMovie('heightchanger', 'bg' + i, i);
_root['bg' + i]._x = 225 * i;
_root['bg' + i]._y = 75 - i * 25;
_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]]);
++i;
}
i = 6;
while (i <= 10) {
_root.attachMovie('heightchanger', 'bg' + i, i);
_root['bg' + i]._x = 225 * i;
_root['bg' + i]._y = i * 25 - 200;
_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]]);
++i;
}
if (_root.gamestart == 'Act3Start') {
_root.gamestart = 'Act3';
_root.camframe._x = -500;
}
}
movieClip 8156 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8158 {
}
movieClip 8160 {
frame 2 {
_root.choicetext = 'There\'s a shallow path here. You can move East (down) & follow the river, or you can head West (up) into the mountains.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up) Head west into the mountains (Not built yet).';
_root.box3.choicebox.choicebuttonS.gotoAndStop(6);
_root.choiceD = '(Go Down) Head east along the river.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
if (_root._currentframe == 58) {
_root.gohere = 78;
_root.gox = -1750;
} else {
_root.gohere = 58;
_root.gox = _root.camframe._x;
}
_root.fadeout.gotoAndPlay(1);
stop();
}
frame 151 {
_root.gohere = 111;
_root.gox = -1750;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 92 {
_root.maxitems = 0;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = -1750;
}
movieClip 8163 {
}
movieClip 8165 {
}
movieClip 8167 {
}
movieClip 8169 {
}
movieClip 8171 {
}
movieClip 8172 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 93 {
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 2500;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = -1750;
}
movieClip 8174 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8178 {
frame 2 {
_root.choicetext = 'There\'s a path here that leads back towards the lake.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = '(Go Down) Follow the path South.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 151 {
_root.gohere = 103;
_root.gox = -1400;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 94 {
_root.maxitems = 0;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 2500;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = -1750;
}
movieClip 8180 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 95 {
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 2500;
}
movieClip 8182 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8184 {
frame 2 {
_root.choicetext = 'There\'s a path here that back to the lake.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = '(Go Down) Follow the path South.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 151 {
_root.gohere = 105;
_root.gox = 1600;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 103 {
_root.maxitems = 2;
var i = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
addmobs(31, -1750, 1750, 300, 0);
++i;
}
}
movieClip 8186 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8188 {
frame 2 {
_root.choicetext = 'There\'s a path here that leads further into the woods.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up) Follow the path North.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
_root.gohere = 93;
_root.gox = -1100;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 8190 {
frame 2 {
_root.choicetext = 'The water here is too deep to cross, and the jungle is too thick to follow the coast any farther north.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up) The path North is blocked.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(11);
_root.choiceD = '(Go Down) Return back to the river mouth.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 151 {
_root.gohere = 113;
_root.gox = 1850;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 105 {
_root.maxitems = 2;
}
movieClip 8192 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8194 {
frame 2 {
_root.choicetext = 'There\'s a sandbar here. It\'s tall enough that you could wade out to the island in the middle of the lake.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = '(Go Down) Walk South to the main island.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 151 {
_root.gohere = 115;
_root.gox = -900;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 8196 {
frame 2 {
_root.choicetext = 'This path leads deeper into the woods.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up) Follow the path North.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
_root.gohere = 95;
_root.gox = 2000;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 111 {
_root.maxitems = 0;
_root.doorleftgo = 88;
_root.doorleftgox = 3000;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = -1750;
removeMovieClip(_root.bridge);
addmobs(31, 0, 1000, 300, 0);
}
movieClip 8200 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 112 {
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 2500;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = -1750;
_root.attachMovie('heightbox', 'topbox1201', 1201);
_root.obj1.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
}
movieClip 8203 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8206 {
frame 2 {
_root.choicetext = 'A log has fallen accross the river here. It looks sturdy enough to cross.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = '(Go Down) Cross River.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 151 {
_root.gohere = 122;
_root.gox = 250;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 113 {
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 2500;
removeMovieClip(_root.bridge);
var i = 0;
var MaxMonsters = 1 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
addmobs(31, -1750, 1750, 300, 0);
++i;
}
}
movieClip 8208 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8210 {
frame 2 {
_root.choicetext = 'The river opens up into a small lake with a few islands. It is too deep to cross here, but you may be able to get there by following the shore.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up) Follow the beach North.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
_root.gohere = 103;
_root.gox = 1300;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 114 {
_root.maxitems = 0;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = -1750;
}
movieClip 8212 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 115 {
_root.maxitems = 2;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 2500;
var i = 0;
var MaxMonsters = 2 + Math.round(Math.random() * 2);
i = 0;
while (i < MaxMonsters) {
addmobs(31, -1750, 1750, 300, 0);
++i;
}
}
movieClip 8214 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8216 {
frame 2 {
_root.choicetext = 'There is a shallow sandbar here. You should be able to walk across it to get to the other side of the river.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up) Walk to the river bank.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(211);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
_root.gohere = 105;
_root.gox = 500;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 8218 {
frame 2 {
var swimtest = false;
if (_root.armorh == 0) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 1) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 6) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 8) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 11) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 12) {
swimtest = true;
}
if (_root.body >= 6) {
if (Math.floor(_root.armor / 10) == 3) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 10) {
swimtest = true;
}
}
if (swimtest == true) {
_root.choicetext = 'The water here looks shallow. You could probably swim across to the other river bank.';
} else {
_root.choicetext = 'The water here looks shallow. You could probably swim across if your armor wasn\'t so heavy.';
}
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
if (swimtest == true) {
_root.choiceD = '(Go Down) Swim to the river bank.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
} else {
_root.choiceD = '(Go Down) Swim to the river bank.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(11);
}
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 151 {
_root.gohere = 125;
_root.gox = 750;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 120 {
_root.camframe.hero._xscale = 100;
_root.maxitems = 2;
_root.doorleftgo = _root._currentframe + 1;
_root.doorleftgox = -4700;
}
movieClip 8220 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8222 {
frame 1 {
if (_root.firechecked[_root._currentframe - 50 + 3] < 2) {
loadMovie('', smoke);
}
stop();
}
frame 2 {
_root.choicetext = 'A simple straw bed.';
_root.choiceA = '(Restore Health) Take a quick rest.';
_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();
}
frame 55 {
_root.health = _root.maxhealth;
_root.fadeout.gotoAndPlay(25);
stop();
}
}
frame 121 {
_root.maxitems = 1;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = -1750;
}
movieClip 8225 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8227 {
frame 1 {
if (_root.firechecked[_root._currentframe - 50 + 1] < 2) {
loadMovie('', smoke);
}
stop();
}
frame 2 {
_root.choicetext = 'This looks like an old HoppyKin burrow. It appears to be abbandoned.';
_root.choiceA = 'Enter burrow.';
_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();
}
frame 51 {
_root.gohere = _root._currentframe - 1;
_root.gox = -1800;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 122 {
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 2500;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = -1750;
removeMovieClip(_root.Beach3x4Folliage);
}
movieClip 8229 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8232 {
frame 2 {
_root.choicetext = 'A log has fallen accross the river here. It looks sturdy enough to cross.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up) Cross River';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
_root.gohere = 112;
_root.gox = 500;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 123 {
_root.maxitems = 2;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 2500;
_root.attachMovie('heightbox', 'topbox1201', 1201);
_root.Beach3x4Folliage.swapDepths(_root.topbox1201);
_root.topbox1201.unloadMovie();
var i = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
addmobs(31, -1750, 1750, 300, 0);
++i;
}
}
movieClip 8234 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8236 {
frame 2 {
var swimtest = false;
if (_root.armorh == 0) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 1) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 6) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 8) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 11) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 12) {
swimtest = true;
}
if (_root.body >= 6) {
if (Math.floor(_root.armor / 10) == 3) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 10) {
swimtest = true;
}
}
if (swimtest == true) {
_root.choicetext = 'There\'s a small island just off the shore here. You could probably swim to it.';
} else {
_root.choicetext = 'There\'s a small island just off the shore here. You could probably swim to it if your armor wasn\'t so heavy.';
}
if (swimtest == true) {
_root.choiceA = '(Go Right) Swim to the river bank.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = '(Go Right) Swim to the river bank.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(11);
}
_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();
}
frame 51 {
_root.gohere = 124;
_root.gox = -1000;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 8237 {
frame 2 {
_root.choicetext = 'There\'s a break in the dune weeds here. You could pass walk deeper into the folliage here without any trouble.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = '(Go Down) Walk South into the scrub-brush.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 151 {
_root.gohere = 133;
_root.gox = -200;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 8238 {
}
frame 124 {
_root.maxitems = 2;
removeMovieClip(_root.Beach3x4Folliage);
}
movieClip 8240 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8242 {
frame 2 {
var swimtest = false;
if (_root.armorh == 0) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 1) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 6) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 8) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 11) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 12) {
swimtest = true;
}
if (_root.body >= 6) {
if (Math.floor(_root.armor / 10) == 3) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 10) {
swimtest = true;
}
}
if (swimtest == true) {
_root.choicetext = 'You can see the shoreline from here. You could probably swim to it.';
} else {
_root.choicetext = 'You can see the shoreline from here. You could probably swim to it if your armor wasn\'t so heavy.';
}
if (swimtest == true) {
_root.choiceA = '(Go Right) Swim to the river bank.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = '(Go Right) Swim to the river bank.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(11);
}
_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();
}
frame 51 {
_root.gohere = 125;
_root.gox = -1250;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 8244 {
frame 2 {
var swimtest = false;
if (_root.armorh == 0) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 1) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 6) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 8) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 11) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 12) {
swimtest = true;
}
if (_root.body >= 6) {
if (Math.floor(_root.armor / 10) == 3) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 10) {
swimtest = true;
}
}
if (swimtest == true) {
_root.choicetext = 'You can see the shoreline from here. You could probably swim to it.';
} else {
_root.choicetext = 'You can see the shoreline from here. You could probably swim to it if your armor wasn\'t so heavy.';
}
if (swimtest == true) {
_root.choiceA = '(Go Left) Swim to the river bank.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = '(Go Left) Swim to the river bank.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(11);
}
_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();
}
frame 51 {
_root.gohere = 123;
_root.gox = 1500;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 125 {
_root.maxitems = 3;
var i = 0;
var MaxMonsters = 2 + Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
addmobs(31, -1750, 1750, 300, 0);
++i;
}
}
movieClip 8246 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8248 {
frame 2 {
var swimtest = false;
if (_root.armorh == 0) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 1) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 6) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 8) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 11) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 12) {
swimtest = true;
}
if (_root.body >= 6) {
if (Math.floor(_root.armor / 10) == 3) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 10) {
swimtest = true;
}
}
if (swimtest == true) {
_root.choicetext = 'The water here looks shallow. You could probably swim out to the other island.';
} else {
_root.choicetext = 'The water here looks shallow. You could probably swim out to the other island if your armor wasn\'t so heavy.';
}
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
if (swimtest == true) {
_root.choiceS = '(Go Up) Swim to the island.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
} else {
_root.choiceS = '(Go Up) Swim to the island.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(11);
}
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
_root.gohere = 115;
_root.gox = 2100;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 8250 {
frame 2 {
var swimtest = false;
if (_root.armorh == 0) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 1) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 6) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 8) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 11) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 12) {
swimtest = true;
}
if (_root.body >= 6) {
if (Math.floor(_root.armor / 10) == 3) {
swimtest = true;
}
if (Math.floor(_root.armor / 10) == 10) {
swimtest = true;
}
}
if (swimtest == true) {
_root.choicetext = 'There\'s a small island just off the shore. You could probably swim to it.';
} else {
_root.choicetext = 'There\'s a small island just off the shore. You could probably swim to it if your armor wasn\'t so heavy.';
}
if (swimtest == true) {
_root.choiceA = '(Go Left) Swim to the river bank.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(1);
} else {
_root.choiceA = '(Go Left) Swim to the river bank.';
_root.box3.choicebox.choicebuttonA.gotoAndStop(11);
}
_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();
}
frame 51 {
_root.gohere = 124;
_root.gox = 2500;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
movieClip 8252 {
frame 2 {
_root.choicetext = 'There\'s path here that leads away from the beach.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '';
_root.box3.choicebox.choicebuttonS.gotoAndStop(21);
_root.choiceD = '(Go Down) Walk South.';
_root.box3.choicebox.choicebuttonD.gotoAndStop(1);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 151 {
_root.gohere = 135;
_root.gox = 1500;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 133 {
_root.maxitems = 1;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = -1750;
removeMovieClip(_root.Beach3x4Folliage);
var i = 0;
var MaxMonsters = +Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
addmobs(31, -1750, 1750, 300, 0);
++i;
}
}
movieClip 8255 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8258 {
frame 2 {
_root.choicetext = 'There\'s path through the weeds here. Looks like it leads back to the river.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up). Walk North to the river bank.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
_root.gohere = 123;
_root.gox = 0;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 134 {
_root.maxitems = 0;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 2250;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = -1500;
var i = 0;
var MaxMonsters = +Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
addmobs(31, -1750, 1750, 300, 0);
++i;
}
}
movieClip 8260 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 135 {
_root.maxitems = 1;
_root.doorleftgo = _root._currentframe - 1;
_root.doorleftgox = 2500;
var i = 0;
var MaxMonsters = +Math.round(Math.random());
i = 0;
while (i < MaxMonsters) {
addmobs(31, -1750, 1750, 300, 0);
++i;
}
}
movieClip 8263 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8265 {
frame 2 {
_root.choicetext = 'The river empties out into the ocean here. Although most of the beach is blocked, there is a small path leading north back towards the river mouth.';
_root.choiceA = '';
_root.box3.choicebox.choicebuttonA.gotoAndStop(21);
_root.choiceS = '(Go Up). Walk North to the river mouth.';
_root.box3.choicebox.choicebuttonS.gotoAndStop(1);
_root.choiceD = '';
_root.box3.choicebox.choicebuttonD.gotoAndStop(21);
_root.choiceF = '(Cancel)';
_root.box3.choicebox.choicebuttonF.gotoAndStop(1);
stop();
}
frame 101 {
_root.gohere = 125;
_root.gox = 2300;
_root.fadeout.gotoAndPlay(1);
stop();
}
}
frame 201 {
_root.maxitems = 0;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = 0;
_root.camframe.dark.gotoAndStop(1);
_root.quest_pirateboss = 0;
removeMovieClip(_root.shrubwall2);
_root.rightwall.gotoAndStop(2);
_root.camframe.HordeModeText.gotoAndPlay(1);
_root.camframe._x = 0;
if (_root.hordelevel == 1) {
if (Math.floor(_root.player % 10) == 1) {
_root.HMArmor.splice(0, 1, 15, 35, 47, 113, 56, 65);
_root.HMWeapon.splice(0, 1, 311, 321, 341, 302, 322, 342, 313, 312);
} else {
if (Math.floor(_root.player % 10) == 3) {
_root.HMArmor.splice(0, 1, 15, 27, 35, 47, 113, 56, 65);
_root.HMWeapon.splice(0, 1, 311, 321, 331, 302, 322, 332, 313, 312, 334, 333);
} else {
_root.HMArmor.splice(0, 1, 15, 27, 35, 47, 113, 56, 65);
_root.HMWeapon.splice(0, 1, 311, 321, 341, 333, 334, 302, 322, 342, 313, 312);
}
}
_root.HMAccessory.splice(0, 1, 602, 603, 604, 609, 610, 611, 612);
_root.HMPotion.splice(0, 1, 616, 617, 618, 619);
}
DetermineItemCode = function () {
var v3 = Math.floor(Math.random() * 4);
var v2 = 0;
switch (v3) {
case 0:
v2 = Math.floor(Math.random() * 3 * _root.gamediff);
if (v2 >= _root.HMArmor.length) {
v2 = _root.HMArmor.length - 1;
}
v3 = _root.HMArmor[v2];
break;
case 1:
v2 = Math.floor(Math.random() * 4 * _root.gamediff);
if (v2 >= _root.HMWeapon.length) {
v2 = _root.HMWeapon.length - 1;
}
v3 = _root.HMWeapon[v2];
break;
case 2:
v2 = Math.floor(Math.random() * 3 * _root.gamediff);
if (v2 >= _root.HMAccessory.length) {
v2 = _root.HMAccessory.length - 1;
}
v3 = _root.HMAccessory[v2];
break;
default:
v2 = Math.floor(Math.random() * 2 * _root.gamediff);
if (v2 >= _root.HMPotion.length) {
v2 = _root.HMPotion.length - 1;
}
v3 = _root.HMPotion[v2];
}
if (Math.random() > 0.5) {
DropItem(Math.random() * 200 - 100, 100, v3);
} else {
DropItem(Math.random() * 200 - 100, -100, v3);
}
};
additems = setInterval(function () {
if (_root.maxitems <= _root.hordelevel / 10) {
DetermineItemCode();
} else {
clearInterval(additems);
}
}, 100);
var mcount = 0;
var mtotal = Math.floor(4 * _root.gamediff);
var b = 0;
addmonsters = setInterval(function () {
if (_root._currentframe == 201) {
if (mcount < mtotal) {
if (_root.BGA.length < _root.hordemax) {
if (math.random() * _root.gamediff <= 1) {
b = Math.floor(Math.random() * 2) + 16;
if (b == 18) {
b = 17;
}
} else {
b = Math.floor(Math.random() * 15) + 15;
if (b < 16) {
b = 11;
}
if (b == 18) {
b = 19;
}
if (b == 21) {
b = 22;
}
if (b == 24) {
b = 25;
}
if (b == 27) {
b = 28;
}
if (b > 29) {
b = 29;
}
}
if (_root.BGtype[b][7] == 0 or b == 16 or b == 17) {
++mcount;
addmobs(b, -1000, 1000, 500, 0);
}
}
} else {
if (_root.BGA.length == 0) {
_root.crate1.gotoAndStop(11);
_root.rightwall.gotoAndStop(3);
_root.doorright.gotoAndStop(3);
_root.camframe.HordeModeText.gotoAndPlay(51);
++_root.hordelevel;
_root.health = _root.maxhealth;
clearInterval(addmonsters);
}
}
} else {
clearInterval(addmonsters);
}
}, 1000);
stop();
}
movieClip 8266 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8268 {
frame 1 {
stop();
}
}
movieClip 8269 {
frame 2 {
stop();
}
}
movieClip 8270 {
frame 2 {
stop();
}
}
frame 202 {
_root.maxitems = 0;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = 0;
removeMovieClip(_root.crate1);
_root.rightwall.gotoAndStop(2);
_root.camframe.HordeModeText.gotoAndPlay(1);
additems = setInterval(function () {
if (_root.maxitems <= _root.hordelevel / 10) {
DetermineItemCode();
} else {
clearInterval(additems);
}
}, 100);
var mcount = 0;
var mtotal = Math.floor(6 * _root.gamediff);
var b = 0;
addmonsters = setInterval(function () {
if (_root._currentframe == 202) {
if (mcount < mtotal) {
if (_root.BGA.length < _root.hordemax) {
if (math.random() * _root.gamediff <= 1) {
b = Math.floor(Math.random() * 5) + 15;
if (b < 16) {
b = 11;
}
if (b == 18) {
b = 19;
}
} else {
b = Math.floor(Math.random() * 15) + 15;
if (b < 16) {
b = 11;
}
if (b == 18) {
b = 19;
}
if (b == 21) {
b = 22;
}
if (b == 24) {
b = 25;
}
if (b == 27) {
b = 28;
}
if (b > 29) {
b = 29;
}
}
if (_root.BGtype[b][7] == 0 or b == 11 or b == 19) {
++mcount;
addmobs(b, -1250, 1250, 500, 0);
}
}
} else {
if (_root.BGA.length == 0) {
_root.crate2.gotoAndStop(11);
_root.rightwall.gotoAndStop(3);
_root.doorright.gotoAndStop(3);
_root.camframe.HordeModeText.gotoAndPlay(51);
++_root.hordelevel;
_root.health = _root.maxhealth;
clearInterval(addmonsters);
}
}
} else {
clearInterval(addmonsters);
}
}, 1000);
stop();
}
movieClip 8271 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 203 {
_root.maxitems = 0;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = 0;
removeMovieClip(_root.crate2);
_root.rightwall.gotoAndStop(2);
_root.camframe.HordeModeText.gotoAndPlay(1);
additems = setInterval(function () {
if (_root.maxitems <= _root.hordelevel / 10) {
DetermineItemCode();
} else {
clearInterval(additems);
}
}, 100);
var mcount = 0;
var mtotal = Math.floor(10 * _root.gamediff);
var b = 0;
addmonsters = setInterval(function () {
if (_root._currentframe == 203) {
if (mcount < mtotal) {
if (_root.BGA.length < _root.hordemax) {
if (math.random() * _root.gamediff <= 1) {
b = Math.floor(Math.random() * 6) + 15;
if (b < 16) {
b = 11;
}
if (b == 18) {
b = 19;
}
if (b == 21) {
b = 20;
}
} else {
b = Math.floor(Math.random() * 15) + 15;
if (b < 16) {
b = 11;
}
if (b == 18) {
b = 19;
}
if (b == 21) {
b = 22;
}
if (b == 24) {
b = 25;
}
if (b == 27) {
b = 28;
}
if (b > 29) {
b = 29;
}
}
if (_root.BGtype[b][7] == 0 or b == 20) {
++mcount;
addmobs(b, -1500, 1500, 500, 0);
}
}
} else {
if (_root.BGA.length == 0) {
_root.crate3.gotoAndStop(11);
_root.rightwall.gotoAndStop(3);
_root.doorright.gotoAndStop(3);
_root.camframe.HordeModeText.gotoAndPlay(51);
++_root.hordelevel;
_root.health = _root.maxhealth;
clearInterval(addmonsters);
}
}
} else {
clearInterval(addmonsters);
}
}, 1000);
stop();
}
movieClip 8272 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 204 {
_root.maxitems = 0;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = 0;
removeMovieClip(_root.crate3);
_root.rightwall.gotoAndStop(2);
_root.camframe.HordeModeText.gotoAndPlay(1);
additems = setInterval(function () {
if (_root.maxitems <= _root.hordelevel / 10) {
DetermineItemCode();
} else {
clearInterval(additems);
}
}, 100);
var mcount = 0;
var mtotal = Math.floor(8 * _root.gamediff);
var b = 0;
addmonsters = setInterval(function () {
if (_root._currentframe == 204) {
if (mcount < mtotal) {
if (_root.BGA.length < _root.hordemax) {
if (math.random() * _root.gamediff <= 1) {
b = Math.floor(Math.random() * 2) + 22;
if (b == 24) {
b = 23;
}
} else {
b = Math.floor(Math.random() * 15) + 15;
if (b < 16) {
b = 11;
}
if (b == 18) {
b = 19;
}
if (b == 21) {
b = 22;
}
if (b == 24) {
b = 25;
}
if (b == 27) {
b = 28;
}
if (b > 29) {
b = 29;
}
}
if (_root.BGtype[b][7] == 0 or b == 22 or b == 23) {
++mcount;
addmobs(b, -1250, 1250, 500, 0);
}
}
} else {
if (_root.BGA.length == 0) {
_root.dune1.gotoAndStop(11);
_root.rightwall.gotoAndStop(3);
_root.doorright.gotoAndStop(3);
_root.camframe.HordeModeText.gotoAndPlay(51);
++_root.hordelevel;
_root.health = _root.maxhealth;
clearInterval(addmonsters);
}
}
} else {
clearInterval(addmonsters);
}
}, 1000);
stop();
}
movieClip 8273 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8274 {
frame 2 {
stop();
}
}
frame 205 {
_root.maxitems = 0;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = 0;
removeMovieClip(_root.dune1);
_root.rightwall.gotoAndStop(2);
_root.camframe.HordeModeText.gotoAndPlay(1);
additems = setInterval(function () {
if (_root.maxitems <= _root.hordelevel / 10) {
DetermineItemCode();
} else {
clearInterval(additems);
}
}, 100);
var mcount = 0;
var mtotal = Math.floor(10 * _root.gamediff);
var b = 0;
addmonsters = setInterval(function () {
if (_root._currentframe == 205) {
if (mcount < mtotal) {
if (_root.BGA.length < _root.hordemax) {
if (math.random() * _root.gamediff <= 1) {
b = Math.floor(Math.random() * 5) + 22;
if (b == 24) {
b = 25;
}
if (b == 27) {
b = 26;
}
} else {
b = Math.floor(Math.random() * 15) + 15;
if (b < 16) {
b = 11;
}
if (b == 18) {
b = 19;
}
if (b == 21) {
b = 22;
}
if (b == 24) {
b = 25;
}
if (b == 27) {
b = 28;
}
if (b > 29) {
b = 29;
}
}
if (_root.BGtype[b][7] == 0 or b == 25 or b == 26) {
++mcount;
addmobs(b, -1500, 1500, 500, 0);
}
}
} else {
if (_root.BGA.length == 0) {
_root.dune2.gotoAndStop(11);
_root.rightwall.gotoAndStop(3);
_root.doorright.gotoAndStop(3);
_root.camframe.HordeModeText.gotoAndPlay(51);
++_root.hordelevel;
_root.health = _root.maxhealth;
clearInterval(addmonsters);
}
}
} else {
clearInterval(addmonsters);
}
}, 1000);
stop();
}
movieClip 8275 {
frame 1 {
this.cacheAsBitmap = true;
}
}
frame 206 {
_root.maxitems = 0;
_root.doorrightgo = _root._currentframe + 1;
_root.doorrightgox = 0;
removeMovieClip(_root.dune2);
_root.rightwall.gotoAndStop(2);
_root.camframe.HordeModeText.gotoAndPlay(1);
additems = setInterval(function () {
if (_root.maxitems <= _root.hordelevel / 10) {
DetermineItemCode();
} else {
clearInterval(additems);
}
}, 100);
var mcount = 0;
var mtotal = Math.floor(10 * _root.gamediff);
var b = 0;
addmonsters = setInterval(function () {
if (_root._currentframe == 206) {
if (mcount < mtotal) {
if (_root.BGA.length < _root.hordemax) {
if (math.random() * _root.gamediff <= 1) {
b = Math.floor(Math.random() * 8) + 22;
if (b == 24) {
b = 25;
}
if (b == 27) {
b = 28;
}
if (b > 29) {
b = 29;
}
} else {
b = Math.floor(Math.random() * 15) + 15;
if (b < 16) {
b = 11;
}
if (b == 18) {
b = 19;
}
if (b == 21) {
b = 22;
}
if (b == 24) {
b = 25;
}
if (b == 27) {
b = 28;
}
if (b > 29) {
b = 29;
}
}
if (_root.BGtype[b][7] == 0 or b == 28 or b == 29) {
++mcount;
addmobs(b, -1500, 1500, 500, 0);
}
}
} else {
if (_root.BGA.length == 0) {
_root.shrubwall1.gotoAndStop(11);
_root.rightwall.gotoAndStop(3);
_root.doorright.gotoAndStop(3);
_root.camframe.HordeModeText.gotoAndPlay(51);
++_root.hordelevel;
_root.health = _root.maxhealth;
clearInterval(addmonsters);
}
}
} else {
clearInterval(addmonsters);
}
}, 1000);
stop();
}
movieClip 8276 {
frame 1 {
this.cacheAsBitmap = true;
}
}
movieClip 8277 {
frame 2 {
stop();
}
}
frame 207 {
_root.maxitems = 0;
_root.doorrightgo = 101;
_root.doorrightgox = 0;
removeMovieClip(_root.shrubwall1);
_root.rightwall.gotoAndStop(2);
_root.camframe.HordeModeText.gotoAndPlay(1);
additems = setInterval(function () {
if (_root.maxitems <= _root.hordelevel / 10) {
DetermineItemCode();
} else {
clearInterval(additems);
}
}, 100);
var mcount = 0;
var mtotal = Math.floor(12 * _root.gamediff);
var b = 0;
addmonsters = setInterval(function () {
if (_root._currentframe == 207) {
if (mcount < mtotal) {
if (_root.BGA.length < _root.hordemax) {
if (math.random() * _root.gamediff <= 1) {
b = Math.floor(Math.random() * 8) + 22;
if (b == 24) {
b = 25;
}
if (b == 27) {
b = 28;
}
if (b > 29) {
b = 29;
}
} else {
b = Math.floor(Math.random() * 15) + 15;
if (b < 16) {
b = 11;
}
if (b == 18) {
b = 19;
}
if (b == 21) {
b = 22;
}
if (b == 24) {
b = 25;
}
if (b == 27) {
b = 28;
}
if (b > 29) {
b = 29;
}
}
if (_root.BGtype[b][7] == 0) {
++mcount;
addmobs(b, -1500, 1500, 500, 0);
}
}
} else {
if (_root.BGA.length == 0) {
_root.shrubwall2.gotoAndStop(11);
_root.rightwall.gotoAndStop(3);
_root.doorright.gotoAndStop(3);
_root.camframe.HordeModeText.gotoAndPlay(101);
_root.hordelevel += 4;
switch (_root.hordelevel) {
case 11:
if (_root.backpack2 == -1) {
_root.camframe.box.invbox.gotoAndPlay(2);
_root.backpack2 = 1;
}
break;
case 21:
if (_root.backpack3 == -1) {
_root.camframe.box.invbox.gotoAndPlay(2);
_root.backpack3 = 1;
}
break;
case 31:
if (_root.backpack4 == -1) {
_root.camframe.box.invbox.gotoAndPlay(2);
_root.backpack4 = 1;
}
}
_root.gamediff += 0.25;
_root.health = _root.maxhealth;
clearInterval(addmonsters);
}
}
} else {
clearInterval(addmonsters);
}
}, 1000);
stop();
}
movieClip 8278 {
frame 1 {
this.cacheAsBitmap = true;
}
}