STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
196940
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2142 · P4284

swfchan now supports swf files with LZMA compression.

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/36398789?noj=FRM36398789-16DC" width="1" height="1"></div>

null.swf

This is the info page for
Flash #205320

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
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 275 item_symbol { frame 1 { stop(); } } movieClip 276 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 278 { } movieClip 280 { } movieClip 282 { } movieClip 285 { } movieClip 288 { } movieClip 289 { } movieClip 291 { } movieClip 292 { frame 11 { this._parent.unloadMovie(); } } movieClip 293 zombiedoor { frame 1 { stop(); } } movieClip 295 { } movieClip 297 { } movieClip 299 { } movieClip 301 { } movieClip 303 { } movieClip 305 { } movieClip 307 { } movieClip 309 { } movieClip 311 { } movieClip 313 { } movieClip 315 { } movieClip 317 { } movieClip 319 { } movieClip 321 { } movieClip 326 { } movieClip 328 { } movieClip 330 { } movieClip 332 { } movieClip 334 { } movieClip 336 { } movieClip 337 { } movieClip 338 { } movieClip 339 { } movieClip 341 { } movieClip 342 { } movieClip 343 { 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 345 { } movieClip 347 { } movieClip 352 { } movieClip 357 { } movieClip 358 { 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 359 { } movieClip 360 wolfman { } movieClip 362 { } movieClip 364 { } movieClip 366 { } movieClip 368 { } movieClip 370 { } movieClip 372 { } movieClip 374 { } movieClip 376 { } movieClip 378 { } movieClip 380 { } movieClip 382 { } movieClip 387 { } movieClip 389 { } movieClip 391 { } movieClip 393 { } movieClip 395 { } movieClip 397 { } movieClip 398 { } movieClip 400 { } movieClip 402 { } movieClip 403 { } movieClip 404 { } movieClip 406 { } movieClip 407 { } movieClip 408 { 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 412 { } movieClip 417 { } movieClip 418 { 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 419 catguy { } movieClip 461 earthmound { } movieClip 490 wave { } movieClip 496 { } movieClip 506 { } movieClip 508 { } movieClip 512 { } movieClip 530 { } movieClip 532 { } movieClip 552 { } movieClip 562 { } movieClip 564 { } movieClip 568 { } movieClip 569 { } movieClip 570 { } movieClip 571 { 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 573 { } movieClip 574 { frame 1 { _root.fadeout.gotoAndPlay(51); _root.held = 905; _root.camframe.hero.gotoAndStop(9); } frame 21 { _root.quest_shipclear = 0; loadMovie('', this._parent); } } movieClip 581 { frame 150 { _root.BGA[0][9] = _root.BGtype[18][5]; _root.bghb0._y = 550; } frame 181 { gotoAndPlay('loop'); } } movieClip 582 slimeboss { } movieClip 584 { } movieClip 586 { } movieClip 588 { } movieClip 590 { } movieClip 592 { } movieClip 594 { } movieClip 596 { } movieClip 598 { } movieClip 600 { } movieClip 605 { } movieClip 607 { } movieClip 609 { } movieClip 611 { } movieClip 613 { } movieClip 615 { } movieClip 618 { } movieClip 619 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 620 { } movieClip 621 { frame 17 { gotoAndPlay(1); } } movieClip 623 { } movieClip 624 { 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 629 { } movieClip 630 { } movieClip 631 { 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 632 pirate { } movieClip 641 { } movieClip 710 { frame 56 { gotoAndPlay(6); } } movieClip 732 { frame 54 { gotoAndPlay(3); } } movieClip 734 { } movieClip 741 { frame 6 { this._parent.unloadMovie(); } } movieClip 743 { 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 744 slimetentacle { frame 1 { stop(); } } movieClip 747 symbol_poison { frame 1 { var loopcount = 0; } frame 5 { this._y -= 5; ++loopcount; if (loopcount < 30) { gotoAndPlay(2); } else { this.unloadMovie(); } } } movieClip 750 M22_HighHammerBox { frame 1 { if (_root.testmode == 0) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 751 m19_punchbox { frame 1 { if (_root.testmode == 0) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 752 { } movieClip 754 { } movieClip 756 { } movieClip 758 { } movieClip 760 { } movieClip 762 { } movieClip 764 { } movieClip 766 { } movieClip 768 { } movieClip 770 { } movieClip 772 { } movieClip 774 { } movieClip 776 { } movieClip 779 { } movieClip 783 { } movieClip 786 { } movieClip 788 { } movieClip 790 { } movieClip 792 { } movieClip 794 { } movieClip 796 { } movieClip 798 { } // unknown tag 88 length 62 movieClip 802 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 804 { } movieClip 806 { } movieClip 807 { } movieClip 808 { frame 21 { gotoAndPlay(1); } } movieClip 820 { } movieClip 837 { 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 841 { } movieClip 842 { } movieClip 843 { 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 844 pirateboss { } movieClip 845 m20whiphitbox { frame 1 { if (_root.testmode == 0) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 846 firepile { } movieClip 847 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 854 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 865 { } movieClip 875 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 877 { } movieClip 879 { } movieClip 881 { } movieClip 883 { } movieClip 885 { } movieClip 887 { } movieClip 889 { } movieClip 891 { } movieClip 893 { } movieClip 895 { } movieClip 897 { } movieClip 899 { } movieClip 901 { } movieClip 903 { } movieClip 905 { } movieClip 907 { } movieClip 911 { } movieClip 913 { } movieClip 915 { } movieClip 917 { } movieClip 919 { } movieClip 924 { frame 1 { stop(); } } movieClip 925 { 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 936 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 973 { } movieClip 974 slimewall { frame 21 { loadMovie('', this); } } // unknown tag 88 length 73 movieClip 982 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 984 { } movieClip 986 { } movieClip 988 { } movieClip 990 { } movieClip 992 { } movieClip 994 { } movieClip 996 { } movieClip 998 { } movieClip 1000 { } movieClip 1002 { } movieClip 1004 { } movieClip 1006 { } movieClip 1008 { } movieClip 1010 { } movieClip 1012 { } movieClip 1014 { } movieClip 1016 { } movieClip 1018 { } movieClip 1020 { } movieClip 1022 { } movieClip 1024 { } movieClip 1026 { } movieClip 1027 { } movieClip 1028 { } movieClip 1030 { } movieClip 1033 { 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 1034 { } movieClip 1035 { 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 1036 bunnygirl { } movieClip 1038 { } movieClip 1040 { } movieClip 1042 { } movieClip 1044 { } movieClip 1046 { } movieClip 1048 { } movieClip 1050 { } movieClip 1052 { } movieClip 1054 { } movieClip 1056 { } movieClip 1061 { } movieClip 1063 { } movieClip 1065 { } movieClip 1067 { } movieClip 1069 { } movieClip 1071 { } movieClip 1073 { } movieClip 1075 { } movieClip 1076 { } movieClip 1077 { } movieClip 1079 { } movieClip 1081 { } movieClip 1082 { 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 1083 { 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 1085 { } movieClip 1086 { 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 1090 { frame 1 { stop(); } frame 10 { stop(); } } movieClip 1092 { } movieClip 1094 { } movieClip 1096 { } movieClip 1098 { } movieClip 1100 { } movieClip 1102 { } movieClip 1104 { } movieClip 1106 { } movieClip 1108 { } movieClip 1110 { } movieClip 1112 { } movieClip 1115 { } movieClip 1117 { } movieClip 1119 { } movieClip 1121 { } movieClip 1123 { } movieClip 1125 { } movieClip 1127 { } movieClip 1129 { } movieClip 1137 { } movieClip 1147 { } movieClip 1155 { frame 1 { gotoAndStop(_root.player); } } movieClip 1157 { } movieClip 1165 { } movieClip 1167 { } movieClip 1170 { } movieClip 1172 { } movieClip 1174 { } movieClip 1176 { } movieClip 1178 { 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 1179 bunnyguy { } movieClip 1181 { } movieClip 1183 { } movieClip 1185 { } movieClip 1187 { } movieClip 1189 { } movieClip 1191 { } movieClip 1193 { } movieClip 1195 { } movieClip 1197 { } movieClip 1199 { } movieClip 1201 { } movieClip 1203 { } movieClip 1205 { } movieClip 1207 { } movieClip 1209 { } movieClip 1211 { } movieClip 1213 { } movieClip 1215 { } movieClip 1217 { } movieClip 1218 { } movieClip 1219 { } movieClip 1220 { 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 1222 { } movieClip 1223 { } movieClip 1224 { 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 1225 barbariangirl { } movieClip 1227 { } movieClip 1229 { } movieClip 1231 { } movieClip 1233 { } movieClip 1235 { } movieClip 1237 { } movieClip 1239 { } movieClip 1241 { } movieClip 1243 { } movieClip 1245 { } movieClip 1247 { } movieClip 1249 { } movieClip 1251 { } movieClip 1253 { } movieClip 1255 { } movieClip 1257 { } movieClip 1259 { } movieClip 1261 { } movieClip 1262 { } movieClip 1264 { } movieClip 1265 { } movieClip 1268 { 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 1270 { } movieClip 1271 { } movieClip 1273 { } movieClip 1275 { } movieClip 1276 { 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 1279 { } movieClip 1281 { } movieClip 1283 { } movieClip 1285 { } movieClip 1288 { } movieClip 1290 { } movieClip 1292 { } movieClip 1294 { } movieClip 1297 { } movieClip 1299 { } movieClip 1301 { } movieClip 1303 { } movieClip 1305 { } movieClip 1308 { } movieClip 1310 { } movieClip 1312 { } movieClip 1314 { } movieClip 1316 { } // unknown tag 88 length 69 movieClip 1327 { } movieClip 1334 { } movieClip 1339 { } movieClip 1341 { } movieClip 1360 { 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 1361 vendel { } movieClip 1363 { } movieClip 1365 { } movieClip 1367 { } movieClip 1369 { } movieClip 1371 { } movieClip 1373 { } movieClip 1375 { } movieClip 1377 { } movieClip 1379 { } movieClip 1381 { } movieClip 1383 { } movieClip 1385 { } movieClip 1387 { } movieClip 1389 { } movieClip 1391 { } movieClip 1393 { } movieClip 1395 { } movieClip 1397 { } movieClip 1399 { } movieClip 1400 { } movieClip 1401 { frame 1 { if (_root._currentframe == 80) { stop(); } } } movieClip 1403 { } movieClip 1405 { } movieClip 1407 { } movieClip 1409 { } movieClip 1410 { 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 1412 { } movieClip 1413 { } movieClip 1415 { } movieClip 1417 { } movieClip 1418 { 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 1419 barbarianguy { } movieClip 1421 { } movieClip 1423 { } movieClip 1425 { } movieClip 1427 { } movieClip 1429 { } movieClip 1431 { } movieClip 1433 { } movieClip 1435 { } movieClip 1437 { } movieClip 1439 { } movieClip 1441 { } movieClip 1443 { } movieClip 1445 { } movieClip 1447 { } movieClip 1449 { } movieClip 1451 { } movieClip 1453 { } movieClip 1455 { } movieClip 1456 { } movieClip 1457 { 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 1458 { 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 1461 { } movieClip 1462 { 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 1464 { } movieClip 1465 { 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 1467 { } movieClip 1468 { 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 1469 elfgirl { } movieClip 1471 { } movieClip 1473 { } movieClip 1475 { } movieClip 1477 { } movieClip 1479 { } movieClip 1481 { } movieClip 1483 { } movieClip 1485 { } movieClip 1487 { } movieClip 1489 { } movieClip 1493 { } movieClip 1495 { } movieClip 1497 { } movieClip 1499 { } movieClip 1501 { } movieClip 1503 { } movieClip 1505 { } movieClip 1507 { } movieClip 1509 { } movieClip 1510 { } movieClip 1511 gnomemerchant { } 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 1541 { } movieClip 1543 { } movieClip 1544 { } movieClip 1546 { } movieClip 1548 { } movieClip 1549 { frame 40 { gotoAndPlay(1); } } movieClip 1550 mcelfguy { } movieClip 1552 { } movieClip 1554 { } movieClip 1556 { } movieClip 1558 { } movieClip 1560 { } movieClip 1562 { } movieClip 1564 { } movieClip 1566 { } movieClip 1568 { } movieClip 1570 { } movieClip 1572 { } movieClip 1574 { } movieClip 1576 { } movieClip 1578 { } movieClip 1580 { } movieClip 1582 { } movieClip 1583 { } movieClip 1584 { } movieClip 1585 { 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 1587 { } movieClip 1588 { } movieClip 1590 { } movieClip 1592 { } movieClip 1594 { } movieClip 1596 { } movieClip 1597 { 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 1603 { 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 1604 elfguy { } movieClip 1605 fireball_staff { } movieClip 1606 fireball { } movieClip 1617 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 1619 M29_FlowerDone { } movieClip 1620 heightchanger { frame 1 { stop(); } } movieClip 1623 { frame 1 { if (_root.testmode == 0) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 1625 { } movieClip 1627 { } movieClip 1629 { } movieClip 1632 { } movieClip 1634 { } movieClip 1636 { } movieClip 1638 { } movieClip 1640 { } movieClip 1642 { } movieClip 1644 { } movieClip 1646 { } movieClip 1647 { } movieClip 1672 { } movieClip 1675 { frame 1 { if (_root.testmode == 0) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 1680 { } movieClip 1683 { } movieClip 1685 { } movieClip 1688 { } movieClip 1716 { 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 1718 { } movieClip 1719 { } movieClip 1721 { } movieClip 1722 { 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 1723 snakeman { frame 26 { this.unloadMovie(); } } movieClip 1745 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 1748 { } movieClip 1750 { } movieClip 1752 { frame 1 { stop(); } } movieClip 1756 { } movieClip 1758 { } movieClip 1761 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 1766 { frame 41 { stop(); } } movieClip 1767 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 1773 { frame 1 { if (_root._currentframe > 39) { gotoAndStop(21); } else { if (_root._currentframe > 29) { gotoAndStop(11); } } stop(); } } movieClip 1778 { frame 1 { if (_root._currentframe > 39) { gotoAndStop(21); } else { if (_root._currentframe > 29) { gotoAndStop(11); } } stop(); } } movieClip 1779 { frame 1 { stop(); } } movieClip 1782 { } movieClip 1784 { } movieClip 1790 { frame 41 { stop(); } } movieClip 1795 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 1805 gbararrow_r { frame 1 { stop(); } frame 2 { } frame 11 { stop(); } } movieClip 1819 { 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 1824 { 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 1828 { } movieClip 1833 { frame 1 { if (_root.player > 20) { gotoAndStop(11); } else { if (_root.player > 10) { gotoAndStop(6); } } stop(); } } movieClip 1835 { } movieClip 1837 { } movieClip 1839 { } movieClip 1840 grapplebar { frame 1 { stop(); } frame 20 { stop(); } frame 41 { stop(); } } movieClip 1842 M29+29_LargeFlower { } frame 2 { var continues = 400; gunhmax = 0; var gunh = 0; var gameoverman = false; var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); _root.menu = myMenu; stop(); } // unknown tag 88 length 68 movieClip 1849 { } button 1857 { on (release) { _root.play(); } } movieClip 1859 { frame 1 { stop(); } instance of movieClip 1849 { 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 godmode = 1; 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 quest_dunecrawlersaddle = 0; var quest_gnomesleep = 0; 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 encumbrance.']); 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(['gnomemerchant', 3, 3, 10, 0, 1, 1000, 1]); 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 1870 { } movieClip 1878 { } button 1880 { on (release) { _root.gamestart = 'HordeMode'; gotoAndStop('charselect'); } } button 1881 { on (release) { gotoAndStop('about'); } } button 1882 { on (release) { gotoAndStop('basics'); } } movieClip 1886 { } instance of movieClip 1886 { 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 1887 { on (release) { _root.gotoAndStop('charselect'); } } button 1889 { 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 1892 { 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 1893 { 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 1895 { frame 1 { if (_root.gamestart == 'Comic-A2Start') { gotoAndStop(6); } if (_root.gamestart == 'Act3Start') { gotoAndStop(11); } } frame 2 { stop(); } } button 1902 { on (release) { gotoAndStop('mainmenu'); } } button 1903 { on (release) { gotoAndStop('stats'); } } button 1904 { on (release) { gotoAndStop('grapples'); } } button 1906 { on (release) { gotoAndStop('basics'); } } movieClip 1913 { } button 1914 { on (release) { gotoAndStop('grapples'); } } button 1920 { on (release) { gotoAndStop('stats'); } } button 1925 { on (release) { gotoAndStop('about'); } } movieClip 1928 { } movieClip 1930 { frame 2 { stop(); } frame 3 { stop(); } } movieClip 1980 { frame 1 { stop(); } } button 1983 { 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 1984 { 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 1985 { 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 1986 { 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 1987 { 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 1988 { 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 1995 { 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 1997 { on (release) { _root.gotoAndStop('mainmenu'); } } button 1999 { 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 2000 { 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 2001 { 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 2002 { 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 2003 { 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 2004 { 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 2005 { 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 2006 { 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 2007 { 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 2008 { 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 2009 { 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 2010 { 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 2011 { 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 2012 { 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 2013 { 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 2014 { 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 2015 { 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 2016 { 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 2017 { 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 2018 { 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 2019 { 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 2020 { 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 2021 { 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 2022 { 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 2024 { 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 2025 { 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 2032 { 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]; if (_root.godmode == 4) { _root.maxhealth = (50 + _root.body * 10) * (_root.godmode / 2) + 100; _root.health = _root.maxhealth; } else { _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 2034 { } movieClip 2036 { } movieClip 2038 { } movieClip 2040 { } movieClip 2042 { } movieClip 2044 { } movieClip 2046 { } movieClip 2048 { } movieClip 2050 { } movieClip 2052 { } movieClip 2054 { } movieClip 2056 { } movieClip 2060 { } movieClip 2062 { } movieClip 2064 { } movieClip 2067 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2069 { } movieClip 2071 { } movieClip 2073 { } movieClip 2075 { } movieClip 2076 { } movieClip 2081 { frame 2 { if (_root.player == 0) { stop(); } if (_root.player < 20 || _root.player > 29) { stop(); } } frame 3 { stop(); } } button 2084 { 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]; if (_root.godmode == 4) { _root.maxhealth = (50 + _root.body * 10) * (_root.godmode / 2) + 100; _root.health = _root.maxhealth; } else { _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 2086 { } movieClip 2088 { } movieClip 2090 { } movieClip 2091 { } movieClip 2096 { frame 2 { if (_root.player == 0) { stop(); } if (_root.player > 9) { stop(); } } frame 3 { stop(); } } button 2098 { 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]; if (_root.godmode == 4) { _root.maxhealth = (50 + _root.body * 10) * (_root.godmode / 2) + 100; _root.health = _root.maxhealth; } else { _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 2099 { } movieClip 2104 { frame 2 { if (_root.player == 0) { stop(); } if (_root.player < 10 || _root.player > 19) { stop(); } } frame 3 { stop(); } } movieClip 2107 { } button 2111 { 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]; if (_root.godmode == 4) { _root.maxhealth = (50 + _root.body * 10) * (_root.godmode / 2) + 100; _root.health = _root.maxhealth; } else { _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 2112 { frame 2 { if (_root.player == 0) { stop(); } } frame 3 { if (_root.player % 10 !== 3) { stop(); } } frame 4 { stop(); } } movieClip 2114 { } button 2118 { 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]; if (_root.godmode == 4) { _root.maxhealth = (50 + _root.body * 10) * (_root.godmode / 2) + 100; _root.health = _root.maxhealth; } else { _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 2119 { frame 2 { if (_root.player == 0) { stop(); } } frame 3 { if (_root.player % 10 !== 2) { stop(); } } frame 4 { stop(); } } movieClip 2121 { } button 2125 { 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]; if (_root.godmode == 4) { _root.maxhealth = (50 + _root.body * 10) * (_root.godmode / 2) + 100; _root.health = _root.maxhealth; } else { _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 2126 { frame 2 { if (_root.player == 0) { stop(); } } frame 3 { if (_root.player % 10 !== 1) { stop(); } } frame 4 { stop(); } } button 2128 { 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 2130 { frame 2 { if (_root.player == 0) { stop(); } } frame 3 { stop(); } } button 2134 { 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 2136 { 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 2138 { 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 2144 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2146 { 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 2148 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2150 { 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 2152 { } movieClip 2154 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2156 { 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 2159 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2161 { 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 2163 { 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 2165 { frame 1 { 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 2167 { frame 1 { 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 2170 { 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 2173 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 2176 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2178 { 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 2181 { 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 2184 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 2186 { 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 2188 { 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 2197 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2198 { frame 2 { stop(); } } movieClip 2200 { 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 2212 { 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 2214 { frame 1 { gotoAndStop(2); } frame 2 { if (_root.wpn == 2) { gotoAndStop(_currentframe + 1); } } } movieClip 2216 { 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 2232 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2237 { frame 1 { gotoAndStop(_root.cumchest + 1); } } movieClip 2238 { frame 2 { stop(); } } movieClip 2241 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2243 { 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 2245 { 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 2248 { 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 2251 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 2267 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2269 { 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 2271 { 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 2274 { 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 2277 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 2279 { 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 2282 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2285 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 2286 { frame 1 { gotoAndStop(_root.player); } } movieClip 2288 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2290 { 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 2292 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2294 { 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 2298 { frame 1 { gotoAndStop(_root.acc); } } movieClip 2316 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2318 { 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 2319 { frame 1 { if (_root.player > 20) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 2323 { frame 1 { gotoAndStop(_root.cumchest + 1); } } movieClip 2325 { 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 2327 { 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 2329 { 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 2331 { frame 2 { stop(); } } movieClip 2333 { 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 2335 { 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 2337 { 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 2339 { frame 2 { stop(); } } movieClip 2346 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } frame 2 { stop(); } } movieClip 2348 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2350 { 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 2366 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2368 { 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 2369 { frame 1 { if (_root.player >= 20) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 2371 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2373 { 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 2375 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2377 { 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 2380 { 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 2383 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 2395 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2397 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2399 { 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 2401 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2403 { 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 2406 { 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 2409 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 2411 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2413 { 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 2416 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2419 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 2420 { frame 1 { if (_root.player == 1) { gotoAndStop(2); } else { gotoAndStop(_root.player); } } } movieClip 2422 { frame 1 { gotoAndStop(_root.acc); } } movieClip 2457 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } frame 2 { stop(); } } movieClip 2463 { frame 1 { gotoAndStop(_root.cumface + 1); } } movieClip 2465 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2467 { 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 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2472 { 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 2475 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2477 { 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 2479 { frame 1 { gotoAndStop(_root.player); } } movieClip 2481 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2483 { 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 2485 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2487 { 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 2490 { 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 2492 { 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 2494 { 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 2500 { frame 1 { gotoAndStop(_root.cumface + 1); } } movieClip 2506 { 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 2508 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2510 { 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 2512 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2514 { 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 2517 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2519 { 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 2521 { 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 2524 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2526 { 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 2528 { 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 2530 { frame 1 { gotoAndStop(_root.player); } } movieClip 2532 { 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 2538 { frame 1 { gotoAndStop(_root.player); } } movieClip 2541 { 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 2543 { 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 2547 { 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 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 2553 { 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 2554 { frame 1 { gotoAndStop(_root.player); } } movieClip 2569 { frame 1 { if (_root.wpn < 10) { gotoAndStop(_root.wpn + 1); } else { gotoAndStop(_root.wpn); } } } movieClip 2571 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2575 { 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 2584 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2585 { frame 2 { stop(); } } movieClip 2587 { frame 1 { 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 2589 { frame 1 { 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 2593 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 2597 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2599 { 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 2603 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 2606 { 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(31); } else { if (_root.camframe.hero._currentframe < 51 and _root.wpn > 10) { gotoAndStop(_currentframe + 1); } } stop(); } } movieClip 2608 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2610 { 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 2612 { 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 2627 { 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 2630 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2632 { 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 2634 { 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 2636 { 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 2638 { frame 1 { 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 2642 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 2646 { 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 2650 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 2652 { 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 2654 { frame 1 { 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 2656 { frame 1 { 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 2659 { 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 2662 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 2665 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2667 { 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 2670 { 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 2673 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 2675 { 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 2676 { frame 1 { gotoAndStop(Math.ceil(_root.wpn / 10)); } } movieClip 2677 { frame 1 { if (_root.player == 0) { stop(); } } frame 2 { stop(); } } movieClip 2680 { } button 2684 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); } } on (keyPress '<Space>') { _root.FadeoutBlack.gotoAndPlay(32); } } button 2690 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { this.gotoAndStop(_currentframe + 1); } } on (keyPress '<Right>') { this.gotoAndStop(_currentframe + 1); } } button 2695 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { this.gotoAndStop(_currentframe - 1); } } on (keyPress '<Left>') { this.gotoAndStop(_currentframe - 1); } } movieClip 2708 { } movieClip 2710 { } // unknown tag 88 length 73 button 2732 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); } } } movieClip 2734 { frame 1 { stop(); } } movieClip 2737 { frame 31 { stop(); } frame 50 { _root.gotoAndStop([_root.gamestart]); stop(); } } movieClip 2740 { } button 2746 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); } } on (keyPress '<Space>') { _root.FadeoutBlack.gotoAndPlay(32); _root.acc = 2; } } button 2747 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { this.gotoAndStop(_currentframe + 1); } } on (keyPress '<Right>') { this.gotoAndStop(_currentframe + 1); } } movieClip 2751 { 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 2754 { 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 2757 { 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 2759 { frame 1 { gotoAndStop(_root.player); } } movieClip 2769 { } movieClip 2771 { } movieClip 2773 { } movieClip 2775 { } movieClip 2776 { } movieClip 2781 { 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 2784 { 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 2787 { 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 2789 { frame 1 { gotoAndStop(_root.player); } } button 2794 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); _root.acc = 2; } } } movieClip 2795 { frame 1 { _root.acc = 1; stop(); } } movieClip 2798 { } movieClip 2800 { } movieClip 2802 { } movieClip 2804 { } movieClip 2806 { } movieClip 2808 { } movieClip 2811 { } button 2814 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); } } on (keyPress '<Space>') { _root.FadeoutBlack.gotoAndPlay(32); } } button 2815 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { this.gotoAndStop(_currentframe + 1); } } on (keyPress '<Right>') { this.gotoAndStop(_currentframe + 1); } } movieClip 2834 { } movieClip 2836 { } movieClip 2842 { } movieClip 2844 { } movieClip 2861 { } // unknown tag 88 length 68 button 2881 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); } } } movieClip 2882 { frame 1 { stop(); } } movieClip 2887 { frame 1 { if (_root._currentframe > 39) { gotoAndStop(21); } else { if (_root._currentframe > 29) { gotoAndStop(11); } } stop(); } } movieClip 2889 { } movieClip 2891 { } movieClip 2893 { } movieClip 2895 { } movieClip 2897 { } movieClip 2899 { } movieClip 2901 { } movieClip 2903 { } movieClip 2905 { } movieClip 2907 { } movieClip 2910 { } movieClip 2912 { } movieClip 2914 { } movieClip 2917 { } movieClip 2919 { } movieClip 2921 { } movieClip 2924 { frame 1 { if (_root.quest_shipclear == 0) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 2926 { } movieClip 2928 { } movieClip 2930 { } movieClip 2932 { } movieClip 2934 { } movieClip 2939 { } movieClip 2941 { } movieClip 2943 { } movieClip 2945 { } movieClip 2947 { } movieClip 2949 { } movieClip 2951 { } movieClip 2953 { } movieClip 2955 { } movieClip 2957 { } movieClip 2959 { } movieClip 2961 { } movieClip 2963 { } movieClip 2965 { } movieClip 2967 { } movieClip 2969 { frame 1 { gotoAndStop(_root.player); } } movieClip 2971 { } movieClip 2973 { frame 1 { gotoAndStop(_root.player); } } movieClip 2975 { } movieClip 2977 { } movieClip 2979 { } movieClip 2981 { } movieClip 2986 { } movieClip 2988 { } movieClip 2990 { } movieClip 2992 { } movieClip 2994 { } movieClip 2996 { } button 2999 { on (release) { if (_root.FadeoutWhite._currentframe <= 31) { _root.FadeoutWhite.gotoAndPlay(32); } } on (keyPress '<Space>') { _root.FadeoutWhite.gotoAndPlay(32); } } button 3000 { on (release) { if (_root.FadeoutWhite._currentframe <= 31) { this.gotoAndStop(_currentframe + 1); } } on (keyPress '<Right>') { this.gotoAndStop(_currentframe + 1); } } movieClip 3005 { } button 3012 { on (release) { if (_root.FadeoutWhite._currentframe <= 31) { this.gotoAndStop(_currentframe - 1); } } on (keyPress '<Left>') { this.gotoAndStop(_currentframe - 1); } } movieClip 3043 { } movieClip 3044 { frame 1 { this.cacheAsBitmap = true; } } movieClip 3058 { } movieClip 3060 { } movieClip 3062 { } button 3070 { on (release) { if (_root.FadeoutWhite._currentframe <= 31) { _root.FadeoutWhite.gotoAndPlay(32); } } } movieClip 3088 { frame 1 { if (_root.quest_getmedkit < 3) { gotoAndStop(21); } stop(); } } movieClip 3091 { frame 31 { stop(); } frame 50 { _root.held = 0; _root.gamestart = 'Act2Start'; _root.gotoAndStop([_root.gamestart]); stop(); } } // unknown tag 88 length 62 movieClip 3096 { } movieClip 3097 { } movieClip 3100 { } movieClip 3102 { } movieClip 3104 { } movieClip 3106 { } movieClip 3108 { } movieClip 3111 { } movieClip 3115 { } movieClip 3118 { } movieClip 3120 { } movieClip 3122 { } movieClip 3124 { } movieClip 3126 { } movieClip 3128 { } movieClip 3130 { } movieClip 3132 { } movieClip 3134 { } movieClip 3136 { } movieClip 3138 { } movieClip 3140 { } movieClip 3142 { } movieClip 3144 { } movieClip 3146 { } movieClip 3148 { } movieClip 3150 { } movieClip 3152 { } movieClip 3154 { } movieClip 3156 { } movieClip 3158 { } movieClip 3173 { } movieClip 3201 { 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 3208 { } movieClip 3210 { } movieClip 3211 { frame 1 { if (_root.quest_opencastle % 2 < 1) { gotoAndStop(5); } } frame 3 { stop(); } } movieClip 3216 { } movieClip 3217 { frame 1 { if (_root.quest_opencastle < 2) { gotoAndStop(5); } } frame 3 { stop(); } } movieClip 3223 { 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 3236 { } movieClip 3239 { } movieClip 3241 { } movieClip 3246 { } movieClip 3282 { } movieClip 3316 { } movieClip 3356 { } movieClip 3376 { } movieClip 3391 { frame 1 { stop(); } } movieClip 3396 { frame 1 { if (_root.villagehumans + _root.villageelves + _root.villagebunnies >= 30) { stop(); } } frame 3 { stop(); } } movieClip 3398 { frame 1 { if (_root.act2clear >= 10) { stop(); } if (_root.act2clear % 2 == 1) { stop(); } } frame 3 { stop(); } } movieClip 3400 { frame 1 { if (_root.KFoxHealth >= 105) { stop(); } } frame 2 { if (_root.player <= 10) { stop(); } } frame 3 { stop(); } } movieClip 3402 { frame 1 { if (_root.act2clear >= 2) { stop(); } } frame 3 { stop(); } } movieClip 3404 { frame 1 { if (_root.quest_helpdunecrawler >= 10) { stop(); } } frame 2 { stop(); } } movieClip 3416 { 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 3419 { 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 3420 { on (release) { _root.gotoAndPlay(3); _parent._x = 0; _parent._y = 0; _parent._xscale = 100; _parent._yscale = 100; this._parent.removeMovieClip(); } } button 3421 { on (release) { this.play(); this._parent.play(); } } movieClip 3422 { 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 3423 { 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 3426 { } movieClip 3428 { } movieClip 3431 { } movieClip 3436 { frame 1 { this.cacheAsBitmap = true; } } movieClip 3437 { } movieClip 3438 { frame 1 { if (_root.quest_shipclear == 0) { gotoAndStop(6); } stop(); } } movieClip 3440 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; _root.gohere = 20; _root.gox = -500; _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 3444 { 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 3446 { } movieClip 3449 { 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 3461 { 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 3463 { } movieClip 3465 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 3467 { 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 3485 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 3487 { 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 3488 { frame 1 { if (_root.player >= 21) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 3489 { frame 1 { if (_root.wpn > 30) { gotoAndStop(6); } stop(); } frame 6 { if (_root.wpn == 34) { gotoAndStop(_currentframe + 1); } } } movieClip 3490 { frame 32 { gotoAndPlay(1); } } movieClip 3491 { frame 1 { if (_root.wpn > 30) { gotoAndPlay(31); } } frame 21 { gotoAndPlay(1); } frame 51 { gotoAndPlay(31); } } movieClip 3492 { frame 1 { if (_root.wpn > 30) { gotoAndPlay(31); } } frame 13 { gotoAndPlay(1); } frame 43 { gotoAndPlay(1); } } movieClip 3502 { 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 3503 { 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 3504 { frame 1 { _root.held = 0; _root.camframe.hero.gotoAndStop(1); } } movieClip 3506 { 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 3509 { frame 1 { gotoAndStop(_root.player); } } movieClip 3512 { 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 3516 { 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 3519 { frame 1 { gotoAndStop(_root.player); } } movieClip 3521 { 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 3525 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 3528 { 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 3532 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 3534 { frame 1 { if (_root.player > 20) { gotoAndStop(22); } else { gotoAndStop(2); } } frame 2 { if (_root.wpn == 2) { gotoAndStop(_currentframe + 2); } } frame 3 { stop(); } frame 22 { if (_root.wpn == 2) { gotoAndStop(_currentframe + 2); } } frame 23 { stop(); } } movieClip 3536 { frame 1 { 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 3538 { frame 1 { 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 3541 { 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 3544 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 3548 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 3550 { 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 3553 { 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 3556 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 3558 { 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 3559 { frame 26 { stop(); } } movieClip 3561 { 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 3565 { 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 3569 { 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 3572 { frame 1 { gotoAndStop(_root.player); } } movieClip 3573 { frame 5 { if (_root.camframe.gameover._currentframe == 1) { _root.camframe.gameover.gotoAndPlay(2); } } frame 43 { stop(); } } movieClip 3574 { 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 3577 { } movieClip 3579 { } movieClip 3581 { } movieClip 3583 { } movieClip 3586 { 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 3587 { frame 1 { gotoAndStop(Math.ceil(_root.wpn / 10)); } } movieClip 3588 { frame 1 { _root.held = 500; if (_root.armor <= 1 and !(_root.acc == 2 or _root.acc == 9 or _root.acc == 12)) { gotoAndStop(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 = -100; _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); } _root.held = 0; } frame 21 { stop(); } } movieClip 3589 { 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 3590 { 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 3594 { frame 1 { if (_root.player > 20) { gotoAndPlay(41); } else { if (_root.player > 10) { gotoAndPlay(21); } } } } movieClip 3595 { 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 3605 { 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 3606 { 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 3607 { 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 3608 { frame 6 { if (_root.held <= 60) { _root.held = 0; _root.camframe.hero.gotoAndStop(1); } } } movieClip 3609 { 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 3610 { 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 3611 { 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 3630 { 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 3631 { frame 23 { if (_root.held <= 60) { _root.held = 0; _root.camframe.hero.gotoAndStop(1); } } } movieClip 3632 { 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 3633 { 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 3634 { 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 3635 { 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 3645 { 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 3675 { frame 1 { 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 3677 { frame 1 { 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 3680 { 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 3683 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 3687 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 3689 { 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 3692 { 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 3695 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 3697 { 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 4204 { 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 4206 { } movieClip 4223 { 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 4264 { } movieClip 4321 { 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 4368 { } movieClip 4394 { 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 4404 { } movieClip 4406 { } movieClip 4408 { } movieClip 4410 { } movieClip 4412 { } movieClip 4615 { frame 1 { 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 4617 { frame 1 { 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 4620 { 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 4623 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 4626 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4628 { 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 4631 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 4634 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 4636 { 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 4757 { 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 4759 { } movieClip 4761 { } movieClip 4763 { } movieClip 4765 { } movieClip 4786 { frame 1 { 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 4788 { frame 1 { 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 4792 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 4796 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4798 { 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 4802 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 4804 { 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 4829 { 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 4832 { } movieClip 4833 { } movieClip 4846 { } movieClip 4848 { } movieClip 4858 { } movieClip 4871 { frame 1 { gotoAndStop(_root.player); } } movieClip 4874 { 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 4880 { frame 1 { gotoAndStop(_root.player); } } movieClip 4882 { 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 4885 { 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 4887 { frame 1 { gotoAndStop(_root.player); } } movieClip 4889 { } movieClip 4891 { } movieClip 4893 { } movieClip 4897 { } movieClip 4899 { frame 1 { 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 4901 { frame 1 { 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 4904 { 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 4907 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 4911 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4913 { 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 4916 { 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 4919 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 4921 { 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 4925 { frame 1 { 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 4927 { frame 1 { 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 4931 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 4934 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4936 { 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 4940 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(8); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(12); } } frame 2 { stop(); } } movieClip 4942 { 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 4951 { 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 4953 { } movieClip 4955 { } movieClip 4957 { } movieClip 4991 { } movieClip 4993 { } movieClip 5015 { 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 5017 { } movieClip 5019 { } movieClip 5022 { 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 5025 { 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 5028 { 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 5031 { 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 5033 { 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 5035 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5037 { 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 5039 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5041 { 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 5045 { frame 1 { gotoAndStop(_root.acc); } } movieClip 5058 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5059 { frame 1 { if (_root.player > 20) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 5061 { 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 5063 { 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 5065 { 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 5067 { frame 2 { stop(); } } movieClip 5069 { } movieClip 5076 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5077 { 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 5121 { 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 5123 { } movieClip 5125 { } movieClip 5126 { 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 1461 { onClipEvent (load) { this._alpha = 75; } } instance of movieClip 1461 { onClipEvent (load) { this._alpha = 50; } } instance of movieClip 1461 { 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 5145 { } movieClip 5171 { 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 5183 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5184 { frame 1 { gotoAndStop(_root.player); } } movieClip 5187 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5189 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5191 { 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 5193 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5195 { 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 5198 { 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 5201 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 5215 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5217 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5219 { 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 5223 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 5225 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5227 { 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 5230 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5233 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 5234 { frame 1 { if (_root.player == 1) { gotoAndStop(2); } else { gotoAndStop(_root.player); } } } movieClip 5236 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5238 { 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 5240 { 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 5244 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 5254 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5256 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5258 { 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 5260 { 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 5264 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 5266 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5268 { 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 5272 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 5273 { frame 1 { gotoAndStop(_root.player); } } movieClip 5288 { 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 5355 { 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 5357 { } movieClip 5381 { } movieClip 5411 { } movieClip 5453 { 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 5464 { } movieClip 5466 { } movieClip 5468 { } movieClip 5580 { } movieClip 5680 { } movieClip 5790 { 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 5795 { } movieClip 5797 { } movieClip 5799 { } movieClip 5801 { } movieClip 5870 { } movieClip 5872 { } movieClip 5881 { frame 1 { gotoAndStop(10 + Math.floor(_root.player / 10)); } frame 2 { stop(); } } // unknown tag 88 length 4 movieClip 5888 { 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); stop(); } } movieClip 5891 { 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); stop(); } } movieClip 5893 { 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); stop(); } } movieClip 5895 { 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); stop(); } } movieClip 5932 { } movieClip 5944 { } movieClip 6045 { frame 1 { function attacharrows() { i = 1; while (i <= 4 + Math.floor(_root.quest_dunecrawlersaddle / 10) * 2) { _root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i); _root['arrow' + i]._x = _root.camframe._x - 50 * i + 125 + Math.floor(_root.quest_dunecrawlersaddle / 10) * 50; _root['arrow' + i]._y = 100; j += 1; if (j > 2) { j = 1; } _root['arrow' + i]._rotation += 180 * j; ++i; } _root.gbararrowcheck = 4 + Math.floor(_root.quest_dunecrawlersaddle / 10) * 2; } function unloadarrows() { _root.gbararrowcheck = -100; i = 1; while (i < 10) { _root['arrow' + i].unloadMovie(); ++i; } } function damagecall() { _root.grapple += strdiff; if (_root.grapple >= 0) { _root.BGA[0][4] -= 0.5; } else { _root.health -= 0.5; } 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(); _root.BGA[0][4] = 0; _root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][5]]._y = 575; _root.dunecrawlerbed.gotoAndPlay(1); _root.camframe.dark.gotoAndPlay(1); _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); } } var loopcounter = 5; _root.obj1.gotoAndStop(51); _root.gbararrowcheck = -25; _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 { switch (_root.quest_dunecrawlersaddle) { var strdiff = (_root.body - _root.BGA[0][1]) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } if (_root.grapple > 0) { gotoAndPlay('HeroGrab1'); } else { gotoAndPlay('BGgrab1'); } case 12: var strdiff = (_root.body - _root.BGA[0][1] - 0.5) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } _root.camframe.dark.gotoAndStop(3); gotoAndPlay('Kink2'); break; case 22: var strdiff = (_root.body - _root.BGA[0][1] - 1) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } _root.camframe.dark.gotoAndStop(3); gotoAndPlay('Kink3'); break; case 32: var strdiff = (_root.body - _root.BGA[0][1] - 1) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } _root.camframe.dark.gotoAndStop(3); gotoAndPlay('Kink3'); } } frame 21 { if (_root.held < 1000) { if (_root.held !== 104) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 2; if (_root.held == 105) { _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.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('HeroGrab1cum'); } else { if (_root.grapple > 0) { gotoAndPlay('HeroGrab1'); } else {} } } 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.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('HeroGrab1cum'); } else { if (_root.grapple > 0) { gotoAndPlay('HeroGrab1'); } else { if (_root.grapple == -100) { gotoAndPlay('BGgrab1cum'); } else { gotoAndPlay('BGgrab1'); } } } } frame 42 { loopcounter = 5; if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 108; } } frame 59 { if (loopcounter > 0) { loopcounter -= 1; gotoAndPlay('BGgrab1Loop'); } } frame 60 { dsl += 1; herovoicecall(); } frame 60 { if (_root.cumface > 1) { --_root.cumface; } } frame 110 { _root.quest_dunecrawlersaddle = 7; _root.quest_gnomesleep = 0; heroesc(); stop(); } frame 111 { if (_root.held < 1000) { if (_root.held !== 105) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 1; if (_root.held < 105) { _root.grapple += 10; splash.gotoAndPlay(2); } _root.held = 105; } } } 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; _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('HeroGrab1Cum'); } else { if (_root.grapple > 0) { } else { gotoAndPlay('BGgrab1'); } } } 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; _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('HeroGrab1Cum'); } else { if (_root.grapple > 0) { if (_root.grapple == 100) { gotoAndPlay('HeroGrab1Cum'); } else { gotoAndPlay('HeroGrab1'); } } else { gotoAndPlay('BGgrab1'); } } } frame 131 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 108; } } frame 150 { if (loopcounter > 0) { loopcounter -= 1; gotoAndPlay('HeroGrab1Loop'); } } frame 153 { if (_root.cumface > 1) { --_root.cumface; } } frame 190 { _root.quest_dunecrawlersaddle = 9; _root.quest_gnomesleep = 1; heroesc(); stop(); } frame 311 { if (_root.held < 1000) { if (_root.held !== 104) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 2; if (_root.held == 105) { _root.grapple -= 10; splashmonster.gotoAndPlay(2); } _root.held = 104; } } } 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; 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('HeroGrab2cum'); } else { if (_root.grapple > 0) { gotoAndPlay('HeroGrab2'); } else {} } } 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.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('HeroGrab2cum'); } else { if (_root.grapple > 0) { gotoAndPlay('HeroGrab2'); } else { if (_root.grapple == -100) { gotoAndPlay('BGgrab2cum'); } else { gotoAndPlay('BGgrab2'); } } } } frame 332 { loopcounter = 5; if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 108; } } frame 349 { if (loopcounter > 0) { loopcounter -= 1; gotoAndPlay('BGgrab2Loop'); } } frame 350 { dsl += 1; herovoicecall(); } frame 350 { if (_root.cumface > 1) { --_root.cumface; } } frame 400 { _root.quest_dunecrawlersaddle = 17; _root.quest_gnomesleep = 0; heroesc(); stop(); } frame 401 { if (_root.held < 1000) { if (_root.held !== 105) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 1; if (_root.held < 105) { _root.grapple += 10; splash.gotoAndPlay(2); } _root.held = 105; } } } 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 = 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) { } else { gotoAndPlay('BGgrab2'); } } } 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 = 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 == 100) { gotoAndPlay('HeroGrab2Cum'); } else { gotoAndPlay('HeroGrab2'); } } else { gotoAndPlay('BGgrab2'); } } } frame 421 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 108; } } frame 450 { if (loopcounter > 0) { loopcounter -= 1; gotoAndPlay('HeroGrab2Loop'); } } frame 460 { if (_root.cumface > 1) { --_root.cumface; } } frame 500 { _root.quest_dunecrawlersaddle = 19; _root.quest_gnomesleep = 1; heroesc(); stop(); } frame 581 { gotoAndPlay('BGgrab3'); } frame 601 { if (_root.held < 1000) { if (_root.held !== 104) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 2; if (_root.held == 105) { _root.grapple -= 10; splashmonster.gotoAndPlay(2); } _root.held = 104; } } } frame 601 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 606 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 611 { 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('HeroGrab3cum'); } else { if (_root.grapple > 0) { gotoAndPlay('HeroGrab3'); } else {} } } frame 611 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 616 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 620 { 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('HeroGrab3cum'); } else { if (_root.grapple > 0) { gotoAndPlay('HeroGrab3'); } else { if (_root.grapple == -100) { gotoAndPlay('BGgrab3cum'); } else { gotoAndPlay('BGgrab3'); } } } } frame 621 { loopcounter = 5; if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 108; } } frame 622 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 626 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 631 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 636 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 641 { if (loopcounter > 0) { loopcounter -= 1; gotoAndPlay('BGgrab3loop'); } } frame 642 { dsl += 1; herovoicecall(); } frame 642 { if (_root.cumface > 1) { --_root.cumface; } } frame 696 { _root.quest_dunecrawlersaddle = 27; _root.quest_gnomesleep = 0; heroesc(); stop(); } frame 701 { if (_root.held < 1000) { if (_root.held !== 105) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 1; if (_root.held < 105) { _root.grapple += 10; splash.gotoAndPlay(2); } _root.held = 105; } } } frame 701 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 706 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 711 { 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('HeroGrab3Cum'); } else { if (_root.grapple > 0) { } else { gotoAndPlay('BGgrab3'); } } } frame 711 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 716 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 720 { 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('HeroGrab3Cum'); } else { if (_root.grapple > 0) { if (_root.grapple == 100) { gotoAndPlay('HeroGrab3Cum'); } else { gotoAndPlay('HeroGrab3'); } } else { gotoAndPlay('BGgrab3'); } } } frame 721 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 108; } } frame 722 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 727 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 732 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 737 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 741 { if (loopcounter > 0) { loopcounter -= 1; gotoAndPlay('HeroGrab3Loop'); } } frame 742 { if (_root.cumface > 1) { --_root.cumface; } } frame 800 { _root.quest_dunecrawlersaddle = 29; _root.quest_gnomesleep = 1; heroesc(); stop(); } } movieClip 6074 { 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 6076 { } movieClip 6141 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 6143 { 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 6145 { 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 6148 { 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 6151 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 6165 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 6167 { 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 6169 { 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 6172 { 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 6175 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 6177 { 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 6180 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 6183 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 6184 { frame 1 { gotoAndStop(_root.player); } } movieClip 6186 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 6188 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 6190 { 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 6192 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 6194 { 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 6197 { 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 6200 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 6213 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 6215 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 6217 { 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 6219 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 6221 { 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 6224 { 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 6227 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 6229 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 6231 { 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 6234 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 6237 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 6238 { frame 1 { gotoAndStop(_root.player); if (_root.player == 1) { gotoAndStop(2); } } } movieClip 6240 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 6242 { 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 6258 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 6259 { 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 6260 { frame 1 { if (_root.player >= 21) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 6286 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 6354 { 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 6356 { } movieClip 6402 { } movieClip 6437 { 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 6516 { 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 6595 { 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 6597 { } movieClip 6624 { } movieClip 6644 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 6646 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 6648 { 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 6650 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 6652 { 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 6655 { 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 6658 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 6675 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 6677 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 6679 { 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 6681 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 6683 { 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 6686 { 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 6689 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 6691 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 6693 { 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 6695 { 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 6698 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 6701 { frame 1 { if (Math.floor(_root.armor / 10) == 8) { gotoAndStop(3); } if (Math.floor(_root.armor / 10) == 12) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 6702 { frame 1 { gotoAndStop(_root.player); if (_root.player == 1) { gotoAndStop(2); } } } movieClip 6716 { 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 6771 { 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 6773 { } movieClip 6801 { } movieClip 6862 { 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 6900 { } movieClip 6923 { 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 6925 { } movieClip 6927 { } movieClip 6928 { 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 6990 { 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 7013 { 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 7014 { 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 7031 { } movieClip 7033 { } movieClip 7086 { 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 (_roo