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

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

FF_Lot.swf

This is the info page for
Flash #129902

(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 67 heightbox { } movieClip 69 { } movieClip 71 trashwall { frame 1 { stop(); } frame 21 { _root.quest_fireout = true; loadMovie('', this); } } movieClip 76 { 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 84 { frame 1 { if (_root.quest_zombiecount <= 0) { stop(); } } frame 3 { stop(); } } movieClip 86 { frame 1 { if (_root.quest_pirateboss == 0) { stop(); } } frame 3 { stop(); } } movieClip 88 { frame 1 { if (_root.quest_shipclear == 0) { stop(); } } frame 3 { stop(); } } movieClip 90 { frame 1 { if (_root.quest_getmedkit >= 2) { stop(); } } frame 3 { stop(); } } movieClip 95 { frame 1 { if (_root.quest_savemage == 5 or _root.quest_savemage == 6) { stop(); } } frame 2 { if (_root.player == 11) { stop(); } } frame 3 { stop(); } } movieClip 97 { frame 1 { if (_root.quest_zombiecount <= 0 and _root.quest_armdoor >= 2) { stop(); } } frame 3 { stop(); } } movieClip 99 { frame 1 { if (_root.quest_shippower == 7 or _root.quest_shippower == 11) { stop(); } } frame 2 { stop(); } } // unknown tag 88 length 63 movieClip 109 { 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 118 { 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 123 { 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 125 { on (release) { this.play(); } } movieClip 127 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 129 { } movieClip 131 { } movieClip 133 { } movieClip 134 energyball2 { } movieClip 136 { } movieClip 138 { } movieClip 139 energyball-dark { } movieClip 143 { frame 1 { if (_root.player > 20) { gotoAndPlay(41); } else { if (_root.player > 10) { gotoAndPlay(21); } } } } movieClip 146 { frame 1 { if (_root.player > 20) { gotoAndPlay(41); } else { if (_root.player > 10) { gotoAndPlay(21); } } } } movieClip 147 energyball { } movieClip 189 { } movieClip 220 item_symbol_drop { frame 1 { stop(); } } movieClip 222 { } movieClip 223 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 266 item_symbol { frame 1 { stop(); } } movieClip 267 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 269 { } movieClip 271 { } movieClip 273 { } movieClip 276 { } movieClip 279 { } movieClip 280 { } movieClip 282 { } movieClip 283 { frame 11 { this._parent.unloadMovie(); } } movieClip 284 zombiedoor { frame 1 { stop(); } } movieClip 286 { } movieClip 288 { } movieClip 290 { } movieClip 292 { } movieClip 294 { } movieClip 296 { } movieClip 298 { } movieClip 300 { } movieClip 302 { } movieClip 304 { } movieClip 306 { } movieClip 308 { } movieClip 310 { } movieClip 312 { } movieClip 317 { } movieClip 319 { } movieClip 321 { } movieClip 323 { } movieClip 325 { } movieClip 327 { } movieClip 328 { } movieClip 329 { } movieClip 330 { } movieClip 332 { } movieClip 333 { } movieClip 334 { 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 336 { } movieClip 338 { } movieClip 343 { } movieClip 348 { } movieClip 349 { 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 350 { } movieClip 351 wolfman { } movieClip 353 { } movieClip 355 { } movieClip 357 { } movieClip 359 { } movieClip 361 { } movieClip 363 { } movieClip 365 { } movieClip 367 { } movieClip 369 { } movieClip 371 { } movieClip 373 { } movieClip 378 { } movieClip 380 { } movieClip 382 { } movieClip 384 { } movieClip 386 { } movieClip 388 { } movieClip 389 { } movieClip 391 { } movieClip 393 { } movieClip 394 { } movieClip 395 { } movieClip 397 { } movieClip 398 { } movieClip 399 { 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 403 { } movieClip 408 { } movieClip 409 { 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 410 catguy { } movieClip 452 earthmound { } movieClip 481 wave { } movieClip 487 { } movieClip 497 { } movieClip 499 { } movieClip 503 { } movieClip 521 { } movieClip 523 { } movieClip 543 { } movieClip 553 { } movieClip 555 { } movieClip 559 { } movieClip 560 { } movieClip 561 { } movieClip 562 { 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 564 { } movieClip 565 { frame 1 { _root.fadeout.gotoAndPlay(51); _root.held = 905; _root.camframe.hero.gotoAndStop(9); } frame 21 { _root.quest_shipclear = 0; loadMovie('', this._parent); } } movieClip 572 { frame 150 { _root.BGA[0][9] = _root.BGtype[18][5]; _root.bghb0._y = 550; } frame 181 { gotoAndPlay('loop'); } } movieClip 573 slimeboss { } movieClip 575 { } movieClip 577 { } movieClip 579 { } movieClip 581 { } movieClip 583 { } movieClip 585 { } movieClip 587 { } movieClip 589 { } movieClip 591 { } movieClip 596 { } movieClip 598 { } movieClip 600 { } movieClip 602 { } movieClip 604 { } movieClip 606 { } movieClip 609 { } movieClip 610 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 611 { } movieClip 612 { frame 17 { gotoAndPlay(1); } } movieClip 614 { } movieClip 615 { 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 620 { } movieClip 621 { } movieClip 622 { 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 623 pirate { } movieClip 632 { } movieClip 701 { frame 56 { gotoAndPlay(6); } } movieClip 723 { frame 54 { gotoAndPlay(3); } } movieClip 725 { } movieClip 732 { frame 6 { this._parent.unloadMovie(); } } movieClip 734 { 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 735 slimetentacle { frame 1 { stop(); } } movieClip 738 symbol_poison { frame 1 { var loopcount = 0; } frame 5 { this._y -= 5; ++loopcount; if (loopcount < 30) { gotoAndPlay(2); } else { this.unloadMovie(); } } } movieClip 740 M22_HighHammerBox { } movieClip 742 m19_punchbox { } movieClip 743 { } movieClip 745 { } movieClip 747 { } movieClip 749 { } movieClip 751 { } movieClip 753 { } movieClip 755 { } movieClip 757 { } movieClip 759 { } movieClip 761 { } movieClip 763 { } movieClip 765 { } movieClip 767 { } movieClip 770 { } movieClip 774 { } movieClip 777 { } movieClip 779 { } movieClip 781 { } movieClip 783 { } movieClip 785 { } movieClip 787 { } movieClip 789 { } // unknown tag 88 length 62 movieClip 793 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 795 { } movieClip 797 { } movieClip 798 { } movieClip 799 { frame 21 { gotoAndPlay(1); } } movieClip 811 { } movieClip 828 { 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 832 { } movieClip 833 { } movieClip 834 { 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 835 pirateboss { } movieClip 836 m20whiphitbox { } movieClip 837 firepile { } movieClip 838 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 845 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 856 { } movieClip 866 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 868 { } movieClip 870 { } movieClip 872 { } movieClip 874 { } movieClip 876 { } movieClip 878 { } movieClip 880 { } movieClip 882 { } movieClip 884 { } movieClip 886 { } movieClip 888 { } movieClip 890 { } movieClip 892 { } movieClip 894 { } movieClip 896 { } movieClip 898 { } movieClip 902 { } movieClip 904 { } movieClip 906 { } movieClip 908 { } movieClip 910 { } movieClip 915 { frame 1 { stop(); } } movieClip 916 { 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 927 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 964 { } movieClip 965 slimewall { frame 21 { loadMovie('', this); } } // unknown tag 88 length 73 movieClip 973 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 975 { } movieClip 977 { } movieClip 979 { } movieClip 981 { } movieClip 983 { } movieClip 985 { } movieClip 987 { } movieClip 989 { } movieClip 991 { } movieClip 993 { } movieClip 995 { } movieClip 997 { } movieClip 999 { } movieClip 1001 { } movieClip 1003 { } movieClip 1005 { } movieClip 1007 { } movieClip 1009 { } movieClip 1011 { } movieClip 1013 { } movieClip 1015 { } movieClip 1017 { } movieClip 1018 { } movieClip 1019 { } movieClip 1021 { } movieClip 1024 { 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 1025 { } movieClip 1026 { 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 1027 bunnygirl { } movieClip 1029 { } movieClip 1031 { } movieClip 1033 { } movieClip 1035 { } movieClip 1037 { } movieClip 1039 { } movieClip 1041 { } movieClip 1043 { } movieClip 1045 { } movieClip 1047 { } movieClip 1052 { } movieClip 1054 { } movieClip 1056 { } movieClip 1058 { } movieClip 1060 { } movieClip 1062 { } movieClip 1064 { } movieClip 1066 { } movieClip 1067 { } movieClip 1068 { } movieClip 1070 { } movieClip 1072 { } movieClip 1073 { 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 1074 { 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 1076 { } movieClip 1077 { 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 1081 { frame 1 { stop(); } frame 10 { stop(); } } movieClip 1083 { } movieClip 1085 { } movieClip 1087 { } movieClip 1089 { } movieClip 1091 { } movieClip 1093 { } movieClip 1095 { } movieClip 1097 { } movieClip 1099 { } movieClip 1101 { } movieClip 1103 { } movieClip 1106 { } movieClip 1108 { } movieClip 1110 { } movieClip 1112 { } movieClip 1114 { } movieClip 1116 { } movieClip 1118 { } movieClip 1120 { } movieClip 1128 { } movieClip 1138 { } movieClip 1146 { frame 1 { gotoAndStop(_root.player); } } movieClip 1148 { } movieClip 1156 { } movieClip 1158 { } movieClip 1161 { } movieClip 1163 { } movieClip 1165 { } movieClip 1167 { } movieClip 1169 { 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 1170 bunnyguy { } movieClip 1172 { } movieClip 1174 { } movieClip 1176 { } movieClip 1178 { } movieClip 1180 { } movieClip 1182 { } movieClip 1184 { } movieClip 1186 { } movieClip 1188 { } movieClip 1190 { } movieClip 1192 { } movieClip 1194 { } movieClip 1196 { } movieClip 1198 { } movieClip 1200 { } movieClip 1202 { } movieClip 1204 { } movieClip 1206 { } movieClip 1208 { } movieClip 1209 { } movieClip 1210 { } movieClip 1211 { 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 1213 { } movieClip 1214 { } movieClip 1215 { 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 1216 barbariangirl { } movieClip 1218 { } movieClip 1220 { } movieClip 1222 { } movieClip 1224 { } movieClip 1226 { } movieClip 1228 { } movieClip 1230 { } movieClip 1232 { } movieClip 1234 { } movieClip 1236 { } movieClip 1238 { } movieClip 1240 { } movieClip 1242 { } movieClip 1244 { } movieClip 1246 { } movieClip 1248 { } movieClip 1250 { } movieClip 1252 { } movieClip 1253 { } movieClip 1255 { } movieClip 1256 { } movieClip 1259 { 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 1261 { } movieClip 1262 { } movieClip 1264 { } movieClip 1266 { } movieClip 1267 { 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 1270 { } movieClip 1272 { } movieClip 1274 { } movieClip 1276 { } movieClip 1279 { } movieClip 1281 { } movieClip 1283 { } movieClip 1285 { } movieClip 1288 { } movieClip 1290 { } movieClip 1292 { } movieClip 1294 { } movieClip 1296 { } movieClip 1299 { } movieClip 1301 { } movieClip 1303 { } movieClip 1305 { } movieClip 1307 { } // unknown tag 88 length 69 movieClip 1318 { } movieClip 1325 { } movieClip 1330 { } movieClip 1332 { } movieClip 1351 { 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 1352 vendel { } movieClip 1354 { } movieClip 1356 { } movieClip 1358 { } movieClip 1360 { } movieClip 1362 { } movieClip 1364 { } movieClip 1366 { } movieClip 1368 { } movieClip 1370 { } movieClip 1372 { } movieClip 1374 { } movieClip 1376 { } movieClip 1378 { } movieClip 1380 { } movieClip 1382 { } movieClip 1384 { } movieClip 1386 { } movieClip 1388 { } movieClip 1390 { } movieClip 1391 { } movieClip 1392 { frame 1 { if (_root._currentframe == 80) { stop(); } } } movieClip 1394 { } movieClip 1396 { } movieClip 1398 { } movieClip 1400 { } movieClip 1401 { 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 1403 { } movieClip 1404 { } movieClip 1406 { } movieClip 1408 { } movieClip 1409 { 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 1410 barbarianguy { } movieClip 1412 { } movieClip 1414 { } movieClip 1416 { } movieClip 1418 { } movieClip 1420 { } movieClip 1422 { } movieClip 1424 { } movieClip 1426 { } movieClip 1428 { } movieClip 1430 { } movieClip 1432 { } movieClip 1434 { } movieClip 1436 { } movieClip 1438 { } movieClip 1440 { } movieClip 1442 { } movieClip 1444 { } movieClip 1446 { } movieClip 1447 { } movieClip 1448 { 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 1449 { 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 1452 { } movieClip 1453 { 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 1455 { } movieClip 1456 { 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 1458 { } movieClip 1459 { 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 1460 elfgirl { } movieClip 1462 { } movieClip 1464 { } movieClip 1466 { } movieClip 1468 { } movieClip 1470 { } movieClip 1472 { } movieClip 1474 { } movieClip 1476 { } movieClip 1478 { } movieClip 1480 { } movieClip 1482 { } movieClip 1484 { } movieClip 1486 { } movieClip 1488 { } movieClip 1490 { } movieClip 1492 { } movieClip 1493 { } movieClip 1494 { } movieClip 1495 { 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], 9, 5, 65]); _root['mp' + _root.mpnum]._x = _parent._x; } else { _root.monatt.push([0, ['mp' + _root.mpnum], 8, -5, 85]); _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; 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, 5, 65]); _root['mp' + _root.mpnum]._x = _parent._x; } else { _root.monatt.push([0, ['mp' + _root.mpnum], 8, -5, 85]); _root['mp' + _root.mpnum]._x = _parent._x; } _root['mp' + _root.mpnum]._y = 200; } 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 1497 { } movieClip 1498 { } movieClip 1500 { } movieClip 1502 { } movieClip 1504 { } movieClip 1506 { } movieClip 1507 { 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 1513 { 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 1514 elfguy { } movieClip 1515 fireball_staff { } movieClip 1516 fireball { } movieClip 1527 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 1529 M29_FlowerDone { } movieClip 1551 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 1554 { } movieClip 1556 { } movieClip 1558 { frame 1 { stop(); } } movieClip 1562 { } movieClip 1564 { } movieClip 1567 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 1572 { frame 41 { stop(); } } movieClip 1573 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 1579 { frame 1 { if (_root._currentframe > 39) { gotoAndStop(21); } else { if (_root._currentframe > 29) { gotoAndStop(11); } } stop(); } } movieClip 1584 { frame 1 { if (_root._currentframe > 39) { gotoAndStop(21); } else { if (_root._currentframe > 29) { gotoAndStop(11); } } stop(); } } movieClip 1585 { frame 1 { stop(); } } movieClip 1588 { } movieClip 1590 { } movieClip 1596 { frame 41 { stop(); } } movieClip 1601 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 >= 7) { _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonS.gotoAndStop(6); } _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 16 { _root.choicetext = 'This door is locked, and there appear to be people on the other side.'; _root.choiceA = '(Say) Pirates? Don\'t Worry, I know how to handle pirates.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = '(Body Check) Try to Force Door'; if (_root.body >= 7) { _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonS.gotoAndStop(6); } _root.choiceD = '(Spirit Check / Say) Let me in, I\'m here to help.'; if (_root.spirit > 3) { _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } 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 1611 gbararrow_r { frame 1 { stop(); } frame 2 { } frame 11 { stop(); } } movieClip 1625 { 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 1630 { 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 1634 { } movieClip 1639 { frame 1 { if (_root.player > 20) { gotoAndStop(11); } else { if (_root.player > 10) { gotoAndStop(6); } } stop(); } } movieClip 1641 { } movieClip 1643 { } movieClip 1645 { } movieClip 1646 grapplebar { frame 1 { stop(); } frame 20 { stop(); } frame 41 { stop(); } } movieClip 1648 M29+29_LargeFlower { } frame 2 { var continues = 5; gunhmax = 0; var gunh = 0; var gameoverman = false; var myMenu = new ContextMenu(); myMenu.hideBuiltInItems(); _root.menu = myMenu; stop(); } // unknown tag 88 length 68 movieClip 1655 { } button 1663 { on (release) { _root.play(); } } movieClip 1665 { frame 1 { stop(); } instance of movieClip 1655 { 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 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; cumface = 5; var cumchest = 5; var poisonlevel = 0; var hordemax = 10; var hordelevel = 1; HordeModeOptionsCount = 0; var HordeModeOptions = 0; var HMArmor = new Array(); var HMWeapon = new Array(); var HMAccessory = new Array(); var HMPotion = new Array(); var quest_shippower = 0; var quest_armdoor = 0; var quest_fireout = false; var quest_getmedkit = 0; var quest_zombiecount = 10; var quest_pirateboss = 12; var quest_savemage = 0; var quest_shipclear = 10; var quest_getmop = 0; var quest_getaxe = 0; var quest_getjumpsuit = 0; var brigopen = 0; var quest_getbokken = 0; var quest_opencastle = 0; var quest_openhuman = 0; var quest_openelves = 0; villagebunnies = 0; villageelves = 0; var villagehumans = 0; var act2clear = 0; var quest_gettorch = 0; GotBreastPlate = 1; GotStarterPlate = 1; GotTravelingRobes = 1; var GotGreenDress = 1; var quest_helpdunecrawler = -1; R15Loc = 0; R14Loc = 0; var R13Loc = 0; var KFoxHealth = 101; var quest_HelpBeka = 0; var quest_HumanStash = 0; var firechecked = new Array(0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); var weapon = new Array(); weapon.push([0, 'spaceholder', 1, 1, 1, 0, '']); weapon.push([1, 'fists', 2, 2, 2.5, 0, 'Bare Fists. The basic weapons for martial artists everywhere. Note that Space Marshals recieve additional attacks when using fist weapons.']); weapon.push([2, 'Weighted Gloves', 4, 4, 2.75, 0, 'Weighted Gloves. For the martial artist who wants a little more martial & a little less artist.']); weapon.push([3, 'reserved', 1, 1, 1, 0, '']); weapon.push([4, 'reserved', 1, 1, 1, 0, '']); weapon.push([5, 'reserved', 1, 1, 1, 0, '']); weapon.push([6, 'reserved', 1, 1, 1, 0, '']); weapon.push([7, 'reserved', 1, 1, 1, 0, '']); weapon.push([8, 'reserved', 1, 1, 1, 0, '']); weapon.push([9, 'reserved', 1, 1, 1, 0, '']); weapon.push([10, 'reserved', 1, 1, 1, 0, '']); weapon.push([11, 'wand', 2, 5, 4, 0, 'Magic Wand. Basic starting weapon for Wizards. Conjures multiple tiny balls of magical force.']); weapon.push([12, 'Wand of Fire', 2, 6, 3, 0, 'Wand of Fire. Much like a normal wand, only better. Because everything is better with fire.']); weapon.push([13, 'Deathwand', 2, 7, 2.5, 0, 'Deathwand. A powerful, but cursed wand. Wielding death magic takes it\'s toll on living creatures. This wand also damages the caster with each use.']); weapon.push([14, 'reserved', 1, 1, 1, 0, '']); weapon.push([15, 'reserved', 1, 1, 1, 0, '']); weapon.push([16, 'reserved', 1, 1, 1, 0, '']); weapon.push([17, 'reserved', 1, 1, 1, 0, '']); weapon.push([18, 'reserved', 1, 1, 1, 0, '']); weapon.push([19, 'reserved', 1, 1, 1, 0, '']); weapon.push([20, 'reserved', 1, 1, 1, 0, '']); weapon.push([21, 'longsword', 4, 0, 3, 0, 'Longsword. Good basic starting weapon for warriors. It has a pointy end & a non-pointy end. I recommend holding it by the non-pointy one.']); weapon.push([22, 'bokken', 2, 0, 1.25, 0, 'Bokken. A wooden sword designed for practicing. Very light and easy to use, but doesn\'t do much damage. Great for those who consider clubs to be advanced weapons.']); weapon.push([23, 'magic torch', 2, 1, 4, 0, 'Magic Torch. This fire on this torch has been enchanted to give off a very bright light but very little heat. Can be used to light up almost any room. (Will NOT set objects on fire).']); weapon.push([24, 'stonemace', 6, 0, 3.25, 0, 'Stone Mace. The bastard child born from combining the best attributes of both rock-tech and stick-tech. Is the world truely ready for a weapon of such destructive power?']); weapon.push([25, 'reserved', 1, 1, 1, 0, '']); weapon.push([26, 'reserved', 1, 1, 1, 0, '']); weapon.push([27, 'reserved', 1, 1, 1, 0, '']); weapon.push([28, 'reserved', 1, 1, 1, 0, '']); weapon.push([29, 'reserved', 1, 1, 1, 0, '']); weapon.push([30, 'reserved', 1, 1, 1, 0, '']); weapon.push([31, 'firemansaxe', 7, 0, 4.5, 50, 'Fireman\'s Axe. This axe is too off balance to be a great weapon, but it will work in a pinch. Also great for destroying anything on fire. (Heavy weapons may not be equiped by Wizards).']); weapon.push([32, 'stonemaul', 10, 0, 3.25, 0, 'Stone Maul. A large rock on the end of a large stick. It\'s what all the young rocks aspire to be when they grow up. (Heavy weapons may not be equiped by Wizards)']); weapon.push([33, 'battleaxe', 8, 0, 3, 0, 'Battle Axe. A heavy weapon, properly balanced for combat. Only the strongest warriors can harness its true potential. (Heavy weapons may not be equiped by Wizards)']); weapon.push([34, 'greatsword', 6, 0, 2.25, 0, 'Greatsword. The greatsword isn\'t nearly as massive as other large weapons, which makes it much easier to use. Young warriors often train with greatswords until they are ready for larger weapons.']); weapon.push([35, 'reserved', 1, 1, 1, 0, '']); weapon.push([36, 'reserved', 1, 1, 1, 0, '']); weapon.push([37, 'reserved', 1, 1, 1, 0, '']); weapon.push([38, 'reserved', 1, 1, 1, 0, '']); weapon.push([39, 'reserved', 1, 1, 1, 0, '']); weapon.push([40, 'reserved', 1, 1, 1, 0, '']); weapon.push([41, 'mop', 3, 5, 3.25, 50, 'Elemental Staff of Water. An advanced weapon for wizards. Can be used to summon large storms which attack all nearby enemies (Hold S, but watch your health). Apparently it can also be used to clean floors & toilets. (Magical Staves may not be equiped by Warriors).']); weapon.push([42, 'earthstaff', 5, 6, 3.25, 0, 'Elemental Staff of Earth. An advanced weapon for wizards. Can be used to summon a meteor from space which will smash opponents in front of the caster. (Hold S, but watch your health). (Magical Staves may not be equiped by Warriors)']); weapon.push([43, 'firestaff', 4, 5, 3.25, 0, 'Elemental Staff of Fire. An advanced weapon for wizards. Summons fire around the caster to burn all nearby enemies. (Hold S, but watch your health). (Magical Staves may not be equiped by Warriors)']); weapon.push([44, 'reserved', 1, 1, 1, 0, '']); weapon.push([45, 'reserved', 1, 1, 1, 0, '']); weapon.push([46, 'reserved', 1, 1, 1, 0, '']); weapon.push([47, 'reserved', 1, 1, 1, 0, '']); weapon.push([48, 'reserved', 1, 1, 1, 0, '']); weapon.push([49, 'reserved', 1, 1, 1, 0, '']); var armorarray = new Array(); armorarray.push([1, 'naked', 0, 0, '']); armorarray.push([11, 'Traveling Robes', 100, 0, 'Travelling Robes. These Wizard robs have been hemmed a bit higher to allow easy movement over rough or muddy terain.']); armorarray.push([21, 'Starter Plate', 150, 0, 'Journeyman\'s Armor. A heavy armor made primarily from hardened leather & hides. Often comes with some metal pieces as well. (Not useable by Wizards)']); armorarray.push([31, 'Jumpsuit', 100, 0, 'Space Marshall\'s Jumpsuit. A form fitting suit designed to offer some protection while maximizing flexibility. Standard issue for Space Marshalls.']); armorarray.push([41, 'Ballistic Armor', 150, 0, 'Military grade padded armor. Offers a combination of moderate protection with little encumberance.']); armorarray.push([51, 'Breast Plate', 125, 0, 'Breast Plate. Heavy plate mail across the vitals combined with much looser armor at the joints. Provides a good mix of protection and flexibility.']); armorarray.push([61, 'Green Summer Dress', 100, 0, 'Green Summer Dress. A casual dress, not really meant for armor.']); armorarray.push([71, 'reserved', 150, 0, '']); armorarray.push([81, 'Sorceror\'s Robes', 125, 22, 'Magically Enchanted Wizard Robes. Nothing says \'magic\' more than a set of wizard robes, so might as well show off & get the magic set of magic robes. In addition to providing protection from physical attacks, these robes have also been enhanced to enhance performance during grapples. (Moderate bonus to both sexual attack & sexual 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).']); 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).']); 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(['reserved', 5, 1, 0, 10, 1, 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(['reserved', 5, 1, 0, 31, 1, 1000, 0]); BGtype.push(['reserved', 5, 1, 0, 32, 1, 1000, 0]); BGtype.push(['reserved', 5, 1, 0, 33, 1, 1000, 0]); BGtype.push(['reserved', 5, 1, 0, 34, 1, 1000, 0]); BGtype.push(['reserved', 5, 1, 0, 35, 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]); 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 1676 { } movieClip 1684 { } button 1686 { on (release) { _root.gamestart = 'HordeMode'; gotoAndStop('charselect'); } } button 1687 { on (release) { gotoAndStop('about'); } } button 1688 { on (release) { gotoAndStop('basics'); } } movieClip 1692 { } instance of movieClip 1692 { 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'; } } _parent.codes.text = ''; } } button 1693 { on (release) { _root.gotoAndStop('charselect'); } } button 1695 { 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 1698 { 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 1699 { 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 1701 { frame 1 { if (_root.gamestart == 'Comic-A2Start') { gotoAndStop(6); } if (_root.gamestart == 'Act3Start') { gotoAndStop(11); } } frame 2 { stop(); } } button 1708 { on (release) { gotoAndStop('mainmenu'); } } button 1709 { on (release) { gotoAndStop('stats'); } } button 1710 { on (release) { gotoAndStop('grapples'); } } button 1712 { on (release) { gotoAndStop('basics'); } } movieClip 1719 { } button 1720 { on (release) { gotoAndStop('grapples'); } } button 1726 { on (release) { gotoAndStop('stats'); } } button 1731 { on (release) { gotoAndStop('about'); } } movieClip 1734 { } movieClip 1736 { frame 2 { stop(); } frame 3 { stop(); } } movieClip 1783 { frame 1 { stop(); } } button 1786 { 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 1787 { 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 1788 { 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 1789 { 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 1790 { 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 1791 { 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 1798 { 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 1800 { on (release) { _root.gotoAndStop('mainmenu'); } } button 1802 { 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 1803 { 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 1804 { 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 1805 { 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 1806 { 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 1807 { 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 1808 { 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 1809 { 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 1810 { 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 1811 { 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 1812 { 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 1813 { 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 1814 { 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 1815 { 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 1816 { 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 1817 { 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 1818 { 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 1819 { 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 1820 { 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 1821 { 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 1822 { 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 1823 { 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 1824 { 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 1825 { 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 1827 { 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 1828 { 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 1835 { on (release) { _root.player = 23; _root.bodrace = 5; _root.sptrace = 3; _root.HeroMainColorR = 255; _root.HeroMainColorG = 238; _root.HeroMainColorB = 204; _root.HeroSecondColorR = 204; _root.HeroSecondColorG = 51; _root.HeroSecondColorB = 0; _root.bodclass = 2; _root.sptclass = 0; _root.wpn = 21; _root.wpndmgphy = _root.weapon[_root.wpn][2]; _root.wpndmgmag = _root.weapon[_root.wpn][3]; _root.armor = 21; _root.armorhmax = 150; _root.armorh = 150; _root.acc = 1; _root.body = _root.bodrace + _root.bodclass + _root.accessory[_root.acc][2]; _root.spirit = _root.sptrace + _root.sptclass + _root.accessory[_root.acc][3]; _root.maxhealth = 50 + _root.body * 10; _root.health = _root.maxhealth; _root.heroview.gotoAndPlay(1); _root.SelectPlayer_Farah.gotoAndPlay(1); _root.SelectPlayer_KFox.gotoAndPlay(1); _root.SelectPlayer_LeiLei.gotoAndPlay(1); _root.SelectClass_Warrior.gotoAndPlay(1); _root.SelectClass_SpaceMarshal.gotoAndPlay(1); _root.SelectClass_Magician.gotoAndPlay(1); _root.Select_StartButton.gotoAndPlay(1); } } movieClip 1837 { } movieClip 1839 { } movieClip 1841 { } movieClip 1843 { } movieClip 1845 { } movieClip 1847 { } movieClip 1849 { } movieClip 1851 { } movieClip 1853 { } movieClip 1855 { } movieClip 1857 { } movieClip 1859 { } movieClip 1863 { } movieClip 1865 { } movieClip 1867 { } movieClip 1870 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 1872 { } movieClip 1874 { } movieClip 1876 { } movieClip 1878 { } movieClip 1879 { } movieClip 1884 { frame 2 { if (_root.player == 0) { stop(); } if (_root.player < 20 || _root.player > 29) { stop(); } } frame 3 { stop(); } } button 1887 { on (release) { _root.player = 2; _root.bodrace = 4; _root.sptrace = 4; _root.HeroMainColorR = 153; _root.HeroMainColorG = 170; _root.HeroMainColorB = 238; _root.HeroSecondColorR = 255; _root.HeroSecondColorG = 221; _root.HeroSecondColorB = 255; _root.bodclass = 1; _root.sptclass = 1; _root.wpn = 1; _root.wpndmgphy = _root.weapon[_root.wpn][2]; _root.wpndmgmag = _root.weapon[_root.wpn][3]; _root.armor = 31; _root.armorhmax = 100; _root.armorh = 100; _root.acc = 1; _root.body = _root.bodrace + _root.bodclass + _root.accessory[_root.acc][2]; _root.spirit = _root.sptrace + _root.sptclass + _root.accessory[_root.acc][3]; _root.maxhealth = 50 + _root.body * 10; _root.health = _root.maxhealth; _root.heroview.gotoAndPlay(1); _root.SelectPlayer_Farah.gotoAndPlay(1); _root.SelectPlayer_KFox.gotoAndPlay(1); _root.SelectPlayer_LeiLei.gotoAndPlay(1); _root.SelectClass_Warrior.gotoAndPlay(1); _root.SelectClass_SpaceMarshal.gotoAndPlay(1); _root.SelectClass_Magician.gotoAndPlay(1); _root.Select_StartButton.gotoAndPlay(1); } } movieClip 1889 { } movieClip 1891 { } movieClip 1893 { } movieClip 1894 { } movieClip 1899 { frame 2 { if (_root.player == 0) { stop(); } if (_root.player > 9) { stop(); } } frame 3 { stop(); } } button 1901 { on (release) { _root.player = 11; _root.bodrace = 3; _root.sptrace = 5; _root.HeroMainColorR = 238; _root.HeroMainColorG = 221; _root.HeroMainColorB = 0; _root.HeroSecondColorR = 255; _root.HeroSecondColorG = 255; _root.HeroSecondColorB = 238; _root.bodclass = 0; _root.sptclass = 2; _root.wpn = 11; _root.wpndmgphy = _root.weapon[_root.wpn][2]; _root.wpndmgmag = _root.weapon[_root.wpn][3]; _root.armor = 11; _root.armorhmax = 100; _root.armorh = 100; _root.acc = 2; _root.body = _root.bodrace + _root.bodclass + _root.accessory[_root.acc][2]; _root.spirit = _root.sptrace + _root.sptclass + _root.accessory[_root.acc][3]; _root.maxhealth = 50 + _root.body * 10; _root.health = _root.maxhealth; _root.heroview.gotoAndPlay(1); _root.SelectPlayer_Farah.gotoAndPlay(1); _root.SelectPlayer_KFox.gotoAndPlay(1); _root.SelectPlayer_LeiLei.gotoAndPlay(1); _root.SelectClass_Warrior.gotoAndPlay(1); _root.SelectClass_SpaceMarshal.gotoAndPlay(1); _root.SelectClass_Magician.gotoAndPlay(1); _root.Select_StartButton.gotoAndPlay(1); } } movieClip 1902 { } movieClip 1907 { frame 2 { if (_root.player == 0) { stop(); } if (_root.player < 10 || _root.player > 19) { stop(); } } frame 3 { stop(); } } movieClip 1910 { } button 1914 { on (release) { _root.player = Math.floor(_root.player / 10) * 10; _root.player += 3; _root.bodclass = 2; _root.sptclass = 0; _root.wpn = 21; _root.wpndmgphy = _root.weapon[_root.wpn][2]; _root.wpndmgmag = _root.weapon[_root.wpn][3]; _root.armor = 21; _root.armorhmax = 150; _root.armorh = 150; _root.acc = 1; _root.body = _root.bodrace + _root.bodclass + _root.accessory[_root.acc][2]; _root.spirit = _root.sptrace + _root.sptclass + _root.accessory[_root.acc][3]; _root.maxhealth = 50 + _root.body * 10; _root.health = _root.maxhealth; if (_root.backpack1 >= 41 and _root.backpack1 <= 50 and _root.backpack1h == 301) { _root.backpack1 = 1; } if (_root.backpack2 >= 41 and _root.backpack2 <= 50 and _root.backpack2h == 301) { _root.backpack2 = 1; } _root.heroview.gotoAndPlay(1); _root.SelectPlayer_Farah.gotoAndPlay(1); _root.SelectPlayer_KFox.gotoAndPlay(1); _root.SelectPlayer_LeiLei.gotoAndPlay(1); _root.SelectClass_Warrior.gotoAndPlay(1); _root.SelectClass_SpaceMarshal.gotoAndPlay(1); _root.SelectClass_Magician.gotoAndPlay(1); } } movieClip 1915 { frame 2 { if (_root.player == 0) { stop(); } } frame 3 { if (_root.player % 10 !== 3) { stop(); } } frame 4 { stop(); } } movieClip 1917 { } button 1921 { on (release) { _root.player = Math.floor(_root.player / 10) * 10; _root.player += 2; _root.bodclass = 1; _root.sptclass = 1; _root.wpn = 1; _root.wpndmgphy = _root.weapon[_root.wpn][2]; _root.wpndmgmag = _root.weapon[_root.wpn][3]; _root.armor = 31; _root.armorhmax = 100; _root.armorh = 100; _root.acc = 1; _root.body = _root.bodrace + _root.bodclass + _root.accessory[_root.acc][2]; _root.spirit = _root.sptrace + _root.sptclass + _root.accessory[_root.acc][3]; _root.maxhealth = 50 + _root.body * 10; _root.health = _root.maxhealth; _root.heroview.gotoAndPlay(1); _root.SelectPlayer_Farah.gotoAndPlay(1); _root.SelectPlayer_KFox.gotoAndPlay(1); _root.SelectPlayer_LeiLei.gotoAndPlay(1); _root.SelectClass_Warrior.gotoAndPlay(1); _root.SelectClass_SpaceMarshal.gotoAndPlay(1); _root.SelectClass_Magician.gotoAndPlay(1); } } movieClip 1922 { frame 2 { if (_root.player == 0) { stop(); } } frame 3 { if (_root.player % 10 !== 2) { stop(); } } frame 4 { stop(); } } movieClip 1924 { } button 1928 { on (release) { _root.player = Math.floor(_root.player / 10) * 10; _root.player += 1; _root.bodclass = 0; _root.sptclass = 2; _root.wpn = 11; _root.wpndmgphy = _root.weapon[_root.wpn][2]; _root.wpndmgmag = _root.weapon[_root.wpn][3]; _root.armor = 11; _root.armorhmax = 100; _root.armorh = 100; _root.acc = 2; _root.body = _root.bodrace + _root.bodclass + _root.accessory[_root.acc][2]; _root.spirit = _root.sptrace + _root.sptclass + _root.accessory[_root.acc][3]; _root.maxhealth = 50 + _root.body * 10; _root.health = _root.maxhealth; _root.heroview.gotoAndPlay(1); _root.SelectPlayer_Farah.gotoAndPlay(1); _root.SelectPlayer_KFox.gotoAndPlay(1); _root.SelectPlayer_LeiLei.gotoAndPlay(1); _root.SelectClass_Warrior.gotoAndPlay(1); _root.SelectClass_SpaceMarshal.gotoAndPlay(1); _root.SelectClass_Magician.gotoAndPlay(1); _root.Select_StartButton.gotoAndPlay(1); } } movieClip 1929 { frame 2 { if (_root.player == 0) { stop(); } } frame 3 { if (_root.player % 10 !== 1) { stop(); } } frame 4 { stop(); } } button 1931 { 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 1933 { frame 2 { if (_root.player == 0) { stop(); } } frame 3 { stop(); } } button 1937 { on (release) { var i = Math.floor(_root.player / 10); switch (i) { case 0: _root.HeroMainColorR = 153; _root.HeroMainColorG = 170; _root.HeroMainColorB = 238; _root.HeroSecondColorR = 255; _root.HeroSecondColorG = 221; _root.HeroSecondColorB = 255; break; case 1: _root.HeroMainColorR = 238; _root.HeroMainColorG = 221; _root.HeroMainColorB = 0; _root.HeroSecondColorR = 255; _root.HeroSecondColorG = 255; _root.HeroSecondColorB = 238; break; case 2: _root.HeroMainColorR = 255; _root.HeroMainColorG = 238; _root.HeroMainColorB = 204; _root.HeroSecondColorR = 204; _root.HeroSecondColorG = 51; _root.HeroSecondColorB = 0; break; default: _root.HeroMainColorR = 153; _root.HeroMainColorG = 153; _root.HeroMainColorB = 153; _root.HeroSecondColorR = 204; _root.HeroSecondColorG = 204; _root.HeroSecondColorB = 204; } this.gotoAndPlay(1); } } button 1939 { on (release) { var i = Math.floor(_root.player / 10); switch (i) { case 0: _root.HeroMainColorR = 221; _root.HeroMainColorG = 153; _root.HeroMainColorB = 53; _root.HeroSecondColorR = 240; _root.HeroSecondColorG = 187; _root.HeroSecondColorB = 85; break; case 1: _root.HeroMainColorR = 221; _root.HeroMainColorG = 170; _root.HeroMainColorB = 255; _root.HeroSecondColorR = 255; _root.HeroSecondColorG = 238; _root.HeroSecondColorB = 255; break; case 2: _root.HeroMainColorR = 221; _root.HeroMainColorG = 170; _root.HeroMainColorB = 119; _root.HeroSecondColorR = 255; _root.HeroSecondColorG = 221; _root.HeroSecondColorB = 51; break; default: _root.HeroMainColorR = 153; _root.HeroMainColorG = 153; _root.HeroMainColorB = 153; _root.HeroSecondColorR = 204; _root.HeroSecondColorG = 204; _root.HeroSecondColorB = 204; } this.gotoAndPlay(1); } } button 1941 { on (release) { var i = Math.floor(_root.player / 10); switch (i) { case 0: _root.HeroMainColorR = 34; _root.HeroMainColorG = 0; _root.HeroMainColorB = 51; _root.HeroSecondColorR = 136; _root.HeroSecondColorG = 136; _root.HeroSecondColorB = 153; break; case 1: _root.HeroMainColorR = 153; _root.HeroMainColorG = 153; _root.HeroMainColorB = 153; _root.HeroSecondColorR = 221; _root.HeroSecondColorG = 221; _root.HeroSecondColorB = 221; break; case 2: _root.HeroMainColorR = 250; _root.HeroMainColorG = 240; _root.HeroMainColorB = 220; _root.HeroSecondColorR = 32; _root.HeroSecondColorG = 32; _root.HeroSecondColorB = 32; break; default: _root.HeroMainColorR = 153; _root.HeroMainColorG = 153; _root.HeroMainColorB = 153; _root.HeroSecondColorR = 204; _root.HeroSecondColorG = 204; _root.HeroSecondColorB = 204; } _root.heroview.gotoAndPlay(1); } } movieClip 1947 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 1949 { 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 1951 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 1953 { 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 1955 { } movieClip 1957 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 1959 { 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 1962 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 1964 { 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 1966 { 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 1968 { 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 1970 { 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 1973 { 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 1976 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 1978 { 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 1981 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 1983 { 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 1985 { 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 1991 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 1992 { frame 2 { stop(); } } movieClip 1994 { 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 2001 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2003 { frame 1 { gotoAndStop(2); } frame 2 { if (_root.wpn == 2) { gotoAndStop(_currentframe + 1); } } } movieClip 2006 { 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 2014 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2019 { frame 1 { gotoAndStop(_root.cumchest + 1); } } movieClip 2020 { frame 2 { stop(); } } movieClip 2023 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2025 { 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 2027 { 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 2030 { 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 2038 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2040 { 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 2042 { 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 2045 { 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 2047 { 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 2050 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2051 { frame 1 { gotoAndStop(_root.player); } } movieClip 2053 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2055 { 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 2057 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2059 { 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 2063 { frame 1 { gotoAndStop(_root.acc); } } movieClip 2075 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2077 { 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 2078 { frame 1 { if (_root.player > 20) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 2082 { frame 1 { gotoAndStop(_root.cumchest + 1); } } movieClip 2084 { 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 2086 { 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 2088 { 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 2090 { frame 2 { stop(); } } movieClip 2092 { 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 2094 { 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 2096 { 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 2098 { frame 2 { stop(); } } movieClip 2103 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } frame 2 { stop(); } } movieClip 2105 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2107 { 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 2115 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2117 { 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 2118 { frame 1 { if (_root.player >= 20) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 2120 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2122 { 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 2124 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2126 { 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 2129 { 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 2137 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2139 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2141 { 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 2143 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2145 { 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 2148 { 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 2150 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2152 { 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 2155 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2156 { frame 1 { if (_root.player == 1) { gotoAndStop(2); } else { gotoAndStop(_root.player); } } } movieClip 2158 { frame 1 { gotoAndStop(_root.acc); } } movieClip 2179 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } frame 2 { stop(); } } movieClip 2185 { frame 1 { gotoAndStop(_root.cumface + 1); } } movieClip 2187 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2189 { 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 2192 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2194 { 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 2197 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2199 { 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 2201 { frame 1 { gotoAndStop(_root.player); } } movieClip 2203 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2205 { 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 2207 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2209 { 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 2212 { 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 2214 { 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 2216 { 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 2222 { frame 1 { gotoAndStop(_root.cumface + 1); } } movieClip 2228 { 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 2230 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2232 { 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 2234 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2236 { 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 2239 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2241 { 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 2243 { 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 2246 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2248 { 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 2250 { 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 2252 { frame 1 { gotoAndStop(_root.player); } } movieClip 2254 { 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 2260 { frame 1 { gotoAndStop(_root.player); } } movieClip 2263 { 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 2265 { 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 2269 { 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 2271 { 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 2275 { 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 2276 { frame 1 { gotoAndStop(_root.player); } } movieClip 2291 { frame 1 { if (_root.wpn < 10) { gotoAndStop(_root.wpn + 1); } else { gotoAndStop(_root.wpn); } } } movieClip 2293 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2297 { 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 2302 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2303 { frame 2 { stop(); } } movieClip 2305 { 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 2307 { 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 2312 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2314 { frame 1 { var red = _root.HeroMainColorR; var green = _root.HeroMainColorG; var blue = _root.HeroMainColorB; red -= 25; if (red < 0) { red = 0; } green -= 25; if (green < 0) { green = 0; } blue -= 25; if (blue < 0) { blue = 0; } (new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue); } } movieClip 2318 { frame 1 { if (_root.player >= 21) { gotoAndStop(22); } else { gotoAndStop(2); } } frame 2 { if (_root.wpn == 2) { gotoAndStop(_currentframe + 2); } else { if (_root.camframe.hero._currentframe < 51 and _root.wpn > 10) { gotoAndStop(_currentframe + 1); } } } frame 22 { if (_root.wpn == 2) { gotoAndStop(_currentframe + 2); } else { if (_root.camframe.hero._currentframe < 51 and _root.wpn > 10) { gotoAndStop(_currentframe + 1); } } } } movieClip 2320 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2322 { 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 2324 { 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 2332 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 2335 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2337 { 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 2339 { 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 2341 { 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 2343 { 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 2348 { 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 2351 { 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 2353 { 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 2355 { 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 2358 { 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 2361 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 2363 { 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 2366 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 2368 { 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 2369 { frame 1 { gotoAndStop(Math.ceil(_root.wpn / 10)); } } movieClip 2370 { frame 1 { if (_root.player == 0) { stop(); } } frame 2 { stop(); } } movieClip 2373 { } button 2377 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); } } on (keyPress '<Space>') { _root.FadeoutBlack.gotoAndPlay(32); } } button 2383 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { this.gotoAndStop(_currentframe + 1); } } on (keyPress '<Right>') { this.gotoAndStop(_currentframe + 1); } } button 2388 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { this.gotoAndStop(_currentframe - 1); } } on (keyPress '<Left>') { this.gotoAndStop(_currentframe - 1); } } movieClip 2401 { } movieClip 2403 { } // unknown tag 88 length 73 button 2425 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); } } } movieClip 2427 { frame 1 { stop(); } } movieClip 2430 { frame 31 { stop(); } frame 50 { _root.gotoAndStop([_root.gamestart]); stop(); } } movieClip 2433 { } button 2439 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); } } on (keyPress '<Space>') { _root.FadeoutBlack.gotoAndPlay(32); _root.acc = 2; } } button 2440 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { this.gotoAndStop(_currentframe + 1); } } on (keyPress '<Right>') { this.gotoAndStop(_currentframe + 1); } } movieClip 2444 { 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 2447 { 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 2450 { 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 2452 { frame 1 { gotoAndStop(_root.player); } } movieClip 2462 { } movieClip 2464 { } movieClip 2466 { } movieClip 2468 { } movieClip 2469 { } movieClip 2474 { frame 1 { var red = _root.HeroSecondColorR - 25; var green = _root.HeroSecondColorG - 25; var blue = _root.HeroSecondColorB - 25; if (red < 0) { red = 0; } if (green < 0) { green = 0; } if (blue < 0) { blue = 0; } (new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue); } } movieClip 2477 { 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 2480 { 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 2482 { frame 1 { gotoAndStop(_root.player); } } button 2487 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); _root.acc = 2; } } } movieClip 2488 { frame 1 { _root.acc = 1; stop(); } } movieClip 2491 { } movieClip 2493 { } movieClip 2495 { } movieClip 2497 { } movieClip 2499 { } movieClip 2501 { } movieClip 2504 { } button 2507 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); } } on (keyPress '<Space>') { _root.FadeoutBlack.gotoAndPlay(32); } } button 2508 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { this.gotoAndStop(_currentframe + 1); } } on (keyPress '<Right>') { this.gotoAndStop(_currentframe + 1); } } movieClip 2527 { } movieClip 2529 { } movieClip 2535 { } movieClip 2537 { } movieClip 2554 { } // unknown tag 88 length 68 button 2574 { on (release) { if (_root.FadeoutBlack._currentframe <= 31) { _root.FadeoutBlack.gotoAndPlay(32); } } } movieClip 2575 { frame 1 { stop(); } } movieClip 2580 { frame 1 { if (_root._currentframe > 39) { gotoAndStop(21); } else { if (_root._currentframe > 29) { gotoAndStop(11); } } stop(); } } movieClip 2582 { } movieClip 2584 { } movieClip 2586 { } movieClip 2588 { } movieClip 2590 { } movieClip 2592 { } movieClip 2594 { } movieClip 2596 { } movieClip 2598 { } movieClip 2600 { } movieClip 2603 { } movieClip 2605 { } movieClip 2607 { } movieClip 2610 { } movieClip 2612 { } movieClip 2614 { } movieClip 2617 { frame 1 { if (_root.quest_shipclear == 0) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 2619 { } movieClip 2621 { } movieClip 2623 { } movieClip 2625 { } movieClip 2627 { } movieClip 2632 { } movieClip 2634 { } movieClip 2636 { } movieClip 2638 { } movieClip 2640 { } movieClip 2642 { } movieClip 2644 { } movieClip 2646 { } movieClip 2648 { } movieClip 2650 { } movieClip 2652 { } movieClip 2654 { } movieClip 2656 { } movieClip 2658 { } movieClip 2660 { } movieClip 2662 { frame 1 { gotoAndStop(_root.player); } } movieClip 2664 { } movieClip 2666 { frame 1 { gotoAndStop(_root.player); } } movieClip 2668 { } movieClip 2670 { } movieClip 2672 { } movieClip 2674 { } movieClip 2679 { } movieClip 2681 { } movieClip 2683 { } movieClip 2685 { } movieClip 2687 { } movieClip 2689 { } button 2692 { on (release) { if (_root.FadeoutWhite._currentframe <= 31) { _root.FadeoutWhite.gotoAndPlay(32); } } on (keyPress '<Space>') { _root.FadeoutWhite.gotoAndPlay(32); } } button 2693 { on (release) { if (_root.FadeoutWhite._currentframe <= 31) { this.gotoAndStop(_currentframe + 1); } } on (keyPress '<Right>') { this.gotoAndStop(_currentframe + 1); } } movieClip 2698 { } button 2705 { on (release) { if (_root.FadeoutWhite._currentframe <= 31) { this.gotoAndStop(_currentframe - 1); } } on (keyPress '<Left>') { this.gotoAndStop(_currentframe - 1); } } movieClip 2736 { } movieClip 2737 { frame 1 { this.cacheAsBitmap = true; } } movieClip 2751 { } movieClip 2753 { } movieClip 2755 { } button 2763 { on (release) { if (_root.FadeoutWhite._currentframe <= 31) { _root.FadeoutWhite.gotoAndPlay(32); } } } movieClip 2781 { frame 1 { if (_root.quest_getmedkit < 3) { gotoAndStop(21); } stop(); } } movieClip 2784 { frame 31 { stop(); } frame 50 { _root.held = 0; _root.gamestart = 'Act2Start'; _root.gotoAndStop([_root.gamestart]); stop(); } } // unknown tag 88 length 62 movieClip 2789 { } movieClip 2790 { } movieClip 2793 { } movieClip 2795 { } movieClip 2797 { } movieClip 2799 { } movieClip 2801 { } movieClip 2804 { } movieClip 2808 { } movieClip 2811 { } movieClip 2813 { } movieClip 2815 { } movieClip 2817 { } movieClip 2819 { } movieClip 2821 { } movieClip 2823 { } movieClip 2825 { } movieClip 2827 { } movieClip 2829 { } movieClip 2831 { } movieClip 2833 { } movieClip 2835 { } movieClip 2837 { } movieClip 2839 { } movieClip 2841 { } movieClip 2843 { } movieClip 2845 { } movieClip 2847 { } movieClip 2849 { } movieClip 2851 { } movieClip 2866 { } movieClip 2894 { 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 2901 { } movieClip 2903 { } movieClip 2904 { frame 1 { if (_root.quest_opencastle % 2 < 1) { gotoAndStop(5); } } frame 3 { stop(); } } movieClip 2909 { } movieClip 2910 { frame 1 { if (_root.quest_opencastle < 2) { gotoAndStop(5); } } frame 3 { stop(); } } movieClip 2916 { 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 2929 { } movieClip 2932 { } movieClip 2934 { } movieClip 2939 { } movieClip 2975 { } movieClip 3009 { } movieClip 3049 { } movieClip 3069 { } movieClip 3084 { frame 1 { stop(); } } movieClip 3089 { frame 1 { if (_root.villagehumans + _root.villageelves + _root.villagebunnies >= 30) { stop(); } } frame 3 { stop(); } } movieClip 3091 { frame 1 { if (_root.act2clear >= 10) { stop(); } if (_root.act2clear % 2 == 1) { stop(); } } frame 3 { stop(); } } movieClip 3093 { frame 1 { if (_root.KFoxHealth >= 105) { stop(); } } frame 2 { if (_root.player <= 10) { stop(); } } frame 3 { stop(); } } movieClip 3095 { frame 1 { if (_root.act2clear >= 2) { stop(); } } frame 3 { stop(); } } movieClip 3097 { frame 1 { if (_root.quest_helpdunecrawler >= 10) { stop(); } } frame 2 { stop(); } } movieClip 3109 { 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 3112 { 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 3113 { on (release) { _root.gotoAndPlay(3); _parent._x = 0; _parent._y = 0; _parent._xscale = 100; _parent._yscale = 100; this._parent.removeMovieClip(); } } button 3114 { on (release) { this.play(); this._parent.play(); } } movieClip 3115 { 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 3116 { 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 3119 { } movieClip 3121 { } movieClip 3124 { } movieClip 3129 { frame 1 { this.cacheAsBitmap = true; } } movieClip 3130 { } movieClip 3131 { frame 1 { if (_root.quest_shipclear == 0) { gotoAndStop(6); } stop(); } } movieClip 3133 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; _root.gohere = 20; _root.gox = -500; _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 3137 { 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 3139 { } movieClip 3142 { 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 3154 { frame 1 { if (_root._currentframe < 100) { 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 3156 { } movieClip 3158 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 3160 { 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 3169 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 3171 { 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 3172 { frame 1 { if (_root.player >= 21) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 3173 { frame 1 { if (_root.wpn > 30) { gotoAndStop(6); } stop(); } frame 6 { if (_root.wpn == 34) { gotoAndStop(_currentframe + 1); } } } movieClip 3174 { frame 32 { gotoAndPlay(1); } } movieClip 3175 { frame 1 { if (_root.wpn > 30) { gotoAndPlay(31); } } frame 21 { gotoAndPlay(1); } frame 51 { gotoAndPlay(31); } } movieClip 3176 { frame 1 { if (_root.wpn > 30) { gotoAndPlay(31); } } frame 13 { gotoAndPlay(1); } frame 43 { gotoAndPlay(1); } } movieClip 3186 { 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 3187 { 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 3188 { frame 1 { _root.held = 0; _root.camframe.hero.gotoAndStop(1); } } movieClip 3190 { 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 3193 { frame 1 { gotoAndStop(_root.player); } } movieClip 3196 { 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 3200 { 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 3203 { frame 1 { gotoAndStop(_root.player); } } movieClip 3205 { 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 3209 { 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 3212 { 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 3214 { 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 3216 { 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 3219 { 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 3223 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 3225 { 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 3228 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 3230 { 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 3231 { frame 26 { stop(); } } movieClip 3233 { 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 3237 { 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 3241 { 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 3244 { frame 1 { gotoAndStop(_root.player); } } movieClip 3245 { frame 5 { if (_root.camframe.gameover._currentframe == 1) { _root.camframe.gameover.gotoAndPlay(2); } } frame 43 { stop(); } } movieClip 3246 { 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 3249 { } movieClip 3251 { } movieClip 3253 { } movieClip 3255 { } movieClip 3258 { 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 3259 { 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 3260 { 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 3264 { frame 1 { if (_root.player > 20) { gotoAndPlay(41); } else { if (_root.player > 10) { gotoAndPlay(21); } } } } movieClip 3265 { 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 3275 { 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 3276 { 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 3277 { 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 3278 { frame 6 { if (_root.held <= 60) { _root.held = 0; _root.camframe.hero.gotoAndStop(1); } } } movieClip 3279 { 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 3280 { 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 3281 { 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 3300 { 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 3301 { frame 23 { if (_root.held <= 60) { _root.held = 0; _root.camframe.hero.gotoAndStop(1); } } } movieClip 3302 { 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 3303 { 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 3304 { frame 1 { function Knockback() { if (_root.monatt[0][3] > 0) { if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) { if (monsterdamage >= 10) { _root.camframe._x += 100; } else { _root.camframe._x += 10 * monsterdamage; } } } else { if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) { if (monsterdamage >= 10) { _root.camframe._x -= 100; } else { _root.camframe._x -= 10 * monsterdamage; } } } monsterdamage -= 10; } var monsterdamage = _root.monatt[0][2]; if (isNaN(monsterdamage)) { 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; } if (_root.held == 97) { gotoAndPlay(11); } else { if (_root.held == 99) { gotoAndPlay(21); } else { Knockback(); } } } frame 2 { if (monsterdamage > 0) { Knockback(); } } frame 3 { if (monsterdamage > 0) { Knockback(); } } frame 5 { _root.held = 0; _root.camframe.hero.gotoAndStop(1); } frame 11 { if (_root.wpn > 30) { gotoAndPlay(16); } Knockback(); } frame 12 { if (monsterdamage > 0) { Knockback(); } } frame 13 { _root.held = 0; if (Key.isDown(40) or Key.isDown(87)) { _root.camframe.hero.gotoAndStop(2); } else { _root.camframe.hero.gotoAndStop(1); } } frame 16 { Knockback(); } frame 17 { if (monsterdamage > 0) { Knockback(); } } frame 18 { _root.held = 0; if (Key.isDown(40) or Key.isDown(87)) { _root.camframe.hero.gotoAndStop(2); } else { _root.camframe.hero.gotoAndStop(1); } } frame 21 { Knockback(); } frame 22 { if (monsterdamage > 0) { Knockback(); } } frame 23 { if (monsterdamage > 0) { Knockback(); } } frame 24 { if (monsterdamage > 0) { Knockback(); } } frame 25 { if (monsterdamage > 0) { Knockback(); } } frame 26 { if (monsterdamage > 0) { Knockback(); } } frame 44 { _root.held = 0; _root.camframe.hero.gotoAndStop(1); } } movieClip 3305 { 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 3315 { 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 3345 { 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 3347 { 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 3350 { } movieClip 3354 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 3356 { 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 3359 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 3361 { 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 3868 { } movieClip 3885 { 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 3926 { } movieClip 3983 { 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 4030 { } movieClip 4056 { 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 4066 { } movieClip 4068 { } movieClip 4070 { } movieClip 4072 { } movieClip 4074 { } movieClip 4277 { 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 4279 { 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 4282 { 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 4285 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4287 { 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 4290 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 4292 { 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 4413 { 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 !== 71) { _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 4415 { } movieClip 4417 { } movieClip 4419 { } movieClip 4421 { } movieClip 4442 { 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 4444 { 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 4449 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4451 { 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 4454 { 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 4479 { 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 4482 { } movieClip 4483 { } movieClip 4496 { } movieClip 4498 { } movieClip 4508 { } movieClip 4521 { frame 1 { gotoAndStop(_root.player); } } movieClip 4524 { 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 4530 { frame 1 { gotoAndStop(_root.player); } } movieClip 4532 { 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 4535 { 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 4537 { frame 1 { gotoAndStop(_root.player); } } movieClip 4539 { } movieClip 4541 { } movieClip 4543 { } movieClip 4547 { } movieClip 4549 { 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 4551 { 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 4554 { 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 4558 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4560 { 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 4563 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 4565 { 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 4569 { 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 4571 { 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 4575 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4577 { 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 4580 { 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 4589 { 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 4591 { } movieClip 4593 { } movieClip 4595 { } movieClip 4629 { } movieClip 4631 { } movieClip 4653 { 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 4655 { } movieClip 4657 { } movieClip 4660 { 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 4663 { 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 4666 { 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 4669 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 4671 { 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 4673 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4675 { 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 4677 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 4679 { 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 4683 { frame 1 { gotoAndStop(_root.acc); } } movieClip 4692 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 4693 { frame 1 { if (_root.player > 20) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 4695 { 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 4697 { 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 4699 { 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 4701 { frame 2 { stop(); } } movieClip 4703 { } movieClip 4708 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 4709 { 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 4753 { 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 4755 { } movieClip 4757 { } movieClip 4758 { 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 1452 { onClipEvent (load) { this._alpha = 75; } } instance of movieClip 1452 { onClipEvent (load) { this._alpha = 50; } } instance of movieClip 1452 { 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 4777 { } movieClip 4803 { frame 1 { var red = _root.HeroMainColorR - 25; var green = _root.HeroMainColorG - 25; var blue = _root.HeroMainColorB - 25; if (red < 0) { red = 0; } if (green < 0) { green = 0; } if (blue < 0) { blue = 0; } (new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue); } } movieClip 4812 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 4813 { frame 1 { gotoAndStop(_root.player); } } movieClip 4816 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 4818 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4820 { 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 4822 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 4824 { 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 4827 { 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 4835 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 4837 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 4839 { 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 4842 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4844 { 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 4847 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 4848 { frame 1 { if (_root.player == 1) { gotoAndStop(2); } else { gotoAndStop(_root.player); } } } movieClip 4850 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4852 { 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 4854 { 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 4862 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 4864 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4866 { 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 4868 { 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 4871 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 4873 { 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 4875 { frame 1 { gotoAndStop(_root.player); } } movieClip 4890 { 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 4957 { 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 4959 { } movieClip 4983 { } movieClip 5013 { } movieClip 5055 { 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 5057 { } movieClip 5122 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5124 { 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 5126 { 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 5129 { 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 5138 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5140 { 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 5142 { 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 5145 { 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 5147 { 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 5150 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5151 { frame 1 { gotoAndStop(_root.player); } } movieClip 5153 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5155 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5157 { 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 5159 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5161 { 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 5164 { 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 5172 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5174 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5176 { frame 1 { var red = _root.HeroMainColorR - 25; var green = _root.HeroMainColorG - 25; var blue = _root.HeroMainColorB - 25; if (red < 0) { red = 0; } if (green < 0) { green = 0; } if (blue < 0) { blue = 0; } (new Color(this)).setRGB(red * 256 * 256 + green * 256 + blue); } } movieClip 5178 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5180 { 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 5183 { 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 5185 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5187 { 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 5190 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5191 { frame 1 { gotoAndStop(_root.player); if (_root.player == 1) { gotoAndStop(2); } } } movieClip 5193 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5195 { 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 5202 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5203 { 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 5204 { frame 1 { if (_root.player >= 21) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 5222 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5290 { 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 5292 { } movieClip 5338 { } movieClip 5373 { 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 5452 { 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 5531 { 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 5533 { } movieClip 5560 { } movieClip 5580 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5582 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5584 { 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 5586 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5588 { 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 5591 { 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 5601 { frame 1 { gotoAndStop(_root.armor + Math.ceil(_root.armorh / 25)); } } movieClip 5603 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5605 { 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 5607 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5609 { 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 5612 { 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 5614 { frame 1 { (new Color(this)).setRGB(_root.HeroMainColorR * 256 * 256 + _root.HeroMainColorG * 256 + _root.HeroMainColorB); } } movieClip 5616 { 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 5618 { 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 5621 { frame 1 { (new Color(this)).setRGB(_root.HeroSecondColorR * 256 * 256 + _root.HeroSecondColorG * 256 + _root.HeroSecondColorB); } } movieClip 5622 { frame 1 { gotoAndStop(_root.player); if (_root.player == 1) { gotoAndStop(2); } } } movieClip 5636 { 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 !== 71) { _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 5691 { 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 !== 71) { _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 5693 { } movieClip 5721 { } movieClip 5782 { 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 !== 71) { _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 5820 { } movieClip 5843 { 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 !== 71) { _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 5845 { } movieClip 5847 { } movieClip 5848 { 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 !== 71) { _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 5910 { 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 !== 71) { _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 5933 { 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 !== 71) { _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 5934 { 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 !== 71) { _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 5951 { } movieClip 5953 { } movieClip 6006 { 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 !== 71) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); _root.armorh -= 40; if (_root.armorh < 0) { _root.armorh = 0; } gotoAndPlay('clothestear'); } if (_root.held < 1000) { if (_root.held > 113) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 7; strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = 0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed; _root.grapple -= 10; splashmonster.gotoAndPlay(2); _root.held = 113; } } } frame 101 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 106 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 111 { if (_root.grapple < -100) { _root.grapple = -100; if (_root.held < 1000) { _root.held = 112; } _root.camframe.box.grapplebar.gotoAndPlay(22); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab2cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 111 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 116 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 120 { if (_root.grapple < -100) { _root.grapple = -100; if (_root.held < 1000) { _root.held = 112; } _root.camframe.box.grapplebar.gotoAndPlay(22); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab2cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 121 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 138 { if (Math.random() > 0.33) { gotoAndPlay('BGgrab2cumLoop'); } else { gotoAndPlay('BGgrab2cumEnd'); } } frame 150 { if (_root.cumface > 1) { --_root.cumface; } } frame 152 { if (_root.cumchest > 1) { --_root.cumchest; } } frame 181 { heroesc(); stop(); } frame 201 { if (_root.held < 1000) { if (_root.held !== 115) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 2; strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed; if (_root.held == 116) { _root.grapple -= 10; splashmonster.gotoAndPlay(2); } else { _root.grapple += 10; splash.gotoAndPlay(2); } _root.held = 115; } } } frame 201 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 206 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 211 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 212 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else {} } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 216 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 221 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 224 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 225 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 236 { if (_root.cumface > 1) { --_root.cumface; } } frame 238 { if (_root.cumfchest > 1) { --_root.cumchest; } } frame 271 { heroesc(); stop(); } frame 301 { if (_root.held < 1000) { if (_root.held < 116) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 1; strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } mondmg = 0; herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed; _root.grapple += 10; splash.gotoAndPlay(2); _root.held = 116; } } } frame 301 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 306 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 311 { if (_root.grapple > 100) { _root.grapple = 100; _root.held = 117; _root.camframe.box.grapplebar.gotoAndPlay(2); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab2Cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 311 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 316 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 320 { if (_root.grapple > 100) { _root.grapple = 100; _root.held = 117; _root.camframe.box.grapplebar.gotoAndPlay(2); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab2Cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 321 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 330 { if (_root.cumface > 1) { --_root.cumface; } } frame 332 { if (_root.cumchest > 1) { --_root.cumchest; } } frame 360 { heroesc(); stop(); } frame 361 { _root.camframe.box.grapplebar.armorsave.gotoAndPlay(6); if (_root.held < 1000) { _root.held = 101; } } frame 371 { heroesc(); stop(); } } movieClip 6012 { frame 2 { stop(); } frame 40 { stop(); } } movieClip 6018 { frame 2 { stop(); } frame 40 { stop(); } } movieClip 6019 { frame 1 { gotoAndStop(2); } frame 2 { if (_root.wpn == 2) { gotoAndStop(_currentframe + 1); } } } movieClip 6021 { 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 6022 { frame 2 { stop(); } } movieClip 6024 { 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 6025 { frame 1 { if (_root.player > 20) { gotoAndStop(22); } else { gotoAndStop(2); } } } movieClip 6027 { 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 6029 { 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 6031 { frame 2 { stop(); } } movieClip 6033 { 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 6035 { 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 6037 { frame 2 { stop(); } } movieClip 6040 { frame 1 { gotoAndStop(_root.player); } } movieClip 6041 { 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 6042 { frame 1 { if (_root.player >= 21) { gotoAndStop(22); } else { gotoAndStop(2); } } frame 2 { if (_root.wpn == 2) { gotoAndStop(_currentframe + 2); } else { if (_root.camframe.hero._currentframe < 51 and _root.wpn > 10) { gotoAndStop(_currentframe + 1); } } } frame 22 { if (_root.wpn == 2) { gotoAndStop(_currentframe + 2); } else { if (_root.camframe.hero._currentframe < 51 and _root.wpn > 10) { gotoAndStop(_currentframe + 1); } } } } movieClip 6044 { 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 6088 { frame 1 { function attacharrows() { j = Math.floor(Math.random() * 4); if (j > 3) { j = 3; } i = 1; while (i <= 6) { _root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i); _root['arrow' + i]._x = _root.camframe._x - 50 * i + 125; _root['arrow' + i]._y = 100; _root['arrow' + i]._rotation += 90 * j; j += 1; ++i; } _root.gbararrowcheck = 6; } function unloadarrows() { _root.gbararrowcheck = -100; i = 1; while (i < 10) { _root['arrow' + i].unloadMovie(); ++i; } } function damagecall() { _root.grapple += strdiff; _root.BGA[0][4] -= herodmg; if (_root.BGA[0][4] < 0) { _root.BGA[0][4] = 0; } _root.BGA[1][4] -= herodmg; if (_root.BGA[1][4] < 0) { _root.BGA[1][4] = 0; } if (_root.armorh > 0) { _root.armorh -= mondmg / 2; _root.health -= mondmg / 2; if (_root.armorh < 0) { _root.armorh = 0; if (_root.armor <= 100) { gotoAndPlay('clothestear'); } } } else { _root.health -= mondmg; } if (_root.gbararrowcheck == -1) { attacharrows(); } if (_root.gbararrowcheck < -1) { if (_root.gbararrowcheck !== -100) { _root.gbararrowcheck += _root.spirit; } if (_root.gbararrowcheck > -1) { _root.gbararrowcheck = -1; } } } function heroesc() { _root.armorh = temparmor; if (_root.gbararrowcheck > 0) { unloadarrows(); } if (_root.BGA[0][4] <= 0) { _root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][5]]._y = 575; } else { _root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][5]]._y = 575; _root[_root.BGA[0][6]]._xscale = _root.BGA[0][4]; _root[_root.BGA[0][6]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][6]]._y = 550; } if (_root.BGA[1][4] <= 0) { _root[_root.BGA[1][5]]._x += 2.5 * _root.camframe.hero._xscale; _root[_root.BGA[1][5]]._y = 575; } else { _root[_root.BGA[1][5]]._x += 2.5 * _root.camframe.hero._xscale; _root[_root.BGA[1][5]]._y = 575; _root[_root.BGA[1][6]]._xscale = _root.BGA[1][4]; _root[_root.BGA[1][6]]._x += 2.5 * _root.camframe.hero._xscale; _root[_root.BGA[1][6]]._y = 550; } _root.camframe.box.gotoAndPlay(42); if (_root.held < 1000 or _root.held >= 1100) { _root.held = 49; _root.camframe.hero.gotoAndStop(6); } else { _root.held = 1000; _root.camframe.hero.gotoAndStop(10); } } if (_root.poisonlevel > 200) { _root.poisonlevel = 199; } _root.gbararrowcheck = -1; _root.escbgvar = 0; _root.escherovar = 0; j = 0; var i = 0; var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10); var herobonusdmg = _root.armorarray[Math.floor(_root.armor / 10)][3] % 10; if (_root.acc == 10) { herodr += _root.accessory[10][4]; } var temparmor = _root.armorh; } frame 1 { function herovoicecall() { sl += Math.random() - _root.health / 200; if (sl < 0) { sl = 0; } if (dsl + Math.floor(sl) > 0) { herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl))); if (herovoiceplay == true) { herovoiceplay = false; herovoice.start(0, 1); herovoice.onSoundComplete = function () { herovoiceplay = true; }; } } if (sl > 1) { sl = 0; } } var hl = Math.floor(_root.player / 10); var dsl = 0; var moandelay = 0; var sl = 0; var herovoiceplay = true; var herovoice = new Sound(); } frame 2 { var alphamodifier = 10; FadeOutTimer = setInterval(function () { if ((eval(M28_Hand))._alpha <= 0 or _currentframe > 15) { clearInterval(FadeOutTimer); } else { M28_Hand._alpha -= alphamodifier; M28_Weapon._alpha -= alphamodifier; M28_Forearm._alpha -= alphamodifier; M28_Shoulder._alpha -= alphamodifier; M28_Foot._alpha -= alphamodifier; M28_Thigh._alpha -= alphamodifier; M28_Eye._alpha -= alphamodifier; M28_Head._alpha -= alphamodifier; M28_Jaw._alpha -= alphamodifier; M28_Cock._alpha -= alphamodifier; M28_Balls._alpha -= alphamodifier; M28_Torso._alpha -= alphamodifier; M28_Tail._alpha -= alphamodifier; M28_HandRear._alpha -= alphamodifier; M28_ForearmRear._alpha -= alphamodifier; M28_ShoulderRear._alpha -= alphamodifier; M28_FootRear._alpha -= alphamodifier; M28_ThighRear._alpha -= alphamodifier; M29_FistRearFingers._alpha -= alphamodifier; M29_Hand._alpha -= alphamodifier; M29_Weapon._alpha -= alphamodifier; M29_Forearm._alpha -= alphamodifier; M29_Shoulder._alpha -= alphamodifier; M29_Foot._alpha -= alphamodifier; M29_Thigh._alpha -= alphamodifier; M29_Eye._alpha -= alphamodifier; M29_Head._alpha -= alphamodifier; M29_Jaw._alpha -= alphamodifier; M29_Dress._alpha -= alphamodifier; M29_Nipple._alpha -= alphamodifier; M29_Boob._alpha -= alphamodifier; M29_NippleRear._alpha -= alphamodifier; M29_BoobRear._alpha -= alphamodifier; M29_Torso._alpha -= alphamodifier; M29_Tail._alpha -= alphamodifier; M29_FootRear._alpha -= alphamodifier; M29_ThighRear._alpha -= alphamodifier; M29_FistRear._alpha -= alphamodifier; M29_ForearmRear._alpha -= alphamodifier; M29_ShoulderRear._alpha -= alphamodifier; Shadow._alpha -= alphamodifier; M28_Shadow._alpha -= alphamodifier; M29_Shadow._alpha -= alphamodifier; } --time; }, 50); } frame 16 { _root.armorh = 0; _root.camframe.box.grapplebar.armorsave.gotoAndPlay(1); splashmonster.gotoAndPlay(2); forearm.armor.gotoAndStop(1); shoulder.armor.gotoAndStop(1); chest.armor.gotoAndStop(1); foothitbox.armor.gotoAndStop(1); foothitbox.armor2.gotoAndStop(1); thigh.armor.gotoAndStop(1); footrear.armor.gotoAndStop(1); footrear.armor2.gotoAndStop(1); thighrear.armor.gotoAndStop(1); forearmrear.armor.gotoAndStop(1); shoulderrear.armor.gotoAndStop(1); } frame 31 { C1_Forearm._alpha = 0; C1_Fist._alpha = 0; C1_shoulder._alpha = 0; C1_Eye._alpha = 0; C1_Head._alpha = 0; C1_Jaw._alpha = 0; C1_Foot._alpha = 0; C1_Thigh._alpha = 0; C1_Nipple._alpha = 0; C1_Boob._alpha = 0; C1_NippleRear._alpha = 0; C1_BoobRear._alpha = 0; C1_Chest._alpha = 0; C1_Cock._alpha = 0; C1_Balls._alpha = 0; C1_Tail._alpha = 0; C1_FootRear._alpha = 0; C1_ThighRear._alpha = 0; C1_ForearmRear._alpha = 0; C1_ShoulderRear._alpha = 0; C1_FistRear._alpha = 0; C2_Forearm._alpha = 0; C2_Fist._alpha = 0; C2_shoulder._alpha = 0; C2_Eye._alpha = 0; C2_Head._alpha = 0; C2_Jaw._alpha = 0; C2_Foot._alpha = 0; C2_Thigh._alpha = 0; C2_Nipple._alpha = 0; C2_Boob._alpha = 0; C2_NippleRear._alpha = 0; C2_BoobRear._alpha = 0; C2_Chest._alpha = 0; C2_Cock._alpha = 0; C2_Balls._alpha = 0; C2_Tail._alpha = 0; C2_FootRear._alpha = 0; C2_ThighRear._alpha = 0; C2_ForearmRear._alpha = 0; C2_ShoulderRear._alpha = 0; C2_FistRear._alpha = 0; alphamodifier2 = 10; FadeInTimer = setInterval(function () { if ((eval(C1_Forearm))._alpha >= 100 or _currentframe > 45) { C1_Forearm._alpha = 100; C1_Fist._alpha = 100; C1_shoulder._alpha = 100; C1_Eye._alpha = 100; C1_Head._alpha = 100; C1_Jaw._alpha = 100; C1_Foot._alpha = 100; C1_Thigh._alpha = 100; C1_Nipple._alpha = 100; C1_Boob._alpha = 100; C1_NippleRear._alpha = 100; C1_BoobRear._alpha = 100; C1_Chest._alpha = 100; C1_Cock._alpha = 100; C1_Balls._alpha = 100; C1_Tail._alpha = 100; C1_FootRear._alpha = 100; C1_ThighRear._alpha = 100; C1_ForearmRear._alpha = 100; C1_ShoulderRear._alpha = 100; C1_FistRear._alpha = 100; C2_Forearm._alpha = 100; C2_Fist._alpha = 100; C2_shoulder._alpha = 100; C2_Eye._alpha = 100; C2_Head._alpha = 100; C2_Jaw._alpha = 100; C2_Foot._alpha = 100; C2_Thigh._alpha = 100; C2_Nipple._alpha = 100; C2_Boob._alpha = 100; C2_NippleRear._alpha = 100; C2_BoobRear._alpha = 100; C2_Chest._alpha = 100; C2_Cock._alpha = 100; C2_Balls._alpha = 100; C2_Tail._alpha = 100; C2_FootRear._alpha = 100; C2_ThighRear._alpha = 100; C2_ForearmRear._alpha = 100; C2_ShoulderRear._alpha = 100; C2_FistRear._alpha = 100; clearInterval(FadeInTimer); } else { C1_Forearm._alpha += alphamodifier2; C1_Fist._alpha += alphamodifier2; C1_shoulder._alpha += alphamodifier2; C1_Eye._alpha += alphamodifier2; C1_Head._alpha += alphamodifier2; C1_Jaw._alpha += alphamodifier2; C1_Foot._alpha += alphamodifier2; C1_Thigh._alpha += alphamodifier2; C1_Nipple._alpha += alphamodifier2; C1_Boob._alpha += alphamodifier2; C1_NippleRear._alpha += alphamodifier2; C1_BoobRear._alpha += alphamodifier2; C1_Chest._alpha += alphamodifier2; C1_Cock._alpha += alphamodifier2; C1_Balls._alpha += alphamodifier2; C1_Tail._alpha += alphamodifier2; C1_FootRear._alpha += alphamodifier2; C1_ThighRear._alpha += alphamodifier2; C1_ForearmRear._alpha += alphamodifier2; C1_ShoulderRear._alpha += alphamodifier2; C1_FistRear._alpha += alphamodifier2; C2_Forearm._alpha += alphamodifier2; C2_Fist._alpha += alphamodifier2; C2_shoulder._alpha += alphamodifier2; C2_Eye._alpha += alphamodifier2; C2_Head._alpha += alphamodifier2; C2_Jaw._alpha += alphamodifier2; C2_Foot._alpha += alphamodifier2; C2_Thigh._alpha += alphamodifier2; C2_Nipple._alpha += alphamodifier2; C2_Boob._alpha += alphamodifier2; C2_NippleRear._alpha += alphamodifier2; C2_BoobRear._alpha += alphamodifier2; C2_Chest._alpha += alphamodifier2; C2_Cock._alpha += alphamodifier2; C2_Balls._alpha += alphamodifier2; C2_Tail._alpha += alphamodifier2; C2_FootRear._alpha += alphamodifier2; C2_ThighRear._alpha += alphamodifier2; C2_ForearmRear._alpha += alphamodifier2; C2_ShoulderRear._alpha += alphamodifier2; C2_FistRear._alpha += alphamodifier2; } --time; }, 50); } frame 46 { if (_root.grapple > 0) { var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed; gotoAndPlay('HeroGrab1'); } else { var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = 0.25; } var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed; gotoAndPlay('BGgrab1'); } } frame 101 { if (_root.held < 1000) { if (_root.held !== 114) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 7; strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = 0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed; if (_root.held == 113) { _root.grapple += 10; splash.gotoAndPlay(2); } else { _root.grapple -= 10; splashmonster.gotoAndPlay(2); } _root.held = 114; } } } frame 101 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 106 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 111 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 113 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else {} } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 116 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 121 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 125 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 126 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 135 { if (_root.cumchest > 1) { --_root.cumchest; } BGred.gotoAndPlay(10); } frame 138 { if (Math.random() > 0.5) { if (_root.cumface > 1) { --_root.cumface; } } BGblue.gotoAndPlay(15); } frame 171 { heroesc(); stop(); } frame 201 { if (_root.armorh > 0 and _root.armor !== 71) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); _root.armorh -= 40; if (_root.armorh < 0) { _root.armorh = 0; } gotoAndPlay('clothestear'); } if (_root.held < 1000) { if (_root.held > 113) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 8; strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = 0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed; _root.grapple -= 10; splashmonster.gotoAndPlay(2); _root.held = 113; } } } frame 201 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 206 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 211 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 214 { if (_root.grapple < -100) { _root.grapple = -100; if (_root.held < 1000) { _root.held = 112; } _root.camframe.box.grapplebar.gotoAndPlay(22); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab2cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 215 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 221 { if (_root.cumchest > 1) { --_root.cumchest; } BGred.gotoAndPlay(10); } frame 223 { if (Math.random() > 0.5) { if (_root.cumface > 1) { --_root.cumface; } } BGblue.gotoAndPlay(15); } frame 251 { heroesc(); stop(); } frame 301 { if (_root.held < 1000) { if (_root.held !== 115) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 5; strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed; if (_root.held == 116) { _root.grapple -= 10; splashmonster.gotoAndPlay(2); } else { _root.grapple += 10; splash.gotoAndPlay(2); } _root.held = 115; } } } frame 301 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 306 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 310 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else {} } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 311 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 316 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 320 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 321 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 330 { BGred.gotoAndPlay(10); } frame 332 { if (Math.random() > 0.5) { if (_root.cumface > 1) { --_root.cumface; } } BGblue.gotoAndPlay(15); } frame 366 { heroesc(); stop(); } frame 401 { if (_root.held < 1000) { if (_root.held < 116) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 4; strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } mondmg = 0; herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed; _root.grapple += 10; splash.gotoAndPlay(2); _root.held = 116; } } } frame 401 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 406 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 411 { if (_root.grapple > 100) { _root.grapple = 100; _root.held = 117; _root.camframe.box.grapplebar.gotoAndPlay(2); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab2Cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 411 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 416 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 420 { if (_root.grapple > 100) { _root.grapple = 100; _root.held = 117; _root.camframe.box.grapplebar.gotoAndPlay(2); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab2Cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 421 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 430 { BGred.gotoAndPlay(10); } frame 432 { if (Math.random() > 0.5) { if (_root.cumface > 1) { --_root.cumface; } } BGblue.gotoAndPlay(15); } frame 460 { heroesc(); stop(); } frame 461 { _root.camframe.box.grapplebar.armorsave.gotoAndPlay(6); if (_root.held < 1000) { _root.held = 101; } heroesc(); stop(); } } movieClip 6098 { } movieClip 6237 { frame 1 { function attacharrows() { j = Math.floor(Math.random() * 4); if (j > 3) { j = 3; } i = 1; while (i <= 6) { _root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i); _root['arrow' + i]._x = _root.camframe._x - 50 * i + 125; _root['arrow' + i]._y = 100; _root['arrow' + i]._rotation += 90 * j; j -= 1; if (j < 0) { j = 3; } ++i; } _root.gbararrowcheck = 6; } function unloadarrows() { _root.gbararrowcheck = -100; i = 1; while (i < 10) { _root['arrow' + i].unloadMovie(); ++i; } } function damagecall() { _root.grapple += strdiff; _root.BGA[0][4] -= herodmg; if (_root.BGA[0][4] < 0) { _root.BGA[0][4] = 0; } _root.BGA[1][4] -= herodmg; if (_root.BGA[1][4] < 0) { _root.BGA[1][4] = 0; } if (_root.armorh > 0) { _root.armorh -= mondmg / 2; _root.health -= mondmg / 2; if (_root.armorh < 0) { _root.armorh = 0; if (_root.armor <= 100) { gotoAndPlay('clothestear'); } } } else { _root.health -= mondmg; } if (_root.gbararrowcheck == -1) { attacharrows(); } if (_root.gbararrowcheck < -1) { if (_root.gbararrowcheck !== -100) { _root.gbararrowcheck += _root.spirit; } if (_root.gbararrowcheck > -1) { _root.gbararrowcheck = -1; } } } function heroesc() { if (_root.gbararrowcheck > 0) { unloadarrows(); } if (_root.BGA[0][4] <= 0) { _root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][5]]._y = 575; if (_root._currentframe <= 100) { if (_root.held >= 116) { ++_root.maxitems; var v2 = _root.maxitems; _root.attachMovie('M29+29_LargeFlower', 'obj' + v2, 300 + v2); _root['obj' + v2]._xscale = _root.camframe.hero._xscale * -1; _root['obj' + v2]._x = _root.camframe._x + 2 * _root.camframe.hero._xscale; _root['obj' + v2]._y = 550; } } } else { _root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][5]]._y = 575; _root[_root.BGA[0][6]]._xscale = _root.BGA[0][4]; _root[_root.BGA[0][6]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][6]]._y = 550; } if (_root.BGA[1][4] <= 0) { _root[_root.BGA[1][5]]._x += 2.5 * _root.camframe.hero._xscale; _root[_root.BGA[1][5]]._y = 575; } else { _root[_root.BGA[1][5]]._x += 2.5 * _root.camframe.hero._xscale; _root[_root.BGA[1][5]]._y = 575; _root[_root.BGA[1][6]]._xscale = _root.BGA[1][4]; _root[_root.BGA[1][6]]._x += 2.5 * _root.camframe.hero._xscale; _root[_root.BGA[1][6]]._y = 550; } _root.camframe.box.gotoAndPlay(42); if (_root.held < 1000 or _root.held >= 1100) { _root.held = 49; _root.camframe.hero.gotoAndStop(6); } else { _root.held = 1000; _root.camframe.hero.gotoAndStop(10); } } if (_root.poisonlevel > 200) { _root.poisonlevel = 199; } _root.gbararrowcheck = -1; _root.escbgvar = 0; _root.escherovar = 0; j = 0; var i = 0; var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10); var herobonusdmg = _root.armorarray[Math.floor(_root.armor / 10)][3] % 10; if (_root.acc == 10) { herodr += _root.accessory[10][4]; } _root.camframe.box.grapplebar.armorsave.gotoAndPlay(1); } frame 1 { function herovoicecall() { sl += Math.random() - _root.health / 200; if (sl < 0) { sl = 0; } if (dsl + Math.floor(sl) > 0) { herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl))); if (herovoiceplay == true) { herovoiceplay = false; herovoice.start(0, 1); herovoice.onSoundComplete = function () { herovoiceplay = true; }; } } if (sl > 1) { sl = 0; } } var hl = Math.floor(_root.player / 10); var dsl = 0; var moandelay = 0; var sl = 0; var herovoiceplay = true; var herovoice = new Sound(); } frame 2 { if (_root.grapple > 0) { var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed; gotoAndPlay('HeroGrab1'); } else { var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = 0.25; } var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed; gotoAndPlay('BGgrab1'); } } frame 41 { if (_root.held < 1000) { if (_root.held !== 114) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 5; strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = 0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed; if (_root.held == 113) { _root.grapple += 10; splash.gotoAndPlay(2); } else { _root.grapple -= 10; splashmonster.gotoAndPlay(2); } _root.held = 114; } } } frame 41 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 46 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 51 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else {} } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 51 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 56 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 60 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 61 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 70 { } frame 72 { } frame 100 { heroesc(); stop(); } frame 101 { if (_root.armorh > 0 and _root.armor !== 71) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); _root.armorh -= 40; if (_root.armorh < 0) { _root.armorh = 0; } gotoAndPlay('clothestear'); } if (_root.held < 1000) { if (_root.held > 113) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 7; strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = 0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed; _root.grapple -= 10; splashmonster.gotoAndPlay(2); _root.held = 113; } } } frame 101 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 106 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 111 { if (_root.grapple < -100) { _root.grapple = -100; if (_root.held < 1000) { _root.held = 112; } _root.camframe.box.grapplebar.gotoAndPlay(22); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab2cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 111 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 116 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 120 { if (_root.grapple < -100) { _root.grapple = -100; if (_root.held < 1000) { _root.held = 112; } _root.camframe.box.grapplebar.gotoAndPlay(22); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab2cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 121 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 130 { } frame 132 { } frame 161 { heroesc(); stop(); } frame 201 { if (_root.held < 1000) { if (_root.held !== 115) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 2; strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed; if (_root.held == 116) { _root.grapple -= 10; splashmonster.gotoAndPlay(2); } else { _root.grapple += 10; splash.gotoAndPlay(2); } _root.held = 115; } } } frame 201 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 206 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 211 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else {} } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 211 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 216 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 220 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 221 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 230 { } frame 232 { } frame 261 { heroesc(); stop(); } frame 301 { if (_root.held < 1000) { if (_root.held < 116) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 0; strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } mondmg = 0; herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed; _root.grapple += 10; splash.gotoAndPlay(2); _root.held = 116; } } } frame 301 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 306 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 311 { if (_root.grapple > 100) { _root.grapple = 100; _root.held = 117; _root.camframe.box.grapplebar.gotoAndPlay(2); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab2Cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 311 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 316 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 320 { if (_root.grapple > 100) { _root.grapple = 100; _root.held = 117; _root.camframe.box.grapplebar.gotoAndPlay(2); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab2Cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 321 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 330 { } frame 332 { } frame 360 { heroesc(); stop(); } frame 361 { _root.camframe.box.grapplebar.armorsave.gotoAndPlay(6); if (_root.held < 1000) { _root.held = 101; } } frame 371 { heroesc(); stop(); } } movieClip 6295 { frame 1 { function attacharrows() { i = 1; while (i <= 5) { _root.attachMovie('gbararrow_r', 'arrow' + i, 1800 + i); _root['arrow' + i]._x = _root.camframe._x - 50 * i + 150; _root['arrow' + i]._y = 100; j = Math.floor(Math.random() * 2); if (j > 1) { j = 1; } _root['arrow' + i]._rotation += 180 * j; ++i; } _root.gbararrowcheck = 5; } function unloadarrows() { _root.gbararrowcheck = -100; i = 1; while (i < 10) { _root['arrow' + i].unloadMovie(); ++i; } } function damagecall() { _root.grapple += strdiff; _root.BGA[0][4] -= herodmg; if (_root.BGA[0][4] < 0) { _root.BGA[0][4] = 0; } _root.BGA[1][4] -= herodmg; if (_root.BGA[1][4] < 0) { _root.BGA[1][4] = 0; } if (_root.armorh > 0) { _root.armorh -= mondmg / 2; _root.health -= mondmg / 2; if (_root.armorh < 0) { _root.armorh = 0; if (_root.armor <= 100) { gotoAndPlay('clothestear'); } } } else { _root.health -= mondmg; } if (_root.gbararrowcheck == -1) { attacharrows(); } if (_root.gbararrowcheck < -1) { if (_root.gbararrowcheck !== -100) { _root.gbararrowcheck += _root.spirit; } if (_root.gbararrowcheck > -1) { _root.gbararrowcheck = -1; } } } function heroesc() { if (_root.gbararrowcheck > 0) { unloadarrows(); } if (_root.BGA[0][4] <= 0) { _root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][5]]._y = 575; } else { _root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][5]]._y = 575; _root[_root.BGA[0][6]]._xscale = _root.BGA[0][4]; _root[_root.BGA[0][6]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][6]]._y = 550; } if (_root.BGA[1][4] <= 0) { _root[_root.BGA[1][5]]._x += 2.5 * _root.camframe.hero._xscale; _root[_root.BGA[1][5]]._y = 575; } else { _root[_root.BGA[1][5]]._x += 2.5 * _root.camframe.hero._xscale; _root[_root.BGA[1][5]]._y = 575; _root[_root.BGA[1][6]]._xscale = _root.BGA[1][4]; _root[_root.BGA[1][6]]._x += 2.5 * _root.camframe.hero._xscale; _root[_root.BGA[1][6]]._y = 550; } _root.camframe.box.gotoAndPlay(42); if (_root.held < 1000 or _root.held >= 1100) { if (_root.held == 1100) { _root.obj4._y -= 2000; } _root.held = 49; _root.camframe.hero.gotoAndStop(6); } else { _root.held = 1000; _root.camframe.hero.gotoAndStop(10); } } if (_root.poisonlevel > 200) { _root.poisonlevel = 199; } _root.gbararrowcheck = -1; _root.escbgvar = 0; _root.escherovar = 0; j = 0; var i = 0; var herodr = Math.floor(_root.armorarray[Math.floor(_root.armor / 10)][3] / 10); var herobonusdmg = _root.armorarray[Math.floor(_root.armor / 10)][3] % 10; if (_root.acc == 10) { herodr += _root.accessory[10][4]; } _root.camframe.box.grapplebar.armorsave.gotoAndPlay(1); } frame 1 { function herovoicecall() { sl += Math.random() - _root.health / 200; if (sl < 0) { sl = 0; } if (dsl + Math.floor(sl) > 0) { herovoice.attachSound('HV' + hl + (dsl + Math.floor(sl))); if (herovoiceplay == true) { herovoiceplay = false; herovoice.start(0, 1); herovoice.onSoundComplete = function () { herovoiceplay = true; }; } } if (sl > 1) { sl = 0; } } var hl = Math.floor(_root.player / 10); var dsl = 0; var moandelay = 0; var sl = 0; var herovoiceplay = true; var herovoice = new Sound(); } frame 2 { if (_root.grapple > 0) { var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } var herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed; gotoAndPlay('HeroGrab1'); } else { var strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = 0.25; } var mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } var herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed; gotoAndPlay('BGgrab1'); } } frame 21 { if (_root.held < 1000) { if (_root.held !== 114) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 7; strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = 0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.75 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed; if (_root.held == 113) { _root.grapple += 10; splash.gotoAndPlay(2); } else { _root.grapple -= 10; splashmonster.gotoAndPlay(2); } _root.held = 114; } } } frame 21 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 26 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 31 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else {} } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 31 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 36 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 40 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 41 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 50 { if (_root.cumchest > 1) { --_root.cumchest; } } frame 52 { if (Math.random() > 0.5) { if (_root.cumface > 1) { --_root.cumface; } } } frame 54 { if (_root.cumface > 1) { --_root.cumface; } } frame 100 { heroesc(); stop(); } frame 101 { if (_root.armorh > 0 and _root.armor !== 71) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); _root.armorh -= 40; if (_root.armorh < 0) { _root.armorh = 0; } gotoAndPlay('clothestear'); } if (_root.held < 1000) { if (_root.held > 113) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 8; strdiff = (_root.body - (_root.BGA[0][1] + _root.BGA[1][1] / 2) * 0.75) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = 0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 1.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.5 + herobonusdmg) / _root.gspeed; _root.grapple -= 10; splashmonster.gotoAndPlay(2); _root.held = 113; } } } frame 101 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 106 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 111 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 113 { if (_root.grapple < -100) { _root.grapple = -100; if (_root.held < 1000) { _root.held = 112; } _root.camframe.box.grapplebar.gotoAndPlay(22); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab2cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { } else { gotoAndPlay('BGgrab1B'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 116 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 121 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 124 { if (_root.grapple < -100) { _root.grapple = -100; if (_root.held < 1000) { _root.held = 112; } _root.camframe.box.grapplebar.gotoAndPlay(22); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('BGgrab2cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1B'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 125 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 144 { if (Math.random() < 0.5) { gotoAndPlay('BGgrab2cum'); } } frame 154 { if (_root.cumchest > 1) { --_root.cumchest; } } frame 155 { if (Math.random() > 0.5) { if (_root.cumface > 1) { --_root.cumface; } } } frame 156 { if (_root.cumchest > 1) { --_root.cumchest; } } frame 181 { heroesc(); stop(); } frame 201 { if (_root.held < 1000) { if (_root.held !== 115) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 3; strdiff = (_root.body - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } mondmg = ((_root.BGA[0][2] + _root.BGA[1][2] / 2) * 0.5 - herodr) / _root.gspeed; if (mondmg < 0) { mondmg = 0; } herodmg = (((_root.body + _root.spirit) / 2) * 0.75 + herobonusdmg) / _root.gspeed; if (_root.held == 116) { _root.grapple -= 10; splashmonster.gotoAndPlay(2); } else { _root.grapple += 10; splash.gotoAndPlay(2); } _root.held = 115; } } } frame 201 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 206 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 211 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else {} } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 211 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 216 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 220 { if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab1cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 221 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 231 { } frame 232 { } frame 233 { if (_root.cumface > 1) { --_root.cumface; } } frame 266 { heroesc(); stop(); } frame 301 { if (_root.held < 1000) { if (_root.held < 116) { _root.camframe.box.grapplebar.grapplebargood.gotoAndPlay(2); dsl = 1; strdiff = (_root.body * 0.75 - _root.BGA[0][1] - _root.BGA[1][1] / 2) / _root.gspeed; if (Math.abs(strdiff) < 0.25) { strdiff = -0.25; } mondmg = 0; herodmg = ((_root.body + _root.spirit) / 2 + herobonusdmg) / _root.gspeed; _root.grapple += 10; splash.gotoAndPlay(2); _root.held = 116; } } } frame 301 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 306 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 311 { if (_root.grapple > 100) { _root.grapple = 100; _root.held = 117; _root.camframe.box.grapplebar.gotoAndPlay(2); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab2Cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 311 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 316 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 321 { if (_root.grapple > 100) { _root.grapple = 100; _root.held = 117; _root.camframe.box.grapplebar.gotoAndPlay(2); if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; strdiff = 0; } if (_root.held < 1000) { if (_root.health <= 0) { _root.held = 1011; _root.camframe.gameover.gotoAndPlay(2); unloadarrows(); } } if (_root.BGA[0][4] <= 0 and _root.BGA[1][4] <= 0) { gotoAndPlay('HeroGrab2Cum'); } else { if (_root.grapple > 0) { if (_root.grapple > 50) { gotoAndPlay('HeroGrab2'); } else { gotoAndPlay('HeroGrab1'); } } else { if (_root.grapple < -50) { gotoAndPlay('BGgrab2'); } else { gotoAndPlay('BGgrab1'); } } } if (_root.escherovar > 0) { if (_root.escherovar * -1 + 100 < _root.grapple) { heroesc(); } } } frame 322 { if (_root.gbararrowcheck > 0) { unloadarrows(); } _root.gbararrowcheck = -100; if (_root.held < 1000) { _root.held = 118; } } frame 329 { } frame 331 { } frame 332 { if (_root.cumface > 1) { --_root.cumface; } } frame 370 { heroesc(); stop(); } frame 371 { _root.camframe.box.grapplebar.armorsave.gotoAndPlay(6); if (_root.held < 1000) { _root.held = 101; } } frame 371 { if (_root.held < 1000) { damagecall(); moandelay -= Math.random(); if (moandelay < 0) { herovoicecall(); moandelay = (_root.health / _root.maxhealth) * 10; } } else { if (_root.held < 1100) { if (_root.grapple > -100) { _root.grapple -= _root.BGA[0][1]; } } } } frame 381 { heroesc(); stop(); } } movieClip 6296 { frame 1 { stop(); } } movieClip 6300 { } movieClip 6306 { frame 2 { if (_root.backpack4h > 300) { this.item_symbol.gotoAndStop(_root.backpack4 + _root.backpack4h - 1); } else { this.item_symbol.gotoAndStop(_root.backpack4); } if (_root.backpack4 < 0) { gotoAndStop(11); } stop(); } } movieClip 6307 { frame 2 { if (_root.backpack3h > 300) { this.item_symbol.gotoAndStop(_root.backpack3 + _root.backpack3h - 1); } else { this.item_symbol.gotoAndStop(_root.backpack3); } if (_root.backpack3 < 0) { gotoAndStop(11); } stop(); } } movieClip 6308 { frame 2 { if (_root.backpack2h > 300) { this.item_symbol.gotoAndStop(_root.backpack2 + _root.backpack2h - 1); } else { this.item_symbol.gotoAndStop(_root.backpack2); } if (_root.backpack2 < 0) { gotoAndStop(11); } stop(); } } movieClip 6309 { frame 2 { if (_root.backpack1h > 300) { this.item_symbol.gotoAndStop(_root.backpack1 + _root.backpack1h - 1); } else { this.item_symbol.gotoAndStop(_root.backpack1); } stop(); } } movieClip 6316 { frame 1 { if (_root.backpack2 >= 0) { gotoAndStop(21); } if (_root.backpack3 >= 0) { gotoAndStop(31); } if (_root.backpack4 >= 0) { gotoAndStop(41); } } frame 2 { if (_root.backpack2 >= 0) { gotoAndPlay(12); } if (_root.backpack3 >= 0) { gotoAndPlay(22); } if (_root.backpack4 >= 0) { gotoAndPlay(32); } } frame 11 { stop(); } frame 21 { _root.camframe.box.invb2.gotoAndPlay(1); stop(); } frame 31 { _root.camframe.box.invb3.gotoAndPlay(1); stop(); } frame 40 { _root.camframe.box.invb4.gotoAndPlay(1); stop(); } } movieClip 6317 { frame 2 { this.item_symbol.gotoAndStop(_root.acc + 600); stop(); } } movieClip 6319 { frame 2 { this.item_symbol.gotoAndStop(_root.armor); stop(); } } movieClip 6321 { frame 2 { this.item_symbol.gotoAndStop(_root.wpn + 300); stop(); } } movieClip 6323 { } movieClip 6325 { } movieClip 6329 { } movieClip 6333 { frame 1 { if (_root.player > 20) { gotoAndPlay(22); } else { if (_root.player > 10) { gotoAndPlay(12); } } } frame 2 { if (_root.poisonlevel > 0) { gotoAndStop(_currentframe + 1); } stop(); } frame 12 { if (_root.poisonlevel > 0) { gotoAndStop(_currentframe + 1); } stop(); } frame 22 { if (_root.poisonlevel > 0) { gotoAndStop(_currentframe + 1); } stop(); } } movieClip 6336 { frame 1 { if (_root.gunhmax > 0) { gotoAndStop(2); } stop(); } } button 6339 { on (release) { if (_root.held == 0) { _root.held = 904; gotoAndPlay(10); } } } button 6344 { on (release) { if (_root.BGtype[16][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[16][7] = 1; CheckM16.gotoAndStop(3); } } else { _root.BGtype[16][7] = 0; CheckM16.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } button 6345 { on (release) { if (_root.BGtype[17][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[17][7] = 1; CheckM17.gotoAndStop(3); } } else { _root.BGtype[17][7] = 0; CheckM17.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } button 6346 { on (release) { if (_root.BGtype[19][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[19][7] = 1; CheckM19.gotoAndStop(3); } } else { _root.BGtype[19][7] = 0; CheckM19.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } button 6347 { on (release) { if (_root.BGtype[20][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[20][7] = 1; CheckM20.gotoAndStop(3); } } else { _root.BGtype[20][7] = 0; CheckM20.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } button 6348 { on (release) { if (_root.BGtype[11][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[11][7] = 1; CheckM11.gotoAndStop(3); } } else { _root.BGtype[11][7] = 0; CheckM11.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } button 6349 { on (release) { if (_root.BGtype[22][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[22][7] = 1; CheckM22.gotoAndStop(3); } } else { _root.BGtype[22][7] = 0; CheckM22.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } button 6350 { on (release) { if (_root.BGtype[23][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[23][7] = 1; CheckM23.gotoAndStop(3); } } else { _root.BGtype[23][7] = 0; CheckM23.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } button 6351 { on (release) { if (_root.BGtype[25][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[25][7] = 1; CheckM25.gotoAndStop(3); } } else { _root.BGtype[25][7] = 0; CheckM25.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } button 6352 { on (release) { if (_root.BGtype[26][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[26][7] = 1; CheckM26.gotoAndStop(3); } } else { _root.BGtype[26][7] = 0; CheckM26.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } button 6353 { on (release) { if (_root.BGtype[28][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[28][7] = 1; CheckM28.gotoAndStop(3); } } else { _root.BGtype[28][7] = 0; CheckM28.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } button 6354 { on (release) { if (_root.BGtype[29][7] == 0) { if (_root.HordeModeOptionsCount < _root.HordeModeOptions) { ++_root.HordeModeOptionsCount; _root.BGtype[29][7] = 1; CheckM29.gotoAndStop(3); } } else { _root.BGtype[29][7] = 0; CheckM29.gotoAndStop(2); if (_root.HordeModeOptionsCount > 0) { --_root.HordeModeOptionsCount; } } } } movieClip 6357 { frame 2 { stop(); } frame 4 { stop(); } } button 6358 { on (release) { _root.held = 0; gotoAndPlay(1); } } movieClip 6374 { frame 1 { if (_root.HordeModeOptions == 0) { gotoAndStop(3); } if (_root._currentframe < 100) { gotoAndStop(3); } } frame 2 { stop(); } frame 19 { _root.HordeModeOptionsCount = 0; if (_root.BGtype[16][7] == 1) { CheckM16.gotoAndStop(3); ++_root.HordeModeOptionsCount; } if (_root.BGtype[17][7] == 1) { CheckM17.gotoAndStop(3); ++_root.HordeModeOptionsCount; } if (_root.BGtype[19][7] == 1) { CheckM19.gotoAndStop(3); ++_root.HordeModeOptionsCount; } if (_root.BGtype[20][7] == 1) { CheckM20.gotoAndStop(3); ++_root.HordeModeOptionsCount; } if (_root.BGtype[11][7] == 1) { CheckM11.gotoAndStop(3); ++_root.HordeModeOptionsCount; } if (_root.BGtype[22][7] == 1) { CheckM22.gotoAndStop(3); ++_root.HordeModeOptionsCount; } if (_root.BGtype[23][7] == 1) { CheckM23.gotoAndStop(3); ++_root.HordeModeOptionsCount; } if (_root.BGtype[25][7] == 1) { CheckM25.gotoAndStop(3); ++_root.HordeModeOptionsCount; } if (_root.BGtype[26][7] == 1) { CheckM26.gotoAndStop(3); ++_root.HordeModeOptionsCount; } if (_root.BGtype[28][7] == 1) { CheckM28.gotoAndStop(3); ++_root.HordeModeOptionsCount; } if (_root.BGtype[29][7] == 1) { CheckM29.gotoAndStop(3); ++_root.HordeModeOptionsCount; } stop(); } } button 6375 { on (release) { if (_quality == 'LOW') { _quality = 'MEDIUM'; _root.qualitytext = 'Medium'; } else { if (_quality == 'MEDIUM') { _quality = 'HIGH'; _root.qualitytext = 'High'; } else { _quality = 'LOW'; _root.qualitytext = 'Low'; } } } } movieClip 6378 { } button 6379 { on (release) { switch (_root.gspeed) { case 2: _root.gspeed = 10; break; case 3: _root.gspeed = 2; break; case 4: _root.gspeed = 3; break; case 6: _root.gspeed = 4; break; default: _root.gspeed = 6; } grapplespeedbars.gotoAndPlay(1); } } movieClip 6386 { frame 1 { gotoAndStop(_root.gspeed); } } // unknown tag 88 length 75 movieClip 6402 { frame 16 { stop(); } frame 26 { stop(); } frame 36 { stop(); } } movieClip 6504 { frame 1 { if (_root.itemnewh > 300) { this.item_symbol.gotoAndStop(_root.itemnew + _root.itemnewh - 1); } else { this.item_symbol.gotoAndStop(_root.itemnew); } if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 5 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 10 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 15 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 20 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 25 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 30 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 35 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 40 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 55 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 60 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 65 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 70 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 75 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 80 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 85 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } frame 90 { if (_root.itemnew < 1) { gotoAndPlay(_root.itemselect * 5 + 46); } else { gotoAndPlay(_root.itemselect * 5 - 4); } } } movieClip 6507 { } movieClip 6510 { frame 1 { if (_root.held < 1000) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 6512 { } movieClip 6515 { frame 1 { if (_root.held == 910) { gotoAndStop(20); } } frame 19 { gotoAndPlay(1); } } movieClip 6516 { frame 1 { _root.camframe.box.healthbar._xscale = _root.maxhealth; _root.camframe.box.armorbar._xscale = _root.armorhmax; _root.camframe.box.gunbar._xscale = _root.gunhmax; if (_parent._parent._y !== 100) { _root.camzoom = 0.75; _parent._parent._y = 100; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } stop(); } instance armorbar of movieClip 6325 { } instance healthbar of movieClip 6333 { } frame 2 { play(); } frame 11 { stop(); } instance invbox of movieClip 6504 { onClipEvent (load) { var delay2 = 0; b = 0; var a = 0; } onClipEvent (enterFrame) { if (_root.held == 901) { if (delay2 == 0) { if (Key.isDown(71)) { delay2 = 3; switch (_root.gspeed) { case 2: _root.gspeed = 10; break; case 3: _root.gspeed = 2; break; case 4: _root.gspeed = 3; break; case 6: _root.gspeed = 4; break; default: _root.gspeed = 6; } this._parent.grapplespeedbars.gotoAndPlay(1); } if (Key.isDown(89)) { delay2 = 3; if (_quality == 'LOW') { _quality = 'MEDIUM'; _root.qualitytext = 'Medium'; } else { if (_quality == 'MEDIUM') { _quality = 'HIGH'; _root.qualitytext = 'High'; } else { _quality = 'LOW'; _root.qualitytext = 'Low'; } } } if (Key.isDown(37) or Key.isDown(81)) { delay2 = 3; --_root.itemselect; if (_root.itemselect < 1) { _root.itemselect = 1; } if (_root.itemselect == 7 and _root.backpack4 < 0) { _root.itemselect = 6; } if (_root.itemselect == 6 and _root.backpack3 < 0) { _root.itemselect = 5; } if (_root.itemselect == 5 and _root.backpack2 < 0) { _root.itemselect = 4; } if (_root.itemnew > 0) { if (_root.itemselect <= 3) { if (_root.itemnewh > 600) { _root.itemselect = 3; } else { if (_root.itemnewh > 300) { _root.itemselect = 1; } else { _root.itemselect = 2; } } } } } if (Key.isDown(39) or Key.isDown(69)) { delay2 = 3; ++_root.itemselect; if (_root.itemselect > 8) { _root.itemselect = 8; } if (_root.itemselect == 5 and _root.backpack2 < 0) { _root.itemselect = 8; } if (_root.itemselect == 6 and _root.backpack3 < 0) { _root.itemselect = 8; } if (_root.itemselect == 7 and _root.backpack4 < 0) { _root.itemselect = 8; } if (_root.itemnew > 0) { if (_root.itemselect <= 3) { _root.itemselect = 4; } } } if (Key.isDown(65)) { delay2 = 5; if (_root.itemnew < 1) { switch (_root.itemselect) { case 1: _root.itemnew = _root.wpn; _root.itemnewh = 301; _root.wpn = 1; _root.wpndmgphy = _root.weapon[_root.wpn][2]; _root.wpndmgmag = _root.weapon[_root.wpn][3]; _root.camframe.box.invwpn.gotoAndPlay(1); break; case 2: _root.itemnew = _root.armor; _root.itemnewh = _root.armorh; _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); break; case 3: _root.itemnew = _root.acc; _root.itemnewh = 601; _root.acc = 1; _root.body = _root.bodrace + _root.bodclass + _root.accessory[_root.acc][2]; _root.spirit = _root.sptrace + _root.sptclass + _root.accessory[_root.acc][3]; _root.maxhealth = 50 + _root.body * 10; if (_root.health > _root.maxhealth) { _root.health = _root.maxhealth; } _root.camframe.box.invacc.gotoAndPlay(1); break; case 4: _root.itemnew = _root.backpack1; _root.itemnewh = _root.backpack1h; _root.backpack1 = 1; _root.backpack1h = 301; _root.camframe.box.invb1.gotoAndPlay(1); break; case 5: _root.itemnew = _root.backpack2; _root.itemnewh = _root.backpack2h; _root.backpack2 = 1; _root.backpack2h = 301; _root.camframe.box.invb2.gotoAndPlay(1); break; case 6: _root.itemnew = _root.backpack3; _root.itemnewh = _root.backpack3h; _root.backpack3 = 1; _root.backpack3h = 301; _root.camframe.box.invb3.gotoAndPlay(1); break; case 7: _root.itemnew = _root.backpack4; _root.itemnewh = _root.backpack4h; _root.backpack4 = 1; _root.backpack4h = 301; _root.camframe.box.invb4.gotoAndPlay(1); break; case 8: _root.held = 0; _root.camframe.hero.gotoAndStop(1); _root.itemnewh = 0; _root.itemnew = 0; _root.itemselect = 0; _root.camframe.box.gotoAndPlay(12); } if (_root.itemnewh > 300) { _root.camframe.box.invbox.item_symbol.gotoAndStop(_root.itemnew + _root.itemnewh - 1); } else { _root.camframe.box.invbox.item_symbol.gotoAndStop(_root.itemnew); } if (_root.itemselect < 4) { _root.itemselect = 4; } else { if (_root.itemselect < 8) { if (_root.itemnewh > 600) { _root.itemselect = 3; } else { if (_root.itemnewh > 300) { _root.itemselect = 1; } else { _root.itemselect = 2; } } } } } else { a = 0; b = 0; switch (_root.itemselect) { case 1: if (_root.wpn > 1) { a = _root.wpn; b = 301; } _root.wpn = _root.itemnew; _root.wpndmgphy = _root.weapon[_root.wpn][2]; _root.wpndmgmag = _root.weapon[_root.wpn][3]; _root.camframe.box.invwpn.gotoAndPlay(1); if (_root.wpn == 23) { _root.camframe.dark.gotoAndStop(2); } break; case 2: if (_root.armor > 1) { a = _root.armor; b = _root.armorh; } _root.armor = _root.itemnew; _root.armorhmax = _root.armorarray[Math.floor(_root.itemnew / 10)][2]; _root.armorh = _root.itemnewh; _root.camframe.box.invarm.gotoAndPlay(1); break; case 3: if (_root.acc > 1) { a = _root.acc; b = 601; } _root.acc = _root.itemnew; if (_root.acc === 16) { _root.cumface += _root.accessory[_root.acc][4]; if (_root.cumface > 5) { _root.cumface = 5; } _root.cumchest += _root.accessory[_root.acc][4]; if (_root.cumchest > 5) { _root.cumchest = 5; } _root.acc = 1; } if (_root.acc >= 17 and _root.acc <= 19) { _root.health += _root.accessory[_root.acc][4]; if (_root.health > _root.maxhealth) { _root.health = _root.maxhealth; } _root.acc = 1; } _root.body = _root.bodrace + _root.bodclass + _root.accessory[_root.acc][2]; _root.spirit = _root.sptrace + _root.sptclass + _root.accessory[_root.acc][3]; _root.maxhealth = 50 + _root.body * 10; if (_root.health > _root.maxhealth) { _root.health = _root.maxhealth; } _root.camframe.box.invacc.gotoAndPlay(1); break; case 4: if (_root.backpack1 > 1) { a = _root.backpack1; b = _root.backpack1h; } _root.backpack1 = _root.itemnew; _root.backpack1h = _root.itemnewh; if (_root.backpack1 == 1) { _root.backpack1h = 301; } _root.camframe.box.invb1.gotoAndPlay(1); break; case 5: if (_root.backpack2 > 1) { a = _root.backpack2; b = _root.backpack2h; } _root.backpack2 = _root.itemnew; _root.backpack2h = _root.itemnewh; if (_root.backpack2 == 1) { _root.backpack2h = 301; } _root.camframe.box.invb2.gotoAndPlay(1); break; case 6: if (_root.backpack3 > 1) { a = _root.backpack3; b = _root.backpack3h; } _root.backpack3 = _root.itemnew; _root.backpack3h = _root.itemnewh; if (_root.backpack3 == 1) { _root.backpack3h = 301; } _root.camframe.box.invb3.gotoAndPlay(1); break; case 7: if (_root.backpack4 > 1) { a = _root.backpack4; b = _root.backpack4h; } _root.backpack4 = _root.itemnew; _root.backpack4h = _root.itemnewh; if (_root.backpack4 == 1) { _root.backpack4h = 301; } _root.camframe.box.invb4.gotoAndPlay(1); break; case 8: if (_root.itemnew > 1) { if (_root.itemnewh > 300) { _root.itemnew += _root.itemnewh - 1; } else { _root.itemnew += Math.ceil(_root.itemnewh / 25); } ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(_root.itemnew); } } if (a > 1) { if (_root.backpack1 == 1 and _root.backpack1h == 301) { _root.backpack1 = a; _root.backpack1h = b; if (_root.backpack1 == 1) { _root.backpack1h = 301; } _root.camframe.box.invb1.gotoAndPlay(1); } else { if (_root.backpack2 == 1 and _root.backpack2h == 301) { _root.backpack2 = a; _root.backpack2h = b; if (_root.backpack2 == 1) { _root.backpack2h = 301; } _root.camframe.box.invb2.gotoAndPlay(1); } else { if (_root.backpack3 == 1 and _root.backpack3h == 301) { _root.backpack3 = a; _root.backpack3h = b; if (_root.backpack3 == 1) { _root.backpack3h = 301; } _root.camframe.box.invb3.gotoAndPlay(1); } else { if (_root.backpack4 == 1 and _root.backpack4h == 301) { _root.backpack4 = a; _root.backpack4h = b; if (_root.backpack4 == 1) { _root.backpack4h = 301; } _root.camframe.box.invb4.gotoAndPlay(1); } else { if (b > 300) { a += b - 1; } else { a += Math.ceil(b / 25); } ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(a); } } } } a = 0; b = 0; } _root.camframe.hero.gotoAndStop(8); _root.itemnewh = 0; _root.itemnew = 0; _root.itemselect = 0; _root.camframe.box.gotoAndPlay(12); } } if (Key.isDown(70) or Key.isDown(73)) { delay2 = 5; if (_root.itemnew > 0) { if (_root.itemnew !== 1 and _rootitemnewh !== 301) { if (_root.itemnewh > 300) { _root.itemnew += _root.itemnewh - 1; } else { _root.itemnew += Math.ceil(_root.itemnewh / 25); } ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(_root.itemnew); } } _root.camframe.hero.gotoAndStop(8); _root.itemnewh = 0; _root.itemnew = 0; _root.itemselect = 0; _root.camframe.box.gotoAndPlay(12); } } } if (delay2 > 0) { --delay2; } if (_root.itemnew < 1) { _root.itemdescription = ''; _parent.inv_desc.gotoAndStop(1); } else { if (_root.itemnewh > 600) { _root.itemdescription = _root.accessory[_root.itemnew][5]; _parent.inv_desc.gotoAndStop(36); } else { if (_root.itemnewh > 300) { _root.itemdescription = _root.weapon[_root.itemnew][6]; _root.itemv1 = _root.weapon[_root.itemnew][2]; _root.itemv2 = _root.weapon[_root.itemnew][3]; _parent.inv_desc.gotoAndStop(16); } else { _root.itemdescription = _root.armorarray[Math.floor(_root.itemnew / 10)][4]; _root.itemv1 = _root.armorarray[Math.floor(_root.itemnew / 10)][2]; _parent.inv_desc.gotoAndStop(26); } } } } } frame 21 { if (_root.held < 100) { gotoAndStop(1); } stop(); } frame 31 { _root.camzoom += 0.025; _parent._parent._y -= 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 32 { _root.camzoom += 0.025; _parent._parent._y -= 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; play(); } frame 33 { _root.camzoom += 0.025; _parent._parent._y -= 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 34 { _root.camzoom += 0.025; _parent._parent._y -= 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 35 { _root.camzoom += 0.025; _parent._parent._y -= 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 36 { _root.camzoom += 0.025; _parent._parent._y -= 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 37 { _root.camzoom += 0.025; _parent._parent._y -= 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 38 { _root.camzoom += 0.025; _parent._parent._y -= 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 39 { _root.camzoom += 0.025; _parent._parent._y -= 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 40 { _root.camzoom += 0.025; _parent._parent._y -= 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 41 { _root.camzoom = 1; _parent._parent._y = 0; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; stop(); } instance armorbar of movieClip 6325 { onClipEvent (load) { this._xscale = _root.armorhmax; } } instance healthbar of movieClip 6333 { onClipEvent (load) { this._xscale = _root.maxhealth; } } frame 42 { _root.camzoom -= 0.025; _parent._parent._y += 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 43 { _root.camzoom -= 0.025; _parent._parent._y += 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 44 { _root.camzoom -= 0.025; _parent._parent._y += 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 45 { _root.camzoom -= 0.025; _parent._parent._y += 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 46 { _root.camzoom -= 0.025; _parent._parent._y += 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 47 { _root.camzoom -= 0.025; _parent._parent._y += 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 48 { _root.camzoom -= 0.025; _parent._parent._y += 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 49 { _root.camzoom -= 0.025; _parent._parent._y += 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 50 { _root.camzoom -= 0.025; _parent._parent._y += 10; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; } frame 51 { _root.camzoom = 0.75; _parent._parent._y = 100; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; if (_root.held < 100) { gotoAndStop(1); } stop(); } instance armorbar of movieClip 6325 { } instance healthbar of movieClip 6333 { } frame 61 { if (_root.xfinish !== _root.xstart) { var xshift = (_root.xfinish - _root.xstart) / 50; if (xshift > 0 and xshift < 10) { xshift = 10; } if (xshift < 0 and xshift > -10) { xshift = -10; } boxslide = setInterval(function () { _root.camframe._x += xshift; _root.camframe.hero._x -= xshift; if (xshift > 0) { if (_root.camframe._x >= _root.xfinish) { clearInterval(boxslide); } } else { if (_root.camframe._x <= _root.xfinish) { clearInterval(boxslide); } } }, 25); } } frame 101 { if (_root.held <= 910) { stop(); } else { if (_root.held < 990) { ++_root.held; gotoAndPlay(81); } } } instance of movieClip 6515 { onClipEvent (enterFrame) { if (_root.held == 910 and Key.isDown(65)) { clearInterval(_parent.boxslide); _parent.play(); } } } frame 102 { if (_root.xfinish !== _root.xstart) { xshift = (_root.xstart - _root.xfinish) / 10; if (xshift > 0 and xshift < 10) { xshift = 10; } if (xshift < 0 and xshift > -10) { xshift = -10; } boxslide2 = setInterval(function () { _root.camframe._x += xshift; _root.camframe.hero._x -= xshift; if (xshift > 0) { if (_root.camframe._x >= _root.xstart) { _root.camframe._x = _root.xstart; _root.camframe.hero._x = 0; clearInterval(boxslide2); } } else { if (_root.camframe._x <= _root.xstart) { _root.camframe._x = _root.xstart; _root.camframe.hero._x = 0; clearInterval(boxslide2); } } }, 25); } } frame 121 { _root.held = 0; gotoAndStop(1); } } movieClip 6521 { frame 1 { this._alpha = 10; if (_root.player > 20) { gotoAndPlay(21); } else { if (_root.player > 10) { gotoAndPlay(11); } } } frame 3 { if (this._alpha < 100) { this._alpha += 2; } gotoAndPlay(2); } frame 13 { if (this._alpha < 100) { this._alpha += 2; } gotoAndPlay(12); } frame 23 { if (this._alpha < 100) { this._alpha += 2; } gotoAndPlay(22); } } movieClip 6526 { frame 1 { if (_root.player > 20) { gotoAndStop(21); } else { if (_root.player > 10) { gotoAndStop(11); } } stop(); } } button 6527 { on (release) { l = 0; k = 0; j = 0; var i = 0; i = 50; while (i >= 0) { _root['bg' + i].removeMovieClip(); _root['bghb' + i].removeMovieClip(); _root.BGA.splice([i][0], 1); --i; } j = _root.monatt.length - 1; while (j >= 0) { loadMovie('', _root[_root.monatt[j][1]]); _root.monatt.splice([j][0], 1); --j; } l = _root.proj.length - 1; while (l >= 0) { loadMovie('', _root[_root.proj[l][1]]); _root.proj.splice([l][0], 1); --l; } _root.ss.removeMovieClip(); k = _root.maxitems; while (k > 0) { _root['obj' + k].removeMovieClip(); --k; } _root.doorleft.removeMovieClip(); _root.doorright.removeMovieClip(); _root.doorleftgox = 0; _root.doorleftgo = 0; _root.doorrightgox = 0; _root.doorrightgo = 0; _root.gotoAndPlay(2); _parent._parent._x = 0; _parent._parent._y = 0; _parent._parent._xscale = 100; _parent._parent._yscale = 100; _root.camframe.removeMovieClip(); } } movieClip 6534 { frame 1 { if (_root.player > 20) { gotoAndPlay(21); } else { if (_root.player > 10) { gotoAndPlay(11); } } stop(); } } movieClip 6544 { frame 1 { if (_root.player > 20) { gotoAndStop(21); } else { if (_root.player > 10) { gotoAndStop(11); } } stop(); } } button 6545 { on (release) { _root.health = _root.maxhealth; _root.poisonlevel = 0; _root.camframe.box.healthbar.gotoAndPlay(1); if (_root.armor < 10) { var a = _root.player % 10; if (a == 1) { _root.armor = 11; _root.armorhmax = 100; } if (a == 2) { _root.armor = 31; _root.armorhmax = 100; } if (a == 3) { _root.armor = 21; _root.armorhmax = 150; } } _root.armorh = _root.armorhmax; _root.camframe.box.invarm.gotoAndPlay(1); if (_root.held == 1001) { _root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][5]]._y = 575; _root[_root.BGA[0][6]]._xscale = _root.BGA[0][4]; _root[_root.BGA[0][6]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][6]]._y = 550; _root.camframe.box.gotoAndPlay(42); } if (_root.held == 1011) { _root[_root.BGA[0][5]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][5]]._y = 575; _root[_root.BGA[0][6]]._xscale = _root.BGA[0][4]; _root[_root.BGA[0][6]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[0][6]]._y = 550; _root[_root.BGA[1][5]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[1][5]]._y = 575; _root[_root.BGA[1][6]]._xscale = _root.BGA[0][4]; _root[_root.BGA[1][6]]._x += 2 * _root.camframe.hero._xscale; _root[_root.BGA[1][6]]._y = 550; _root.camframe.box.gotoAndPlay(42); } i = _root.BGA.length - 1; while (i >= 0) { if (Math.abs(_root[_root.BGA[i][5]]._x - _root.camframe._x) < 300) { if (_root[_root.BGA[i][5]]._x > _root.camframe._x) { _root[_root.BGA[i][5]]._x += 400; _root[_root.BGA[i][6]]._x += 400; } else { _root[_root.BGA[i][5]]._x -= 400; _root[_root.BGA[i][6]]._x -= 400; } } --i; } _root.held = 49; --_root.continues; _root.camframe.hero.gotoAndStop(6); this.gotoAndStop(1); } } movieClip 6548 { frame 1 { stop(); } frame 2 { if (_root.gameoverman == true) { gotoAndPlay(51); } } frame 42 { if (_root.continues > 0) { gotoAndStop(_currentframe + 1); } stop(); } frame 50 { stop(); } frame 91 { if (_root.continues > 0) { gotoAndStop(_currentframe + 1); } stop(); } frame 100 { stop(); } } movieClip 6549 { instance hero of movieClip 6296 { onClipEvent (load) { var runstatus = 2; k = 0; j = 0; i = 0; b = 0; var a = 0; var hityes = false; dr = 0; damage = 0; bghb = 0; var bg = 0; escattempt = 0; keyread = 0; var arrowread = 0; monscale2 = 0; var monscale = 0; var hitsound = new Sound(); var spsound = new Sound(); oldtime = 1; var newtime = 1; this._x = 0; this._y = 50; var oldMode = Stage.scaleMode; Stage.scaleMode = 'exactFit'; Stage.scaleMode = oldMode; _parent._parent._x = 400 - _root.camframe._x * _root.camzoom; _parent._parent._y = 100; _parent._parent._xscale = 100 * _root.camzoom; _parent._parent._yscale = 100 * _root.camzoom; _root.attachMovie('heightbox', 'topbox2', 1000); _root.camframe.swapDepths(_root.topbox2); _root.topbox2.unloadMovie(); _root.attachMovie('heightbox', 'topbox3', 1900); _root.box3.swapDepths(_root.topbox3); _root.topbox3.unloadMovie(); _root.attachMovie('heightbox', 'topbox4', 2000); _root.fadeout.swapDepths(_root.topbox4); _root.topbox4.unloadMovie(); if (_root.fadeout._currentframe < 10) { _root.fadeout.gotoAndStop(21); } } onClipEvent (enterFrame) { _parent._parent._x = 400 - _root.camframe._x * _root.camzoom; if (_root.health < 0) { _root.health = 0; } _root.camframe.box.healthbar.healthbarblock._xscale = 100 * (_root.maxhealth - _root.health) / _root.maxhealth; _root.camframe.box.armorbar.armorbarblock._xscale = 100 * (_root.armorhmax - _root.armorh) / _root.armorhmax; if (_root.poisonlevel > 0) { _root.poisonlevel -= _root.body * 0.02; _root.camframe.box.healthbar.poisonbar._y = 17 - Math.round(_root.poisonlevel / 6); if (_root.poisonlevel <= 0) { _root.poisonlevel = 0; _root.camframe.box.healthbar.gotoAndPlay(1); } else { if (_root.poisonlevel > 200) { _root.held = 90; } else { if (_root.poisonlevel > 100) { if (_root.held == 90) { _root.held = 0; } _root.health -= Math.ceil(_root.poisonlevel / 100) * 0.01; } } } } if (_root.held < 6 or _root.held == 107 or _root.held == 117) { if (_root.health <= 0) { _root.held = 1000; _root.camframe.hero.gotoAndStop(10); } else { if (_root.health < _root.maxhealth) { if (_root.poisonlevel == 0) { _root.health += _root.spirit * 0.01; if (_root.acc == 4) { _root.health += _root.accessory[4][4]; } } } if (_root.armor == 101) { if (_root.armorh < _root.armorhmax) { _root.armorh + 0.05; } } } } if (_root.held < 100) { if (_root.gunhmax > 0) { _root.camframe.box.gunbar.gunbarblock._xscale = 100 * (_root.gunhmax - _root.gunh) / _root.gunhmax; } if (_root.held <= 40) { if (Key.isDown(83)) { if (_root.health > 10) { if (runstatus > 2) { runstatus = 2; } _root.held = 50; _root.health -= 10; spsound.attachSound('super'); spsound.start(0, 1); this.gotoAndStop(31 + Math.floor((_root.wpn - 1) / 10) * 2); } } } if (_root.held <= 30) { if (Key.isDown(68)) { if (runstatus > 2) { runstatus = 2; } this.gotoAndStop(41); _root.held = 41; } } if (_root.held <= 2) { if (Key.isDown(65)) { if (runstatus > 2) { runstatus = 2; } _root.held = 9; this.gotoAndStop(21 + Math.floor((_root.wpn - 1) / 10)); } } if (_root.held <= 2) { if (_root.poisonlevel < 200) { if (Key.isDown(40) or Key.isDown(87)) { _root.held = 2; if (runstatus > 2) { runstatus = 2; } if (Key.isDown(37) or Key.isDown(81)) { this.gotoAndStop(3); if (this._xscale == 100) { this._xscale = -100; } if (!_root.leftwall.hitTest(_root.camframe._x - 100, 400, true)) { _root.camframe._x -= 3 * runstatus; } } else { if (Key.isDown(39) or Key.isDown(69)) { this.gotoAndStop(3); if (this._xscale == -100) { this._xscale = 100; } if (!_root.rightwall.hitTest(_root.camframe._x + 100, 400, true)) { _root.camframe._x += 3 * runstatus; } } else { this.gotoAndStop(2); } } } else { if (Key.isDown(37) or Key.isDown(81)) { _root.held = 1; if (runstatus > 2) { this.gotoAndStop(5); } else { this.gotoAndStop(4); } if (this._xscale == 100) { this._xscale = -100; } if (!_root.leftwall.hitTest(_root.camframe._x - 100, 200, true)) { _root.camframe._x -= 5 * runstatus; } } else { if (Key.isDown(39) or Key.isDown(69)) { _root.held = 1; if (runstatus > 2) { this.gotoAndStop(5); } else { this.gotoAndStop(4); } if (this._xscale == -100) { this._xscale = 100; } if (!_root.rightwall.hitTest(_root.camframe._x + 100, 200, true)) { _root.camframe._x += 5 * runstatus; } } else { this.gotoAndStop(1); if (_root.held <= 2) { _root.held = 0; } } } if (_root.poisonlevel > 100) { runstatus = 1; } else { if (_root.poisonlevel == 0) { if (Key.isDown(38) or Key.isDown(82)) { runstatus = 5; } } if (runstatus == 1) { runstatus = 2; } } } } } if (_root.doorrightgo > 0) { if (_root.doorright.hitTest(_root.camframe._x + 100, 400, true)) { _root.held = 905; _root.gohere = _root.doorrightgo; _root.gox = _root.doorrightgox; _root.fadeout.gotoAndPlay(1); } } if (_root.doorleftgo > 0) { if (_root.doorleft.hitTest(_root.camframe._x - 100, 400, true)) { _root.held = 905; _root.gohere = _root.doorleftgo; _root.gox = _root.doorleftgox; _root.fadeout.gotoAndPlay(1); } } if (_root.held < 3) { k = _root.maxitems; while (k > 0) { if (_root.camframe.hero.chesthitbox.hitTest(_root['obj' + k].objecthitbox)) { _root['obj' + k]._xscale = 110; _root['obj' + k]._yscale = 110; if (Key.isDown(32) and _root.held == 0) { _root.held = 900; this.gotoAndStop(1); _root['obj' + k].gotoAndStop(2); _root.box3.gotoAndPlay(2); _root.box3._x = _root.camframe._x; _root.activeobject = k; } } else { _root['obj' + k]._xscale = 100; _root['obj' + k]._yscale = 100; _root['obj' + k].gotoAndStop(1); } --k; } } if (_root.held == 0) { if (_root.camframe.box._currentframe == 1) { if (Key.isDown(73)) { _root.held = 901; _root.camframe.box.gotoAndPlay(2); _root.itemselect = 4; this.gotoAndStop(1); } } } } else { if (runstatus > 2) { runstatus = 2; } if (Key.isDown(83)) { if (_root.gbararrowcheck > -100) { --_root.health; _root.escherovar += (_root.body + _root.spirit) / 2; } } else { if (_root.gbararrowcheck > 0) { arrowread = (eval(_root['arrow' + _root.gbararrowcheck]))._rotation; if (Key.isDown(37) or Key.isDown(81)) { if (arrowread == 180) { _root['arrow' + _root.gbararrowcheck].gotoAndPlay(2); --_root.gbararrowcheck; } else { _root.grapple -= 2; } } else { if (Key.isDown(38) or Key.isDown(82)) { if (arrowread == -90) { _root['arrow' + _root.gbararrowcheck].gotoAndPlay(2); --_root.gbararrowcheck; } else { _root.grapple -= 2; } } else { if (Key.isDown(39) or Key.isDown(69)) { if (arrowread == 0) { _root['arrow' + _root.gbararrowcheck].gotoAndPlay(2); --_root.gbararrowcheck; } else { _root.grapple -= 2; } } else { if (Key.isDown(40) or Key.isDown(87)) { if (arrowread == 90) { _root['arrow' + _root.gbararrowcheck].gotoAndPlay(2); --_root.gbararrowcheck; } else { _root.grapple -= 2; } } } } } } } if (_root.held >= 1100) { if (_root.grapple < 100) { if (Key.isDown(37) or Key.isDown(81)) { _root.grapple += 1; } } if (_root.grapple > -100) { if (Key.isDown(39) or Key.isDown(69)) { _root.grapple -= 1; } } if (Key.isDown(38) or Key.isDown(82)) { _root.BGA[0][4] = 0; _root.BGA[1][4] = 0; } } if (_root.escherovar > 0) { _root.escherovar -= 0.25; _root.camframe.box.grapplebar.eschero._x = -400 + _root.escherovar * 4; } if (_root.escbgvar < 0) { _root.escbgvar += 0.25; _root.camframe.box.grapplebar.escbg._x = 400 + _root.escbgvar * 4; } if (_root.gbararrowcheck > -100 or _root.held >= 1100) { _root.camframe.box.grapplebar.gbarmark._x = -4 * _root.grapple; } else { _root.camframe.box.grapplebar.gbarmark._alpha = 0; } _root.camframe.box.grapplebar.monsterhealthbar.monsterhealthbarblock._xscale = 100 * (monscale - _root.BGA[0][4]) / monscale; if (_root.camframe.hero._currentframe > 99) { _root.camframe.box.grapplebar.monsterhealthbar2.monsterhealthbarblock._xscale = 100 * (monscale2 - _root.BGA[1][4]) / monscale2; } if (_root.gbararrowcheck == 0) { _root.gbararrowcheck = -99; _root.grapple += (_root.spirit + 5) * 10 / _root.gspeed; cleararrows = setInterval(function () { var v2 = 0; v2 = 1; while (v2 < 10) { _root['arrow' + v2].unloadMovie(); ++v2; } clearInterval(cleararrows); }, 500); } } if (_root.held < 500) { j = _root.proj.length - 1; while (j >= 0) { _root[_root.proj[j][1]]._x += _root.proj[j][3]; _root.proj[j][4] -= 5; if (_root.proj[j][3] > 0) { _root[_root.proj[j][1]]._xscale = _root.proj[j][4]; } else { _root[_root.proj[j][1]]._xscale = -1 * _root.proj[j][4]; } _root[_root.proj[j][1]]._yscale = _root.proj[j][4]; if (Math.abs(_root.proj[j][4]) < 50) { loadMovie('', _root[_root.proj[j][1]]); _root.proj.splice([j][0], 1); } --j; } j = _root.monatt.length - 1; while (j >= 0) { _root[_root.monatt[j][1]]._x += _root.monatt[j][3]; _root.monatt[j][4] -= 5; --j; } j = _root.monatt.length - 1; while (j >= 0) { if (Math.abs(_root.monatt[j][4]) > 60) { if (_root.held < 100) { if (_root.camframe.hero.chesthitbox.hitTest(_root[_root.monatt[j][1]])) { _root.monatt[j][4] = 60; _root.monatt.unshift([_root.monatt[j][0], _root.monatt[j][1], _root.monatt[j][2], _root.monatt[j][3], _root.monatt[j][4]]); _root.monatt.splice([j + 1][0], 1); if (_root.camframe.hero._currentframe == 2) { _root.held = 97; _root.monatt[0][2] /= 2; hitsound.attachSound('blocksound'); } else { if (_root.camframe.hero._currentframe == 5) { runstatus = 2; _root.held = 99; _root.monatt[0][2] *= 2.5; hitsound.attachSound('hit2'); } else { _root.held = 98; hitsound.attachSound('hit1'); } } this.gotoAndStop(50); hitsound.start(0, 1); } } } else { if (Math.abs(_root.monatt[j][4]) < 50) { loadMovie('', _root[_root.monatt[j][1]]); _root.monatt.splice([j][0], 1); } } --j; } i = _root.BGA.length - 1; while (i >= 0) { bg = _root.BGA[i][5]; bghb = _root.BGA[i][6]; dr = _root.BGA[i][8] - _root.weapon[_root.wpn][5]; if (dr < 0) { dr = 0; } j = _root.proj.length - 1; while (j >= 0) { if (_root[bg].bghitbox.hitTest(_root[_root.proj[j][1]])) { if (Math.floor(_root.wpn / 10) == 4) { damage = (_root.spirit + _root.wpndmgmag - dr) / 10; } else { damage = _root.spirit + _root.wpndmgmag - dr; _root.proj[j][4] = 25; hitsound.attachSound('hit1'); hitsound.start(0, 1); } if (damage > 0) { _root.BGA[i][4] -= damage; if (_root.BGA[i][7] < 500) { _root.BGA[i][7] += damage; } else { _root.BGA[i][7] = damage; } _root[bghb]._xscale = _root.BGA[i][4]; if (_root.BGA[i][0] < 6) { _root[bghb]._yscale = _root.BGA[i][4]; } } } k = _root.monatt.length - 1; while (k >= 0) { if (Math.abs(_root.monatt[j][3]) >= 5) { if (_root[_root.proj[j][1]].hitTest(_root[_root.monatt[j][1]])) { _root.proj[j][4] = 25; _root.monatt[j][4] = 25; } } --k; } --j; } if (this._xscale !== _root[bg]._xscale) { switch (_root.held) { case 10: if (_root[bg].bghitbox.hitTest(_root.camframe.hero.heroattack.wpnhitbox)) { damage = _root.body + _root.wpndmgphy - dr; if (damage > 0) { _root.BGA[i][4] -= damage; if (_root.wpn <= 10) { damage += 3; } if (_root.BGA[i][7] < 500) { _root.BGA[i][7] += damage; } else { _root.BGA[i][7] = damage; } _root[bghb]._xscale = _root.BGA[i][4]; if (_root.BGA[i][0] < 6) { _root[bghb]._yscale = _root.BGA[i][4]; } hityes = true; hitsound.attachSound('hit1'); hitsound.start(0, 1); } } break; case 15: if (_root[bg].bghitbox.hitTest(_root.camframe.hero.heroattack.bfisthitbox)) { damage = _root.body + _root.wpndmgphy - dr; if (damage > 0) { _root.BGA[i][4] -= damage; if (_root.wpn <= 10) { damage += 3; } if (_root.BGA[i][7] < 500) { _root.BGA[i][7] += damage; } else { _root.BGA[i][7] = damage; } _root[bghb]._xscale = _root.BGA[i][4]; if (_root.BGA[i][0] < 6) { _root[bghb]._yscale = _root.BGA[i][4]; } hityes = true; hitsound.attachSound('hit1'); hitsound.start(0, 1); } } break; case 20: if (_root[bg].bghitbox.hitTest(_root.camframe.hero.heroattack.foothitbox)) { damage = _root.body + 3 - dr; if (damage > 0) { _root.BGA[i][4] -= damage; if (_root.BGA[i][7] < 500) { _root.BGA[i][7] += damage * 2; } else { _root.BGA[i][7] = damage * 2; } _root[bghb]._xscale = _root.BGA[i][4]; if (_root.BGA[i][0] < 6) { _root[bghb]._yscale = _root.BGA[i][4]; } hityes = true; hitsound.attachSound('hit1'); hitsound.start(0, 1); } } break; case 25: if (_root[bg].bghitbox.hitTest(_root.camframe.hero.heroattack.wpnhitbox)) { damage = _root.body + _root.spirit + _root.wpndmgphy - dr; if (damage > 0) { _root.BGA[i][4] -= damage; if (_root.BGA[i][7] < 500) { _root.BGA[i][7] += damage * 2; } else { _root.BGA[i][7] = damage * 2; } _root[bghb]._xscale = _root.BGA[i][4]; if (_root.BGA[i][0] < 6) { _root[bghb]._yscale = _root.BGA[i][4]; } hityes = true; hitsound.attachSound('hit3'); hitsound.start(0, 1); } } break; case 40: if (_root[bg].bghitbox.hitTest(_root.camframe.hero.heroattacksex.bfisthitbox)) { _root.held = 100; if (i > 0) { _root.BGA.unshift([_root.BGA[i][0], _root.BGA[i][1], _root.BGA[i][2], _root.BGA[i][3], _root.BGA[i][4], _root.BGA[i][5], _root.BGA[i][6], _root.BGA[i][7], _root.BGA[i][8], _root.BGA[i][9], _root.BGA[i][10]]); _root.BGA.splice([i + 1][0], 1); } if (_root[bg]._x > _root.camframe._x) { this._xscale = 100; } else { this._xscale = -100; } if (_root.BGA[0][0] < 11) { this.gotoAndStop(51); } else { this.gotoAndStop(41 + _root.BGA[0][0]); _root[bg]._y += 2000; _root[bghb]._y += 2000; _root.grapple = 25 + (_root.health - _root.BGA[0][4]) * 0.25; _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; monscale = 50 + _root.BGA[0][1] * 10; if (_root.BGA[0][4] > monscale) { monscale = _root.BGA[0][4]; } _root.camframe.box.grapplebar.monsterhealthbar._xscale = monscale; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0; } } break; case 55: if (_root[bg].bghitbox.hitTest(_root.camframe.hero.herospecialattack.wpnhitbox)) { damage = _root.body + _root.wpndmgphy - dr; if (damage > 0) { _root.BGA[i][4] -= damage; if (_root.BGA[i][7] < 500) { if (Math.floor((_root.wpn - 1) / 10) !== 2) { _root.BGA[i][7] += damage; } else { _root.BGA[i][7] += 3; } } else { if (Math.floor((_root.wpn - 1) / 10) !== 2) { _root.BGA[i][7] = damage; } else { _root.BGA[i][7] = 3; } } _root[bghb]._xscale = _root.BGA[i][4]; if (_root.BGA[i][0] < 6) { _root[bghb]._yscale = _root.BGA[i][4]; } hityes = true; hitsound.attachSound('hit1'); hitsound.start(0, 1); } } break; case 60: if (_root[bg].bghitbox.hitTest(_root.camframe.hero.herospecialattack.wpnhitbox)) { damage = _root.body + _root.spirit + _root.wpndmgphy - dr; if (damage > 0) { _root.BGA[i][4] -= damage; if (_root.BGA[i][7] < 500) { _root.BGA[i][7] += damage; } else { _root.BGA[i][7] = damage; } _root[bghb]._xscale = _root.BGA[i][4]; if (_root.BGA[i][0] < 6) { _root[bghb]._yscale = _root.BGA[i][4]; } } hityes = true; hitsound.attachSound('hit3'); hitsound.start(0, 1); } } } if (_root.held == 50) { if (_root[bg].bghitbox.hitTest(_root.camframe.hero.herospecialattack.splashhitbox)) { damage = _root.spirit - dr; if (damage < 0) { damage = 1; } _root.BGA[i][4] -= damage; if (_root.BGA[i][7] < 500) { _root.BGA[i][7] += 15; } else { _root.BGA[i][7] = 15; } _root[bghb]._xscale = _root.BGA[i][4]; if (_root.BGA[i][0] < 6) { _root[bghb]._yscale = _root.BGA[i][4]; } hityes = true; hitsound.attachSound('hit2'); hitsound.start(0, 1); } } if (_root.BGA[i][7] == 0) { if (_root.BGA[i][9] !== 2) { if (Math.abs(_root[bg]._x - _root.camframe._x) > 150) { _root[bg].gotoAndStop(6); if (_root[bg]._x < _root.camframe._x) { _root[bg]._x += _root.BGA[i][3]; _root[bg]._xscale = 100; _root[bghb]._x += _root.BGA[i][3]; } else { _root[bg]._x -= _root.BGA[i][3]; _root[bg]._xscale = -100; _root[bghb]._x -= _root.BGA[i][3]; } } else { _root[bg].gotoAndStop(1); } } if (_root.held > 101) { if (_root.held < 106) { if (Math.abs(_root.BGA[0][0] - _root.BGA[i][0]) <= 1) { if (_root[bg].bghitbox.hitTest(_root.camframe.hero.doublehitbox)) { _root.held = 110; clearInterval(cleararrows); _root.gbararrowcheck = -100; j = 1; while (j < 10) { _root['arrow' + j].unloadMovie(); ++j; } if (i > 1) { _root.BGA.splice([1][0], 0, [_root.BGA[i][0], _root.BGA[i][1], _root.BGA[i][2], _root.BGA[i][3], _root.BGA[i][4], _root.BGA[i][5], _root.BGA[i][6], _root.BGA[i][7], _root.BGA[i][8], _root.BGA[i][9], _root.BGA[i][10]]); _root.BGA.splice([i + 1][0], 1); } this.gotoAndStop(68 + _root.BGA[0][0] + _root.BGA[1][0]); _root[bg]._y += 2000; _root[bghb]._y += 2000; _root.grapple -= 0.25 * _root.BGA[i][4]; if (_root.grapple < -49) { _root.grapple = -49; } _root.camframe.box.gotoAndPlay(40); monscale2 = 50 + _root.BGA[1][1] * 10; if (_root.BGA[1][4] > monscale2) { monscale2 = _root.BGA[1][4]; } _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; } } } } if (_root.held < 100) { if (_root[bg].bghitbox.hitTest(_root.camframe.hero.chesthitbox)) { _root.held = 100; if (i > 0) { _root.BGA.unshift([_root.BGA[i][0], _root.BGA[i][1], _root.BGA[i][2], _root.BGA[i][3], _root.BGA[i][4], _root.BGA[i][5], _root.BGA[i][6], _root.BGA[i][7], _root.BGA[i][8], _root.BGA[i][9], _root.BGA[i][10]]); _root.BGA.splice([i + 1][0], 1); } if (_root[bg]._x > _root.camframe._x) { this._xscale = 100; } else { this._xscale = -100; } if (_root.BGA[0][0] < 11) { if (runstatus > 2) { _root.health -= _root.BGA[0][1]; } this.gotoAndStop(51); } else { stopAllSounds(); this.gotoAndStop(41 + _root.BGA[0][0]); _root[bg]._y += 2000; _root[bghb]._y += 2000; _root.grapple = -25 + (_root.health - _root.BGA[0][4] * runstatus / 2) * 0.25; if (_root.grapple < -49) { _root.grapple = -49; } _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; monscale = 50 + _root.BGA[0][1] * 10; if (_root.BGA[0][4] > monscale) { monscale = _root.BGA[0][4]; } _root.camframe.box.grapplebar.monsterhealthbar._xscale = monscale; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0; } } } if (i > 2 or _root.held < 100) { if (Math.abs(_root[bg]._x - _root.camframe._x) > 175) { if (Math.random() > _root.BGA[i][9]) { _root.BGA[i][7] = _root.BGA[i][10]; _root[bg].gotoAndStop(11); } } } } else { if (_root.BGA[i][7] >= 500) { ++_root.BGA[i][7]; if (_root.BGA[i][7] >= 1000) { _root.BGA[i][7] = 0; } } else { if (_root.BGA[i][7] >= 10) { if (_root.BGA[i][0] > 15) { _root[bg]._x -= _root[bg]._xscale; _root[bghb]._x -= _root[bg]._xscale; } _root.BGA[i][7] -= 10; _root[bg].gotoAndStop(16); } else { if (_root.BGA[i][0] > 15) { _root[bg]._x -= 0.05 * _root.BGA[i][7] * _root[bg]._xscale; _root[bghb]._x -= 0.05 * _root.BGA[i][7] * _root[bg]._xscale; } _root.BGA[i][7] = 0; _root[bg].gotoAndStop(16); } } } if (_root.held < 100) { if (_root.BGA[i][4] <= 0) { if (_root.BGA[i][1] > 0) { _root[bg].gotoAndStop(21); } else { _root[bg].gotoAndStop(22); } loadMovie('', _root[bghb]); _root.BGA.splice([i][0], 1); } } --i; } if (hityes == true) { --_root.held; hityes = false; } } if (_root.held == 900) { if (Key.isDown(65)) { if (_root.box3.choicebox.choicebuttonA._currentframe < 6) { _root.held = 905; _root['obj' + _root.activeobject].gotoAndPlay(51); _root.box3.gotoAndPlay(12); } } if (Key.isDown(83)) { if (_root.box3.choicebox.choicebuttonS._currentframe < 6) { _root.held = 905; _root['obj' + _root.activeobject].gotoAndPlay(101); _root.box3.gotoAndPlay(12); } } if (Key.isDown(68)) { if (_root.box3.choicebox.choicebuttonD._currentframe < 6) { _root.held = 905; _root['obj' + _root.activeobject].gotoAndPlay(151); _root.box3.gotoAndPlay(12); } } if (Key.isDown(70)) { _root.held = 0; _root.box3.gotoAndPlay(12); } } } } } movieClip 6559 { frame 1 { this._x = _root.camframe._x; var facing = _root.camframe.hero._xscale; } frame 9 { l = 0; k = 0; j = 0; var i = 0; i = 25; while (i >= 0) { _root['bg' + i].removeMovieClip(); _root['bghb' + i].removeMovieClip(); _root.BGA.splice([i][0], 1); --i; } j = _root.monatt.length - 1; while (j >= 0) { loadMovie('', _root[_root.monatt[j][1]]); _root.monatt.splice([j][0], 1); --j; } l = _root.proj.length - 1; while (l >= 0) { loadMovie('', _root[_root.proj[l][1]]); _root.proj.splice([l][0], 1); --l; } _root.ss.removeMovieClip(); k = _root.maxitems; while (k > 0) { _root['obj' + k].removeMovieClip(); --k; } _root.doorleft.removeMovieClip(); _root.doorright.removeMovieClip(); _root.doorleftgox = 0; _root.doorleftgo = 0; _root.doorrightgox = 0; _root.doorrightgo = 0; _root.leftwall.removeMovieClip(); _root.rightwall.removeMovieClip(); } frame 12 { if (_root.gohere >= 18) { _root.gotoAndStop(_root.gohere); _root.camframe._x = _root.gox; this._x = _root.camframe._x; _root.camframe.hero._xscale = facing; _root.held = 0; } else { _root.health = _root.maxhealth; _root.cumchest = 5; _root.cumface = 5; _root.poisonlevel = 0; _root.gotoAndStop('Comic-A3Start'); _parent._x = 0; _parent._y = 0; _parent._xscale = 100; _parent._yscale = 100; _root.camframe.removeMovieClip(); _root.fadeout.removeMovieClip(); this.removeMovieClip(); stop(); } } frame 21 { if (_root.held < 100) { _root.held = 0; } stop(); } frame 25 { this._x = _root.camframe._x; } frame 45 { _root.held = 0; stop(); } frame 51 { this._x = _root.camframe._x; } frame 81 { l = 0; k = 0; j = 0; var i = 0; i = 25; while (i >= 0) { _root['bg' + i].removeMovieClip(); _root['bghb' + i].removeMovieClip(); _root.BGA.splice([i][0], 1); --i; } j = _root.monatt.length - 1; while (j >= 0) { loadMovie('', _root[_root.monatt[j][1]]); _root.monatt.splice([j][0], 1); --j; } l = _root.proj.length - 1; while (l >= 0) { loadMovie('', _root[_root.proj[l][1]]); _root.proj.splice([l][0], 1); --l; } _root.ss.removeMovieClip(); k = _root.maxitems; while (k > 0) { _root['obj' + k].removeMovieClip(); --k; } _root.doorleft.removeMovieClip(); _root.doorright.removeMovieClip(); _root.leftwall.removeMovieClip(); _root.rightwall.removeMovieClip(); if (_root._currentframe == 26) { _root.attachMovie('endingtalkact1', 'ETA1', 2001); _root.ETA1._x = _root.camframe._x; _root.ETA1._y = 0; stop(); } } frame 100 { stop(); } } movieClip 6566 { frame 21 { stop(); } } movieClip 6571 { frame 21 { stop(); } } movieClip 6576 { frame 21 { stop(); } } movieClip 6581 { frame 21 { stop(); } } movieClip 6582 { } movieClip 6583 { frame 1 { stop(); } frame 11 { stop(); } } frame 20 { _root.maxitems = 3; _root.doorrightgo = 26; _root.doorrightgox = -2250; _root.doorleftgo = 18; _root.doorleftgox = 2500; _root.camframe.dark.gotoAndStop(1); removeMovieClip(_root.crawl1); if (_root.quest_fireout == false) { var i = 0; var b = 0; _root.attachMovie('trashwall', 'bg' + i, i); _root['bg' + i]._x = 7500; _root['bg' + i]._y = 575 + 4 * i; _root.BGA.push([b, _root.BGtype[b][1], _root.BGtype[b][2], _root.BGtype[b][3], 50 + _root.BGtype[b][1] * 10, 'bg' + i, 'bghb' + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]); _root.attachMovie('firepile', 'bghb' + i, i + 100); _root['bghb' + i]._x = 7000; _root['bghb' + i]._y = 550; _root['bghb' + i]._xscale = _root.BGA[i][4]; } if (_root.quest_zombiecount == 10) { addmobs(16, 2500, 2500, 0, 0); } } movieClip 6584 { } movieClip 6586 { } movieClip 6588 { } movieClip 6590 { } movieClip 6592 { } movieClip 6594 { } movieClip 6596 { } movieClip 6600 { frame 1 { if (_root._currentframe > 39) { gotoAndStop(21); } else { if (_root._currentframe > 29) { gotoAndStop(11); } } stop(); } } movieClip 6602 { } movieClip 6604 { } // unknown tag 88 length 62 movieClip 6611 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6614 { } movieClip 6616 { } movieClip 6618 { } frame 22 { _root.maxitems = 4; _root.camframe.dark.gotoAndStop(1); } movieClip 6620 { } movieClip 6622 { } movieClip 6624 { } movieClip 6626 { } movieClip 6628 { } movieClip 6630 { } movieClip 6632 { } movieClip 6634 { } movieClip 6636 { } movieClip 6638 { } movieClip 6640 { } movieClip 6642 { } movieClip 6644 { } movieClip 6646 { } movieClip 6649 { } movieClip 6651 { } movieClip 6652 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6653 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; gotoAndPlay(51); } frame 80 { _root.gohere = 20; _root.gox = 3000; _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 6657 { } movieClip 6659 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); play(); } frame 20 { _root.gohere = 24; _root.gox = -1000; _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 6662 { } movieClip 6664 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); play(); } frame 20 { _root.gohere = 25; _root.gox = -2200; _root.fadeout.gotoAndPlay(1); stop(); } } frame 24 { _root.maxitems = 5; _root.camframe.dark.gotoAndStop(1); } movieClip 6666 { frame 2 { stop(); } } movieClip 6669 { } movieClip 6671 { } movieClip 6672 { } movieClip 6674 { } movieClip 6676 { } movieClip 6678 { } movieClip 6680 { } movieClip 6682 { } movieClip 6684 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6687 { } movieClip 6689 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 20 { _root.gohere = 22; if (_root._currentframe == 24) { _root.gox = -1250; } else { _root.gox = 2100; } _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 6695 { frame 1 { stop(); } frame 2 { _root.choicetext = 'A sink. You can wash your face here.'; _root.choiceA = 'Wash up'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 65 { if (_root.cumface < 5) { _root.cumface = 5; _root.camframe.hero.gotoAndPlay(8); } _root.held = 0; gotoAndPlay('Use'); } } movieClip 6701 { } movieClip 6702 { frame 1 { stop(); } frame 2 { _root.choicetext = 'A shower. You can wash up, but it will take a little while.'; if (_root.BGA.length > 0) { _root.choiceA = '(Cancel) You really need to secure this room first!'; } else { if (_root._currentframe == 38 or _root.quest_shipclear == 0 and _root._currentframe == 39) { _root.choiceA = 'Wash up'; } else { _root.choiceA = '(Cancel) Not now. I don\'t think I\'m alone.'; } } _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { if (_root.BGA.length == 0 and _root._currentframe == 38 or _root.quest_shipclear == 0 and _root._currentframe == 39) { _root.held = 982; _root.xfinish = _root.obj4._x - 150; _root.xstart = _root.xfinish; _root.camframe.box.gotoAndPlay(61); _root.camframe.hero.gotoAndStop(4); } else { _root.held = 0; stop(); } } frame 53 { if (Math.abs(_root.camframe._x - (_root.obj4._x - 150)) > 25) { if (_root.camframe._x > _root.obj4._x - 150) { if (_root.camframe.hero._xscale == 100) { _root.camframe.hero._xscale = -100; } _root.camframe._x -= 4; } else { if (_root.camframe.hero._xscale == -100) { _root.camframe.hero._xscale = 100; } _root.camframe._x += 4; } gotoAndPlay(52); } else { _root.camframe.hero._xscale = -100; _root.camframe.hero.gotoAndStop(11); } } frame 75 { if (_root.cumface < 5) { ++_root.cumface; } if (_root.cumchest < 5) { ++_root.cumchest; } if (_root.cumface == 5 or _root.quest_zombiecount <= 0) { if (_root.held > 910) { _root.held = 910; } gotoAndPlay('washloop'); } } frame 76 { _root.camzoom = 0.75; _parent._y = 100; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 77 { _root.camzoom += 0.025; _parent._y -= 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 78 { _root.camzoom += 0.025; _parent._y -= 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 79 { _root.camzoom += 0.025; _parent._y -= 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 80 { _root.camzoom += 0.025; _parent._y -= 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 81 { _root.camzoom += 0.025; _parent._y -= 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 82 { _root.camzoom += 0.025; _parent._y -= 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 83 { _root.camzoom += 0.025; _parent._y -= 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 84 { _root.camzoom += 0.025; _parent._y -= 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 85 { _root.camzoom += 0.025; _parent._y -= 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 86 { _root.camzoom = 1; _parent._y = 0; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 91 { _root.addmobs(16, _root.camframe._x + 450, _root.camframe._x + 450, 0, 2); _root.bg0._xscale = -100; } frame 96 { if (_root.cumface < 5) { ++_root.cumface; } if (_root.cumchest < 5) { ++_root.cumchest; } } frame 116 { if (_root.cumface < 5) { ++_root.cumface; } if (_root.cumchest < 5) { ++_root.cumchest; } } frame 136 { if (_root.cumface < 5) { ++_root.cumface; } if (_root.cumchest < 5) { ++_root.cumchest; } } frame 156 { _root.cumchest = 5; _root.cumface = 5; } frame 171 { _root.camframe.hero._xscale = 100; _root.camzoom -= 0.025; _parent._y += 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 172 { _root.camzoom -= 0.025; _parent._y += 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 173 { _root.camzoom -= 0.025; _parent._y += 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 174 { _root.camzoom -= 0.025; _parent._y += 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 175 { _root.camzoom -= 0.025; _parent._y += 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 176 { _root.camzoom -= 0.025; _parent._y += 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 177 { _root.camzoom -= 0.025; _parent._y += 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 178 { _root.camzoom -= 0.025; _parent._y += 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 179 { _root.camzoom -= 0.025; _parent._y += 10; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; } frame 180 { _root.camzoom = 0.75; _parent._y = 100; _parent._xscale = 100 * _root.camzoom; _parent._yscale = 100 * _root.camzoom; _root.BGA[0][9] = _root.BGtype[16][5]; _root.bghb10._y = 550; stop(); } } movieClip 6707 { } movieClip 6711 { } movieClip 6713 { frame 1 { stop(); } frame 2 { _root.choicetext = 'A toilet stall. The door is currently closed.'; _root.choiceA = 'Open Door'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.held = 0; stop(); } } frame 25 { _root.maxitems = 5; } movieClip 6714 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6720 { } movieClip 6725 { } movieClip 6726 { frame 1 { stop(); } frame 2 { _root.choicetext = 'A toilet stall. The door is currently closed.'; _root.choiceA = 'Open Door'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.held = 0; stop(); } } frame 26 { _root.maxitems = 0; _root.doorleftgo = 20; _root.doorleftgox = 8400; if (_root.quest_shipclear == 10) { addboss = setInterval(function () { if (_root._currentframe !== 26) { clearInterval(addboss); } else { if (_root.camframe._x > 1700) { addmobs(18, 500, 500, 0, 2); _root.BGA[0][4] = 220 * _root.gamediff; _root.bghb0._xscale = _root.BGA[0][4]; _root.leftwall._y = 0; _root.held = 985; _root.xstart = _root.camframe._x; _root.xfinish = 700; _root.camframe.box.gotoAndPlay(61); _root.camframe.hero.gotoAndStop(1); clearInterval(addboss); } } }, 1000); } } movieClip 6728 { frame 1 { if (_root.quest_shipclear == 0) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 6730 { } movieClip 6732 { frame 1 { if (_root.quest_shipclear == 0) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 6733 { frame 1 { this.cacheAsBitmap = true; } } frame 30 { _root.maxitems = 4; if (_root.quest_shippower < 7 and _root.quest_zombiecount > 4) { addmobs(6, 2288, 2288, 0, 0); } } movieClip 6736 { } movieClip 6737 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6739 { } movieClip 6746 { frame 1 { if (_root._currentframe > 39) { gotoAndStop(21); } else { if (_root._currentframe > 29) { gotoAndStop(11); } } stop(); } } movieClip 6751 { frame 1 { if (_root._currentframe > 39) { gotoAndStop(21); } else { if (_root._currentframe > 29) { gotoAndStop(11); } } stop(); } } movieClip 6753 { frame 1 { stop(); } frame 2 { if (_root.quest_shippower >= 7) { _root.box3.gotoAndStop(1); _root.held = 905; gotoAndPlay(51); } else { _root.choicetext = 'This door leads to the bridge. It doesn\'t appear locked, but with the power out, there doesn\'t appear to be an easy way to open it either.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = '(Body Check) Try to Force Door'; if (_root.body >= 5) { _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonS.gotoAndStop(6); } _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } } frame 81 { _root.gohere = 32; _root.gox = 0; _root.fadeout.gotoAndPlay(1); stop(); } frame 131 { _root.gohere = 32; _root.gox = 0; _root.fadeout.gotoAndPlay(1); stop(); } frame 155 { _root.held = 0; } } movieClip 6755 { frame 1 { stop(); } frame 2 { if (_root.quest_shippower >= 7) { _root.box3.gotoAndStop(1); _root.held = 905; gotoAndPlay(51); } else { _root.choicetext = 'This door should lead to the crew quarters. With the power out, you\'ll have to force it open if you want to get through.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = '(Body Check) Try to Force Door'; if (_root.body >= 7) { _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonS.gotoAndStop(6); } _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } } frame 51 { if (_root.quest_shippower < 7) { gotoAndPlay(91); } } frame 81 { _root.gohere = 34; _root.gox = -2000; _root.fadeout.gotoAndPlay(1); stop(); } frame 131 { _root.gohere = 34; _root.gox = -2000; _root.fadeout.gotoAndPlay(1); stop(); } frame 155 { _root.held = 0; } } frame 32 { _root.maxitems = 1; _root.doorrightgo = 30; _root.doorrightgox = -1500; if (_root.quest_shipclear == 0) { loadMovie('', _root.obj1); } } movieClip 6758 { } movieClip 6759 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6761 { } movieClip 6763 { } movieClip 6765 { } movieClip 6772 { frame 1 { if (_root.quest_getmedkit == 3) { gotoAndStop(6); } stop(); } } movieClip 6774 { frame 1 { _root.camframe.hero.gotoAndStop(1); } } movieClip 6798 { frame 1 { var havemedkit = false; if (_root.acc == 4) { havemedkit = true; } if (_root.backpack1 == 4 and _root.backpack1h == 601) { havemedkit = true; } if (_root.backpack2 == 4 and _root.backpack2h == 601) { havemedkit = true; } if (_root.backpack3 == 4 and _root.backpack3h == 601) { havemedkit = true; } if (_root.backpack4 == 4 and _root.backpack4h == 601) { havemedkit = true; } if (_root.quest_getmedkit == 0) { _root.held = 910; _root.xstart = 0; _root.xfinish = -1000; _root.camframe.box.gotoAndPlay(61); this.gotoAndStop(201); _root.quest_getmedkit = 1; } else { stop(); } } frame 2 { if (_root.quest_getmedkit == 3) { gotoAndStop(21); } _root.choicetext = 'The captain appears to be unconcious & badly hurt. The first mate is hoping you have a medkit, or can find one.'; if (havemedkit == true) { _root.choiceA = '(say): Yes, I have one right here.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choiceA = '(say): Ok, I\'ll try & find a medkit for you.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } if (_root.quest_armdoor == 1) { _root.choiceS = '(body / say): Do you know the passcode to the Armory door?'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); } if (_root.spirit > 3) { _root.choiceD = '(spirit / say): Uhm... Why is she drenched?'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = '(spirit / say): Uhm... Why is she drenched?'; _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'Let the first officer use your medkit? (Yes, you get it back).'; _root.choiceA = 'Hand it to him.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); if (_root.quest_armdoor == 1) { _root.choiceS = '(body / say): Do you know the passcode to the Armory door?'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); } _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 21 { if (_root.quest_zombiecount >= 0) { if (_root.acc !== 3) { gotoAndStop(31); } if (_root.backpack1 !== 3 and _root.backpack1h !== 601) { gotoAndStop(31); } if (_root.backpack2 !== 3 and _root.backpack2h !== 601) { gotoAndStop(31); } if (_root.backpack3 !== 4 and _root.backpack3h !== 601) { gotoAndStop(31); } if (_root.backpack4 !== 4 and _root.backpack4h !== 601) { gotoAndStop(31); } } _root.choicetext = 'The captain looks much better now, thanks to you.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 31 { if (_root.quest_zombiecount == 0) { gotoAndStop(36); } _root.choicetext = 'According to the first officer, bringing a deranged crew member to orgasm should restore them to normal. He\'d like you to save all the crew members in the Crew quarters.'; _root.choiceA = '(Say): I\'ll see what I can do.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = '(Say): No thanks, I\'ll pass.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 36 { _root.choicetext = 'The first officer is offering you a small necklace as a reward.'; _root.choiceA = '(Accept)'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { if (havemedkit == true) { gotoAndPlay(61); } if (_root.quest_getmedkit == 3) { gotoAndPlay(71); } } frame 55 { _root.held = 0; stop(); } frame 65 { _root.quest_getmedkit = 3; _root.quest_armdoor = 2; this.captain.eye.gotoAndStop(6); _root.held = 0; stop(); } frame 71 { if (_root.quest_zombiecount == 0) { gotoAndPlay(76); } var helpcount = 'Thank you for your help. According to my calculations, there should be ' + _root.quest_zombiecount + ' crew members left who need your abilities.'; } frame 75 { _root.held = 0; stop(); } frame 80 { _root.quest_zombiecount = -1; _root.held = 901; _root.itemselect = 3; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 3; _root.itemnewh = 601; stop(); } frame 101 { if (_root.quest_getmedkit == 3) { gotoAndPlay(111); } } frame 105 { _root.held = 0; stop(); } frame 115 { _root.held = 0; stop(); } frame 155 { _root.held = 0; stop(); } frame 201 { } } frame 34 { _root.maxitems = 7; _root.doorleftgo = 30; _root.doorleftgox = 2000; _root.camframe.dark.gotoAndStop(1); i = 0; var b = 0; i = 0; while (i < Math.ceil(_root.quest_zombiecount / 2)) { b = Math.floor(Math.random() * 2) + 16; if (b > 17) { b = 17; } addmobs(b, -1250, 3250, 300, 0); ++i; } } movieClip 6799 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6803 { } movieClip 6805 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 30 { if (_root.camframe._x > 1000) { _root.gohere = 37; _root.gox = _root.camframe._x - 4000; _root.xstart = _root.gox; } else { _root.gohere = 36; _root.gox = _root.camframe._x; } _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 6806 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 30 { _root.gohere = 38; _root.gox = -1000; _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 6807 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 30 { _root.gohere = 39; _root.gox = -1000; _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 6817 { frame 1 { stop(); } frame 2 { if (_root.quest_getmop == 1 and _root.gamestart !== 'Act1') { gotoAndStop(21); } if (_root.wpn == 41) { gotoAndStop(21); } if (_root.backpack1 == 41 and _root.backpack1h == 301) { gotoAndStop(21); } if (_root.backpack2 == 41 and _root.backpack2h == 301) { gotoAndStop(21); } if (_root.backpack3 == 41 and _root.backpack3h == 301) { gotoAndStop(21); } if (_root.backpack4 == 41 and _root.backpack4h == 301) { gotoAndStop(21); } stop(); _root.choicetext = 'Janitor\'s Closet. Nothing here but cleaning supplies.'; _root.choiceA = 'Look for something to put out the fire.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = '(Spirit Check) Search for Magical Auras.'; if (_root.player % 10 !== 3 and (_root.spirit > 5 or _root.acc == 2)) { _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 21 { _root.choicetext = 'Janitor\'s Closet. Nothing here but cleaning supplies.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.held = 0; stop(); } frame 156 { _root.quest_getmop = 1; _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 41; _root.itemnewh = 301; stop(); } } frame 36 { _root.maxitems = 4; if (_root.quest_shipclear !== 0) { i = 0; var b = 0; i = 0; while (i < Math.ceil(_root.quest_zombiecount / 3)) { b = Math.floor(Math.random() * 2) + 16; if (b > 17) { b = 17; } addmobs(b, -1500, 200, 300, 0); ++i; } } } movieClip 6818 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6819 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 30 { _root.gohere = 34; if (_root._currentframe == 37) { _root.gox = _root.camframe._x + 4000; } else { _root.gox = _root.camframe._x; } _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 6820 { frame 1 { if (_root.quest_shippower % 8 > 3) { gotoAndStop(21); } if (_root.acc == 5) { gotoAndStop(21); } if (_root.backpack1 == 5 and _root.backpack1h == 601) { gotoAndStop(21); } if (_root.backpack2 == 5 and _root.backpack2h == 601) { gotoAndStop(21); } if (_root.backpack3 == 5 and _root.backpack3h == 601) { gotoAndStop(21); } if (_root.backpack4 == 5 and _root.backpack4h == 601) { gotoAndStop(21); } stop(); } frame 2 { if (_root.quest_shippower >= 7) { gotoAndStop(11); } if (_root.quest_shippower % 8 > 3) { gotoAndStop(21); } if (_root.acc == 5) { gotoAndStop(21); } if (_root.backpack1 == 5 and _root.backpack1h == 601) { gotoAndStop(21); } if (_root.backpack2 == 5 and _root.backpack2h == 601) { gotoAndStop(21); } if (_root.backpack3 == 5 and _root.backpack3h == 601) { gotoAndStop(21); } if (_root.backpack4 == 5 and _root.backpack4h == 601) { gotoAndStop(21); } stop(); _root.choicetext = 'This large pipe appears to have been knocked loose in the explosion. It might be useful for repairing the back up generator.'; _root.choiceA = 'Get Pipe'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'This large pipe appears to have been knocked loose in the explosion. It would have been great for fixing the power, but you\'ve already done that.'; _root.choiceA = 'Get Pipe Anyway'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.held = 901; _root.itemselect = 3; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 5; _root.itemnewh = 601; stop(); } } movieClip 6823 { } movieClip 6825 { } movieClip 6828 { frame 1 { if (_root.quest_shipclear !== 0) { loadMovie('', this); } stop(); } frame 2 { var funtime = 0; _root.choicetext = 'These injured crewmen appear to be sleeping.'; _root.choiceA = '(Say) Hey boys, how about some fun?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'Who do you want to have fun with?'; _root.choiceA = '(Say) Sure, both of you. C\'mon.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = '(Say) Just you blue. For now. ;)'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = '(Say) Just you red. For now. ;)'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { if (funtime == 0) { funtime = 1; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(11); } else { if (_root.armor > 1) { NewItemNumber = _root.armor; NewItemHealthNumber = _root.armorh; _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); NewItemNumber += Math.ceil(NewItemHealthNumber / 25); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.camframe.hero.gotoAndStop(101); _root.grapple = 75; _root.held = 1100; _root.BGA.push([16, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]); _root.BGA.push([17, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]); _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; monscale = 100; monscale2 = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; this._y += 2000; } stop(); stop(); } frame 105 { if (_root.armor > 1) { NewItemNumber = _root.armor; NewItemHealthNumber = _root.armorh; _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); NewItemNumber += Math.ceil(NewItemHealthNumber / 25); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.camframe.hero.gotoAndStop(57); _root.grapple = 75; _root.held = 1100; _root.BGA.push([16, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]); _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; monscale = 50 + _root.BGA[0][1] * 10; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0; this._y += 2000; stop(); } frame 155 { if (_root.armor > 1) { NewItemNumber = _root.armor; NewItemHealthNumber = _root.armorh; _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); NewItemNumber += Math.ceil(NewItemHealthNumber / 25); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.camframe.hero.gotoAndStop(58); _root.grapple = 75; _root.held = 1100; _root.BGA.push([16, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]); _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; monscale = 50 + _root.BGA[0][1] * 10; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0; this._y += 2000; stop(); } } frame 37 { _root.maxitems = 3; if (_root.player !== 11 and _root.quest_savemage <= 1) { _root.attachMovie('magerescue', 'obj3', 303); _root.obj3._x = 1350; _root.obj3._y = 250; } i = 0; var b = 0; i = 0; while (i < Math.ceil(_root.quest_zombiecount / 4)) { b = Math.floor(Math.random() * 2) + 16; if (b > 17) { b = 17; } addmobs(b, -1500, 1200, 300, 0); ++i; } } movieClip 6829 { frame 1 { this.cacheAsBitmap = true; } } frame 38 { _root.maxitems = 5; _root.camframe.hero._xscale = -100; i = 0; b = 0; var a = 0; i = 0; while (i < Math.ceil(_root.quest_zombiecount / 3)) { b = Math.floor(Math.random() * 2) + 16; if (b > 17) { b = 17; } addmobs(b, -2000, -1000, 300, 0); ++i; } } movieClip 6830 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6833 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 20 { _root.gohere = 34; if (_root._currentframe == 38) { _root.gox = 1000; } else { _root.gox = 1600; } _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 6837 { frame 1 { stop(); } frame 2 { if (_root.quest_shipclear !== 0 and _root._currentframe == 39) { _root.choicetext = 'A toilet stall. The door is locked.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } else { _root.choicetext = 'A toilet stall. The door is currently closed.'; _root.choiceA = 'Open Door'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.held = 0; stop(); } } frame 39 { _root.maxitems = 6; _root.camframe.hero._xscale = -100; _root.camframe.dark.gotoAndStop(1); if (_root.quest_shipclear == 0) { loadMovie('', _root.obj6); } } movieClip 6839 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6861 { frame 1 { stop(); } frame 2 { _root.choicetext = 'This crew memeber appears nervous, but otherwise unharmed.'; _root.choiceA = '(Say) What happened? All the other crew up here have lost their minds.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = '(Say) Don\'t worry, I\'m here to deal with the \'problem\'.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = '(Say) Are you alright? Are there any other survivors?'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.held = 0; } frame 80 { stop(); } frame 106 { _root.held = 0; if (Math.floor(_root.player / 10) == 1) { stop(); } } frame 131 { stop(); } frame 156 { _root.held = 0; } frame 181 { stop(); } } frame 40 { _root.maxitems = 3; _root.doorrightgo = 44; _root.doorrightgox = -1250; _root.doorleftgo = 30; _root.doorleftgox = 2000; removeMovieClip(_root.crate1); removeMovieClip(_root.crate2); if (_root.quest_pirateboss > 1) { var i = 0; i = 0; while (i < (_root.quest_pirateboss - 1) / 4) { addmobs(19, -1000, 1500, 750, 2); ++i; } } } movieClip 6863 { } movieClip 6864 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6868 { } movieClip 6870 { } movieClip 6872 { frame 1 { stop(); } frame 2 { if (_root.quest_armdoor <= 1) { gotoAndStop(11); } _root.choicetext = 'This door looks much more solid than the others on this ship. A nearby terminal glows dimly requesting a password.'; _root.choiceA = '(Enter Armory): Input Passcode: 1-2-3-4-5'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { if (_root.quest_armdoor == 0) { _root.quest_armdoor = 1; } _root.choicetext = 'This door looks much more solid than the others on this ship. A nearby terminal glows dimly requesting a password.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { _root.quest_armdoor = 3; } frame 81 { _root.gohere = 42; _root.gox = 2250; _root.fadeout.gotoAndPlay(1); } } frame 42 { _root.maxitems = 4; _root.doorrightgo = 40; _root.doorrightgox = -1750; } movieClip 6873 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6880 { frame 1 { if (_root.quest_getaxe == 1 and _root.gamestart !== 'Act1') { gotoAndStop(60); } if (_root.wpn == 31) { gotoAndStop(60); } if (_root.backpack1 == 31 and _root.backpack1h == 301) { gotoAndStop(60); } if (_root.backpack2 == 31 and _root.backpack2h == 301) { gotoAndStop(60); } if (_root.backpack3 == 31 and _root.backpack3h == 301) { gotoAndStop(60); } if (_root.backpack4 == 31 and _root.backpack4h == 301) { gotoAndStop(60); } stop(); } frame 2 { if (_root.player % 10 == 1) { gotoAndStop(11); } if (_root.quest_getaxe == 1 and _root.gamestart !== 'Act1') { gotoAndStop(21); } if (_root.wpn == 31) { gotoAndStop(21); } if (_root.backpack1 == 31 and _root.backpack1h == 301) { gotoAndStop(21); } if (_root.backpack2 == 31 and _root.backpack2h == 301) { gotoAndStop(21); } if (_root.backpack3 == 31 and _root.backpack3h == 301) { gotoAndStop(21); } if (_root.backpack4 == 31 and _root.backpack4h == 301) { gotoAndStop(21); } _root.choicetext = 'You see a fireaxe behind the glass. A small sign says: \'break glass in emergency\'.'; _root.choiceA = 'Get Axe'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'You see a fireaxe behind the glass. With years of training, you might be able to use it as a weapon. But you\'re a little short on time today.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 21 { _root.choicetext = 'An empty box.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.quest_getaxe = 1; _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 31; _root.itemnewh = 301; stop(); } } movieClip 6884 { frame 1 { stop(); } frame 2 { _root.choicetext = 'These lockers are full of military clothing. You could make a set of armor from what is here.'; _root.choiceA = 'Get ballistic armor'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.held = 901; _root.itemselect = 2; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 41; _root.itemnewh = 150; stop(); } } movieClip 6888 { frame 1 { stop(); } frame 2 { _root.choicetext = 'An Empty Cabinet.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } } frame 44 { _root.maxitems = 1; _root.doorleftgo = 40; _root.doorleftgox = 1750; _root.doorrightgo = 46; _root.doorrightgox = -2000; removeMovieClip(_root.crawl1); if (_root.quest_pirateboss > 0) { addmobs(20, 250, 250, 0, 2); _root.BGA[0][4] = 220 * _root.gamediff; _root.bghb0._xscale = _root.BGA[0][4]; _root.BGA[0][8] = 2; } else { _root.crate1.gotoAndStop(11); _root.crate2.gotoAndStop(11); _root.attachMovie('heightbox', 'topbox1201', 1201); _root.crate1.swapDepths(_root.topbox1201); _root.topbox1201.unloadMovie(); _root.attachMovie('heightbox', 'topbox1202', 1202); _root.crate2.swapDepths(_root.topbox1202); _root.topbox1202.unloadMovie(); } } movieClip 6889 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6893 { frame 1 { stop(); } frame 2 { _root.choicetext = 'This box contains a pile of pipes. They look could probably be used to restore the backup generator.'; _root.choiceA = 'Get Short Green Pipe'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Get Medium Yellow Pipe'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); if (_root.quest_shippower == 0) { _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); } else { if (_root.spirit >= 5) { _root.choiceD = '(Spirit check) Try & combine two pipes into a large one.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = '(Spirit check) Try & combine two pipes into a large one.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.held = 901; _root.itemselect = 3; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 7; _root.itemnewh = 601; stop(); } frame 106 { _root.held = 901; _root.itemselect = 3; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 6; _root.itemnewh = 601; stop(); } frame 155 { _root.held = 901; _root.itemselect = 3; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 8; _root.itemnewh = 601; stop(); } } movieClip 6897 { frame 1 { stop(); } } frame 46 { _root.maxitems = 3; _root.doorleftgo = 44; _root.doorleftgox = 2500; removeMovieClip(_root.crate1); removeMovieClip(_root.crate2); _root.attachMovie('heightbox', 'topbox1211', 1211); _root.crawl1.swapDepths(_root.topbox1211); _root.topbox1211.unloadMovie(); var a = 0; var b = 11; var i = 0; if (_root.quest_shippower % 2 < 1) { a = -300; i = 0; _root.BGA.push([b, _root.BGtype[b][1] * _root.gamediff, _root.BGtype[b][2] * _root.gamediff, _root.BGtype[b][3] * _root.gamediff, 50 + _root.BGtype[b][1] * 10 * _root.gamediff, 'bg' + i, 'bghb' + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]); _root.attachMovie(_root.BGtype[b][0], 'bg' + i, i); _root['bg' + i]._x = a; _root['bg' + i]._y = 575; _root.attachMovie('badguyhealthbar', 'bghb' + i, i + 100); _root['bghb' + i]._x = a - 50; _root['bghb' + i]._y = 200; _root['bghb' + i]._xscale = _root.BGA[i][4]; } if (_root.quest_shippower % 4 < 2) { a = 1150; i = 1; _root.BGA.push([b, _root.BGtype[b][1] * _root.gamediff, _root.BGtype[b][2] * _root.gamediff, _root.BGtype[b][3] * _root.gamediff, 50 + _root.BGtype[b][1] * 10 * _root.gamediff, 'bg' + i, 'bghb' + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]); _root.attachMovie(_root.BGtype[b][0], 'bg' + i, i); _root['bg' + i]._x = a; _root['bg' + i]._y = 575; _root.attachMovie('badguyhealthbar', 'bghb' + i, i + 100); _root['bghb' + i]._x = a - 50; _root['bghb' + i]._y = 200; _root['bghb' + i]._xscale = _root.BGA[i][4]; } if (_root.quest_shippower < 4) { a = 2500; i = 2; _root.BGA.push([b, _root.BGtype[b][1] * _root.gamediff, _root.BGtype[b][2] * _root.gamediff, _root.BGtype[b][3] * _root.gamediff, 50 + _root.BGtype[b][1] * 10 * _root.gamediff, 'bg' + i, 'bghb' + i, 0, _root.BGtype[b][4], _root.BGtype[b][5], _root.BGtype[b][6]]); _root.attachMovie(_root.BGtype[b][0], 'bg' + i, i); _root['bg' + i]._x = a; _root['bg' + i]._y = 575; _root.attachMovie('badguyhealthbar', 'bghb' + i, i + 100); _root['bghb' + i]._x = a - 50; _root['bghb' + i]._y = 200; _root['bghb' + i]._xscale = _root.BGA[i][4]; } } movieClip 6900 { } movieClip 6902 { } movieClip 6904 { } movieClip 6906 { } movieClip 6907 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6924 { } movieClip 6925 { frame 1 { if (_root.quest_shippower % 2 == 1) { gotoAndStop(11); } stop(); } frame 2 { var havepipe = false; if (_root.acc == 7) { var havepipe = true; } if (_root.backpack1 == 7 and _root.backpack1h == 601) { var havepipe = true; } if (_root.backpack2 == 7 and _root.backpack2h == 601) { var havepipe = true; } if (_root.backpack3 == 7 and _root.backpack3h == 601) { var havepipe = true; } if (_root.backpack4 == 7 and _root.backpack4h == 601) { var havepipe = true; } _root.choicetext = 'It looks like a short piece of pipe is missing from this section. Perhaps replacing it would restore power.'; if (havepipe == true) { _root.choiceA = 'Install a short green pipe here?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { stop(); } frame 56 { if (_root.acc == 7) { _root.acc = 1; _root.camframe.box.invacc.gotoAndPlay(1); } else { if (_root.backpack1 == 7 and _root.backpack1h == 601) { _root.backpack1 = 1; _root.backpack1h = 301; _root.camframe.box.invb1.gotoAndPlay(1); } else { if (_root.backpack2 == 7 and _root.backpack2h == 601) { _root.backpack2 = 1; _root.backpack2h = 301; _root.camframe.box.invb2.gotoAndPlay(1); } else { if (_root.backpack3 == 7 and _root.backpack3h == 601) { _root.backpack3 = 1; _root.backpack3h = 301; _root.camframe.box.invb3.gotoAndPlay(1); } else { if (_root.backpack4 == 7 and _root.backpack4h == 601) { _root.backpack4 = 1; _root.backpack4h = 301; _root.camframe.box.invb4.gotoAndPlay(1); } } } } } _root.quest_shippower += 1; _root.camframe.dark.gotoAndStop(1); _root.bg0.removeMovieClip(); _root.bghb0.removeMovieClip(); _root.held = 0; if (_root.quest_shippower == 7 or _root.quest_shippower == 11) { _root.crawl1.gotoAndPlay(5); _root.leftwall.gotoAndStop(5); _root.rightwall.gotoAndStop(5); } stop(); } } movieClip 6926 { frame 1 { if (_root.quest_shippower % 4 >= 2) { gotoAndStop(11); } stop(); } frame 2 { var havepipe = false; if (_root.acc == 6) { var havepipe = true; } if (_root.backpack1 == 6 and _root.backpack1h == 601) { var havepipe = true; } if (_root.backpack2 == 6 and _root.backpack2h == 601) { var havepipe = true; } if (_root.backpack3 == 6 and _root.backpack3h == 601) { var havepipe = true; } if (_root.backpack4 == 6 and _root.backpack4h == 601) { var havepipe = true; } _root.choicetext = 'It looks like a piece of pipe is missing from this section. Perhaps replacing it would restore power.'; if (havepipe == true) { _root.choiceA = 'Install a medium yellow pipe here?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { stop(); } frame 56 { if (_root.acc == 6) { _root.acc = 1; _root.camframe.box.invacc.gotoAndPlay(1); } else { if (_root.backpack1 == 6 and _root.backpack1h == 601) { _root.backpack1 = 1; _root.backpack1h = 301; _root.camframe.box.invb1.gotoAndPlay(1); } else { if (_root.backpack2 == 6 and _root.backpack2h == 601) { _root.backpack2 = 1; _root.backpack2h = 301; _root.camframe.box.invb2.gotoAndPlay(1); } else { if (_root.backpack3 == 6 and _root.backpack3h == 601) { _root.backpack3 = 1; _root.backpack3h = 301; _root.camframe.box.invb3.gotoAndPlay(1); } else { if (_root.backpack4 == 6 and _root.backpack4h == 601) { _root.backpack4 = 1; _root.backpack4h = 301; _root.camframe.box.invb4.gotoAndPlay(1); } } } } } _root.quest_shippower += 2; _root.camframe.dark.gotoAndStop(1); _root.bg1.removeMovieClip(); _root.bghb1.removeMovieClip(); _root.held = 0; if (_root.quest_shippower == 7 or _root.quest_shippower == 11) { _root.crawl1.gotoAndPlay(5); _root.leftwall.gotoAndStop(5); _root.rightwall.gotoAndStop(5); } stop(); } } movieClip 6927 { frame 1 { if (_root.quest_shippower % 8 > 3) { gotoAndStop(11); } if (_root.quest_shippower % 16 > 7) { gotoAndStop(21); } stop(); } frame 2 { var havepipe = false; if (_root.acc == 5) { var havepipe = true; } if (_root.backpack1 == 5 and _root.backpack1h == 601) { var havepipe = true; } if (_root.backpack2 == 5 and _root.backpack2h == 601) { var havepipe = true; } if (_root.backpack3 == 5 and _root.backpack3h == 601) { var havepipe = true; } if (_root.backpack4 == 5 and _root.backpack4h == 601) { var havepipe = true; } _root.choicetext = 'It looks like a large piece of pipe is missing from this section. Perhaps replacing it would restore power.'; if (havepipe == true) { _root.choiceA = 'Install a large purple pipe here?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); var havepipe2 = false; if (_root.acc == 8) { var havepipe2 = true; } if (_root.backpack1 == 8 and _root.backpack1h == 601) { var havepipe2 = true; } if (_root.backpack2 == 8 and _root.backpack2h == 601) { var havepipe2 = true; } if (_root.backpack3 == 8 and _root.backpack3h == 601) { var havepipe2 = true; } if (_root.backpack4 == 8 and _root.backpack4h == 601) { var havepipe2 = true; } if (havepipe2 == true) { _root.choiceD = 'Install a combined pipe here?'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { stop(); } frame 56 { if (_root.acc == 5) { _root.acc = 1; _root.camframe.box.invacc.gotoAndPlay(1); } else { if (_root.backpack1 == 5 and _root.backpack1h == 601) { _root.backpack1 = 1; _root.backpack1h = 301; _root.camframe.box.invb1.gotoAndPlay(1); } else { if (_root.backpack2 == 5 and _root.backpack2h == 601) { _root.backpack2 = 1; _root.backpack2h = 301; _root.camframe.box.invb2.gotoAndPlay(1); } else { if (_root.backpack3 == 5 and _root.backpack3h == 601) { _root.backpack3 = 1; _root.backpack3h = 301; _root.camframe.box.invb3.gotoAndPlay(1); } else { if (_root.backpack4 == 5 and _root.backpack4h == 601) { _root.backpack4 = 1; _root.backpack4h = 301; _root.camframe.box.invb4.gotoAndPlay(1); } } } } } _root.quest_shippower += 4; _root.camframe.dark.gotoAndStop(1); _root.bg2.removeMovieClip(); _root.bghb2.removeMovieClip(); _root.held = 0; if (_root.quest_shippower == 7) { _root.crawl1.gotoAndPlay(5); _root.leftwall.gotoAndStop(5); _root.rightwall.gotoAndStop(5); } stop(); } frame 156 { if (_root.acc == 8) { _root.acc = 1; _root.camframe.box.invacc.gotoAndPlay(1); } else { if (_root.backpack1 == 8 and _root.backpack1h == 601) { _root.backpack1 = 1; _root.backpack1h = 301; _root.camframe.box.invb1.gotoAndPlay(1); } else { if (_root.backpack2 == 8 and _root.backpack2h == 601) { _root.backpack2 = 1; _root.backpack2h = 301; _root.camframe.box.invb2.gotoAndPlay(1); } else { if (_root.backpack3 == 8 and _root.backpack3h == 601) { _root.backpack3 = 1; _root.backpack3h = 301; _root.camframe.box.invb3.gotoAndPlay(1); } else { if (_root.backpack4 == 8 and _root.backpack4h == 601) { _root.backpack4 = 1; _root.backpack4h = 301; _root.camframe.box.invb4.gotoAndPlay(1); } } } } } _root.quest_shippower += 8; _root.camframe.dark.gotoAndStop(1); _root.bg2.removeMovieClip(); _root.bghb2.removeMovieClip(); _root.held = 0; if (_root.quest_shippower == 11) { _root.crawl1.gotoAndPlay(5); _root.leftwall.gotoAndStop(5); _root.rightwall.gotoAndStop(5); } stop(); } } movieClip 6928 { frame 1 { if (_root.quest_shippower == 7 or _root.quest_shippower == 11) { gotoAndStop(5); } } frame 2 { stop(); } } movieClip 6930 { frame 1 { if (_root.quest_shippower == 7 or _root.quest_shippower == 11) { gotoAndStop(50); } } frame 2 { stop(); } } movieClip 6931 { frame 1 { if (_root.quest_shippower == 7 or _root.quest_shippower == 11) { gotoAndStop(5); } } frame 2 { stop(); } } frame 48 { _root.maxitems = 4; if (_root.brigopen >= 2) { loadMovie('', _root.obj4); } } movieClip 6933 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6939 { frame 1 { if (_root.quest_shipclear !== 0) { loadMovie('', this); } stop(); } frame 2 { if (_root.brigopen % 2 == 0) { gotoAndStop(31); } var funtime = 0; _root.choicetext = 'You are talking to pirate captain Luka & her defeated crew.'; _root.choiceA = '(Say) Arrrrrrrr?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'Who do you want to have fun with?'; _root.choiceA = '(Say) I just be needing ye captain.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = '(Say) Captain. And bring one of your strong friends wit ye.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = '(Say) I just be needing the boys fer now.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 21 { _root.choicetext = 'Who do you want to have fun with?'; _root.choiceA = '(Say) Just one of ye mates. For now.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = '(Say) Two of ye boys, that sounds mighty fine.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = '(Say) I changed me mind. Captain, ye need ta be joining us.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 31 { _root.choicetext = 'You see the pirate captain & her defeated crew locked up in the brig.'; _root.choiceA = '(Say) Arrrrrrrr?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { if (_root.brigopen % 2 == 0) { gotoAndPlay(61); } } frame 55 { if (funtime == 0) { funtime = 1; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(11); } else { if (_root.armor > 1) { NewItemNumber = _root.armor; NewItemHealthNumber = _root.armorh; _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); NewItemNumber += Math.ceil(NewItemHealthNumber / 25); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } if (funtime == 1) { _root.camframe.hero.gotoAndStop(61); _root.BGA.push([20, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]); } else { _root.camframe.hero.gotoAndStop(60); _root.BGA.push([19, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]); } _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; monscale = 50 + _root.BGA[0][1] * 10; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0; _root.grapple = 75; _root.held = 1100; this._y += 2000; _root.brigopen += 2; } stop(); stop(); } frame 65 { _root.held = 0; stop(); } frame 105 { if (_root.armor > 1) { NewItemNumber = _root.armor; NewItemHealthNumber = _root.armorh; _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); NewItemNumber += Math.ceil(NewItemHealthNumber / 25); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } if (funtime == 1) { _root.camframe.hero.gotoAndStop(107); _root.BGA.push([20, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]); _root.BGA.push([19, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]); } else { _root.camframe.hero.gotoAndStop(106); _root.BGA.push([19, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]); _root.BGA.push([19, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0]); } _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; monscale = 100; monscale2 = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; _root.grapple = 75; _root.held = 1100; this._y += 2000; _root.brigopen += 2; stop(); } frame 155 { if (funtime == 1) { funtime = 2; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(21); } else { funtime = 1; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(11); } } } movieClip 6941 { frame 1 { stop(); } frame 2 { _root.choicetext = 'This button appears to open & close the door to the brig.'; if (_root.brigopen % 2 == 0) { _root.choiceA = 'open brig door'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choiceA = 'open brig door'; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } if (_root.brigopen % 2 == 1) { _root.choiceS = 'close brig door'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.choiceS = 'close brig door'; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); } _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.brigopen += 1; _root.brigdoor.gotoAndPlay(1); _root.rightwall.gotoAndPlay(1); _root.held = 0; stop(); } frame 106 { _root.brigopen += 1; if (_root.bridgeopen >= 4) { loadMovie('', _root.obj4); _root.bridgeopen = 2; } _root.brigdoor.gotoAndPlay(1); _root.rightwall.gotoAndPlay(1); _root.held = 0; stop(); } } movieClip 6945 { } movieClip 6946 { frame 1 { if (_root.brigopen % 2 == 1) { gotoAndStop(51); } } frame 41 { gotoAndPlay(2); } } movieClip 6947 { frame 1 { if (_root.brigopen % 2 == 1) { gotoAndStop(5); } } frame 3 { stop(); } } frame 50 { _root.maxitems = 0; _root.doorleftgo = 18; _root.doorleftgox = 3750; _root.doorrightgo = 51; _root.doorrightgox = -1750; _root.camframe.dark.gotoAndStop(1); removeMovieClip(_root.crawl1); if (_root.gamestart == 'Act2Start') { _root.gamestart = 'Act2'; _root.camframe._x = -1500; _root.R13Loc = 66 + Math.floor(Math.random() * 3); if (_root.R13Loc > 68) { _root.R13Loc = 68; } _root.R14Loc = 62 + Math.floor(Math.random() * 3); if (_root.R14Loc > 64) { _root.R14Loc = 64; } _root.R15Loc = 82 + Math.floor(Math.random() * 3); if (_root.R15Loc > 84) { _root.R15Loc = 84; } } } movieClip 6951 { frame 1 { this.cacheAsBitmap = true; } } frame 51 { _root.maxitems = 1; _root.doorleftgo = 50; _root.doorleftgox = 2500; _root.doorrightgo = 52; _root.doorrightgox = -1750; removeMovieClip(_root.ShrubLineFront); } movieClip 6955 { } movieClip 6957 { } movieClip 6959 { } movieClip 6960 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6966 { frame 1 { if (_root.quest_getbokken == 0) { gotoAndPlay(6); } } frame 2 { stop(); } frame 50 { gotoAndPlay('loop'); } } movieClip 6987 { frame 1 { if (_root.act2clear >= 10) { loadMovie('', this); } stop(); } frame 2 { if (_root.quest_getbokken == 0) { gotoAndStop(11); } _root.choicetext = 'From the description, you would guess those orbs are affecting these villagers. Maybe there\'s something you can do to help.'; if (Math.floor(_root.player / 10) == 0 and _root.quest_getbokken <= 1) { _root.choiceA = '(Say) Peace Festival? What\'s that?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choiceA = '(Say) Stay here & warn anyone else. I\'ll fix this.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } if (_root.quest_getbokken < 10) { _root.choiceS = '(Say) Do you have anything that can help?'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); } _root.choiceD = '(Say/Spirit) Why weren\'t you affected? Is anyone else still ok too?'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'There\'s a frantic young bunnykin here. It sounds like something bad has happened up ahead.'; _root.choiceA = '(Say) Easy now. What exactly is going on?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 21 { _root.choicetext = 'An empty box.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { if (_root.quest_getbokken == 0) { _root.quest_getbokken = 1; gotoAndPlay(91); } else { if (Math.floor(_root.player / 10) == 0 and _root.quest_getbokken <= 1) { _root.quest_getbokken = 2; gotoAndPlay(61); } } } frame 56 { _root.held = 0; stop(); } frame 85 { _root.held = 0; stop(); } frame 95 { _root.held = 0; stop(); } frame 101 { if (_root.wpn > 1) { gotoAndPlay(111); } } frame 105 { _root.quest_getbokken = 10; _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 22; _root.itemnewh = 301; stop(); } frame 116 { _root.held = 0; stop(); } frame 155 { if (Math.floor(_root.player / 10) !== 1) { _root.held = 0; stop(); } } frame 180 { _root.held = 0; stop(); } } frame 52 { _root.maxitems = 0; _root.doorleftgo = 51; _root.doorleftgox = 2500; _root.doorrightgo = 54; _root.doorrightgox = -1750; _root.attachMovie('heightbox', 'topbox1201', 1201); _root.ShrubLineFront.swapDepths(_root.topbox1201); _root.topbox1201.unloadMovie(); if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { i = 0; b = 0; var a = 0; var MaxMonsters = 2 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { if (Math.random() < 0.7) { b = Math.floor(Math.random() * 2) + 28; if (b == 30) { b = 29; } } else { if (Math.random() < 0.5) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } } else { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } } } addmobs(b, -750, 1250, 300, 0); ++i; } } } } movieClip 6988 { frame 1 { this.cacheAsBitmap = true; } } movieClip 6989 { } frame 54 { _root.camframe.dark.gotoAndStop(2); removeMovieClip(_root.ShrubLineFront); removeMovieClip(_root.crawl1); _root.maxitems = 2; _root.doorleftgo = 52; _root.doorleftgox = 2500; _root.doorrightgo = 58; _root.doorrightgox = -1750; _root.firechecked[2] = 2; } movieClip 6990 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7003 { frame 1 { if (_root.firechecked[_root._currentframe - 50 + 1] < 2) { loadMovie('', smoke); } stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 30 { _root.gohere = _root._currentframe + 1; _root.gox = -1800; _root.fadeout.gotoAndPlay(1); stop(); } } frame 55 { _root.camframe.hero._xscale = 100; if (_root.firechecked[_root._currentframe - 50] < 2) { _root.camframe.dark.gotoAndStop(3); } _root.maxitems = 1; _root.doorleftgo = _root._currentframe - 1; _root.doorleftgox = -1100; } movieClip 7006 { } movieClip 7008 { } movieClip 7010 { } movieClip 7012 { } movieClip 7014 { } movieClip 7017 { } movieClip 7019 { } movieClip 7021 { } movieClip 7023 { } movieClip 7025 { } movieClip 7028 { } movieClip 7030 { } movieClip 7032 { } movieClip 7033 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7037 { frame 1 { gotoAndStop(_root.firechecked[_root._currentframe - 50] + 2); } } movieClip 7040 { frame 1 { stop(); } } movieClip 7042 { frame 1 { stop(); } frame 2 { switch (_root.firechecked[_root._currentframe - 50]) { case 0: _root.choicetext = 'A stone fireplace. There is wood sitting ready, but the ashes are cold.'; _root.choiceA = 'Start a Fire.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); break; case 1: _root.choicetext = 'A stone fireplace. There is a small fire still smoldering.'; _root.choiceA = 'Stoke fire a bit.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); break; default: _root.choicetext = 'A stone fireplace. There is a cozy fire burning.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.firechecked[_root._currentframe - 50] = 2; fire.gotoAndPlay(1); _root.camframe.dark.gotoAndStop(2); _root.held = 0; stop(); } } frame 57 { _root.camframe.hero._xscale = 100; if (_root.firechecked[_root._currentframe - 50] < 2) { _root.camframe.dark.gotoAndStop(3); } _root.maxitems = 6; _root.doorleftgo = _root._currentframe - 3; _root.doorleftgox = 500; _root.attachMovie('heightbox', 'topbox1201', 1201); _root.crawl1.swapDepths(_root.topbox1201); _root.topbox1201.unloadMovie(); if (_root.quest_savemage < 5 or _root.quest_savemage > 6 or Math.floor(_root.player / 10) == 1) { loadMovie('', _root.obj6); } } movieClip 7045 { } movieClip 7047 { } movieClip 7048 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7052 { frame 1 { gotoAndStop(_root.firechecked[_root._currentframe - 50] + 2); } } movieClip 7054 { frame 1 { stop(); } frame 2 { switch (_root.firechecked[_root._currentframe - 50]) { case 0: _root.choicetext = 'A stone fireplace. There is wood sitting ready, but the ashes are cold.'; _root.choiceA = 'Start a Fire.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); break; case 1: _root.choicetext = 'A stone fireplace. There is a small fire still smoldering.'; _root.choiceA = 'Stoke fire a bit.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); break; default: _root.choicetext = 'A stone fireplace. There is a cozy fire burning.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'A stone fireplace. With the fire extinguished, you now see a small tunnel you could crawl through.'; _root.choiceA = 'Build a new fire.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.firechecked[_root._currentframe - 50] = 2; fire.gotoAndPlay(1); _root.camframe.dark.gotoAndStop(2); _root.held = 0; stop(); } } movieClip 7056 { frame 1 { if (_root.LeiLeiRobeHat == 1) { gotoAndStop(7); } if (_root.LeiLeiRobeHat == 2) { gotoAndStop(12); } if (_root.LeiLeiRobeHat == 3) { gotoAndStop(17); } stop(); } frame 2 { if (_root.GotTravelingRobes > 0) { _root.choicetext = 'Coatracks filled with stater wizard robes & hats. Although clearly sized for childern, there\'s one large one robe that might fit you.'; } else { _root.choicetext = 'Coatracks filled with stater wizard robes & hats.'; } if (_root.GotTravelingRobes > 0) { _root.choiceA = 'Get Traveller\'s Robe'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = 'Get Starter Wizard\'s Hat'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { --_root.GotTravelingRobes; _root.held = 901; _root.itemselect = 2; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 11; _root.itemnewh = 100; stop(); } frame 105 { _root.held = 901; _root.itemselect = 3; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 2; _root.itemnewh = 601; stop(); } } movieClip 7058 { } movieClip 7060 { } movieClip 7062 { frame 1 { stop(); } frame 2 { _root.choicetext = 'A washbasin. You can wash your face here.'; _root.choiceA = 'Wash up'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { if (_root.cumface < 5) { _root.cumface = 5; _root.camframe.hero.gotoAndPlay(8); } _root.held = 0; stop(); } } movieClip 7065 { frame 1 { stop(); } frame 2 { var gotdeathwand = 0; if (_root.wpn == 13) { gotdeathwand = 2; } if (_root.backpack1 == 13 and _root.backpack1h == 301) { gotdeathwand = 2; } if (_root.backpack2 == 13 and _root.backpack2h == 301) { gotdeathwand = 2; } if (_root.backpack3 == 13 and _root.backpack3h == 301) { gotdeathwand = 2; } if (_root.backpack4 == 13 and _root.backpack4h == 301) { gotdeathwand = 2; } _root.choicetext = 'This shelf contains a pile of basic wands, as well as some schoolbooks.'; _root.choiceA = 'Take a basic wand'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); if (gotdeathwand < 2) { if (_root.spirit >= 5) { _root.choiceD = '(Spirit) Search around a bit more.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = '(Spirit) Search around a bit more.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } } else { _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'You sense dark magic nearby. Searching around reveals a wand sized box on the top shelf.'; _root.choiceA = 'Take a basic wand'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = 'Take Deathwand'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 11; _root.itemnewh = 301; } frame 156 { if (gotdeathwand == 0) { gotdeathwand = 1; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(11); } else { _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 13; _root.itemnewh = 301; } stop(); } } movieClip 7067 { } movieClip 7076 { frame 1 { stop(); } frame 2 { if (_root.act2clear >= 10) { gotAndStop(11); } _root.choicetext = 'Lei Lei looks bruised, tired, & very concerned. She is clearly glad to see you.'; _root.choiceA = 'What is this place?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'What happened here?'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = 'Are you ok?'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'Lei Lei thanks you for a job well done.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.held = 0; stop(); } frame 106 { _root.held = 0; stop(); } frame 155 { _root.held = 0; stop(); } } movieClip 7078 { frame 1 { if (_root.firechecked[_root._currentframe - 50 + 3] < 2) { loadMovie('', smoke); } stop(); } frame 2 { _root.choicetext = 'A simple straw bed.'; if (_root.quest_savemage < 5 or _root.quest_savemage > 6) { _root.choiceA = 'It\'s not safe to rest here.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(6); } else { _root.choiceA = 'Take a quick rest.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.health = _root.maxhealth; _root.fadeout.gotoAndPlay(25); stop(); } } frame 58 { _root.camframe.dark.gotoAndStop(2); removeMovieClip(_root.crawl1); removeMovieClip(_root.crawl2); _root.maxitems = 3; _root.doorleftgo = 54; _root.doorleftgox = 1250; _root.doorrightgo = 62; _root.doorrightgox = -1500; } movieClip 7080 { } movieClip 7082 { } movieClip 7083 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7097 { frame 1 { if (_root.firechecked[_root._currentframe - 50 + 2] < 2) { loadMovie('', smoke); } stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 30 { _root.gohere = _root._currentframe + 2; if (_root._currentframe == 58) { if (_root.camframe._x < 0) { _root.gox = -1800; } else { _root.gox = 4800; } } else { _root.gox = -1800; } _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 7099 { frame 2 { if (_root._currentframe == 58) { _root.choicetext = 'This road runs through HoppyKin Village. In the distance, you can see what looks like a Human camp to the West (up).'; } else { _root.choicetext = 'This road runs through HoppyKin Village. You think you see traces of an Elvin camp farther to the East (down).'; } _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = '(Go Up) Head West.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = '(Go Down) Head East.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 101 { if (_root._currentframe == 58) { _root.gohere = 78; _root.gox = -1750; } else { _root.gohere = 58; _root.gox = _root.camframe._x; } _root.fadeout.gotoAndPlay(1); stop(); } frame 151 { if (_root._currentframe == 70) { _root.gohere = 82; _root.gox = -1750; } else { _root.gohere = 70; _root.gox = _root.camframe._x; } _root.fadeout.gotoAndPlay(1); stop(); } } frame 60 { if (_root.camframe._x < 0) { _root.camframe.hero._xscale = 100; } else { _root.camframe.hero._xscale = -100; } if (_root.firechecked[_root._currentframe - 50] < 2) { _root.camframe.dark.gotoAndStop(3); } _root.maxitems = 1; _root.doorleftgo = _root._currentframe - 2; _root.doorleftgox = -450; _root.doorrightgo = _root._currentframe - 2; _root.doorrightgox = 750; _root.attachMovie('heightbox', 'topbox1201', 1201); _root.crawl1.swapDepths(_root.topbox1201); _root.topbox1201.unloadMovie(); _root.attachMovie('heightbox', 'topbox1202', 1202); _root.crawl2.swapDepths(_root.topbox1202); _root.topbox1202.unloadMovie(); if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { i = 0; b = 0; var a = 0; var MaxMonsters = 4 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { if (Math.random() < 0.7) { b = Math.floor(Math.random() * 2) + 28; if (b == 30) { b = 29; } } else { if (Math.random() < 0.5) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } } else { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } } } addmobs(b, 500, 2500, 300, 0); ++i; } } } } movieClip 7101 { frame 1 { this.cacheAsBitmap = true; } } frame 62 { _root.camframe.dark.gotoAndStop(2); removeMovieClip(_root.crawl1); _root.maxitems = 2; _root.doorleftgo = 58; _root.doorleftgox = 2500; var dropR14 = false; if (_root.R14Loc == _root._currentframe) { dropR14 = true; } if (_root.acc == 14) { dropR14 = false; } if (_root.backpack1 == 14 and _root.backpack1h == 601) { dropR14 = false; } if (_root.backpack2 == 14 and _root.backpack2h == 601) { dropR14 = false; } if (_root.backpack3 == 14 and _root.backpack3h == 601) { dropR14 = false; } if (_root.backpack4 == 14 and _root.backpack4h == 601) { dropR14 = false; } if (dropR14 == true) { var NewItemNumber = 614; ++_root.maxitems; var itemnumber = _root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber); _root['obj_drop_ani' + itemnumber]._x = 1150; _root['obj_drop_ani' + itemnumber]._xscale = 100; _root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber); } if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { _root.firechecked[_root._currentframe - 50] = 2; i = 0; b = 0; var a = 0; var MaxMonsters = 2 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { if (Math.random() < 0.7) { b = Math.floor(Math.random() * 2) + 28; if (b == 30) { b = 29; } } else { if (Math.random() < 0.5) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } } else { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } } } addmobs(b, -750, 1250, 300, 0); ++i; } } } } movieClip 7103 { frame 1 { this.cacheAsBitmap = true; } } frame 63 { _root.camframe.hero._xscale = 100; if (_root.firechecked[_root._currentframe - 50] < 2) { _root.camframe.dark.gotoAndStop(3); } _root.maxitems = 1; _root.doorleftgo = _root._currentframe - 1; _root.doorleftgox = -1100; var dropR14 = false; if (_root.R14Loc == _root._currentframe) { dropR14 = true; } if (_root.acc == 14) { dropR14 = false; } if (_root.backpack1 == 14 and _root.backpack1h == 601) { dropR14 = false; } if (_root.backpack2 == 14 and _root.backpack2h == 601) { dropR14 = false; } if (_root.backpack3 == 14 and _root.backpack3h == 601) { dropR14 = false; } if (_root.backpack4 == 14 and _root.backpack4h == 601) { dropR14 = false; } if (dropR14 == true) { var NewItemNumber = 614; ++_root.maxitems; var itemnumber = _root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber); _root['obj_drop_ani' + itemnumber]._x = 400; _root['obj_drop_ani' + itemnumber]._xscale = 100; _root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber); } if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { i = 0; b = 0; var a = 0; var MaxMonsters = 2 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { if (Math.random() < 0.7) { b = Math.floor(Math.random() * 2) + 28; if (b == 30) { b = 29; } } else { if (Math.random() < 0.5) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } } else { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } } } addmobs(b, -250, 750, 300, 0); ++i; } } } } movieClip 7106 { frame 1 { this.cacheAsBitmap = true; } } frame 64 { _root.camframe.hero._xscale = 100; if (_root.firechecked[_root._currentframe - 50] < 2) { _root.camframe.dark.gotoAndStop(3); } _root.attachMovie('heightbox', 'topbox1201', 1201); _root.crawl1.swapDepths(_root.topbox1201); _root.topbox1201.unloadMovie(); _root.maxitems = 1; _root.doorleftgo = _root._currentframe - 2; _root.doorleftgox = 600; var dropR14 = false; if (_root.R14Loc == _root._currentframe) { dropR14 = true; } if (_root.acc == 14) { dropR14 = false; } if (_root.backpack1 == 14 and _root.backpack1h == 601) { dropR14 = false; } if (_root.backpack2 == 14 and _root.backpack2h == 601) { dropR14 = false; } if (_root.backpack3 == 14 and _root.backpack3h == 601) { dropR14 = false; } if (_root.backpack4 == 14 and _root.backpack4h == 601) { dropR14 = false; } if (dropR14 == true) { var NewItemNumber = 614; ++_root.maxitems; var itemnumber = _root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber); _root['obj_drop_ani' + itemnumber]._x = 2200; _root['obj_drop_ani' + itemnumber]._xscale = 100; _root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber); } if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { i = 0; b = 0; var a = 0; var MaxMonsters = 4 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { if (Math.random() < 0.7) { b = Math.floor(Math.random() * 2) + 28; if (b == 30) { b = 29; } } else { if (Math.random() < 0.5) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } } else { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } } } addmobs(b, -250, 750, 300, 0); ++i; } } } } movieClip 7108 { frame 1 { this.cacheAsBitmap = true; } } frame 66 { _root.camframe.dark.gotoAndStop(2); removeMovieClip(_root.crawl1); removeMovieClip(_root.ShrubLineFront); _root.maxitems = 3; _root.doorrightgo = 70; _root.doorrightgox = -1750; var dropR13 = false; if (_root.R13Loc == _root._currentframe) { dropR13 = true; } if (_root.acc == 13) { dropR13 = false; } if (_root.backpack1 == 13 and _root.backpack1h == 601) { dropR13 = false; } if (_root.backpack2 == 13 and _root.backpack2h == 601) { dropR13 = false; } if (_root.backpack3 == 13 and _root.backpack3h == 601) { dropR13 = false; } if (_root.backpack4 == 13 and _root.backpack4h == 601) { dropR13 = false; } if (dropR13 == true) { var NewItemNumber = 613; ++_root.maxitems; var itemnumber = _root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber); _root['obj_drop_ani' + itemnumber]._x = -2500; _root['obj_drop_ani' + itemnumber]._xscale = 100; _root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber); } if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { _root.firechecked[_root._currentframe - 50] = 2; i = 0; b = 0; var a = 0; var MaxMonsters = 2 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { if (Math.random() < 0.7) { b = Math.floor(Math.random() * 2) + 28; if (b == 30) { b = 29; } } else { if (Math.random() < 0.5) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } } else { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } } } addmobs(b, -750, 1250, 300, 0); ++i; } } } } movieClip 7110 { frame 1 { this.cacheAsBitmap = true; } } frame 67 { _root.camframe.hero._xscale = 100; if (_root.firechecked[_root._currentframe - 50] < 2) { _root.camframe.dark.gotoAndStop(3); } _root.maxitems = 2; _root.doorleftgo = _root._currentframe - 1; _root.doorleftgox = 900; var dropR13 = false; if (_root.R13Loc == _root._currentframe) { dropR13 = true; } if (_root.acc == 13) { dropR13 = false; } if (_root.backpack1 == 13 and _root.backpack1h == 601) { dropR13 = false; } if (_root.backpack2 == 13 and _root.backpack2h == 601) { dropR13 = false; } if (_root.backpack3 == 13 and _root.backpack3h == 601) { dropR13 = false; } if (_root.backpack4 == 13 and _root.backpack4h == 601) { dropR13 = false; } if (dropR13 == true) { var NewItemNumber = 613; ++_root.maxitems; var itemnumber = _root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber); _root['obj_drop_ani' + itemnumber]._x = 200; _root['obj_drop_ani' + itemnumber]._xscale = 100; _root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber); } if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { i = 0; b = 0; var a = 0; var MaxMonsters = 2 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { if (Math.random() < 0.7) { b = Math.floor(Math.random() * 2) + 28; if (b == 30) { b = 29; } } else { if (Math.random() < 0.5) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } } else { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } } } addmobs(b, 0, 500, 300, 0); ++i; } } } } movieClip 7112 { frame 1 { this.cacheAsBitmap = true; } } frame 68 { _root.camframe.hero._xscale = 100; if (_root.firechecked[_root._currentframe - 50] < 2) { _root.camframe.dark.gotoAndStop(3); } _root.attachMovie('heightbox', 'topbox1201', 1201); _root.crawl1.swapDepths(_root.topbox1201); _root.topbox1201.unloadMovie(); _root.maxitems = 1; _root.doorleftgo = _root._currentframe - 2; _root.doorleftgox = -1000; var dropR13 = false; if (_root.R13Loc == _root._currentframe) { dropR13 = true; } if (_root.acc == 13) { dropR13 = false; } if (_root.backpack1 == 13 and _root.backpack1h == 601) { dropR13 = false; } if (_root.backpack2 == 13 and _root.backpack2h == 601) { dropR13 = false; } if (_root.backpack3 == 13 and _root.backpack3h == 601) { dropR13 = false; } if (_root.backpack4 == 13 and _root.backpack4h == 601) { dropR13 = false; } if (dropR13 == true) { var NewItemNumber = 613; ++_root.maxitems; var itemnumber = _root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber); _root['obj_drop_ani' + itemnumber]._x = 2200; _root['obj_drop_ani' + itemnumber]._xscale = 100; _root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber); } if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { i = 0; b = 0; var a = 0; var MaxMonsters = 2 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { if (Math.random() < 0.7) { b = Math.floor(Math.random() * 2) + 28; if (b == 30) { b = 29; } } else { if (Math.random() < 0.5) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } } else { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } } } addmobs(b, 1000, 3000, 300, 0); ++i; } } } } movieClip 7114 { frame 1 { this.cacheAsBitmap = true; } } frame 70 { _root.camframe.dark.gotoAndStop(2); _root.maxitems = 2; _root.doorleftgo = 66; _root.doorleftgox = 1400; _root.doorrightgo = 74; _root.doorrightgox = -1750; if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { i = 0; b = 0; var a = 0; var MaxMonsters = 2 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { b = Math.floor(Math.random() * 2) + 28; if (b == 30) { b = 29; } addmobs(b, -750, 1250, 300, 0); ++i; } } } } movieClip 7116 { frame 1 { this.cacheAsBitmap = true; } } frame 71 { removeMovieClip(_root.crawl1); if (_root.camframe._x < 0) { _root.camframe.hero._xscale = 100; } else { _root.camframe.hero._xscale = -100; } _root.maxitems = 5; _root.doorleftgo = 70; _root.doorleftgox = 100; _root.firechecked[20] = 2; } movieClip 7118 { } movieClip 7122 { } movieClip 7124 { frame 1 { if (_root.act2clear >= 10) { stop(); } } frame 2 { stop(); } } movieClip 7126 { frame 1 { stop(); } frame 2 { if (_root.act2clear < 10) { gotoAndPlay(41); } else { var funtime = 0; _root.choicetext = 'You see an outright orgy behind the curtain. Looks like the bunnykin are doing what they know best.'; _root.choiceA = 'Join the fun with a single partner.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Join the fun with two partners.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); } stop(); } frame 11 { _root.choicetext = 'You see an outright orgy behind the curtain. Looks like the bunnykin are doing what they know best.'; _root.choiceA = 'Find a male bunnykin.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Find a female bunnykin.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 21 { _root.choicetext = 'You see an outright orgy behind the curtain. Looks like the bunnykin are doing what they know best.'; _root.choiceA = 'Find two male bunnykins.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Find a male and a female bunnykin.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = 'Fine two female bunnykins.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 41 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 45 { _root.gohere = 72; _root.gox = _root.camframe._x; _root.fadeout.gotoAndPlay(1); stop(); } frame 56 { if (funtime == 0) { funtime = 10; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(11); } else { if (_root.armor > 1) { NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25); _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.grapple = 25; _root.held = 1100; _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; if (funtime == 10) { _root.camframe.hero.gotoAndStop(69); _root.BGA.push([28, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0; monscale = 50 + _root.BGA[0][1] * 10; } else { _root.camframe.hero.gotoAndStop(124); _root.BGA.push([28, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([28, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); monscale2 = 100; monscale = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; } } stop(); } frame 105 { if (funtime == 0) { funtime = 20; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(21); } else { if (_root.armor > 1) { NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25); _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.grapple = 25; _root.held = 1100; _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; if (funtime == 10) { _root.camframe.hero.gotoAndStop(70); _root.BGA.push([29, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); monscale = 50 + _root.BGA[0][1] * 10; } else { _root.camframe.hero.gotoAndStop(125); _root.BGA.push([28, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([29, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); monscale2 = 100; monscale = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; } } stop(); } frame 155 { if (_root.armor > 1) { NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25); _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.grapple = 25; _root.held = 1100; _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; _root.camframe.hero.gotoAndStop(126); _root.BGA.push([29, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([29, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); monscale2 = 100; monscale = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; stop(); } } movieClip 7133 { } movieClip 7134 { frame 1 { if (_root.act2clear < 2) { gotoAndStop(5); } } frame 3 { stop(); } } movieClip 7140 { } movieClip 7141 { frame 1 { if (_root.act2clear < 3) { if (_root.act2clear !== 1) { gotoAndStop(5); } } } frame 3 { stop(); } } movieClip 7146 { frame 1 { stop(); } frame 2 { if (_root.act2clear >= 3) { gotoAndStop(11); } else { if (_root.act2clear == 0) { _root.choicetext = 'You see stairs leading down, but three more wardstones block your path. Oddly, the center one appears to have already been deactivated.'; } else { _root.choicetext = 'You see stairs leading down, but one remaining ward is still blocking the entryway.'; } } _root.choiceA = 'Attempt to go down the stairs'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); if (_root.spirit >= 5) { _root.choiceD = '(Spirit Check) Study the stairway'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = '(Spirit Check) Study the stairway'; _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'You see stairs leading down. All three wardstones have been deactivated.'; _root.choiceA = 'Go down the stairs'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { if (_root.act2clear == 3) { gotoAndPlay(71); } if (_root.act2clear > 3) { gotoAndPlay(61); } } frame 56 { _root.held = 0; stop(); } frame 65 { _root.gohere = 73; if (_root._currentframe == 71) { _root.gox = -2500; } else { _root.gox = 3000; } _root.fadeout.gotoAndPlay(1); stop(); } frame 76 { _root.act2clear = 10; _root.gamestart == 'Act3Start'; if (_root.quest_opencastle < 3) { _root.quest_opencastle = 3; } _root.gohere = 15; _root.gox = 0; _root.fadeout.gotoAndPlay(1); stop(); } frame 155 { _root.held = 0; stop(); } } frame 72 { _root.maxitems = 5; if (_root.KFoxHealth < 110 and _root.player >= 10) { _root.maxitems += 1; _root.attachMovie('Quest_RescueKFox', 'obj6', 306); _root.obj6._x = -2800; _root.obj6._y = 355; if (_root.KFoxHealth < 105) { addmobs(28, -2200, -2200, 0, 2); _root.bghb0._y = 1000; addmobs(28, -2600, -2600, 0, 2); _root.bg1.gotoAndStop(27); _root.bghb1._y = 1000; } } else { if (_root.act2clear < 10) { i = 0; b = 0; var a = 0; var MaxMonsters = 4 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { b = Math.floor(Math.random() * 2) + 28; if (b == 30) { b = 29; } addmobs(b, -2000, 2500, 300, 0); ++i; } } } } movieClip 7148 { } movieClip 7150 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 5 { _root.gohere = 71; _root.gox = _root.camframe._x; _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 7152 { frame 1 { if (_root.quest_gettorch > 0) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 7154 { frame 1 { stop(); } frame 2 { if (_root.quest_gettorch > 0) { gotoAndStop(11); } _root.choicetext = 'The mounting on this magical torch is damaged. You could probably pry it out & use it to light any dark rooms.'; _root.choiceA = 'Get Torch'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'You see a broken mounting for a torch.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.quest_gettorch = 1; torch.gotoAndPlay(1); _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 23; _root.itemnewh = 301; stop(); } } frame 73 { if (_root.camframe._x < 0) { _root.camframe.hero._xscale = 100; } else { _root.camframe.hero._xscale = -100; } _root.maxitems = 5; _root.attachMovie('heightbox', 'topbox1201', 1201); _root.crawl1.swapDepths(_root.topbox1201); _root.topbox1201.unloadMovie(); } movieClip 7156 { } movieClip 7161 { frame 1 { stop(); } frame 2 { _root.box3.gotoAndStop(1); _root.held = 905; play(); } frame 5 { if (_root.camframe._x < 0) { _root.gohere = 71; _root.gox = 3000; } else { _root.gohere = 77; _root.gox = -2000; } _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 7163 { } movieClip 7165 { frame 1 { stop(); } frame 2 { if (_root.GotGreenDress > 0) { _root.choicetext = 'A clothing rack. Looks like the matron really likes the color green. In back you think there might be one dress that could fit you.'; } else { _root.choicetext = 'A clothing rack. Looks like the matron really likes the color green.'; } if (_root.GotGreenDress > 0) { _root.choiceA = 'Get green summer dress.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { --_root.GotGreenDress; _root.held = 901; _root.itemselect = 2; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 61; _root.itemnewh = 100; stop(); } } movieClip 7167 { frame 1 { if (_root.wpn == 43) { gotoAndStop(3); } if (_root.backpack1 == 43 and _root.backpack1h == 301) { gotoAndStop(3); } if (_root.backpack2 == 43 and _root.backpack2h == 301) { gotoAndStop(3); } if (_root.backpack3 == 43 and _root.backpack3h == 301) { gotoAndStop(3); } if (_root.backpack4 == 43 and _root.backpack4h == 301) { gotoAndStop(3); } } frame 2 { stop(); } frame 4 { stop(); } } movieClip 7169 { frame 1 { if (_root.wpn == 12) { gotoAndStop(3); } if (_root.backpack1 == 12 and _root.backpack1h == 301) { gotoAndStop(3); } if (_root.backpack2 == 12 and _root.backpack2h == 301) { gotoAndStop(3); } if (_root.backpack3 == 12 and _root.backpack3h == 301) { gotoAndStop(3); } if (_root.backpack4 == 12 and _root.backpack4h == 301) { gotoAndStop(3); } } frame 2 { stop(); } frame 4 { stop(); } } movieClip 7170 { frame 1 { if (_root.quest_HumanStash < 2) { gotoAndStop(201); } stop(); } frame 2 { var gotfirewand = false; if (_root.wpn == 12) { gotfirewand = true; } if (_root.backpack1 == 12 and _root.backpack1h == 301) { gotfirewand = true; } if (_root.backpack2 == 12 and _root.backpack2h == 301) { gotfirewand = true; } if (_root.backpack3 == 12 and _root.backpack3h == 301) { gotfirewand = true; } if (_root.backpack4 == 12 and _root.backpack4h == 301) { gotfirewand = true; } if (gotfirewand == true) { firewand.gotoAndStop(3); } var gotfirestaff = false; if (_root.wpn == 43) { gotfirestaff = true; } if (_root.backpack1 == 43 and _root.backpack1h == 301) { gotfirestaff = true; } if (_root.backpack2 == 43 and _root.backpack2h == 301) { gotfirestaff = true; } if (_root.backpack3 == 43 and _root.backpack3h == 301) { gotfirestaff = true; } if (_root.backpack4 == 43 and _root.backpack4h == 301) { gotfirestaff = true; } if (gotfirestaff == true) { firestaff.gotoAndStop(3); } _root.choicetext = 'This rock has been roughly carved to make a small table.'; if (gotfirewand == false) { _root.choiceA = 'Get fire wand.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } if (gotfirestaff == false) { _root.choiceS = 'Get staff of fire.'; if (_root.player % 10 !== 3) { _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonS.gotoAndStop(6); } } else { _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); } _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 12; _root.itemnewh = 301; firewand.gotoAndStop(3); stop(); } frame 106 { _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 43; _root.itemnewh = 301; firestaff.gotoAndStop(3); stop(); } } movieClip 7175 { frame 1 { stop(); } frame 2 { _root.choicetext = 'The bunnykin matron seems to have halted the ritual that was driving the town crazy.'; _root.choiceA = 'Glad I could help. Is there anything else I can do?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.held = 0; stop(); } } frame 74 { _root.camframe.dark.gotoAndStop(2); _root.maxitems = 4; _root.doorleftgo = 70; _root.doorleftgox = 2600; _root.doorrightgo = 88; _root.doorrightgox = -1750; } movieClip 7176 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7182 { frame 1 { if (_root.quest_helpdunecrawler == 10) { gotoAndStop(3); } else { if (_root.quest_helpdunecrawler > 0) { if (_root.quest_helpdunecrawler % 2 == 1) { gotoAndStop(3); } } } } frame 2 { stop(); } } movieClip 7187 { frame 1 { if (_root.quest_helpdunecrawler >= 4) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 7192 { frame 1 { if (_root.quest_helpdunecrawler == 10) { gotoAndStop(3); } else { if (_root.quest_helpdunecrawler > 0) { if (_root.quest_helpdunecrawler % 4 >= 2) { gotoAndStop(3); } } } } frame 2 { stop(); } } // unknown tag 88 length 4 movieClip 7210 { frame 1 { if (_root.act2clear >= 10) { this.unloadMovie(); } stop(); } frame 2 { if (_root.quest_helpdunecrawler >= 10) { gotoAndStop(21); } else { if (_root.quest_helpdunecrawler >= 0) { gotoAndStop(11); } } if (Math.floor(_root.player / 10) == 0) { _root.choicetext = 'You see a large machine blocking the path out of the village. It appears to be a vehicle of some sort.'; } else { _root.choicetext = 'You see a dunecrawler blocking the path out of the village. Merchants use these vehicles to travel the wastelands.'; } _root.choiceA = '(Knock/Say): Hello?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { var haveparts = false; if (_root.acc == 13 or _root.acc == 14 or _root.acc == 15) { haveparts = true; } if ((_root.backpack1 == 13 or _root.backpack1 == 14 or _root.backpack1 == 15) and _root.backpack1h == 601) { haveparts = true; } if ((_root.backpack2 == 13 or _root.backpack2 == 14 or _root.backpack2 == 15) and _root.backpack2h == 601) { haveparts = true; } if ((_root.backpack3 == 13 or _root.backpack3 == 14 or _root.backpack3 == 15) and _root.backpack3h == 601) { haveparts = true; } if ((_root.backpack4 == 13 or _root.backpack4 == 14 or _root.backpack4 == 15) and _root.backpack4h == 601) { haveparts = true; } if (Math.floor(_root.player / 10) == 0) { _root.choicetext = 'You see a large vehicle blocking the path out of the village. The driver sounds quite angry.'; } else { _root.choicetext = 'You see a dunecrawler blocking the path out of the village. The driver sounds quite angry.'; } _root.choiceA = '(say): What are you doing here?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); if (_root.quest_helpdunecrawler >= 0) { if (haveparts == true) { _root.choiceD = '(say): I think I found some parts for your dunecrawler.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = '(say): Is it running yet?'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } } else { _root.choiceD = '(spirit / say): Why are you blocking the road?'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 21 { _root.choicetext = 'You\'re standing in front of a dunecrawler. The owner seems happy to stay inside for now.'; _root.choiceA = 'Okay, so now what?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'You made this backpack? Got anything else?'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { if (_root.quest_helpdunecrawler >= 10) { gotoAndPlay(71); } else { if (_root.quest_helpdunecrawler >= 0) { gotoAndPlay(61); } } } frame 55 { _root.quest_helpdunecrawler = 0; _root.held = 0; stop(); } frame 65 { _root.held = 0; stop(); } frame 75 { _root.held = 0; stop(); } frame 105 { _root.held = 0; stop(); } frame 151 { if (_root.quest_helpdunecrawler < 0) { gotoAndPlay(161); } else { if (_root.acc == 13 or _root.backpack1 == 13 or _root.backpack2 == 13 or _root.backpack3 == 13 or _root.backpack4 == 13) { gotoAndPlay(171); } else { if (_root.acc == 14 or _root.backpack1 == 14 or _root.backpack2 == 14 or _root.backpack3 == 14 or _root.backpack4 == 14) { gotoAndPlay(176); } else { if (_root.acc == 15 or _root.backpack1 == 15 or _root.backpack2 == 15 or _root.backpack3 == 15 or _root.backpack4 == 15) { gotoAndPlay(181); } } } } } frame 155 { _root.held = 0; stop(); } frame 165 { _root.quest_helpdunecrawler = 0; _root.held = 0; stop(); } frame 171 { _root.quest_helpdunecrawler += 1; _root.R13Loc = 0; r13.gotoAndPlay(1); if (_root.acc == 13) { _root.acc = 1; _root.camframe.box.invacc.gotoAndPlay(1); } else { if (_root.backpack1 == 13 and _root.backpack1h == 601) { _root.backpack1 = 1; _root.backpack1h = 301; _root.camframe.box.invb1.gotoAndPlay(1); } else { if (_root.backpack2 == 13 and _root.backpack2h == 601) { _root.backpack2 = 1; _root.backpack2h = 301; _root.camframe.box.invb2.gotoAndPlay(1); } else { if (_root.backpack3 == 13 and _root.backpack3h == 601) { _root.backpack3 = 1; _root.backpack3h = 301; _root.camframe.box.invb3.gotoAndPlay(1); } else { if (_root.backpack4 == 13 and _root.backpack4h == 601) { _root.backpack4 = 1; _root.backpack4h = 301; _root.camframe.box.invb4.gotoAndPlay(1); } } } } } if (_root.quest_helpdunecrawler == 7) { gotoAndPlay(186); } } frame 175 { _root.held = 0; stop(); } frame 176 { _root.quest_helpdunecrawler += 2; _root.R14Loc = 0; r14.gotoAndPlay(1); if (_root.acc == 14) { _root.acc = 1; _root.camframe.box.invacc.gotoAndPlay(1); } else { if (_root.backpack1 == 14 and _root.backpack1h == 601) { _root.backpack1 = 1; _root.backpack1h = 301; _root.camframe.box.invb1.gotoAndPlay(1); } else { if (_root.backpack2 == 14 and _root.backpack2h == 601) { _root.backpack2 = 1; _root.backpack2h = 301; _root.camframe.box.invb2.gotoAndPlay(1); } else { if (_root.backpack3 == 14 and _root.backpack3h == 601) { _root.backpack3 = 1; _root.backpack3h = 301; _root.camframe.box.invb3.gotoAndPlay(1); } else { if (_root.backpack4 == 14 and _root.backpack4h == 601) { _root.backpack4 = 1; _root.backpack4h = 301; _root.camframe.box.invb4.gotoAndPlay(1); } } } } } if (_root.quest_helpdunecrawler == 7) { gotoAndPlay(186); } } frame 180 { _root.held = 0; stop(); } frame 181 { _root.quest_helpdunecrawler += 4; _root.R15Loc = 0; r15.gotoAndPlay(1); if (_root.acc == 15) { _root.acc = 1; _root.camframe.box.invacc.gotoAndPlay(1); } else { if (_root.backpack1 == 15 and _root.backpack1h == 601) { _root.backpack1 = 1; _root.backpack1h = 301; _root.camframe.box.invb1.gotoAndPlay(1); } else { if (_root.backpack2 == 15 and _root.backpack2h == 601) { _root.backpack2 = 1; _root.backpack2h = 301; _root.camframe.box.invb2.gotoAndPlay(1); } else { if (_root.backpack3 == 15 and _root.backpack3h == 601) { _root.backpack3 = 1; _root.backpack3h = 301; _root.camframe.box.invb3.gotoAndPlay(1); } else { if (_root.backpack4 == 15 and _root.backpack4h == 601) { _root.backpack4 = 1; _root.backpack4h = 301; _root.camframe.box.invb4.gotoAndPlay(1); } } } } } if (_root.quest_helpdunecrawler == 7) { gotoAndPlay(186); } } frame 185 { _root.held = 0; stop(); } frame 186 { _root.quest_helpdunecrawler = 10; } frame 190 { if (_root.backpack2 == -1) { _root.backpack2 = 1; _root.backpack2h = 301; } if (_root.backpack3 == -1) { _root.backpack3 = 1; _root.backpack3h = 301; _root.camframe.box.invbox.gotoAndPlay(2); } _root.held = 0; stop(); } } movieClip 7211 { frame 1 { if (_root.act2clear >= 10) { this.unloadMovie(); } } } movieClip 7215 { frame 1 { if (_root.act2clear < 10) { this.unloadMovie(); } stop(); } frame 2 { _root.choicetext = 'Now that everyone is settling down again, it seems this merchant is almost ready to open his shop.'; _root.choiceA = '(Knock/Say): Hello?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { if (_root.quest_helpdunecrawler >= 10) { gotoAndPlay(71); } else { if (_root.quest_helpdunecrawler >= 0) { gotoAndPlay(61); } } } frame 55 { _root.held = 0; stop(); } frame 105 { _root.held = 0; stop(); } frame 155 { _root.held = 0; stop(); } } frame 76 { _root.camframe.hero._xscale = 100; if (_root.firechecked[_root._currentframe - 50] < 2) { _root.camframe.dark.gotoAndStop(3); } _root.maxitems = 1; _root.doorleftgo = _root._currentframe - 2; _root.doorleftgox = 500; } movieClip 7217 { frame 1 { this.cacheAsBitmap = true; } } frame 77 { if (_root.camframe._x > -1900) { _root.camframe.hero._xscale = -100; _root.camframe._x = 3100; if (_root.firechecked[_root._currentframe - 50] < 2) { _root.camframe.dark.gotoAndStop(3); } _root.leftwall.gotoAndStop(3); _root.rightwall.gotoAndStop(3); } else { _root.camframe.hero._xscale = 100; if (_root.firechecked[_root._currentframe - 50] < 2) { _root.camframe.dark.gotoAndStop(3); } _root.leftwall.gotoAndStop(3); _root.leftwall.gotoAndStop(3); _root.rightwall.gotoAndStop(3); } _root.maxitems = 3; _root.doorrightgo = _root._currentframe - 3; _root.doorrightgox = -900; removeMovieClip(_root.crawl1); } movieClip 7219 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7225 { frame 1 { stop(); } frame 2 { if (_root.firechecked[_root._currentframe - 50] == 0) { gotoAndStop(11); } if (_root.firechecked[_root._currentframe - 50] == 1) { _root.choicetext = 'A stone fireplace. There is a small fire still smoldering.'; _root.choiceA = 'Stoke fire a bit.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choicetext = 'A stone fireplace. There is a cozy fire burning.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); if (_root.spirit >= 5) { _root.choiceD = '(Spirit Check) Search fireplace'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = '(Spirit Check) Search fireplace'; _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'A stone fireplace. With the fire extinguished, you now see a small tunnel you could crawl through.'; _root.choiceA = 'Build a new fire.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.firechecked[_root._currentframe - 50] = 2; fire.gotoAndPlay(1); _root.camframe.dark.gotoAndStop(2); overlay.gotoAndStop(1); _root.leftwall.gotoAndStop(2); _root.held = 0; stop(); } frame 156 { _root.firechecked[_root._currentframe - 50] = 0; fire.gotoAndPlay(1); _root.camframe.dark.gotoAndStop(3); overlay.gotoAndStop(3); _root.leftwall.gotoAndStop(3); _root.held = 0; stop(); } } movieClip 7227 { frame 1 { stop(); } frame 2 { if (_root.firechecked[_root._currentframe - 50] == 0) { gotoAndStop(11); } if (_root.firechecked[_root._currentframe - 50] == 1) { _root.choicetext = 'A stone fireplace. There is a small fire still smoldering.'; _root.choiceA = 'Stoke fire a bit.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choicetext = 'A stone fireplace. There is a cozy fire burning.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); if (_root.spirit >= 5) { _root.choiceD = '(Spirit Check) Search fireplace'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { if (_root._currentframe == 77) { _root.choiceD = 'Extinguish Fire'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = '(Spirit Check) Search fireplace'; _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'A stone fireplace. With the fire extinguished, you now see a small tunnel you could crawl through.'; _root.choiceA = 'Build a new fire.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.firechecked[_root._currentframe - 50] = 2; fire.gotoAndPlay(1); _root.camframe.dark.gotoAndStop(2); overlay.gotoAndStop(1); _root.rightwall.gotoAndStop(2); _root.held = 0; stop(); } frame 156 { _root.firechecked[_root._currentframe - 50] = 0; fire.gotoAndPlay(1); _root.camframe.dark.gotoAndStop(3); overlay.gotoAndStop(3); _root.rightwall.gotoAndStop(3); _root.held = 0; stop(); } } movieClip 7228 { frame 2 { stop(); } } frame 78 { _root.maxitems = 2; if (_root.camframe._x < 0) { _root.camframe.hero._xscale = 100; } _root.doorleftgo = 58; _root.doorleftgox = 1850; _root.doorrightgo = 80; _root.doorrightgox = -1750; if (_root.quest_HelpBeka == 2) { _root.quest_HelpBeka = 3; } if (_root.quest_HumanStash > 1) { _root.quest_HumanStash = 1; } if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { _root.firechecked[_root._currentframe - 50] = 2; i = 0; b = 0; var a = 0; var MaxMonsters = 3 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } addmobs(b, -750, 1250, 300, 0); ++i; } } } } movieClip 7229 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7232 { frame 2 { if (_root._currentframe == 78) { gotoAndStop(11); } _root.choicetext = 'There is a shallow path here leading to the opposite side of the village.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = '(Go Up) Move to West side of village.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'There is a shallow path here leading deeper into the human camp.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = '(Go Up) Walk into human encampment.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 101 { if (_root._currentframe == 78) { _root.gohere = 79; _root.gox = 1400; } else { _root.gohere = _root._currentframe - 12; _root.gox = _root.camframe._x; } _root.fadeout.gotoAndPlay(1); stop(); } frame 151 { _root.gohere = _root._currentframe + 12; _root.gox = _root.camframe._x; _root.fadeout.gotoAndPlay(1); stop(); } } movieClip 7239 { frame 1 { if (_root.quest_openhuman > 0) { gotoAndStop(50); } } frame 40 { gotoAndPlay(2); } } movieClip 7245 { frame 1 { stop(); } frame 2 { if (_root.quest_openhuman > 0) { gotoAndStop(11); } _root.choicetext = 'This tent is much larger than the others, and appears to be guarded by a magical barrier.'; _root.choiceA = 'Attempt to cross the ward.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); if (_root.spirit >= 5) { _root.choiceD = '(Spirit Check) Study ward'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = '(Spirit Check) Study ward'; _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'With the ward deactivated, you are free to enter the tent.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { if (Math.floor(_root.player / 10) == 2) { _root.quest_openhuman = 1; _root.rightwall.gotoAndPlay(1); wardrings.gotoAndPlay(1); } if (_root.wpn == 21 or _root.wpn == 32) { _root.quest_openhuman = 1; _root.rightwall.gotoAndPlay(1); wardrings.gotoAndPlay(1); } if (_root.quest_openhuman > 0) { gotoAndPlay(61); } } frame 56 { _root.held = 0; stop(); } frame 65 { _root.held = 0; stop(); } frame 155 { _root.held = 0; stop(); } } movieClip 7246 { frame 1 { if (_root.quest_openhuman > 0) { gotoAndStop(3); } } frame 2 { stop(); } } frame 79 { _root.maxitems = 2; if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { i = 0; b = 0; var a = 0; var MaxMonsters = 4 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } addmobs(b, -500, 3000, 500, 0); ++i; } } } } movieClip 7247 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7249 { frame 2 { if (_root._currentframe == 79) { gotoAndStop(11); } _root.choicetext = 'There is a shallow path here leading to the opposite side of the village.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = '(Go Down) Move the East side of the village.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'There is a shallow path here leading out of this camp.'; _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = '(Go Down) Leave the camp.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 101 { _root.gohere = _root._currentframe - 12; _root.gox = _root.camframe._x; _root.fadeout.gotoAndPlay(1); stop(); } frame 151 { if (_root._currentframe == 79) { _root.gohere = 78; _root.gox = 750; } else { _root.gohere = _root._currentframe + 12; _root.gox = _root.camframe._x; } _root.fadeout.gotoAndPlay(1); stop(); } } instance of movieClip 7082 { onClipEvent (load) { if (_root.act2clear >= 10) { loadMovie('', this); } } } movieClip 7252 { } movieClip 7254 { frame 1 { if (_root.act2clear < 10) { loadMovie('', this); } stop(); } frame 2 { var funtime = 0; var NewItemNumber = 0; _root.choicetext = 'You hear loud voices from inside. Sounds like the few humans who are still awake have moved the party to this tent.'; _root.choiceA = 'Join the party & find a guy.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Join the party & find a girl.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'After some drink & meriment, you decide now would be a good time to sneak off quietly for some real fun.'; _root.choiceA = 'Sneak outside with just your partner.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Sneak outside and bring an extra guy.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = 'Sneak outside and bring an extra girl.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { if (funtime == 0) { funtime = 1; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(11); } else { if (_root.armor > 1) { NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25); _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.grapple = 25; _root.held = 1100; if (funtime == 1) { _root.camframe.hero.gotoAndStop(63); _root.BGA.push([22, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); } else { _root.camframe.hero.gotoAndStop(64); _root.BGA.push([23, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); } _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; monscale = 50 + _root.BGA[0][1] * 10; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0; } stop(); } frame 105 { if (funtime == 0) { funtime = 2; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(11); } else { if (_root.armor > 1) { NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25); _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.grapple = 25; _root.held = 1100; if (funtime == 1) { _root.camframe.hero.gotoAndStop(112); _root.BGA.push([22, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([22, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); } else { _root.camframe.hero.gotoAndStop(113); _root.BGA.push([22, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([23, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); } _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; monscale = 100; monscale2 = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; } stop(); } frame 155 { if (_root.armor > 1) { NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25); _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.grapple = 25; _root.held = 1100; if (funtime == 1) { _root.camframe.hero.gotoAndStop(113); _root.BGA.push([22, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([23, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); } else { _root.camframe.hero.gotoAndStop(114); _root.BGA.push([23, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([23, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); } _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; monscale = 100; monscale2 = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; stop(); } } frame 80 { _root.maxitems = 6; _root.doorleftgo = 78; _root.doorleftgox = 2600; if (_root.act2clear < 3) { if (_root.act2clear % 2 < 1) { addmobs(27, 1400, 1400, 0, 2); _root.bghb0._y = 1000; _root.BGA[0][4] = 250; _root.obj1.gotoAndStop(201); _root.obj2.gotoAndStop(201); } } } movieClip 7256 { } movieClip 7258 { } movieClip 7261 { } movieClip 7263 { } movieClip 7264 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7265 { frame 2 { stop(); } } movieClip 7268 { frame 1 { if (_root.quest_HumanStash == 2) { gotoAndStop(11); } } frame 2 { stop(); } } movieClip 7271 { frame 1 { if (_root.quest_HumanStash == 2) { gotoAndStop(11); } } frame 2 { stop(); } } movieClip 7276 { frame 1 { if (_root.quest_HumanStash == 2) { objecthitbox.gotoAndStop(11); } stop(); } frame 2 { _root.choicetext = 'You see a magestic throne.'; _root.choiceA = 'Have a seat.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); if (_root.quest_HumanStash >= 1) { _root.choiceD = 'Push Throne Aside.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = '(Spirit Check) Search Throne.'; if (_root.spirit >= 8) { _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { _root.held = 910; _root.xfinish = 1300; _root.xstart = 1300; _root.camframe._x = 1300; _root.camframe.hero._xscale = 100; _root.camframe.box.gotoAndPlay(61); _root.camframe.hero.gotoAndStop(12); } frame 55 { stop(); } frame 151 { if (_root.quest_HumanStash < 1) { gotoAndPlay(_currentframe + 5); } else { _root.quest_HumanStash = 2; ThroneAni.gotoAndPlay(1); CurtainAni.gotoAndPlay(1); _root.obj5.gotoAndStop(1); _root.rightwall.gotoAndStop(6); } } frame 155 { _root.held = 0; stop(); } frame 156 { _root.quest_HumanStash = 1; } frame 160 { _root.held = 0; stop(); } } movieClip 7278 { frame 3 { stop(); } } movieClip 7282 { } movieClip 7305 { frame 1 { if (_root.quest_HelpBeka == 0) { gotoAndStop(26); } else { if (_root.quest_HelpBeka <= 2) { gotoAndStop(16); } else { var dropchainsofcommand = true; if (_root.acc == 11) { dropchainsofcommand = false; } if (_root.backpack1 == 11 and _root.backpack1h == 601) { dropchainsofcommand = false; } if (_root.backpack2 == 11 and _root.backpack2h == 601) { dropchainsofcommand = false; } if (_root.backpack3 == 11 and _root.backpack3h == 601) { dropchainsofcommand = false; } if (_root.backpack4 == 11 and _root.backpack4h == 601) { dropchainsofcommand = false; } if (dropchainsofcommand == true) { chain.gotoAndStop(2); } else { chain.gotoAndStop(3); } stop(); } } } frame 2 { if (_root.quest_HelpBeka == 0) { gotoAndStop(21); } if (_root.quest_HelpBeka == 1 or _root.quest_HelpBeka == 2) { gotoAndStop(11); } _root.choicetext = 'Looks like Beka is going to make it. Good thing Vendel is already dead, or he\'d be in for a lot of pain.'; _root.choiceA = 'You\'re looking better. Any changes with the tribe while I was gone?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); if (dropchainsofcommand == true) { _root.choiceS = 'Wasn\'t Vendel wearing that chain?'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); } _root.choiceD = 'I could really use some better gear.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { if (_root.quest_HelpBeka == 2) { _root.choicetext = 'Looks like Beka is going to make it. Good thing Vendel is already dead, or he\'d be in for a lot of pain.'; _root.choiceA = 'Beka, Vendel\'s been defeated. Can you stay & watch the rest of the tribe?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = 'Beka, what were you doing here?'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); } else { _root.choicetext = 'The woman is clearly going to be sore later, but otherwise she seems to be recovering quickly.'; _root.choiceA = 'Are you going to be alright? I need to save the rest of this town.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = 'Who are you?'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); } stop(); } frame 21 { if (Math.floor(_root.player / 10) == 2) { _root.choicetext = 'Beka is unconcious, but appears to be breathing.'; _root.choiceA = 'Beka! Are you alright?!!'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); } else { _root.choicetext = 'This girl is unconcious, but appears to be breathing.'; _root.choiceA = 'Hey there, are you alright?'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); } stop(); } frame 51 { switch (_root.quest_HelpBeka) { case 3: gotoAndPlay(_currentframe + 15); break; case 2: gotoAndPlay(_currentframe + 10); break; case 1: gotoAndPlay(_currentframe + 5); break; default: if (Math.floor(_root.player / 10) == 2) { _root.quest_HelpBeka = 2; } else { _root.quest_HelpBeka = 1; } } } frame 55 { _root.held = 0; stop(); } frame 60 { _root.held = 0; stop(); } frame 65 { _root.held = 0; stop(); } frame 66 { if (dropchainsofcommand == true) { chain.gotoAndStop(2); } else { chain.gotoAndStop(3); } } frame 70 { _root.held = 0; stop(); } frame 101 { if (_root.quest_HumanStash < 1) { _root.quest_HumanStash = 1; } if (dropchainsofcommand == true) { chain.gotoAndStop(2); } else { chain.gotoAndStop(3); } } frame 121 { _root.held = 901; _root.itemselect = 3; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 11; _root.itemnewh = 601; dropchainsofcommand == false; stop(); } frame 151 { if (_root.quest_HelpBeka >= 3) { gotoAndPlay(_currentframe + 10); } else { if (_root.quest_HelpBeka == 2) { gotoAndPlay(_currentframe + 5); } else { _root.quest_HelpBeka = 2; } } } frame 155 { _root.held = 0; stop(); } frame 156 { if (_root.quest_HumanStash < 1) { _root.quest_HumanStash = 1; } } frame 160 { _root.held = 0; stop(); } frame 161 { if (_root.quest_HumanStash < 1) { _root.quest_HumanStash = 1; } } frame 165 { _root.held = 0; stop(); } } movieClip 7306 { frame 2 { stop(); } } movieClip 7307 { frame 2 { stop(); } } movieClip 7310 { frame 1 { if (objecthitbox._currentframe > 10) { gotoAndStop(201); } stop(); } frame 2 { _root.choicetext = 'A weapon rack. These weapons look like they\'ve seen a few too many battles, but they\'ll still do in a pinch.'; _root.choiceA = 'Get Longsword'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Get Practice Sword'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 21; _root.itemnewh = 301; stop(); } frame 106 { _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 22; _root.itemnewh = 301; stop(); } } movieClip 7312 { frame 1 { stop(); } frame 2 { _root.choicetext = 'A weapon rack. These weapons look like they\'ve seen a few too many battles, but they\'ll still do in a pinch.'; _root.choiceA = 'Get Stone Maul (large weapon)'; if (_root.player % 10 !== 1) { _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonA.gotoAndStop(6); } _root.choiceS = 'Get Stone Mace'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 32; _root.itemnewh = 301; stop(); } frame 106 { _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 24; _root.itemnewh = 301; stop(); } } movieClip 7316 { frame 1 { if (_root.quest_HumanStash < 2) { gotoAndStop(201); } stop(); } frame 2 { var gotgreatsword = false; if (_root.wpn == 34) { gotgreatsword = true; } if (_root.backpack1 == 34 and _root.backpack1h == 301) { gotgreatsword = true; } if (_root.backpack2 == 34 and _root.backpack2h == 301) { gotgreatsword = true; } if (_root.backpack3 == 34 and _root.backpack3h == 301) { gotgreatsword = true; } if (_root.backpack4 == 34 and _root.backpack4h == 301) { gotgreatsword = true; } if (gotgreatsword == true) { gotoAndStop(11); } if (_root.GotStarterPlate > 0) { _root.choicetext = 'A large trunk. Inside you see some pieces of plate mail and a very large sword. You think there\'s enough pieces here to make one set of armor that would fit you.'; } else { _root.choicetext = 'A large trunk. Inside you see some pieces of plate mail and a very large sword.'; } if (_root.GotStarterPlate > 0) { _root.choiceA = 'Get starter plate (heavy armor)'; if (_root.player % 10 !== 1) { _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonA.gotoAndStop(6); } } else { _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = 'Get greatsword (large weapon)'; if (_root.player % 10 !== 1) { _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonS.gotoAndStop(6); } _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { if (_root.GotStarterPlate > 0) { _root.choicetext = 'A large trunk. Inside you see some pieces of plate mail. You think there\'s enough pieces here to make one set of armor that would fit you.'; } else { _root.choicetext = 'A large trunk. Inside you see some pieces of plate mail.'; } if (_root.GotStarterPlate > 0) { _root.choiceA = 'Get starter plate (heavy armor)'; if (_root.player % 10 !== 1) { _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonA.gotoAndStop(6); } } else { _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { --_root.GotStarterPlate; _root.held = 901; _root.itemselect = 2; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 21; _root.itemnewh = 150; stop(); } frame 106 { _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 34; _root.itemnewh = 301; stop(); } } movieClip 7318 { frame 1 { stop(); } frame 2 { var gotbattleaxe = false; if (_root.wpn == 33) { gotbattleaxe = true; } if (_root.backpack1 == 33 and _root.backpack1h == 301) { gotbattleaxe = true; } if (_root.backpack2 == 33 and _root.backpack2h == 301) { gotbattleaxe = true; } if (_root.backpack3 == 33 and _root.backpack3h == 301) { gotbattleaxe = true; } if (_root.backpack4 == 33 and _root.backpack4h == 301) { gotbattleaxe = true; } if (_root.quest_HelpBeka <= 2) { gotbattleaxe = true; } if (gotbattleaxe == true) { gotoAndStop(11); } if (_root.GotBreastPlate > 0) { _root.choicetext = 'A large trunk. Inside you see some pieces of armor and a large axe. It looks like there\'s enough pieces here to build you one set of armor.'; } else { _root.choicetext = 'A large trunk. Inside you see some pieces of armor and a large axe.'; } if (_root.GotBreastPlate > 0) { _root.choiceA = 'Get breast plate'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); } else { _root.choiceA = ''; _root.box3.choicebox.choicebuttonA.gotoAndStop(21); } _root.choiceS = 'Get battle axe (large weapon)'; if (_root.player % 10 !== 1) { _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.box3.choicebox.choicebuttonS.gotoAndStop(6); } _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'A large trunk. Inside you see some pieces of armor.'; _root.choiceA = 'Get breast plate'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { --_root.GotBreastPlate; _root.held = 901; _root.itemselect = 2; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 51; _root.itemnewh = 150; stop(); } frame 106 { _root.held = 901; _root.itemselect = 1; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 33; _root.itemnewh = 301; stop(); } } frame 82 { _root.maxitems = 3; if (_root.camframe._x < 0) { _root.camframe.hero._xscale = 100; } _root.camframe.dark.gotoAndStop(2); _root.doorleftgo = 70; _root.doorleftgox = 1850; var dropR15 = false; if (_root.R15Loc == _root._currentframe) { dropR15 = true; } if (_root.acc == 15) { dropR15 = false; } if (_root.backpack1 == 15 and _root.backpack1h == 601) { dropR15 = false; } if (_root.backpack2 == 15 and _root.backpack2h == 601) { dropR15 = false; } if (_root.backpack3 == 15 and _root.backpack3h == 601) { dropR15 = false; } if (_root.backpack4 == 15 and _root.backpack4h == 601) { dropR15 = false; } if (dropR15 == true) { var NewItemNumber = 615; ++_root.maxitems; var itemnumber = _root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber); _root['obj_drop_ani' + itemnumber]._x = 1800; _root['obj_drop_ani' + itemnumber]._xscale = 100; _root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber); } if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { _root.firechecked[_root._currentframe - 50] = 2; i = 0; b = 0; var a = 0; var MaxMonsters = 2 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } addmobs(b, -750, 1250, 300, 0); ++i; } } } } movieClip 7319 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7327 { frame 1 { if (_root.quest_openelves > 0) { gotoAndStop(50); } } frame 49 { gotoAndPlay(1); } } movieClip 7332 { frame 1 { stop(); } frame 2 { if (_root.quest_openelves > 0) { gotoAndStop(11); } _root.choicetext = 'This dark tent appears to have a magical barrier preventing anyone from entering.'; _root.choiceA = 'Attempt to cross the ward.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); if (_root.spirit >= 5) { _root.choiceD = '(Spirit Check) Study ward'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); } else { _root.choiceD = '(Spirit Check) Study ward'; _root.box3.choicebox.choicebuttonD.gotoAndStop(6); } _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'You peer inside a large tent, but it\'s too dark inside to make out any details.'; _root.choiceA = 'Enter Tent'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { if (_root.wpn == 2 or _root.acc == 10) { _root.quest_openelves = 1; wardrings.gotoAndPlay(1); } if (_root.quest_openelves > 0) { gotoAndPlay(61); } } frame 56 { _root.held = 0; stop(); } frame 66 { _root.gohere = 85; _root.gox = -1000; _root.fadeout.gotoAndPlay(1); stop(); } frame 156 { _root.held = 0; stop(); } } movieClip 7334 { frame 1 { stop(); } frame 2 { _root.choicetext = 'You peer inside a large tent, but it\'s too dark inside to make out any details.'; _root.choiceA = 'Enter Tent'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { if (_root.camframe._x < 600) { _root.gohere = 83; _root.gox = 1500; } else { _root.gohere = 84; _root.gox = -1000; } _root.fadeout.gotoAndPlay(1); stop(); } } frame 83 { _root.maxitems = 0; _root.camframe.dark.gotoAndStop(3); _root.camframe.hero._xscale = -100; _root.doorrightgo = 82; _root.doorrightgox = 300; var dropR15 = false; if (_root.R15Loc == _root._currentframe) { dropR15 = true; } if (_root.acc == 15) { dropR15 = false; } if (_root.backpack1 == 15 and _root.backpack1h == 601) { dropR15 = false; } if (_root.backpack2 == 15 and _root.backpack2h == 601) { dropR15 = false; } if (_root.backpack3 == 15 and _root.backpack3h == 601) { dropR15 = false; } if (_root.backpack4 == 15 and _root.backpack4h == 601) { dropR15 = false; } if (dropR15 == true) { var NewItemNumber = 615; ++_root.maxitems; var itemnumber = _root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber); _root['obj_drop_ani' + itemnumber]._x = -1600; _root['obj_drop_ani' + itemnumber]._xscale = 100; _root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber); } if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { i = 0; b = 0; var a = 0; var MaxMonsters = 3 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } addmobs(b, -2000, 500, 300, 0); ++i; } } } } movieClip 7337 { } movieClip 7339 { } movieClip 7341 { } movieClip 7343 { } movieClip 7345 { } movieClip 7347 { frame 1 { if (_root._currentframe == 85 && _root.act2clear >= 2) { loadMovie('', this); } stop(); } } movieClip 7348 { frame 1 { this.cacheAsBitmap = true; } } frame 84 { _root.maxitems = 0; _root.camframe.dark.gotoAndStop(3); _root.camframe.hero._xscale = 100; _root.doorleftgo = 82; _root.doorleftgox = 1000; var dropR15 = false; if (_root.R15Loc == _root._currentframe) { dropR15 = true; } if (_root.acc == 15) { dropR15 = false; } if (_root.backpack1 == 15 and _root.backpack1h == 601) { dropR15 = false; } if (_root.backpack2 == 15 and _root.backpack2h == 601) { dropR15 = false; } if (_root.backpack3 == 15 and _root.backpack3h == 601) { dropR15 = false; } if (_root.backpack4 == 15 and _root.backpack4h == 601) { dropR15 = false; } if (dropR15 == true) { var NewItemNumber = 615; ++_root.maxitems; var itemnumber = _root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + itemnumber, 300 + itemnumber); _root['obj_drop_ani' + itemnumber]._x = 1200; _root['obj_drop_ani' + itemnumber]._xscale = 100; _root['obj_drop_ani' + itemnumber].item_symbol.gotoAndStop(NewItemNumber); } if (_root.act2clear < 10) { if (_root.firechecked[_root._currentframe - 50] < 2) { i = 0; b = 0; var a = 0; var MaxMonsters = 3 + Math.round(Math.random()); i = 0; while (i < MaxMonsters) { b = Math.floor(Math.random() * 2) + 25; if (b == 27) { b = 26; } addmobs(b, -750, 0, 2000, 0); ++i; } } } } movieClip 7349 { frame 1 { this.cacheAsBitmap = true; } } frame 85 { _root.maxitems = 2; _root.camframe.dark.gotoAndStop(3); _root.camframe.hero._xscale = 100; _root.doorleftgo = 82; _root.doorleftgox = 650; if (_root.act2clear < 2) { addmobs(25, 800, 800, 0, 2); _root.BGA[0][4] = 120 * _root.gamediff; } } movieClip 7352 { } movieClip 7354 { } movieClip 7356 { } movieClip 7358 { } movieClip 7359 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7363 { frame 1 { if (_root.acc == 12) { gotoAndStop(3); } if (_root.backpack1 == 12 and _root.backpack1h == 601) { gotoAndStop(3); } if (_root.backpack2 == 12 and _root.backpack2h == 601) { gotoAndStop(3); } if (_root.backpack3 == 12 and _root.backpack3h == 601) { gotoAndStop(3); } if (_root.backpack4 == 12 and _root.backpack4h == 601) { gotoAndStop(3); } } frame 2 { stop(); } } movieClip 7364 { frame 1 { if (_root.act2clear < 2) { loadMovie('', this); } stop(); } frame 2 { droptiara = true; if (_root.acc == 12) { droptiara = false; } if (_root.backpack1 == 12 and _root.backpack1h == 601) { droptiara = false; } if (_root.backpack2 == 12 and _root.backpack2h == 601) { droptiara = false; } if (_root.backpack3 == 12 and _root.backpack3h == 601) { droptiara = false; } if (_root.backpack4 == 12 and _root.backpack4h == 601) { droptiara = false; } _root.choicetext = 'You see a magestic throne.'; _root.choiceA = 'Have a seat.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); if (droptiara == true) { _root.choiceS = 'Take Tiara'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); } else { _root.choiceS = ''; _root.box3.choicebox.choicebuttonS.gotoAndStop(21); } _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 51 { _root.held = 910; _root.camframe.box.gotoAndPlay(61); _root.camframe.hero.gotoAndStop(12); if (_root.acc == 12) { gotoAndPlay(61); } } frame 55 { stop(); } frame 61 { _root.held = 910; } frame 65 { stop(); } frame 105 { _root.held = 901; _root.itemselect = 3; _root.camframe.box.gotoAndPlay(2); _root.itemnew = 12; _root.itemnewh = 601; droptiara == false; tiara.gotoAndStop(3); stop(); } } movieClip 7366 { frame 1 { if (_root.act2clear < 10) { loadMovie('', this); } stop(); } frame 2 { var funtime = 0; var NewItemNumber = 0; _root.choicetext = 'Pungent pefumes assault you as you peer around the curtain. You see several shadows dancing and twisting in the darkness.'; _root.choiceA = 'Join the dance and find one partner.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Join the dance and find two partners.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = 'Skip the dance and grab three partners.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 11 { _root.choicetext = 'The erotic dancing is overwhelming your senses.'; _root.choiceA = 'Sneak outside with a guy.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Sneak outside with a girl.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = ''; _root.box3.choicebox.choicebuttonD.gotoAndStop(21); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 21 { _root.choicetext = 'The erotic dancing is overwhelming your senses.'; _root.choiceA = 'Sneak outside with two guys.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Sneak outside with a guy and girl.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = 'Sneak outside with two girls.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 56 { if (funtime == 0) { funtime = 10; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(11); } else { if (_root.armor > 1) { NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25); _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.grapple = 25; _root.held = 1100; _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; if (funtime == 10) { _root.camframe.hero.gotoAndStop(66); _root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 0; monscale = 50 + _root.BGA[0][1] * 10; } else { _root.camframe.hero.gotoAndStop(118); _root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); monscale2 = 100; monscale = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; } } stop(); } frame 105 { if (funtime == 0) { funtime = 20; _root.held = 900; _root.box3.gotoAndPlay(2); this.gotoAndStop(21); } else { if (_root.armor > 1) { NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25); _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.grapple = 25; _root.held = 1100; _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; if (funtime == 10) { _root.camframe.hero.gotoAndStop(67); _root.BGA.push([26, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); monscale = 50 + _root.BGA[0][1] * 10; } else { _root.camframe.hero.gotoAndStop(119); _root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([26, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); monscale2 = 100; monscale = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; } } stop(); } frame 155 { if (_root.armor > 1) { NewItemNumber = _root.armor + Math.ceil(_root.armorh / 25); _root.armor = 1; _root.armorhmax = 0; _root.armorh = 0; _root.camframe.box.invarm.gotoAndPlay(1); ++_root.maxitems; _root.attachMovie('item_drop_ani', 'obj_drop_ani' + _root.maxitems, 300 + _root.maxitems); _root['obj_drop_ani' + _root.maxitems]._x = _root.camframe._x; _root['obj_drop_ani' + _root.maxitems]._y = 300; _root['obj_drop_ani' + _root.maxitems]._xscale = _root.camframe.hero._xscale; _root['obj_drop_ani' + _root.maxitems].item_symbol.gotoAndStop(NewItemNumber); } _root.grapple = 25; _root.held = 1100; _root.camframe.box.gotoAndPlay(31); _root.camframe.box.grapplebar.eschero._x = -400; _root.camframe.box.grapplebar.escbg._x = 400; _root.camframe.box.grapplebar.gbarmark._alpha = 100; if (funtime == 20) { _root.camframe.hero.gotoAndStop(120); _root.BGA.push([26, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([26, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); monscale2 = 100; monscale = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; } else { _root.camframe.hero.gotoAndStop(201); _root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([25, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); _root.BGA.push([26, 0, 0, 0, 50, 'na', 'nahb', 2, 0, 0, 0]); monscale2 = 100; monscale = 100; _root.camframe.box.grapplebar.monsterhealthbar2._xscale = monscale2; _root.camframe.box.grapplebar.monsterhealthbar2._alpha = 100; } stop(); } } frame 88 { _root.camframe.dark.gotoAndStop(2); _root.maxitems = 1; _root.doorleftgo = 74; _root.doorleftgox = 2500; if (_root.gamestart == 'Act3Start') { _root.gamestart = 'Act3'; _root.camframe._x = -500; } } movieClip 7369 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7371 { frame 1 { stop(); } frame 2 { _root.choicetext = 'This magic portal will teleport you around.'; _root.choiceA = 'Quit to title.'; _root.box3.choicebox.choicebuttonA.gotoAndStop(1); _root.choiceS = 'Keep your gear & restart Story Mode.'; _root.box3.choicebox.choicebuttonS.gotoAndStop(1); _root.choiceD = 'Keep your gear & jump to Horde Mode.'; _root.box3.choicebox.choicebuttonD.gotoAndStop(1); _root.choiceF = '(Cancel)'; _root.box3.choicebox.choicebuttonF.gotoAndStop(1); stop(); } frame 55 { _root.gohere = 0; _root.gox = 0; l = 0; k = 0; j = 0; var i = 0; i = 50; while (i >= 0) { _root['bg' + i].removeMovieClip(); _root['bghb' + i].removeMovieClip(); _root.BGA.splice([i][0], 1); --i; } j = _root.monatt.length - 1; while (j >= 0) { loadMovie('', _root[_root.monatt[j][1]]); _root.monatt.splice([j][0], 1); --j; } l = _root.proj.length - 1; while (l >= 0) { loadMovie('', _root[_root.proj[l][1]]); _root.proj.splice([l][0], 1); --l; } _root.ss.removeMovieClip(); _root.doorleft.removeMovieClip(); _root.doorright.removeMovieClip(); _root.doorleftgox = 0; _root.doorleftgo = 0; _root.doorrightgox = 0; _root.doorrightgo = 0; k = _root.maxitems; while (k > 0) { _root['obj' + k].removeMovieClip(); --k; } _root.camframe.removeMovieClip(); _root.fadeout.removeMovieClip(); _parent._root._x = 0; _parent._root._y = 0; _parent._root._xscale = 100; _parent._root._yscale = 100; _root.gotoAndPlay(3); stop(); } frame 105 { _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_getbokken = 0; _root.quest_opencastle = 0; _root.quest_openhuman = 0; _root.quest_openelves = 0; _root.villagebunnies = 0; _root.villageelves = 0; _root.villagehumans = 0; _root.act2clear = 0; _root.quest_gettorch = 0; _root.quest_helpdunecrawler = -1; R15Loc = 0; R14Loc = 0; _root.R13Loc = 0; _root.KFoxHealth = 101; _root.quest_HelpBeka = 0; _root.quest_HumanStash = 0; _root.firechecked.splice(0, 1, 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); _root.gohere = 18; _root.gox = 0; _root.fadeout.gotoAndPlay(1); stop(); } frame 155 { _root.gohere = 101; _root.gox = 0; _root.HordeModeOptions = 3; _root.fadeout.gotoAndPlay(1); stop(); } } frame 101 { _root.maxitems = 0; _root.doorrightgo = _root._currentframe + 1; _root.doorrightgox = 0; _root.camframe.dark.gotoAndStop(1); _root.quest_pirateboss = 0; removeMovieClip(_root.shrubwall2); _root.rightwall.gotoAndStop(2); _root.camframe.HordeModeText.gotoAndPlay(1); _root.camframe._x = 0; if (_root.hordelevel == 1) { if (Math.floor(_root.player % 10) == 1) { _root.HMArmor.splice(0, 1, 15, 35, 47, 113, 56, 65); _root.HMWeapon.splice(0, 1, 311, 321, 341, 302, 322, 342, 313, 312); } else { if (Math.floor(_root.player % 10) == 3) { _root.HMArmor.splice(0, 1, 15, 27, 35, 47, 113, 56, 65); _root.HMWeapon.splice(0, 1, 311, 321, 331, 302, 322, 332, 313, 312, 334, 333); } else { _root.HMArmor.splice(0, 1, 15, 27, 35, 47, 113, 56, 65); _root.HMWeapon.splice(0, 1, 311, 321, 341, 333, 334, 302, 322, 342, 313, 312); } } _root.HMAccessory.splice(0, 1, 602, 603, 604, 609, 610, 611, 612); _root.HMPotion.splice(0, 1, 616, 617, 618, 619); } DetermineItemCode = function () { var v3 = Math.floor(Math.random() * 4); var v2 = 0; switch (v3) { case 0: v2 = Math.floor(Math.random() * 3 * _root.gamediff); if (v2 >= _root.HMArmor.length) { v2 = _root.HMArmor.length - 1; } v3 = _root.HMArmor[v2]; break; case 1: v2 = Math.floor(Math.random() * 4 * _root.gamediff); if (v2 >= _root.HMWeapon.length) { v2 = _root.HMWeapon.length - 1; } v3 = _root.HMWeapon[v2]; break; case 2: v2 = Math.floor(Math.random() * 3 * _root.gamediff); if (v2 >= _root.HMAccessory.length) { v2 = _root.HMAccessory.length - 1; } v3 = _root.HMAccessory[v2]; break; default: v2 = Math.floor(Math.random() * 2 * _root.gamediff); if (v2 >= _root.HMPotion.length) { v2 = _root.HMPotion.length - 1; } v3 = _root.HMPotion[v2]; } if (Math.random() > 0.5) { DropItem(Math.random() * 200 - 100, 100, v3); } else { DropItem(Math.random() * 200 - 100, -100, v3); } }; additems = setInterval(function () { if (_root.maxitems <= _root.hordelevel / 10) { DetermineItemCode(); } else { clearInterval(additems); } }, 100); var mcount = 0; var mtotal = Math.floor(4 * _root.gamediff); var b = 0; addmonsters = setInterval(function () { if (_root._currentframe == 101) { if (mcount < mtotal) { if (_root.BGA.length < _root.hordemax) { if (math.random() * _root.gamediff <= 1) { b = Math.floor(Math.random() * 2) + 16; if (b == 18) { b = 17; } } else { b = Math.floor(Math.random() * 15) + 15; if (b < 16) { b = 11; } if (b == 18) { b = 19; } if (b == 21) { b = 22; } if (b == 24) { b = 25; } if (b == 27) { b = 28; } if (b > 29) { b = 29; } } if (_root.BGtype[b][7] == 0 or b == 16 or b == 17) { ++mcount; addmobs(b, -1000, 1000, 500, 0); } } } else { if (_root.BGA.length == 0) { _root.crate1.gotoAndStop(11); _root.rightwall.gotoAndStop(3); _root.doorright.gotoAndStop(3); _root.camframe.HordeModeText.gotoAndPlay(51); ++_root.hordelevel; clearInterval(addmonsters); } } } else { clearInterval(addmonsters); } }, 1000); stop(); } movieClip 7372 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7374 { frame 1 { stop(); } } movieClip 7375 { frame 2 { stop(); } } movieClip 7376 { frame 2 { stop(); } } frame 102 { _root.maxitems = 0; _root.doorrightgo = _root._currentframe + 1; _root.doorrightgox = 0; removeMovieClip(_root.crate1); _root.rightwall.gotoAndStop(2); _root.camframe.HordeModeText.gotoAndPlay(1); additems = setInterval(function () { if (_root.maxitems <= _root.hordelevel / 10) { DetermineItemCode(); } else { clearInterval(additems); } }, 100); var mcount = 0; var mtotal = Math.floor(6 * _root.gamediff); var b = 0; addmonsters = setInterval(function () { if (_root._currentframe == 102) { if (mcount < mtotal) { if (_root.BGA.length < _root.hordemax) { if (math.random() * _root.gamediff <= 1) { b = Math.floor(Math.random() * 5) + 15; if (b < 16) { b = 11; } if (b == 18) { b = 19; } } else { b = Math.floor(Math.random() * 15) + 15; if (b < 16) { b = 11; } if (b == 18) { b = 19; } if (b == 21) { b = 22; } if (b == 24) { b = 25; } if (b == 27) { b = 28; } if (b > 29) { b = 29; } } if (_root.BGtype[b][7] == 0 or b == 11 or b == 19) { ++mcount; addmobs(b, -1250, 1250, 500, 0); } } } else { if (_root.BGA.length == 0) { _root.crate2.gotoAndStop(11); _root.rightwall.gotoAndStop(3); _root.doorright.gotoAndStop(3); _root.camframe.HordeModeText.gotoAndPlay(51); ++_root.hordelevel; clearInterval(addmonsters); } } } else { clearInterval(addmonsters); } }, 1000); stop(); } movieClip 7377 { frame 1 { this.cacheAsBitmap = true; } } frame 103 { _root.maxitems = 0; _root.doorrightgo = _root._currentframe + 1; _root.doorrightgox = 0; removeMovieClip(_root.crate2); _root.rightwall.gotoAndStop(2); _root.camframe.HordeModeText.gotoAndPlay(1); additems = setInterval(function () { if (_root.maxitems <= _root.hordelevel / 10) { DetermineItemCode(); } else { clearInterval(additems); } }, 100); var mcount = 0; var mtotal = Math.floor(10 * _root.gamediff); var b = 0; addmonsters = setInterval(function () { if (_root._currentframe == 103) { if (mcount < mtotal) { if (_root.BGA.length < _root.hordemax) { if (math.random() * _root.gamediff <= 1) { b = Math.floor(Math.random() * 6) + 15; if (b < 16) { b = 11; } if (b == 18) { b = 19; } if (b == 21) { b = 20; } } else { b = Math.floor(Math.random() * 15) + 15; if (b < 16) { b = 11; } if (b == 18) { b = 19; } if (b == 21) { b = 22; } if (b == 24) { b = 25; } if (b == 27) { b = 28; } if (b > 29) { b = 29; } } if (_root.BGtype[b][7] == 0 or b == 20) { ++mcount; addmobs(b, -1500, 1500, 500, 0); } } } else { if (_root.BGA.length == 0) { _root.crate3.gotoAndStop(11); _root.rightwall.gotoAndStop(3); _root.doorright.gotoAndStop(3); _root.camframe.HordeModeText.gotoAndPlay(51); ++_root.hordelevel; clearInterval(addmonsters); } } } else { clearInterval(addmonsters); } }, 1000); stop(); } movieClip 7378 { frame 1 { this.cacheAsBitmap = true; } } frame 104 { _root.maxitems = 0; _root.doorrightgo = _root._currentframe + 1; _root.doorrightgox = 0; removeMovieClip(_root.crate3); _root.rightwall.gotoAndStop(2); _root.camframe.HordeModeText.gotoAndPlay(1); additems = setInterval(function () { if (_root.maxitems <= _root.hordelevel / 10) { DetermineItemCode(); } else { clearInterval(additems); } }, 100); var mcount = 0; var mtotal = Math.floor(8 * _root.gamediff); var b = 0; addmonsters = setInterval(function () { if (_root._currentframe == 104) { if (mcount < mtotal) { if (_root.BGA.length < _root.hordemax) { if (math.random() * _root.gamediff <= 1) { b = Math.floor(Math.random() * 2) + 22; if (b == 24) { b = 23; } } else { b = Math.floor(Math.random() * 15) + 15; if (b < 16) { b = 11; } if (b == 18) { b = 19; } if (b == 21) { b = 22; } if (b == 24) { b = 25; } if (b == 27) { b = 28; } if (b > 29) { b = 29; } } if (_root.BGtype[b][7] == 0 or b == 22 or b == 23) { ++mcount; addmobs(b, -1250, 1250, 500, 0); } } } else { if (_root.BGA.length == 0) { _root.dune1.gotoAndStop(11); _root.rightwall.gotoAndStop(3); _root.doorright.gotoAndStop(3); _root.camframe.HordeModeText.gotoAndPlay(51); ++_root.hordelevel; clearInterval(addmonsters); } } } else { clearInterval(addmonsters); } }, 1000); stop(); } movieClip 7379 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7380 { frame 2 { stop(); } } frame 105 { _root.maxitems = 0; _root.doorrightgo = _root._currentframe + 1; _root.doorrightgox = 0; removeMovieClip(_root.dune1); _root.rightwall.gotoAndStop(2); _root.camframe.HordeModeText.gotoAndPlay(1); additems = setInterval(function () { if (_root.maxitems <= _root.hordelevel / 10) { DetermineItemCode(); } else { clearInterval(additems); } }, 100); var mcount = 0; var mtotal = Math.floor(10 * _root.gamediff); var b = 0; addmonsters = setInterval(function () { if (_root._currentframe == 105) { if (mcount < mtotal) { if (_root.BGA.length < _root.hordemax) { if (math.random() * _root.gamediff <= 1) { b = Math.floor(Math.random() * 5) + 22; if (b == 24) { b = 25; } if (b == 27) { b = 26; } } else { b = Math.floor(Math.random() * 15) + 15; if (b < 16) { b = 11; } if (b == 18) { b = 19; } if (b == 21) { b = 22; } if (b == 24) { b = 25; } if (b == 27) { b = 28; } if (b > 29) { b = 29; } } if (_root.BGtype[b][7] == 0 or b == 25 or b == 26) { ++mcount; addmobs(b, -1500, 1500, 500, 0); } } } else { if (_root.BGA.length == 0) { _root.dune2.gotoAndStop(11); _root.rightwall.gotoAndStop(3); _root.doorright.gotoAndStop(3); _root.camframe.HordeModeText.gotoAndPlay(51); ++_root.hordelevel; clearInterval(addmonsters); } } } else { clearInterval(addmonsters); } }, 1000); stop(); } movieClip 7381 { frame 1 { this.cacheAsBitmap = true; } } frame 106 { _root.maxitems = 0; _root.doorrightgo = _root._currentframe + 1; _root.doorrightgox = 0; removeMovieClip(_root.dune2); _root.rightwall.gotoAndStop(2); _root.camframe.HordeModeText.gotoAndPlay(1); additems = setInterval(function () { if (_root.maxitems <= _root.hordelevel / 10) { DetermineItemCode(); } else { clearInterval(additems); } }, 100); var mcount = 0; var mtotal = Math.floor(10 * _root.gamediff); var b = 0; addmonsters = setInterval(function () { if (_root._currentframe == 106) { if (mcount < mtotal) { if (_root.BGA.length < _root.hordemax) { if (math.random() * _root.gamediff <= 1) { b = Math.floor(Math.random() * 8) + 22; if (b == 24) { b = 25; } if (b == 27) { b = 28; } if (b > 29) { b = 29; } } else { b = Math.floor(Math.random() * 15) + 15; if (b < 16) { b = 11; } if (b == 18) { b = 19; } if (b == 21) { b = 22; } if (b == 24) { b = 25; } if (b == 27) { b = 28; } if (b > 29) { b = 29; } } if (_root.BGtype[b][7] == 0 or b == 28 or b == 29) { ++mcount; addmobs(b, -1500, 1500, 500, 0); } } } else { if (_root.BGA.length == 0) { _root.shrubwall1.gotoAndStop(11); _root.rightwall.gotoAndStop(3); _root.doorright.gotoAndStop(3); _root.camframe.HordeModeText.gotoAndPlay(51); ++_root.hordelevel; clearInterval(addmonsters); } } } else { clearInterval(addmonsters); } }, 1000); stop(); } movieClip 7382 { frame 1 { this.cacheAsBitmap = true; } } movieClip 7383 { frame 2 { stop(); } } frame 107 { _root.maxitems = 0; _root.doorrightgo = 101; _root.doorrightgox = 0; removeMovieClip(_root.shrubwall1); _root.rightwall.gotoAndStop(2); _root.camframe.HordeModeText.gotoAndPlay(1); additems = setInterval(function () { if (_root.maxitems <= _root.hordelevel / 10) { DetermineItemCode(); } else { clearInterval(additems); } }, 100); var mcount = 0; var mtotal = Math.floor(12 * _root.gamediff); var b = 0; addmonsters = setInterval(function () { if (_root._currentframe == 107) { if (mcount < mtotal) { if (_root.BGA.length < _root.hordemax) { if (math.random() * _root.gamediff <= 1) { b = Math.floor(Math.random() * 8) + 22; if (b == 24) { b = 25; } if (b == 27) { b = 28; } if (b > 29) { b = 29; } } else { b = Math.floor(Math.random() * 15) + 15; if (b < 16) { b = 11; } if (b == 18) { b = 19; } if (b == 21) { b = 22; } if (b == 24) { b = 25; } if (b == 27) { b = 28; } if (b > 29) { b = 29; } } if (_root.BGtype[b][7] == 0) { ++mcount; addmobs(b, -1500, 1500, 500, 0); } } } else { if (_root.BGA.length == 0) { _root.shrubwall2.gotoAndStop(11); _root.rightwall.gotoAndStop(3); _root.doorright.gotoAndStop(3); _root.camframe.HordeModeText.gotoAndPlay(101); _root.hordelevel += 4; switch (_root.hordelevel) { case 11: if (_root.backpack2 == -1) { _root.camframe.box.invbox.gotoAndPlay(2); _root.backpack2 = 1; } break; case 21: if (_root.backpack3 == -1) { _root.camframe.box.invbox.gotoAndPlay(2); _root.backpack3 = 1; } break; case 31: if (_root.backpack4 == -1) { _root.camframe.box.invbox.gotoAndPlay(2); _root.backpack4 = 1; } } _root.gamediff += 0.25; clearInterval(addmonsters); } } } else { clearInterval(addmonsters); } }, 1000); stop(); } movieClip 7384 { frame 1 { this.cacheAsBitmap = true; } }




http://swfchan.com/26/129902/info.shtml
Created: 22/2 -2019 18:14:01 Last modified: 22/2 -2019 18:14:01 Server time: 02/05 -2024 06:05:14