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

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

Wings of Genesis - side scrolling action shooter with RPG elements.swf

This is the info page for
Flash #89286

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


ActionScript [AS1/AS2]
Combined Code
movieClip 17 { } movieClip 19 { } movieClip 20 virgo_curse { frame 14 { this.removeMovieClip(); } } movieClip 22 { } movieClip 23 scorpio_curse { frame 14 { this.removeMovieClip(); } } movieClip 25 { } movieClip 26 aquarius_curse { frame 14 { this.removeMovieClip(); } } movieClip 28 { } movieClip 29 cancer_curse { frame 14 { this.removeMovieClip(); } } movieClip 31 { } movieClip 32 leo_curse { frame 14 { this.removeMovieClip(); } } movieClip 34 typhoon { } movieClip 37 cresent_shot { } movieClip 40 { } movieClip 41 white_laser { } movieClip 43 { } movieClip 44 white_light { } movieClip 48 { } movieClip 49 { } movieClip 50 zodiac_master { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 53 { } movieClip 54 { } movieClip 57 { } movieClip 60 { } movieClip 62 { } movieClip 64 { } movieClip 66 { } movieClip 68 { } movieClip 70 { } movieClip 72 { } movieClip 74 { } movieClip 76 { } movieClip 78 { } movieClip 80 { } movieClip 83 { } movieClip 84 { } movieClip 85 { } movieClip 86 { } movieClip 87 { } movieClip 88 { } movieClip 90 { } movieClip 91 { } movieClip 93 { } movieClip 95 { } movieClip 97 { } movieClip 99 { } movieClip 101 { } movieClip 103 { } movieClip 105 { } movieClip 107 { } movieClip 108 { } movieClip 111 { } movieClip 116 { frame 8 { stop(); } } movieClip 117 { frame 2 { stop(); } } movieClip 120 { } movieClip 121 { } movieClip 122 { frame 1 { stop(); } } movieClip 125 { frame 1 { stop(); } } movieClip 126 { frame 1 { stop(); } frame 6 { var c = new Color(_parent); var trans = {'ra': '100', 'rb': '150', 'ga': '100', 'gb': '60', 'ba': '100', 'bb': '60'}; c.setTransform(trans); } frame 7 { var c = new Color(_parent); var trans = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0'}; c.setTransform(trans); } } movieClip 127 { } movieClip 128 { frame 35 { _parent.gotoAndStop(1); } } movieClip 130 { } movieClip 132 { } movieClip 134 { } movieClip 137 { } movieClip 139 { } movieClip 141 { } movieClip 142 { frame 12 { ratio = (_parent._parent._parent.player._y - (_parent._y - 160)) / (_parent._x - 60 - _parent._parent._parent.player._x); xspeed = _parent._x - 60 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('white_laser', _parent._x - 60, _parent._y - 160, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 18 { ratio = (_parent._parent._parent.player._y - (_parent._y - 160)) / (_parent._x - 60 - _parent._parent._parent.player._x); xspeed = _parent._x - 60 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('white_laser', _parent._x - 60, _parent._y - 160, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 24 { ratio = (_parent._parent._parent.player._y - (_parent._y - 160)) / (_parent._x - 60 - _parent._parent._parent.player._x); xspeed = _parent._x - 60 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('white_laser', _parent._x - 60, _parent._y - 160, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 30 { ratio = (_parent._parent._parent.player._y - (_parent._y - 160)) / (_parent._x - 60 - _parent._parent._parent.player._x); xspeed = _parent._x - 60 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('white_laser', _parent._x - 60, _parent._y - 160, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 36 { ratio = (_parent._parent._parent.player._y - (_parent._y - 160)) / (_parent._x - 60 - _parent._parent._parent.player._x); xspeed = _parent._x - 60 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('white_laser', _parent._x - 60, _parent._y - 160, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 45 { _parent.gotoAndStop(1); } } movieClip 143 { frame 15 { _parent._parent._parent.player.gotoAndStop(Math.round(5 + Math.random() * 20)); _parent._parent._parent.special_attacking = false; _root.player_HP = 1 + Math.round(_root.player_HP * Math.random()); _parent.HP += _parent.max_HP * 0.07000000000000001; if (_parent.HP > _parent.max_HP) { _parent.HP = _parent.max_HP; } _parent._parent._parent.create_enemy_bullet('white_screen', 0, 0, 0, 0, 0, 0); } frame 40 { _parent.gotoAndStop(1); } } movieClip 144 { frame 25 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'none', 0, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 100); _parent.removeMovieClip(); } } movieClip 145 creator_boss { frame 1 { stop(); } } movieClip 147 { } movieClip 149 { } movieClip 151 { } movieClip 152 { } movieClip 156 { } movieClip 159 { } movieClip 160 { frame 10 { _parent.removeMovieClip(); } } movieClip 161 scarab { frame 1 { stop(); } } movieClip 164 { } movieClip 165 spore { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 168 { } movieClip 174 { } movieClip 175 { } movieClip 177 { } movieClip 178 { frame 13 { _parent.removeMovieClip(); } } movieClip 179 fire_ball { frame 1 { stop(); } } movieClip 180 freezing_nova { frame 10 { this.removeMovieClip(); } } movieClip 181 fire_meteor { frame 1 { stop(); } frame 38 { this.removeMovieClip(); } } movieClip 183 { } movieClip 184 bubble_bullet { frame 25 { gotoAndPlay(1); } frame 45 { this.removeMovieClip(); } } movieClip 187 tengu_slash { } movieClip 190 { } movieClip 191 beholder_bullet { frame 25 { gotoAndPlay(1); } frame 45 { this.removeMovieClip(); } } movieClip 193 { } movieClip 194 vampire_attack { frame 11 { this.removeMovieClip(); } } movieClip 197 { } movieClip 198 spirit_rock { frame 1 { stop(); } frame 42 { this.removeMovieClip(); } } movieClip 201 { } movieClip 202 dust_fly { } movieClip 204 { } movieClip 206 { } movieClip 208 libra_curse { frame 14 { stop(); } } movieClip 210 { } movieClip 211 { } movieClip 212 libra_cutter { } movieClip 215 { } movieClip 216 { } movieClip 217 leo_fire { } movieClip 220 { } movieClip 221 zodiac_curse { } movieClip 223 { } movieClip 225 { } movieClip 227 { } movieClip 228 { } movieClip 229 { frame 10 { _parent.removeMovieClip(); } } movieClip 230 rainbow_breath { } movieClip 232 angel_blade { } movieClip 235 { } movieClip 236 { frame 10 { _parent.removeMovieClip(); } } movieClip 237 zodiac_star { frame 1 { stop(); } } frame 1 { function checkConnect() { if (_root.kongregateServices.isConnected()) { clearInterval(timerID); txt.text = 'Connected at: ' + counter * 50 / 1000 + ' seconds'; } else { txt.text = 'Waiting... ' + counter; ++counter; } } _root.kongregateServices.connect(); var timerID; var counter = 0; timerID = setInterval(this, 'checkConnect', 50); _root.kongregateStats.submit('dream_fisher', 0); _root.kongregateStats.submit('zodiac_slayer', 0); _root.kongregateStats.submit('zodiac_master', 0); _root.kongregateStats.submit('phoenix_tamer', 0); _root.kongregateStats.submit('leviathan_tamer', 0); _root.kongregateStats.submit('behemoth_tamer', 0); _root.kongregateStats.submit('tiamat_tamer', 0); _root.kongregateStats.submit('nidhogg_tamer', 0); _root.kongregateStats.submit('beelzebub_tamer', 0); _root.kongregateStats.submit('fabled_dreamer', 0); _root.kongregateStats.submit('legendary_dreamer', 0); _root.kongregateStats.submit('epic_dreamer', 0); _root.kongregateStats.submit('stone_collector', 0); } frame 1 { function sitelock() { lock = true; domain_parts = _url.split('://'); real_domain = domain_parts[1].split('/'); domain.text = real_domain[0]; if (real_domain[0].indexOf('.') == -1) { _root._visible = false; } else {} } stop(); strategy_guide_link = 'http://www.kongregate.com/games/fairypoet/wings-of-genesis-guide/?gamereferral=WingsOfGenesis'; kong_link = 'http://www.kongregate.com/?gamereferral=WingsOfGenesis'; guide_btn.onRelease = function () { getURL('http://game.1manstudio.net', '_blank'); }; kong_btn.onRelease = function () { getURL(_root.kong_link, '_blank'); }; sitelock(); var loaderCount = 0; loader_mv.onEnterFrame = function () { totalByte = _root.getBytesTotal(); loadedByte = _root.getBytesLoaded(); loaderCount = Math.round((loadedByte / totalByte) * 100); if (loadedByte == totalByte) { enter_btn._visible = true; } else { enter_btn._visible = false; } }; enter_btn.onRelease = function () { play(); }; } // unknown tag 88 length 206 // unknown tag 88 length 94 movieClip 248 { } movieClip 251 { } movieClip 255 { } // unknown tag 88 length 202 // unknown tag 88 length 93 movieClip 261 { } // unknown tag 88 length 211 movieClip 270 { } movieClip 272 { } instance of movieClip 272 { onClipEvent (release) { _root.kongregateStats.submit('Test', Math.floor(Math.random() * 9999)); } } // unknown tag 88 length 62 frame 2 { function __com_mochibot__(swfid, mc, lv, trk) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; var pv; mb = '__mochibot__'; mbc = 'mochibot.com'; g = _global ? _global : _level0._root; if (g[mb + swfid]) { return g[mb + swfid]; } s = System.security; x = mc._root.getSWFVersion; fv = x ? mc.getSWFVersion() : (_global ? 6 : 5); if (!s) { s = {}; } sb = s.sandboxType; if (sb == 'localWithFile') { return null; } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } pv = (fv == 5) ? /:$version : System.capabilities.version; u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : ''); lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv); g[mb + 'level'] = lv; if (fv == 5) { res = '_level' + lv; if (!eval(res)) { loadMovieNum(u, lv); } return res; } res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); return res; } stop(); __com_mochibot__('c36675cd', this, 10301, true); } movieClip 275 { } button 277 { on (release) { getURL('http://www.kongregate.com/?gamereferral=WingsOfGenesis', '_blank'); } } movieClip 280 { } movieClip 282 { } movieClip 284 { } movieClip 286 { } movieClip 288 { } movieClip 290 { } movieClip 291 { } movieClip 294 { } movieClip 296 { } movieClip 297 { } movieClip 299 { } // unknown tag 88 length 151 movieClip 302 { } movieClip 303 { frame 180 { _parent.play(); } } movieClip 304 { } movieClip 309 { } movieClip 311 { } movieClip 313 { } movieClip 316 { } movieClip 317 { } movieClip 319 { } movieClip 322 { } movieClip 324 { } movieClip 325 { } movieClip 327 { } movieClip 329 { } movieClip 331 { } movieClip 333 { } movieClip 335 { } movieClip 338 { } movieClip 341 { } movieClip 344 { } movieClip 346 { } movieClip 347 { } movieClip 350 { } movieClip 352 { } movieClip 354 { } movieClip 356 { } movieClip 359 { } movieClip 361 { } movieClip 363 { } movieClip 365 { } movieClip 368 { } movieClip 370 { } movieClip 372 { } movieClip 374 { } movieClip 377 { } movieClip 379 { } movieClip 381 { } movieClip 383 { } movieClip 386 { } movieClip 389 { } movieClip 392 { } movieClip 395 { } movieClip 398 { } movieClip 400 { } movieClip 402 { } movieClip 404 { } movieClip 407 { } movieClip 409 { } movieClip 411 { } movieClip 413 { } movieClip 416 { } movieClip 418 { } movieClip 420 { } movieClip 422 { } movieClip 424 { } movieClip 425 { } // unknown tag 88 length 68 movieClip 429 { } movieClip 430 { } movieClip 431 { frame 1 { stop(); } } // unknown tag 88 length 68 movieClip 437 { } movieClip 438 { frame 1 { stop(); } } movieClip 440 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 441 { frame 5 { stop(); } } movieClip 442 { frame 1 { stop(); } } movieClip 445 { } movieClip 446 { } movieClip 447 { frame 1 { stop(); } } movieClip 449 { } movieClip 450 { frame 1 { stop(); } } movieClip 452 { } movieClip 453 { frame 1 { stop(); } } movieClip 454 { frame 10 { _parent.gotoAndStop(1); } } movieClip 455 { frame 1 { _parent._parent._parent.UI.HP_highlight.gotoAndPlay(5); _parent._parent._parent.auto_cast(); } frame 10 { _parent.gotoAndStop(1); } } movieClip 456 { frame 1 { _parent._parent._parent.auto_cast_dodged(); } frame 10 { _parent.gotoAndStop(1); } } // unknown tag 88 length 63 movieClip 460 { frame 1 { _parent._parent._parent.UI.HP_highlight.gotoAndPlay(5); _parent._parent._parent.auto_cast(); } frame 19 { _parent._parent._parent.auto_cast_die(); } frame 20 { _parent._parent._parent.win_lose('lose'); _parent._parent.removeMovieClip(); } } movieClip 461 { frame 1 { onEnterFrame = function () { if (_root.player_poison > 0) { poison_indicator.gotoAndStop(2); } else { poison_indicator.gotoAndStop(1); } if (_root.player_frozen > 0) { frozen_indicator.gotoAndStop(2); } else { frozen_indicator.gotoAndStop(1); } if (_root.player_silence > 0) { silence_indicator.gotoAndStop(2); } else { silence_indicator.gotoAndStop(1); } if (_root.player_disable > 0) { disable_indicator.gotoAndStop(2); } else { disable_indicator.gotoAndStop(1); } if (_root.invisibility > 0) { invisibility_indicator.gotoAndStop(2); } else { invisibility_indicator.gotoAndStop(1); } if (_root.player_immobile > 0) { immobile_indicator.gotoAndStop(2); } else { immobile_indicator.gotoAndStop(1); } }; } frame 1 { stop(); } frame 5 { stop(); } } movieClip 463 { } movieClip 464 { } movieClip 466 { } movieClip 468 { } movieClip 470 { } movieClip 472 { } movieClip 474 { } movieClip 476 { } movieClip 478 { } movieClip 480 { } movieClip 481 { } movieClip 482 { frame 5 { _parent._parent._parent.create_bullet('splitting_thunder', _parent._parent._x, _parent._parent._y + 40, 15, 0); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 483 { frame 1 { _root.player_disable = 128; _root.invisibility = 170; } frame 6 { var countdown = 0; this.onEnterFrame = function () { if (_parent._parent._parent.pausing == false) { ++countdown; countdown %= 2; if (countdown == 0) { _parent._parent._parent.create_bullet('obliterate_bolt', _parent._parent._x + 20, _parent._parent._y + 35 + Math.random() * 8, 30, 0); } } }; } frame 162 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 484 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 493 { } movieClip 495 { } movieClip 497 { } movieClip 499 { } movieClip 501 { } movieClip 503 { } movieClip 506 { } movieClip 508 { } movieClip 510 { } movieClip 512 { } movieClip 514 { } movieClip 516 { } movieClip 518 { frame 1 { _parent._parent._parent.create_bullet('fire_ball', _parent._parent._x + 40, _parent._parent._y + 40, 15, 0); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 521 { frame 5 { _parent._parent._parent.create_bullet('violet_ball', _parent._parent._x - 60, _parent._parent._y + 25, 5, 0); } frame 26 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 522 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 524 { } movieClip 525 { } movieClip 527 { } movieClip 529 { } movieClip 531 { } movieClip 533 { } movieClip 535 { } movieClip 537 { } movieClip 538 { } movieClip 539 { frame 5 { _parent._parent._parent.create_bullet('violet_thunder', _parent._parent._x + 40, _parent._parent._y + 20, 15, 0); _parent._parent._parent.create_bullet('violet_thunder', _parent._parent._x, _parent._parent._y + 20, 15, 0); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 540 { frame 5 { _parent._parent._parent.create_bullet('dual_lightening', _parent._parent._x - 60, _parent._parent._y + 25, 5, 0); } frame 85 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 541 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 543 { } movieClip 545 { } movieClip 547 { } movieClip 553 { } movieClip 555 { } movieClip 557 { } movieClip 559 { } movieClip 561 { } movieClip 563 { } movieClip 565 { } movieClip 567 { } movieClip 568 { } movieClip 569 { frame 5 { _parent._parent._parent.create_bullet('holy_fire', _parent._parent._x + 20, _parent._parent._y + 20, 15, 0); } frame 7 { _parent._parent._parent.create_bullet('holy_fire', _parent._parent._x + 20, _parent._parent._y + 20, 15, 0); } frame 9 { _parent._parent._parent.create_bullet('holy_fire', _parent._parent._x + 20, _parent._parent._y + 20, 15, 0); } frame 11 { _parent._parent._parent.create_bullet('holy_fire', _parent._parent._x + 20, _parent._parent._y + 20, 15, 0); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 570 { frame 10 { _parent._parent._parent.create_bullet('judgment', _parent._parent._x + 50, _parent._parent._y, 0, 0); } frame 16 { _parent._parent._parent.create_bullet('judgment', _parent._parent._x + 100, _parent._parent._y, 0, 0); } frame 23 { _parent._parent._parent.create_bullet('judgment', _parent._parent._x + 150, _parent._parent._y, 0, 0); } frame 29 { _parent._parent._parent.create_bullet('judgment', _parent._parent._x + 200, _parent._parent._y, 0, 0); } frame 35 { _parent._parent._parent.create_bullet('judgment', _parent._parent._x + 250, _parent._parent._y, 0, 0); } frame 45 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 571 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 574 { } movieClip 576 { } movieClip 578 { } movieClip 580 { } movieClip 582 { } movieClip 584 { } movieClip 586 { } movieClip 588 { } movieClip 590 { } movieClip 594 { frame 46 { _parent._parent._parent.create_bullet('poison_line', _parent._parent._x, _parent._parent._y + 50, 2, 0); } } movieClip 597 { } movieClip 598 { frame 7 { _parent._parent._parent.create_bullet('scythe', _parent._parent._x, _parent._parent._y + 20, 20, 2); _parent._parent._parent.create_bullet('poison_line', _parent._parent._x, _parent._parent._y + 50, 6, 0); } frame 9 { _parent._parent._parent.create_bullet('scythe', _parent._parent._x, _parent._parent._y + 20, 20, -2); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 600 { } movieClip 601 { frame 7 { _parent._parent._parent.create_bullet('parasite', _parent._parent._x + 50, _parent._parent._y + 20, 5, 0); } frame 7 { _parent._parent._parent.create_bullet('poison_line', _parent._parent._x, _parent._parent._y + 50, 6, 0); } frame 26 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 602 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 604 { } movieClip 606 { } movieClip 608 { } movieClip 610 { } movieClip 612 { } movieClip 614 { } movieClip 616 { } movieClip 618 { } movieClip 620 { } movieClip 622 { } movieClip 624 { } movieClip 625 { } movieClip 626 { frame 7 { _parent._parent._parent.create_bullet('water_blast', _parent._parent._x + 130, _parent._parent._y + 25, 2, 0); } frame 9 { _parent._parent._parent.create_bullet('water_blast', _parent._parent._x + 130, _parent._parent._y + 25, 2, 0); } frame 11 { _parent._parent._parent.create_bullet('water_blast', _parent._parent._x + 130, _parent._parent._y + 25, 2, 0); } frame 25 { _parent.gotoAndStop('still'); } } movieClip 627 { frame 7 { _parent._parent._parent.create_bullet('ice_prison', _parent._parent._x + 130, _parent._parent._y + 25, 15, 0); } frame 41 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 628 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 631 { } movieClip 633 { } movieClip 635 { } movieClip 637 { } movieClip 639 { } movieClip 641 { } movieClip 643 { } movieClip 645 { } movieClip 646 { } movieClip 647 explosive { frame 10 { this.removeMovieClip(); } } movieClip 648 { frame 8 { _parent._parent._parent.create_bullet('flame_blast', _parent._parent._x + 15, _parent._parent._y + 25, 6, 0); _parent._parent._parent.create_bullet('flame_blast', _parent._parent._x + 15, _parent._parent._y + 25, 5, 0); _parent._parent._parent.create_bullet('flame_blast', _parent._parent._x + 15, _parent._parent._y + 25, 7, 0); } frame 23 { _parent.gotoAndStop('still'); } } movieClip 649 { frame 13 { _parent._parent._parent.create_bullet('flame_heart', _parent._parent._x + 15, _parent._parent._y + 25, 8, 2 - Math.random() * 4); } frame 25 { _parent._parent._parent.create_bullet('flame_heart', _parent._parent._x + 15, _parent._parent._y + 25, 8, 2 - Math.random() * 4); } frame 40 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 650 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 652 { } movieClip 654 { } movieClip 658 { } movieClip 660 { } movieClip 662 { } movieClip 664 { } movieClip 666 { } movieClip 668 { } movieClip 669 { } movieClip 670 { frame 3 { _parent._parent._parent.create_bullet('piercing_wind', _parent._parent._x + Math.random() * 30, _parent._parent._y + Math.random() * 50, 20, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('piercing_wind', _parent._parent._x + Math.random() * 30, _parent._parent._y + Math.random() * 50, 20, Math.random() * 6 - 3); } frame 5 { _parent._parent._parent.create_bullet('piercing_wind', _parent._parent._x + Math.random() * 30, _parent._parent._y + Math.random() * 50, 20, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('piercing_wind', _parent._parent._x + Math.random() * 30, _parent._parent._y + Math.random() * 50, 20, Math.random() * 6 - 3); } frame 7 { _parent._parent._parent.create_bullet('piercing_wind', _parent._parent._x + Math.random() * 30, _parent._parent._y + Math.random() * 50, 20, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('piercing_wind', _parent._parent._x + Math.random() * 30, _parent._parent._y + Math.random() * 50, 20, Math.random() * 6 - 3); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 671 { frame 1 { _root.player_disable = 120; temp_value = _root.move_speed; _root.move_speed *= 0.3; _parent._parent._parent.create_bullet('defensive_shell', _parent._parent._parent.player._x, _parent._parent._parent.player._y, 160, 0); _parent._parent._parent.create_bullet('defensive_grid', _parent._parent._parent.player._x, _parent._parent._parent.player._y, 160, 0); } frame 4 { var countdown = 0; this.onEnterFrame = function () { if (_parent._parent._parent.pausing == false) { ++countdown; countdown %= 2; if (countdown == 0) { _parent._parent._parent.create_bullet('piercing_wind_2', _parent._parent._x + Math.random(), _parent._parent._y + 40, 25, 4 - Math.random() * 8); } } }; } frame 120 { _parent._parent._parent.special_attacking = false; _root.move_speed = temp_value; _parent.gotoAndStop('still'); } } movieClip 672 { frame 1 { stop(); } frame 5 { stop(); } frame 10 { stop(); } } movieClip 674 { } movieClip 676 { } movieClip 678 { } movieClip 680 { } movieClip 682 { } movieClip 684 { } movieClip 685 { } movieClip 687 { } movieClip 688 { frame 11 { _parent._parent._parent.check_bullet_hit(slash, 'diamond_cutter'); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 689 { frame 7 { _parent._parent._parent.create_bullet('freezing_nova', _parent._parent._x + 20, _parent._parent._y + 25, Math.round(4 * _root.player_beast_power), 30); } frame 10 { _parent._parent._parent.create_bullet('freezing_nova', _parent._parent._x + 60, _parent._parent._y + 25, Math.round(4 * _root.player_beast_power), 40); } frame 13 { _parent._parent._parent.create_bullet('freezing_nova', _parent._parent._x + 120, _parent._parent._y + 25, Math.round(4 * _root.player_beast_power), 50); } frame 16 { _parent._parent._parent.create_bullet('freezing_nova', _parent._parent._x + 180, _parent._parent._y + 25, Math.round(4 * _root.player_beast_power), 60); } frame 19 { _parent._parent._parent.create_bullet('freezing_nova', _parent._parent._x + 260, _parent._parent._y + 25, Math.round(4 * _root.player_beast_power), 70); } frame 22 { _parent._parent._parent.create_bullet('freezing_nova', _parent._parent._x + 320, _parent._parent._y + 25, Math.round(4 * _root.player_beast_power), 80); } frame 25 { _parent._parent._parent.create_bullet('freezing_nova', _parent._parent._x + 380, _parent._parent._y + 25, Math.round(4 * _root.player_beast_power), 100); } frame 41 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 690 { frame 1 { stop(); } frame 5 { stop(); } frame 10 { stop(); } } movieClip 693 { } movieClip 695 { } movieClip 697 { } movieClip 698 { } movieClip 700 { } movieClip 702 { } movieClip 704 { } movieClip 705 { } movieClip 706 { frame 5 { _parent._parent._parent.create_bullet('laser', _parent._parent._x + 20, _parent._parent._y + 50, 2, 0); _parent._parent._parent.create_bullet('laser', _parent._parent._x + 20, _parent._parent._y + 50, 1, 0); _parent._parent._parent.create_bullet('laser', _parent._parent._x + 20, _parent._parent._y + 50, 3, 0); } frame 19 { _parent.gotoAndStop('still'); } } movieClip 707 { frame 5 { _parent._parent._parent.create_bullet('laser', _parent._parent._x + 20, _parent._parent._y + 50, 2, 1); } frame 40 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 708 { frame 1 { stop(); } frame 5 { stop(); } frame 10 { stop(); } } movieClip 710 { } movieClip 712 { } movieClip 715 { } movieClip 717 { } movieClip 719 { } movieClip 721 { } movieClip 723 { } movieClip 724 { } movieClip 725 { } movieClip 726 { frame 5 { _parent._parent._parent.create_bullet('shinning_beam', 65, 25, 6, 0); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 727 { frame 5 { _parent._parent._parent.create_bullet('shinning_beam', 65, 25, 1, 0); } frame 10 { _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x, -100, 10, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 100, -100, 10, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 200, -100, 10, 0); } frame 14 { if (_parent._parent._parent.light_source >= 1) { _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 300, -100, 13, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 350, -100, 13, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 400, -100, 13, 0); } } frame 18 { _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 50, -100, 10, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 150, -100, 10, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 250, -100, 10, 0); } frame 22 { if (_parent._parent._parent.light_source >= 2) { _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 350, -100, 13, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 400, -100, 13, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 450, -100, 13, 0); } } frame 26 { _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 100, -100, 10, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 200, -100, 10, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 300, -100, 10, 0); } frame 30 { if (_parent._parent._parent.light_source >= 3) { _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 400, -100, 13, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 450, -100, 13, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 500, -100, 13, 0); } } frame 34 { _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 150, -100, 10, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 250, -100, 10, 0); _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 350, -100, 10, 0); } frame 40 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 728 { frame 1 { stop(); } frame 5 { stop(); } frame 10 { stop(); } } movieClip 730 { } movieClip 731 { } movieClip 733 { } movieClip 735 { } movieClip 737 { } movieClip 739 { } movieClip 741 { } movieClip 743 { } movieClip 745 { } movieClip 747 { } movieClip 749 { } movieClip 751 { } movieClip 752 { } movieClip 753 { frame 7 { _parent._parent._parent.create_bullet('wind_splitter', _parent._parent._x, _parent._parent._y, 6, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('wind_splitter', _parent._parent._x, _parent._parent._y, 5, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('wind_splitter', _parent._parent._x, _parent._parent._y, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('wind_splitter', _parent._parent._x, _parent._parent._y, 7, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('wind_splitter', _parent._parent._x, _parent._parent._y, 8, Math.random() * 6 - 3); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 754 { frame 2 { _parent._parent._parent.create_bullet('chaos_thunder', _parent._parent._x - 60, _parent._parent._y + 10, 30, 35); if (_parent._parent._parent.enrage_number >= 1) { _parent._parent._parent.create_bullet('chaos_thunder', _parent._parent._x - 120, _parent._parent._y - 50, -30, -20); } } frame 97 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 755 { frame 1 { stop(); } } movieClip 757 { } movieClip 759 { } movieClip 761 { } movieClip 763 { } movieClip 765 { } movieClip 767 { } movieClip 769 { } movieClip 771 { } movieClip 772 { } movieClip 773 { frame 5 { if (_root.player_HP > 3) { _root.player_HP -= 3; _parent._parent._parent.create_bullet('illumination', _parent._parent._x + 25, _parent._parent._y + 25, 20, Math.random() * 10 - 5); _parent._parent._parent.create_bullet('illumination', _parent._parent._x + 25, _parent._parent._y + 25, 20, Math.random() * 10 - 5); _parent._parent._parent.create_bullet('illumination', _parent._parent._x + 25, _parent._parent._y + 25, 20, Math.random() * 10 - 5); } } frame 20 { _parent.gotoAndStop('still'); } } movieClip 774 { frame 5 { _parent._parent._parent.create_bullet('soul_void', _parent._parent._x + 25, _parent._parent._y + 25, 20, Math.random() * 10 - 5); } frame 20 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 775 { frame 1 { stop(); } } movieClip 778 { } movieClip 780 { } movieClip 782 { } movieClip 784 { } movieClip 786 { } movieClip 788 { } movieClip 790 { } movieClip 791 { } movieClip 792 { } movieClip 793 { frame 5 { _parent._parent._parent.create_bullet('venom', _parent._parent._x + 60, _parent._parent._y + 40, 18, 2); _parent._parent._parent.create_bullet('venom', _parent._parent._x + 60, _parent._parent._y + 40, 18, 0); _parent._parent._parent.create_bullet('venom', _parent._parent._x + 60, _parent._parent._y + 40, 18, -2); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 794 { frame 5 { _parent._parent._parent.create_bullet('malicious_swarm', _parent._parent._x + 60, _parent._parent._y + 40, 12 + Math.random() * 6, 2 - Math.random() * 4); } frame 8 { _parent._parent._parent.create_bullet('malicious_swarm', _parent._parent._x + 60, _parent._parent._y + 40, 12 + Math.random() * 6, 2 - Math.random() * 4); } frame 12 { _parent._parent._parent.create_bullet('malicious_swarm', _parent._parent._x + 60, _parent._parent._y + 40, 12 + Math.random() * 6, 2 - Math.random() * 4); } frame 17 { if (_parent._parent._parent.venom_source >= 1) { _parent._parent._parent.create_bullet('malicious_swarm', _parent._parent._x + 60, _parent._parent._y + 40, 12 + Math.random() * 6, 2 - Math.random() * 4); } } frame 24 { if (_parent._parent._parent.venom_source >= 2) { _parent._parent._parent.create_bullet('malicious_swarm', _parent._parent._x + 60, _parent._parent._y + 40, 12 + Math.random() * 6, 2 - Math.random() * 4); } } frame 31 { if (_parent._parent._parent.venom_source >= 3) { _parent._parent._parent.create_bullet('malicious_swarm', _parent._parent._x + 60, _parent._parent._y + 40, 12 + Math.random() * 6, 2 - Math.random() * 4); } } frame 40 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 795 { frame 1 { stop(); } } movieClip 797 { } movieClip 799 { } movieClip 801 { } movieClip 802 { } movieClip 803 { } movieClip 805 { } movieClip 807 { } movieClip 812 { } movieClip 813 { } movieClip 819 { } movieClip 820 { } movieClip 821 { frame 1 { _parent._parent._parent.create_bullet('diamond_destroyer', _parent._parent._x - 60, _parent._parent._y + 30, 30, 50); } frame 64 { _parent.gotoAndStop('still'); } } movieClip 822 { frame 5 { _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); } frame 14 { _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); } frame 22 { _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); } frame 30 { _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); } frame 38 { _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); } frame 46 { _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); } frame 54 { _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('ice_comet', 300 + Math.random() * 400, -Math.random() * 200, 4, Math.random() * 6 - 3); } frame 64 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 823 { frame 1 { stop(); } } movieClip 826 { } movieClip 828 { } movieClip 830 { } movieClip 832 { } movieClip 834 { } movieClip 836 { } movieClip 837 { } movieClip 838 { frame 5 { _parent._parent._parent.create_bullet('blazing_wing', _parent._parent._x, _parent._parent._y, 5, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('blazing_wing', _parent._parent._x, _parent._parent._y, 6, Math.random() * 6 - 3); } frame 10 { _parent._parent._parent.create_bullet('blazing_wing', _parent._parent._x, _parent._parent._y, 6, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('blazing_wing', _parent._parent._x, _parent._parent._y, 7, Math.random() * 6 - 3); } frame 15 { _parent._parent._parent.create_bullet('blazing_wing', _parent._parent._x, _parent._parent._y, 7, Math.random() * 6 - 3); _parent._parent._parent.create_bullet('blazing_wing', _parent._parent._x, _parent._parent._y, 8, Math.random() * 6 - 3); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 839 { frame 15 { if (_parent._parent._parent.mark_number == 0) { _parent._parent._parent.create_bullet('mark_of_fire', _parent._parent._x + 60, _parent._parent._y + 40, 20, 0); } } frame 62 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 840 { frame 1 { stop(); } } movieClip 843 { } movieClip 845 { } movieClip 847 { } movieClip 849 { } movieClip 851 { } movieClip 853 { } movieClip 855 { } movieClip 857 { } movieClip 859 { } movieClip 861 { } movieClip 862 { } movieClip 864 { } movieClip 865 { } movieClip 867 { } movieClip 869 { } movieClip 871 { } movieClip 873 { } movieClip 875 { } movieClip 877 { } movieClip 879 { } movieClip 881 { } movieClip 882 { } movieClip 883 { frame 6 { _parent._parent._parent.create_bullet('shinning_beam', 30, 70, 1, 0); } frame 15 { _parent._parent._parent.create_bullet('shinning_rain', _parent._parent._x + 100 + Math.random() * 100, -100, 10, 0); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 884 { frame 1 { _root.player_disable = 160; } frame 10 { _parent._parent._parent.create_bullet('chrono_vortex', _parent._parent._x + 65, _parent._parent._y + 65, 20, 10 - Math.random() * 20); } frame 16 { _parent._parent._parent.create_bullet('chrono_vortex', _parent._parent._x + 65, _parent._parent._y + 65, 20, 10 - Math.random() * 20); } frame 23 { _parent._parent._parent.create_bullet('chrono_vortex', _parent._parent._x + 65, _parent._parent._y + 65, 20, 10 - Math.random() * 20); } frame 30 { _parent._parent._parent.create_bullet('chrono_vortex', _parent._parent._x + 65, _parent._parent._y + 65, 20, 10 - Math.random() * 20); } frame 37 { _parent._parent._parent.create_bullet('chrono_vortex', _parent._parent._x + 65, _parent._parent._y + 65, 20, 10 - Math.random() * 20); } frame 44 { _parent._parent._parent.create_bullet('chrono_vortex', _parent._parent._x + 65, _parent._parent._y + 65, 20, 10 - Math.random() * 20); } frame 60 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 885 { frame 1 { stop(); } } movieClip 888 { } movieClip 890 { } movieClip 892 { } movieClip 894 { } movieClip 896 { } movieClip 898 { } movieClip 900 { } movieClip 902 { } movieClip 904 { } movieClip 905 { } movieClip 906 { frame 5 { _parent._parent._parent.create_bullet('cresent_moon', _parent._parent._x + 60, _parent._parent._y + 40, 25, 0); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 907 { frame 1 { _parent._parent._parent.create_bullet('solar_eclipse', 350, 250, 0, 0); } frame 50 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 908 { frame 1 { stop(); } } movieClip 917 { } movieClip 919 { } movieClip 921 { } movieClip 923 { } movieClip 925 { } movieClip 927 { } movieClip 929 { } movieClip 931 { } movieClip 933 { } movieClip 935 { } movieClip 937 { } movieClip 938 { } movieClip 939 { frame 5 { _parent._parent._parent.create_bullet('fly_swarm', 0, _parent._parent._y + Math.random() * 40, 5, 0); } frame 10 { _parent._parent._parent.create_bullet('fly_swarm', 0, _parent._parent._y + Math.random() * 40, 5, 0); } frame 15 { _parent._parent._parent.create_bullet('fly_swarm', 0, _parent._parent._y + Math.random() * 40, 5, 0); } frame 20 { _parent.gotoAndStop('still'); } } movieClip 940 { frame 18 { if (_parent._parent._parent.swarm_heart_number < 3) { _parent._parent._parent.create_bullet('swarm_heart', 0, _parent._parent._y + Math.random() * 40, 50, 20); } } frame 34 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 941 { frame 1 { stop(); } } movieClip 943 { } movieClip 945 { } movieClip 947 { } movieClip 949 { } movieClip 951 { } movieClip 953 { } movieClip 955 { } movieClip 957 { } movieClip 959 { } movieClip 960 { } movieClip 961 { frame 6 { var countdown = 0; this.onEnterFrame = function () { ++countdown; countdown %= 1; if (countdown == 0) { _parent._parent._parent.create_bullet('soul_scatter', _parent._parent._x + 50, _parent._parent._y + 45, 25 + Math.random() * 5, 10 - Math.random() * 20); } }; } frame 31 { _parent.gotoAndStop('still'); } } movieClip 962 { frame 7 { _root.player_HP = Math.round(_root.player_HP * 0.75); _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); } frame 11 { if (_parent._parent._parent.soul_fragment >= 1) { _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); } } frame 15 { _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); } frame 19 { if (_parent._parent._parent.soul_fragment >= 2) { _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); } } frame 23 { _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); } frame 27 { if (_parent._parent._parent.soul_fragment >= 3) { _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); } } frame 32 { _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); } frame 36 { if (_parent._parent._parent.soul_fragment >= 4) { _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); } } frame 40 { _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); _parent._parent._parent.create_bullet('soul_festival', 300 + Math.random() * 400, _parent._parent._y - 100 + Math.random() * 200, 0, 0); } frame 50 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 963 { frame 1 { stop(); } } movieClip 964 gely { frame 1 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 20 { stop(); } frame 21 { stop(); } } movieClip 966 { } movieClip 968 { } movieClip 971 { } movieClip 973 { } movieClip 975 { } movieClip 977 { } movieClip 979 { } movieClip 982 { } movieClip 985 { } movieClip 987 { } movieClip 989 { } movieClip 991 { } movieClip 993 { } movieClip 996 { } movieClip 998 { } movieClip 1000 { } movieClip 1001 { } movieClip 1003 { } movieClip 1005 { } movieClip 1007 { } movieClip 1009 { } movieClip 1011 { } movieClip 1013 { } movieClip 1015 { } movieClip 1016 { } movieClip 1017 { frame 5 { _parent.gotoAndStop(1); } } movieClip 1019 { } movieClip 1020 { frame 12 { _parent.gotoAndStop(1); } } movieClip 1021 { frame 1 { _parent._parent._parent.UI.HP_highlight.gotoAndPlay(5); _parent._parent._parent.auto_cast(); } frame 10 { _parent.gotoAndStop(1); } } movieClip 1022 { frame 1 { _root.sword_slash.start(0, 1); } frame 1 { _parent._parent._parent.auto_cast_dodged(); } frame 5 { _parent._parent._parent.create_bullet('ice_slash_2', _parent._parent._parent.player._x, _parent._parent._parent.player._y + 25, 25, 0); } frame 12 { _parent.gotoAndStop(1); } } movieClip 1023 { frame 1 { _parent._parent._parent.UI.HP_highlight.gotoAndPlay(5); _parent._parent._parent.auto_cast(); } frame 19 { _parent._parent._parent.auto_cast_die(); } frame 20 { _parent._parent._parent.win_lose('lose'); _parent._parent.removeMovieClip(); } } movieClip 1024 { frame 1 { onEnterFrame = function () { if (_root.player_poison > 0) { poison_indicator.gotoAndStop(2); } else { poison_indicator.gotoAndStop(1); } if (_root.player_frozen > 0) { frozen_indicator.gotoAndStop(2); } else { frozen_indicator.gotoAndStop(1); } if (_root.player_silence > 0) { silence_indicator.gotoAndStop(2); } else { silence_indicator.gotoAndStop(1); } if (_root.player_disable > 0) { disable_indicator.gotoAndStop(2); } else { disable_indicator.gotoAndStop(1); } if (_root.invisibility > 0) { invisibility_indicator.gotoAndStop(2); } else { invisibility_indicator.gotoAndStop(1); } if (_root.player_immobile > 0) { immobile_indicator.gotoAndStop(2); } else { immobile_indicator.gotoAndStop(1); } }; } frame 1 { stop(); } frame 5 { stop(); } } movieClip 1025 nera { frame 1 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 20 { stop(); } frame 21 { stop(); } } movieClip 1027 { } movieClip 1029 { } movieClip 1031 { } movieClip 1033 { } movieClip 1035 { } movieClip 1037 { } movieClip 1039 { } movieClip 1041 { } movieClip 1043 { } movieClip 1045 { } movieClip 1047 { } movieClip 1049 { } movieClip 1053 { } movieClip 1055 { } movieClip 1058 { } movieClip 1061 { } movieClip 1063 { } movieClip 1072 { } movieClip 1074 { } movieClip 1075 { } movieClip 1076 { frame 10 { _parent.gotoAndStop(1); } } movieClip 1077 { frame 1 { _parent._parent._parent.UI.HP_highlight.gotoAndPlay(5); _parent._parent._parent.auto_cast(); } frame 10 { _parent.gotoAndStop(1); } } movieClip 1078 { frame 1 { _parent._parent._parent.auto_cast_dodged(); } frame 10 { _parent.gotoAndStop(1); } } movieClip 1079 { frame 1 { _parent._parent._parent.UI.HP_highlight.gotoAndPlay(5); _parent._parent._parent.auto_cast(); } frame 19 { _parent._parent._parent.auto_cast_die(); } frame 20 { _parent._parent._parent.win_lose('lose'); _parent._parent.removeMovieClip(); } } movieClip 1080 { frame 1 { onEnterFrame = function () { if (_root.player_poison > 0) { poison_indicator.gotoAndStop(2); } else { poison_indicator.gotoAndStop(1); } if (_root.player_frozen > 0) { frozen_indicator.gotoAndStop(2); } else { frozen_indicator.gotoAndStop(1); } if (_root.player_silence > 0) { silence_indicator.gotoAndStop(2); } else { silence_indicator.gotoAndStop(1); } if (_root.player_disable > 0) { disable_indicator.gotoAndStop(2); } else { disable_indicator.gotoAndStop(1); } if (_root.invisibility > 0) { invisibility_indicator.gotoAndStop(2); } else { invisibility_indicator.gotoAndStop(1); } if (_root.player_immobile > 0) { immobile_indicator.gotoAndStop(2); } else { immobile_indicator.gotoAndStop(1); } }; } frame 1 { stop(); } frame 5 { stop(); } } movieClip 1081 sisi { frame 1 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 20 { stop(); } frame 21 { stop(); } } movieClip 1083 { } movieClip 1085 { } movieClip 1087 { } movieClip 1089 { } movieClip 1091 { } movieClip 1093 { } movieClip 1095 { } movieClip 1096 { } movieClip 1097 { frame 12 { ratio = (_parent._parent._parent.player._y - (_parent._y - 250)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 100 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = 10; } else { if (xspeed >= 0) { xspeed = -10; } } _parent._parent._parent.create_enemy_bullet('beholder_bullet', _parent._x - 100, _parent._y - 250, 2 - Math.random() * 4 + xspeed, -xspeed * ratio, 20, 0); } frame 25 { _parent.gotoAndStop(1); } } movieClip 1098 { frame 15 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'doom_stone', 33, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 40); _parent.removeMovieClip(); } } movieClip 1099 beholder { frame 1 { stop(); } } movieClip 1102 { } movieClip 1105 { } movieClip 1107 { } movieClip 1109 { } movieClip 1111 { } movieClip 1114 { } movieClip 1116 { } movieClip 1117 { } movieClip 1118 { frame 12 { ratio = (_parent._parent._parent.player._y - (_parent._y - 300)) / (_parent._x - _parent._parent._parent.player._x); xspeed = _parent._x - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -6; } else { if (xspeed >= 0) { xspeed = 6; } } _parent._parent._parent.create_enemy_bullet('spore', _parent._x, _parent._y - 300, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 128 + _parent.lvl * 16); } frame 19 { ratio = (_parent._parent._parent.player._y - (_parent._y - 300)) / (_parent._x - _parent._parent._parent.player._x); xspeed = _parent._x - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -6; } else { if (xspeed >= 0) { xspeed = 6; } } _parent._parent._parent.create_enemy_bullet('spore', _parent._x, _parent._y - 300, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 128 + _parent.lvl * 16); } frame 25 { _parent.gotoAndStop(1); } } movieClip 1119 { frame 10 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'poison_blossom', 10, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 26); _parent.removeMovieClip(); } } movieClip 1120 dyrad { frame 1 { stop(); } } movieClip 1122 { } movieClip 1124 { } movieClip 1126 { } movieClip 1129 { } movieClip 1132 { } movieClip 1134 { } movieClip 1135 { } movieClip 1136 { frame 25 { ratio = (_parent._parent._parent.player._y - (_parent._y - 250)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 100 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = 10; } else { if (xspeed >= 0) { xspeed = -10; } } _parent._parent._parent.create_enemy_bullet('spirit_rock', _parent._x - 150, _parent._y - 300, 2 - Math.random() * 4 + xspeed, -xspeed * ratio, 25, 0); } frame 30 { _parent.gotoAndStop(1); } } movieClip 1137 { frame 15 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'garnet', 12, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 40); _parent.removeMovieClip(); } } movieClip 1138 rock_golem { frame 1 { stop(); } } movieClip 1140 { } movieClip 1142 { } movieClip 1144 { } movieClip 1146 { } movieClip 1148 { } movieClip 1149 { } movieClip 1150 { frame 8 { ratio = (_parent._parent._parent.player._y - (_parent._y - 250)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 100 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = 5; } else { if (xspeed >= 0) { xspeed = -5; } } _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y - 250, 2 - Math.random() * 4 + xspeed, -xspeed * ratio, 10, 0); } frame 20 { ratio = (_parent._parent._parent.player._y - (_parent._y - 250)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 100 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = 5; } else { if (xspeed >= 0) { xspeed = -5; } } _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y - 250, 2 - Math.random() * 4 + xspeed, -xspeed * ratio, 10, 0); } frame 31 { _parent.gotoAndStop(1); } } movieClip 1151 { frame 12 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'aquarius_gem', 10, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 26); _parent.removeMovieClip(); } } movieClip 1152 sea_serpent { frame 1 { stop(); } } movieClip 1155 { } movieClip 1157 { } movieClip 1159 { } movieClip 1161 { } movieClip 1163 { } movieClip 1166 { } movieClip 1168 { } movieClip 1170 { } movieClip 1171 { } movieClip 1174 { frame 1 { stop(); } } movieClip 1176 { } movieClip 1177 { frame 5 { _parent._parent._parent.create_enemy_bullet('cresent_shot', _parent._x, _parent._y - 20, 5, 0, 15, 160 + _parent.lvl * 16); } frame 13 { _parent.gotoAndStop(1); } } movieClip 1178 { frame 10 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'life_seed', 5, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 20); _parent.removeMovieClip(); } } movieClip 1179 wind_mouse { frame 1 { stop(); } } movieClip 1181 { } movieClip 1183 { } movieClip 1185 { } movieClip 1187 { } movieClip 1190 { } movieClip 1191 { } movieClip 1194 { } movieClip 1197 { } movieClip 1198 chaos_thunder { } movieClip 1199 { frame 30 { _parent.gotoAndStop(1); } } movieClip 1200 { frame 15 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'time_lock_item', 12, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 24); _parent.removeMovieClip(); } } movieClip 1201 chrono_worm { frame 1 { stop(); } } movieClip 1203 { } movieClip 1205 { } movieClip 1207 { } movieClip 1209 { } movieClip 1211 { } movieClip 1212 { } movieClip 1213 { frame 1 { temp_x = _parent._parent._parent.player._x; temp_y = _parent._parent._parent.player._y; } frame 5 { temp2_x = _parent._parent._parent.player._x; temp2_y = _parent._parent._parent.player._y; } frame 25 { _parent._parent._parent.create_enemy_bullet('vampire_attack', temp_x, temp_y, 0, 0, 20, 128 + _parent.lvl * 8); } frame 29 { _parent._parent._parent.create_enemy_bullet('vampire_attack', temp2_x, temp2_y, 0, 0, 20, 25); } frame 30 { _parent.gotoAndStop(1); } } movieClip 1214 { frame 15 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'vampiric_contract', 16, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 22); _parent.removeMovieClip(); } } movieClip 1215 wraith { frame 1 { stop(); } } movieClip 1217 { } movieClip 1219 { } movieClip 1220 { } movieClip 1221 { frame 4 { _parent._parent._parent.create_enemy_bullet('scarab', _parent._x, _parent._y, 12, 0, 20, 128 + _parent.lvl * 16); } frame 12 { _parent.gotoAndStop(1); } } movieClip 1222 { frame 15 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'shapely_gem', 16, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 24); _parent.removeMovieClip(); } } movieClip 1223 scarab_lord { frame 1 { stop(); } } movieClip 1225 { } movieClip 1227 { } movieClip 1229 { } movieClip 1231 { } movieClip 1233 { } movieClip 1234 { } movieClip 1235 { } movieClip 1237 { } movieClip 1239 { } movieClip 1241 { } movieClip 1242 { } movieClip 1243 { frame 1 { stop(); } } movieClip 1245 { } movieClip 1246 { } movieClip 1247 { frame 5 { _parent._parent._parent.create_enemy_bullet('white_laser', _parent._x, _parent._y - 20, 10, 0, 15, 25); } frame 21 { _parent.gotoAndStop(1); } } movieClip 1248 { frame 10 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 50, 'sun_drop', 50, 'holy_water', 6, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 8); _parent.removeMovieClip(); } } movieClip 1249 cloud_hopper { frame 1 { stop(); } } movieClip 1262 { } movieClip 1264 { } movieClip 1265 { frame 4 { _parent._parent._parent.create_enemy_bullet('tengu_slash', _parent._x, _parent._y - 20, 20, 0, 25, 25); } frame 10 { _parent.gotoAndStop(1); } } movieClip 1266 { frame 12 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 50, 'sun_drop', 50, '4_leaf_clover', 15, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 10); _parent.removeMovieClip(); } } movieClip 1267 tengu { frame 1 { stop(); } } movieClip 1269 { } movieClip 1271 { } movieClip 1273 { } movieClip 1275 { } movieClip 1277 { } movieClip 1279 { } movieClip 1281 { } movieClip 1282 { } movieClip 1283 { frame 7 { _parent._parent._parent.create_enemy_bullet('typhoon', _parent._x, _parent._y - 20, 4, 0, 20, 0); } frame 15 { _parent.gotoAndStop(1); } } movieClip 1284 { frame 10 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'forest_wing', 4.5, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 12); _parent.removeMovieClip(); } } movieClip 1285 harpy_hag { frame 1 { stop(); } } movieClip 1287 { } movieClip 1289 { } movieClip 1291 { } movieClip 1293 { } movieClip 1295 { } movieClip 1296 { } movieClip 1298 { } movieClip 1299 { frame 11 { _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y, -10, 1 - Math.random() * 2, 12, 25); } frame 16 { _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y, -10, 1 - Math.random() * 2, 12, 25); } frame 21 { _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y, -10, 1 - Math.random() * 2, 12, 25); } frame 30 { _parent.gotoAndStop(1); } } movieClip 1300 { frame 15 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'illusionary_mirror', 3, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 16); _parent.removeMovieClip(); } } movieClip 1301 big_turtle { frame 1 { stop(); } } movieClip 1303 { } movieClip 1305 { } movieClip 1307 { } movieClip 1309 { } movieClip 1310 { } movieClip 1311 { frame 10 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 20, 'sun_drop', 20, 'rainbow_stone', 4, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 4); _parent.removeMovieClip(); } } movieClip 1312 turtle { frame 1 { stop(); } } movieClip 1314 { } movieClip 1316 { } movieClip 1318 { } movieClip 1320 { } movieClip 1322 { } movieClip 1324 { } movieClip 1326 { } movieClip 1327 { } movieClip 1328 { frame 10 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 20, 'sun_drop', 20, 'forest_wing', 0.8, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 3); _parent.removeMovieClip(); } } movieClip 1329 harpy { frame 1 { stop(); } } movieClip 1333 { } movieClip 1335 { } movieClip 1341 { } movieClip 1342 { frame 11 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 20, 'sun_drop', 20, 'garnet', 1, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 4); _parent.removeMovieClip(); } } movieClip 1343 volcano_beast { frame 1 { stop(); } } movieClip 1345 { } movieClip 1347 { } movieClip 1349 { } movieClip 1351 { } movieClip 1352 { } movieClip 1353 { frame 10 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 20, 'sun_drop', 20, 'poison_blossom', 1, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 2); _parent.removeMovieClip(); } } movieClip 1354 green_fish { frame 1 { stop(); } } movieClip 1356 { } movieClip 1358 { } movieClip 1359 { } movieClip 1362 { } movieClip 1364 { } movieClip 1365 { } movieClip 1366 { } movieClip 1367 { frame 10 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 20, 'sun_drop', 20, 'aquarius_gem', 1, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 2); _parent.removeMovieClip(); } } movieClip 1368 blue_fish { frame 1 { stop(); } } movieClip 1370 { } movieClip 1372 { } movieClip 1374 { } movieClip 1376 { } movieClip 1378 { } movieClip 1380 { } movieClip 1383 { } movieClip 1385 { } movieClip 1387 { } movieClip 1389 { } movieClip 1390 { } movieClip 1391 { frame 7 { ratio = (_parent._parent._parent.player._y - (_parent._y - 250)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 100 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = 7; } else { if (xspeed >= 0) { xspeed = -7; } } _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y - 250, 2 - Math.random() * 4 + xspeed, -xspeed * ratio, 15, 0); } frame 8 { ratio = (_parent._parent._parent.player._y - (_parent._y - 250)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 100 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = 7; } else { if (xspeed >= 0) { xspeed = -7; } } _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y - 250, 2 - Math.random() * 4 + xspeed, -xspeed * ratio, 15, 0); } frame 12 { ratio = (_parent._parent._parent.player._y - (_parent._y - 250)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 100 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = 7; } else { if (xspeed >= 0) { xspeed = -7; } } _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y - 250, 2 - Math.random() * 4 + xspeed, -xspeed * ratio, 15, 0); } frame 13 { ratio = (_parent._parent._parent.player._y - (_parent._y - 250)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 100 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = 7; } else { if (xspeed >= 0) { xspeed = -7; } } _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y - 250, 2 - Math.random() * 4 + xspeed, -xspeed * ratio, 15, 0); } frame 17 { ratio = (_parent._parent._parent.player._y - (_parent._y - 250)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 100 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = 7; } else { if (xspeed >= 0) { xspeed = -7; } } _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y - 250, 2 - Math.random() * 4 + xspeed, -xspeed * ratio, 15, 0); } frame 18 { ratio = (_parent._parent._parent.player._y - (_parent._y - 250)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 100 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = 7; } else { if (xspeed >= 0) { xspeed = -7; } } _parent._parent._parent.create_enemy_bullet('bubble_bullet', _parent._x - 100, _parent._y - 250, 2 - Math.random() * 4 + xspeed, -xspeed * ratio, 15, 0); } frame 25 { _parent.gotoAndStop(1); } } movieClip 1392 { frame 40 { _parent.gotoAndStop(1); } } movieClip 1393 { frame 14 { _parent._parent._parent.create_enemy_bullet('ice_comet', Math.random() * 500, -Math.random() * 200, 4, Math.random() * 2 + 6, 4, 64 + _parent.lvl * 8); _parent._parent._parent.create_enemy_bullet('ice_comet', Math.random() * 500, -Math.random() * 200, 4, Math.random() * 2 + 6, 4, 64 + _parent.lvl * 8); } frame 20 { _parent._parent._parent.create_enemy_bullet('ice_comet', Math.random() * 500, -Math.random() * 200, 4, Math.random() * 2 + 6, 4, 64 + _parent.lvl * 8); _parent._parent._parent.create_enemy_bullet('ice_comet', Math.random() * 500, -Math.random() * 200, 4, Math.random() * 2 + 6, 4, 64 + _parent.lvl * 8); } frame 26 { _parent._parent._parent.create_enemy_bullet('ice_comet', Math.random() * 500, -Math.random() * 200, 4, Math.random() * 2 + 6, 4, 64 + _parent.lvl * 8); _parent._parent._parent.create_enemy_bullet('ice_comet', Math.random() * 500, -Math.random() * 200, 4, Math.random() * 2 + 6, 4, 64 + _parent.lvl * 8); } frame 40 { _parent.gotoAndStop(1); } } movieClip 1394 { frame 40 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'illusionary_mirror', 40, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 50); _parent.removeMovieClip(); } } movieClip 1395 aquarius { frame 1 { stop(); } } movieClip 1397 { } movieClip 1399 { } movieClip 1401 { } movieClip 1403 { } movieClip 1405 { } movieClip 1407 { } movieClip 1409 { } movieClip 1411 { } movieClip 1413 { } movieClip 1414 { } movieClip 1415 { frame 28 { _parent._parent._parent.create_enemy_bullet('fire_meteor', Math.random() * 400, -Math.random() * 200, 4, Math.random() * 4 + 8, 20, 64 + _parent.lvl * 8); _parent._parent._parent.create_enemy_bullet('fire_meteor', Math.random() * 400, -Math.random() * 200, 4, Math.random() * 4 + 8, 20, 64 + _parent.lvl * 8); } frame 29 { _parent._parent._parent.create_enemy_bullet('fire_meteor', Math.random() * 400, -Math.random() * 200, 4, Math.random() * 4 + 8, 20, 64 + _parent.lvl * 8); _parent._parent._parent.create_enemy_bullet('fire_meteor', Math.random() * 400, -Math.random() * 200, 4, Math.random() * 4 + 8, 20, 64 + _parent.lvl * 8); } frame 30 { _parent._parent._parent.create_enemy_bullet('fire_meteor', Math.random() * 400, -Math.random() * 200, 4, Math.random() * 4 + 8, 20, 64 + _parent.lvl * 8); _parent._parent._parent.create_enemy_bullet('fire_meteor', Math.random() * 400, -Math.random() * 200, 4, Math.random() * 4 + 8, 20, 64 + _parent.lvl * 8); } frame 35 { _parent.gotoAndStop(1); } } movieClip 1416 { frame 33 { _parent.gotoAndStop(1); } } movieClip 1417 { } movieClip 1418 { } movieClip 1419 { frame 35 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'garnet', 75, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 50); _parent.removeMovieClip(); } } movieClip 1420 aries { frame 1 { stop(); } } movieClip 1422 { } movieClip 1424 { } movieClip 1426 { } movieClip 1428 { } movieClip 1430 { } movieClip 1432 { } movieClip 1434 { } movieClip 1437 { } movieClip 1440 { } movieClip 1441 { } movieClip 1442 { frame 34 { _parent.gotoAndStop(1); } } movieClip 1443 { frame 17 { ratio = (_parent._parent._parent.player._y - (_parent._y - 260)) / (_parent._x - 120 - _parent._parent._parent.player._x); xspeed = _parent._x - 120 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('toxic', _parent._x - 120, _parent._y - 260, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 6, 1008 + _parent.lvl * 32); } frame 19 { ratio = (_parent._parent._parent.player._y - (_parent._y - 260)) / (_parent._x - 120 - _parent._parent._parent.player._x); xspeed = _parent._x - 120 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('toxic', _parent._x - 120, _parent._y - 260, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 6, 1008 + _parent.lvl * 32); } frame 23 { ratio = (_parent._parent._parent.player._y - (_parent._y - 260)) / (_parent._x - 120 - _parent._parent._parent.player._x); xspeed = _parent._x - 120 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('toxic', _parent._x - 120, _parent._y - 260, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 6, 1008 + _parent.lvl * 32); } frame 25 { ratio = (_parent._parent._parent.player._y - (_parent._y - 260)) / (_parent._x - 120 - _parent._parent._parent.player._x); xspeed = _parent._x - 120 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('toxic', _parent._x - 120, _parent._y - 260, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 6, 1008 + _parent.lvl * 32); } frame 31 { ratio = (_parent._parent._parent.player._y - (_parent._y - 260)) / (_parent._x - 120 - _parent._parent._parent.player._x); xspeed = _parent._x - 120 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('toxic', _parent._x - 120, _parent._y - 260, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 6, 1008 + _parent.lvl * 32); } frame 33 { ratio = (_parent._parent._parent.player._y - (_parent._y - 260)) / (_parent._x - 120 - _parent._parent._parent.player._x); xspeed = _parent._x - 120 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('toxic', _parent._x - 120, _parent._y - 260, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 6, 1008 + _parent.lvl * 32); } frame 40 { _parent.gotoAndStop(1); } } movieClip 1444 { frame 15 { _parent._parent._parent.create_enemy_bullet('typhoon', _parent._x + 100 + Math.random() * 400, _parent._y - Math.random() * 400, 2, -2, 20, 0); } frame 17 { _parent._parent._parent.create_enemy_bullet('typhoon', _parent._x + 100 + Math.random() * 400, _parent._y - Math.random() * 400, 2, -2, 20, 0); } frame 19 { _parent._parent._parent.create_enemy_bullet('typhoon', _parent._x + 100 + Math.random() * 400, _parent._y - Math.random() * 400, 2, -2, 20, 0); } frame 30 { _parent.gotoAndStop(1); } } movieClip 1445 { frame 41 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'shinning_skull', 70, 'shinning_skull', 70); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 50); _parent.removeMovieClip(); } } movieClip 1446 cancer { frame 1 { stop(); } } movieClip 1448 { } movieClip 1450 { } movieClip 1452 { } movieClip 1454 { } movieClip 1456 { } movieClip 1458 { } movieClip 1460 { } movieClip 1462 { } movieClip 1464 { } movieClip 1466 { } movieClip 1468 { } movieClip 1470 { } movieClip 1472 { } movieClip 1473 { } movieClip 1474 { frame 7 { temp_x = _parent._parent._parent.player._x; temp_y = _parent._parent._parent.player._y; } frame 15 { _parent._parent._parent.create_enemy_bullet('leo_curse', temp_x, temp_y, 0, 0, 5, 16 + _parent.lvl * 3); } frame 16 { temp_x = _parent._parent._parent.player._x; temp_y = _parent._parent._parent.player._y; } frame 27 { _parent._parent._parent.create_enemy_bullet('leo_curse', temp_x, temp_y, 0, 0, 5, 16 + _parent.lvl * 3); } frame 28 { temp_x = _parent._parent._parent.player._x; temp_y = _parent._parent._parent.player._y; } frame 36 { _parent._parent._parent.create_enemy_bullet('leo_curse', temp_x, temp_y, 0, 0, 5, 32 + _parent.lvl * 4); } frame 46 { _parent.gotoAndStop(1); } } movieClip 1475 { frame 12 { ratio = (_parent._parent._parent.player._y - (_parent._y - 215)) / (_parent._x - 250 - _parent._parent._parent.player._x); xspeed = _parent._x - 250 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('leo_fire', _parent._x - 250, _parent._y - 215, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 19 { ratio = (_parent._parent._parent.player._y - (_parent._y - 215)) / (_parent._x - 250 - _parent._parent._parent.player._x); xspeed = _parent._x - 250 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('leo_fire', _parent._x - 250, _parent._y - 215, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 26 { ratio = (_parent._parent._parent.player._y - (_parent._y - 215)) / (_parent._x - 250 - _parent._parent._parent.player._x); xspeed = _parent._x - 250 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('leo_fire', _parent._x - 250, _parent._y - 215, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 33 { ratio = (_parent._parent._parent.player._y - (_parent._y - 215)) / (_parent._x - 250 - _parent._parent._parent.player._x); xspeed = _parent._x - 250 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('leo_fire', _parent._x - 250, _parent._y - 215, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 39 { ratio = (_parent._parent._parent.player._y - (_parent._y - 215)) / (_parent._x - 250 - _parent._parent._parent.player._x); xspeed = _parent._x - 250 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('leo_fire', _parent._x - 250, _parent._y - 215, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 46 { ratio = (_parent._parent._parent.player._y - (_parent._y - 215)) / (_parent._x - 250 - _parent._parent._parent.player._x); xspeed = _parent._x - 250 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('leo_fire', _parent._x - 250, _parent._y - 215, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 15, 0); } frame 60 { _parent.gotoAndStop(1); } } movieClip 1477 { } movieClip 1478 { frame 55 { _parent.gotoAndStop(1); } } movieClip 1479 { frame 30 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'life_seed', 80, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 50); _parent.removeMovieClip(); } } movieClip 1480 leo { frame 1 { stop(); } } movieClip 1482 { } movieClip 1484 { } movieClip 1486 { } movieClip 1488 { } movieClip 1490 { } movieClip 1492 { } movieClip 1494 { } movieClip 1496 { } movieClip 1498 { } movieClip 1500 { } movieClip 1502 { } movieClip 1505 { } movieClip 1506 { } movieClip 1507 { frame 15 { ratio = (_parent._parent._parent.player._y - (_parent._y - 350)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 150 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('libra_cutter', _parent._x - 150, _parent._y - 350, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 20, 0); } frame 17 { ratio = (_parent._parent._parent.player._y - (_parent._y - 380)) / (_parent._x + 80 - _parent._parent._parent.player._x); xspeed = _parent._x + 80 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('libra_cutter', _parent._x + 80, _parent._y - 380, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 20, 0); } frame 19 { ratio = (_parent._parent._parent.player._y - (_parent._y - 350)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 150 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('libra_cutter', _parent._x - 150, _parent._y - 350, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 20, 0); } frame 21 { ratio = (_parent._parent._parent.player._y - (_parent._y - 380)) / (_parent._x + 80 - _parent._parent._parent.player._x); xspeed = _parent._x + 80 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('libra_cutter', _parent._x + 80, _parent._y - 380, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 20, 0); } frame 23 { ratio = (_parent._parent._parent.player._y - (_parent._y - 350)) / (_parent._x - 100 - _parent._parent._parent.player._x); xspeed = _parent._x - 150 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('libra_cutter', _parent._x - 150, _parent._y - 350, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 20, 0); } frame 25 { ratio = (_parent._parent._parent.player._y - (_parent._y - 380)) / (_parent._x + 80 - _parent._parent._parent.player._x); xspeed = _parent._x + 80 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -14; } else { if (xspeed >= 0) { xspeed = 14; } } _parent._parent._parent.create_enemy_bullet('libra_cutter', _parent._x + 80, _parent._y - 380, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 20, 0); } frame 40 { _parent.gotoAndStop(1); } } movieClip 1510 { } movieClip 1511 { frame 55 { _parent.gotoAndStop(1); } } movieClip 1512 { frame 26 { if (_parent._parent._parent.libra_curse_number == 0) { _parent._parent._parent.create_enemy_bullet('libra_curse', Math.random() * 500, -Math.random() * 200, 4, Math.random() * 2 + 6, 4, 160 + _parent.lvl * 16); } } frame 41 { _parent.gotoAndStop(1); } } movieClip 1513 { frame 25 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'time_lock_item', 66, 'life_seed', 66); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 50); _parent.removeMovieClip(); } } movieClip 1514 libra { frame 1 { stop(); } } movieClip 1516 { } movieClip 1518 { } movieClip 1520 { } movieClip 1522 { } movieClip 1524 { } movieClip 1526 { } movieClip 1527 { } movieClip 1528 { frame 35 { _parent.gotoAndStop(1); } } movieClip 1529 { frame 28 { _parent.gotoAndStop(1); } } movieClip 1530 { frame 35 { _parent._parent._parent.create_enemy_bullet('bubble_bullet', 100 + Math.random() * 500, 500 + Math.random() * 100, 0, -5, 12, 0); _parent._parent._parent.create_enemy_bullet('bubble_bullet', 100 + Math.random() * 500, 500 + Math.random() * 100, 0, -5, 12, 0); _parent._parent._parent.create_enemy_bullet('bubble_bullet', 100 + Math.random() * 500, 500 + Math.random() * 100, 0, -5, 12, 0); } frame 49 { _parent._parent._parent.create_enemy_bullet('bubble_bullet', 100 + Math.random() * 500, 500 + Math.random() * 100, 0, -5, 12, 0); _parent._parent._parent.create_enemy_bullet('bubble_bullet', 100 + Math.random() * 500, 500 + Math.random() * 100, 0, -5, 12, 0); _parent._parent._parent.create_enemy_bullet('bubble_bullet', 100 + Math.random() * 500, 500 + Math.random() * 100, 0, -5, 12, 0); } frame 61 { _parent._parent._parent.create_enemy_bullet('bubble_bullet', 100 + Math.random() * 500, 500 + Math.random() * 100, 0, -5, 12, 0); _parent._parent._parent.create_enemy_bullet('bubble_bullet', 100 + Math.random() * 500, 500 + Math.random() * 100, 0, -5, 12, 0); _parent._parent._parent.create_enemy_bullet('bubble_bullet', 100 + Math.random() * 500, 500 + Math.random() * 100, 0, -5, 12, 0); } frame 90 { _parent.gotoAndStop(1); } } movieClip 1531 { frame 45 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'aquarius_gem', 60, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 50); _parent.removeMovieClip(); } } movieClip 1532 pices { frame 1 { stop(); } } movieClip 1534 { } movieClip 1536 { } movieClip 1538 { } movieClip 1539 { } movieClip 1541 { } movieClip 1543 { } movieClip 1545 { } movieClip 1547 { } movieClip 1549 { } movieClip 1551 { } movieClip 1553 { } movieClip 1555 { } movieClip 1556 { } movieClip 1557 { frame 25 { _parent.gotoAndStop(1); } } movieClip 1558 { frame 17 { _parent._parent._parent.create_enemy_bullet('dust_fly', 740 + Math.random() * 50, 20 + Math.random() * 200, -20, 0, 3, 64 + _parent.lvl * 8); _parent._parent._parent.create_enemy_bullet('dust_fly', 740 + Math.random() * 50, 20 + Math.random() * 200, -20, 0, 3, 64 + _parent.lvl * 8); } frame 30 { _parent._parent._parent.create_enemy_bullet('dust_fly', 740 + Math.random() * 50, 20 + Math.random() * 200, -20, 0, 3, 64 + _parent.lvl * 8); _parent._parent._parent.create_enemy_bullet('dust_fly', 740 + Math.random() * 50, 20 + Math.random() * 200, -20, 0, 3, 64 + _parent.lvl * 8); } frame 41 { _parent._parent._parent.create_enemy_bullet('dust_fly', 740 + Math.random() * 50, 20 + Math.random() * 200, -20, 0, 3, 64 + _parent.lvl * 8); _parent._parent._parent.create_enemy_bullet('dust_fly', 740 + Math.random() * 50, 20 + Math.random() * 200, -20, 0, 3, 64 + _parent.lvl * 8); } frame 50 { _parent.gotoAndStop(1); } } movieClip 1559 { frame 21 { _parent._parent._parent.create_enemy_bullet('fire_meteor', 400, 300, 7, 20, 20, 64 + _parent.lvl * 8); } frame 23 { _parent._parent._parent.create_enemy_bullet('fire_meteor', 400, 350, 6, 20, 20, 64 + _parent.lvl * 8); } frame 25 { _parent._parent._parent.create_enemy_bullet('fire_meteor', 400, 300, 7, 20, 20, 64 + _parent.lvl * 8); } frame 27 { _parent._parent._parent.create_enemy_bullet('fire_meteor', 400, 350, 6, 20, 20, 64 + _parent.lvl * 8); } frame 29 { _parent._parent._parent.create_enemy_bullet('fire_meteor', 400, 300, 7, 20, 20, 64 + _parent.lvl * 8); } frame 32 { _parent._parent._parent.create_enemy_bullet('fire_meteor', 400, 350, 6, 20, 20, 64 + _parent.lvl * 8); } frame 36 { _parent.gotoAndStop(1); } } movieClip 1560 { } movieClip 1561 { frame 41 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'dragon_eye', 70, 'dragon_eye', 70); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 50); _parent.removeMovieClip(); } } movieClip 1562 scorpio { frame 1 { stop(); } } movieClip 1564 { } movieClip 1566 { } movieClip 1568 { } movieClip 1570 { } movieClip 1572 { } movieClip 1574 { } movieClip 1576 { } movieClip 1578 { } movieClip 1580 { } movieClip 1582 { } movieClip 1584 { } movieClip 1587 { } movieClip 1588 { } movieClip 1591 { } movieClip 1592 { frame 25 { _parent.gotoAndStop(1); } } movieClip 1594 { } movieClip 1595 { frame 5 { ratio = (_parent._parent._parent.player._y - (_parent._y - 360)) / (_parent._x - 120 - _parent._parent._parent.player._x); xspeed = _parent._x - 120 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -8; } else { if (xspeed >= 0) { xspeed = 8; } } _parent._parent._parent.create_enemy_bullet('toxic', _parent._x - 120, _parent._y - 360, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 4, 256 + _parent.lvl * 16); } frame 10 { ratio = (_parent._parent._parent.player._y - (_parent._y - 360)) / (_parent._x - 120 - _parent._parent._parent.player._x); xspeed = _parent._x - 120 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -8; } else { if (xspeed >= 0) { xspeed = 8; } } _parent._parent._parent.create_enemy_bullet('toxic', _parent._x - 120, _parent._y - 360, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 4, 256 + _parent.lvl * 16); } frame 16 { ratio = (_parent._parent._parent.player._y - (_parent._y - 360)) / (_parent._x - 120 - _parent._parent._parent.player._x); xspeed = _parent._x - 120 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -8; } else { if (xspeed >= 0) { xspeed = 8; } } _parent._parent._parent.create_enemy_bullet('toxic', _parent._x - 120, _parent._y - 360, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 4, 256 + _parent.lvl * 16); } frame 27 { _parent.gotoAndStop(1); } } movieClip 1603 { frame 43 { _parent.gotoAndStop(1); } } movieClip 1604 { frame 30 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'poison_blossom', 75, 'none', 0); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 50); _parent.removeMovieClip(); } } movieClip 1605 giant { frame 1 { stop(); } } movieClip 1607 { } movieClip 1609 { } movieClip 1611 { } movieClip 1612 { } movieClip 1614 { } movieClip 1616 { } movieClip 1618 { } movieClip 1620 { } movieClip 1622 { } movieClip 1624 { } movieClip 1626 { } movieClip 1629 { } movieClip 1631 { } movieClip 1633 { } movieClip 1634 { } movieClip 1637 { } movieClip 1638 shinning_beam { } movieClip 1639 { frame 50 { _parent.gotoAndStop(1); } } movieClip 1640 { } movieClip 1642 { } movieClip 1643 judgment { frame 10 { this.removeMovieClip(); } } movieClip 1644 { } movieClip 1645 { frame 16 { _root.player_silence = Math.round(480 * (1 - _root.player_silence_resistance)); } frame 28 { _parent.gotoAndStop(1); } } movieClip 1646 { frame 8 { _parent._parent._parent.create_enemy_bullet('angel_blade', _parent._x, _parent._y - 100 - Math.random() * 50, 15 + Math.random() * 5, 4 - Math.random() * 8, 15, 0); } frame 10 { _parent._parent._parent.create_enemy_bullet('angel_blade', _parent._x, _parent._y - 100 - Math.random() * 50, 15 + Math.random() * 5, 4 - Math.random() * 8, 15, 0); } frame 12 { _parent._parent._parent.create_enemy_bullet('angel_blade', _parent._x, _parent._y - 100 - Math.random() * 50, 15 + Math.random() * 5, 4 - Math.random() * 8, 15, 0); } frame 14 { _parent._parent._parent.create_enemy_bullet('angel_blade', _parent._x, _parent._y - 100 - Math.random() * 50, 15 + Math.random() * 5, 4 - Math.random() * 8, 15, 0); } frame 16 { _parent._parent._parent.create_enemy_bullet('angel_blade', _parent._x, _parent._y - 100 - Math.random() * 50, 15 + Math.random() * 5, 4 - Math.random() * 8, 15, 0); } frame 18 { _parent._parent._parent.create_enemy_bullet('angel_blade', _parent._x, _parent._y - 100 - Math.random() * 50, 15 + Math.random() * 5, 4 - Math.random() * 8, 15, 0); } frame 20 { _parent._parent._parent.create_enemy_bullet('angel_blade', _parent._x, _parent._y - 100 - Math.random() * 50, 15 + Math.random() * 5, 4 - Math.random() * 8, 15, 0); } frame 31 { _parent.gotoAndStop(1); } } movieClip 1647 { frame 50 { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'golden_apple', 75, 'golden_apple', 75); _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 50); _parent.removeMovieClip(); } } movieClip 1648 virgo { frame 1 { stop(); } } movieClip 1651 { } movieClip 1652 { } movieClip 1655 { } movieClip 1657 { } movieClip 1659 { } movieClip 1661 { } movieClip 1663 { } movieClip 1665 { } movieClip 1667 { } movieClip 1669 { } movieClip 1671 { } movieClip 1672 { } movieClip 1673 { frame 9 { temp_x = _parent._parent._parent.player._x; temp_y = _parent._parent._parent.player._y; temp_chance = Math.random() * 100; } frame 10 { if (temp_chance < 17) { _parent._parent._parent.create_enemy_bullet('cancer_curse', temp_x, temp_y, 0, 8 + _parent.lvl * 3, 0, 160 + _parent.lvl * 32); } else { if (temp_chance < 34) { _parent._parent._parent.create_enemy_bullet('aquarius_curse', temp_x, temp_y, 0, 0, 0, 48 + _parent.lvl * 8); } else { if (temp_chance < 51) { _parent._parent._parent.create_enemy_bullet('virgo_curse', temp_x, temp_y, 0, 0, 0, 96 + _parent.lvl * 16); } else { if (temp_chance < 78) { _parent._parent._parent.create_enemy_bullet('scorpio_curse', temp_x, temp_y, 0, 0, 0, 96 + _parent.lvl * 16); } else { if (_parent._parent._parent.zodiac_curse_number == 0) { _parent._parent._parent.create_enemy_bullet('zodiac_curse', temp_x, temp_y, 0, 0, 0, 72 + _parent.lvl * 6); } } } } } } frame 30 { _parent.gotoAndStop(1); } } movieClip 1674 { frame 22 { _parent._parent._parent.create_enemy_bullet('rainbow_breath', 50 + Math.random() * 300, 490, 0, 0, 15, 0); } frame 30 { _parent._parent._parent.create_enemy_bullet('rainbow_breath', 50 + Math.random() * 300, 490, 0, 0, 15, 0); } frame 40 { _parent.gotoAndStop(1); } } movieClip 1675 { frame 17 { ratio = (_parent._parent._parent.player._y - (_parent._y - 275)) / (_parent._x - 160 - _parent._parent._parent.player._x); xspeed = _parent._x - 160 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -7; } else { if (xspeed >= 0) { xspeed = 7; } } _parent._parent._parent.create_enemy_bullet('zodiac_star', _parent._x - 160, _parent._y - 275, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 20, 0); } frame 27 { ratio = (_parent._parent._parent.player._y - (_parent._y - 275)) / (_parent._x - 160 - _parent._parent._parent.player._x); xspeed = _parent._x - 160 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -7; } else { if (xspeed >= 0) { xspeed = 7; } } _parent._parent._parent.create_enemy_bullet('zodiac_star', _parent._x - 160, _parent._y - 275, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 20, 0); } frame 38 { ratio = (_parent._parent._parent.player._y - (_parent._y - 275)) / (_parent._x - 160 - _parent._parent._parent.player._x); xspeed = _parent._x - 160 - _parent._parent._parent.player._x; if (xspeed < 0) { xspeed = -7; } else { if (xspeed >= 0) { xspeed = 7; } } _parent._parent._parent.create_enemy_bullet('zodiac_star', _parent._x - 160, _parent._y - 275, 2 - Math.random() * 4 + xspeed, xspeed * ratio, 20, 0); } frame 40 { _parent.gotoAndStop(1); } } movieClip 1676 { frame 30 { if (_root.difficulty == 1 && _root.player_zodiac_master == 0) { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'zodiac_master', 100, 'none', 0); } if (_root.difficulty == 2 && _root.player_zodiac_master <= 1) { _parent._parent._parent.drop_function(_parent, 'moon_drop', 100, 'sun_drop', 100, 'zodiac_master', 100, 'none', 0); } _parent._parent._parent.give_exp(_parent._parent._parent.level_difficulty * 500); _parent.removeMovieClip(); } } movieClip 1677 zodiac_memory { frame 1 { stop(); } } movieClip 1680 { } movieClip 1681 { } movieClip 1682 { } movieClip 1683 { frame 7 { _parent._parent._parent.create_bullet('ultimate_wing', 350, 250, 0, 0); } frame 15 { _parent._parent._parent.special_attacking = false; _parent.gotoAndStop('still'); } } movieClip 1684 { frame 1 { stop(); } } movieClip 1686 { } movieClip 1688 { } movieClip 1690 { } movieClip 1692 { } movieClip 1694 { } movieClip 1696 { } movieClip 1698 { } movieClip 1700 { } movieClip 1702 { } movieClip 1704 { } movieClip 1706 { } movieClip 1708 { } movieClip 1710 { } movieClip 1712 { } movieClip 1714 { } movieClip 1715 { } movieClip 1717 { } movieClip 1718 { frame 10 { _parent.gotoAndStop(1); } } movieClip 1719 { frame 1 { _parent._parent._parent.UI.HP_highlight.gotoAndPlay(5); _parent._parent._parent.auto_cast(); } frame 10 { _parent.gotoAndStop(1); } } movieClip 1720 { frame 1 { _parent._parent._parent.auto_cast_dodged(); } frame 10 { _parent.gotoAndStop(1); } } movieClip 1721 { frame 1 { _parent._parent._parent.UI.HP_highlight.gotoAndPlay(5); _parent._parent._parent.auto_cast(); } frame 19 { _parent._parent._parent.auto_cast_die(); } frame 20 { _parent._parent._parent.win_lose('lose'); _parent._parent.removeMovieClip(); } } movieClip 1722 { frame 1 { onEnterFrame = function () { if (_root.player_poison > 0) { poison_indicator.gotoAndStop(2); } else { poison_indicator.gotoAndStop(1); } if (_root.player_frozen > 0) { frozen_indicator.gotoAndStop(2); } else { frozen_indicator.gotoAndStop(1); } if (_root.player_silence > 0) { silence_indicator.gotoAndStop(2); } else { silence_indicator.gotoAndStop(1); } if (_root.player_disable > 0) { disable_indicator.gotoAndStop(2); } else { disable_indicator.gotoAndStop(1); } if (_root.invisibility > 0) { invisibility_indicator.gotoAndStop(2); } else { invisibility_indicator.gotoAndStop(1); } if (_root.player_immobile > 0) { immobile_indicator.gotoAndStop(2); } else { immobile_indicator.gotoAndStop(1); } }; } frame 1 { stop(); } frame 5 { stop(); } frame 25 { stop(); } frame 35 { stop(); } } movieClip 1723 esis { frame 1 { gotoAndStop(_root.player_beast); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); } frame 13 { stop(); } frame 14 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 20 { stop(); } frame 21 { stop(); } } movieClip 1726 { } movieClip 1727 4_leaf_clover { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1731 { } movieClip 1733 { } movieClip 1735 { } movieClip 1737 { } movieClip 1739 { } movieClip 1741 { } movieClip 1743 { } movieClip 1744 aquarius_gem { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1747 { } movieClip 1748 doom_stone { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1751 { } movieClip 1752 dragon_eye { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1756 { } movieClip 1757 { } movieClip 1758 forest_wing { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1761 { } movieClip 1762 garnet { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1766 { } movieClip 1767 { } movieClip 1768 { } movieClip 1769 { } movieClip 1771 { } movieClip 1772 golden_apple { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1776 { } movieClip 1777 { } movieClip 1779 { } movieClip 1780 holy_water { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1783 { } movieClip 1784 illusionary_mirror { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1787 { } movieClip 1788 life_seed { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1791 moon_drop { frame 1 { stop(); } frame 30 { this.removeMovieClip(); } } movieClip 1795 { } movieClip 1796 { } movieClip 1797 poison_blossom { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1801 { } movieClip 1804 { } movieClip 1806 { } movieClip 1807 { } movieClip 1808 rainbow_stone { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1812 { } movieClip 1814 { } movieClip 1816 { } movieClip 1819 { } movieClip 1821 { } movieClip 1823 { } movieClip 1825 { } movieClip 1826 shapely_gem { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1829 { } movieClip 1830 shinning_skull { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1833 sun_drop { frame 1 { stop(); } frame 21 { this.removeMovieClip(); } } movieClip 1838 { } movieClip 1839 { } movieClip 1842 { } movieClip 1846 { } movieClip 1847 { } movieClip 1850 { } movieClip 1852 { } movieClip 1854 { } movieClip 1857 { } movieClip 1859 { } movieClip 1860 time_lock_item { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1863 { } movieClip 1864 vampiric_contract { frame 1 { stop(); } frame 26 { this.removeMovieClip(); } } movieClip 1867 { } movieClip 1868 time_lock { frame 15 { this.removeMovieClip(); } } movieClip 1869 white_screen { frame 15 { this.removeMovieClip(); } } movieClip 1870 { } movieClip 1871 { frame 27 { _parent.removeMovieClip(); } } movieClip 1872 apple_attack { frame 1 { stop(); } } movieClip 1875 { } movieClip 1876 azure_up { frame 16 { stop(); } } movieClip 1879 { } movieClip 1880 crimson_up { frame 18 { stop(); } } movieClip 1883 { } movieClip 1884 defensive_grid { } movieClip 1887 { } movieClip 1888 defensive_shell { } movieClip 1891 { } movieClip 1894 { } movieClip 1897 { } movieClip 1900 { } movieClip 1901 flame_egg { frame 30 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('fire_ball', this._x, this._y + 20, 20, 5 - Math.random() * 10); } } frame 32 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('fire_ball', this._x, this._y + 20, 20, 5 - Math.random() * 10); } } frame 34 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('fire_ball', this._x, this._y + 20, 20, 5 - Math.random() * 10); } } frame 36 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('fire_ball', this._x, this._y + 20, 20, 5 - Math.random() * 10); } } frame 38 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('fire_ball', this._x, this._y + 20, 20, 5 - Math.random() * 10); } } frame 40 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('fire_ball', this._x, this._y + 20, 20, 5 - Math.random() * 10); } } frame 50 { gotoAndPlay(10); } frame 75 { this.removeMovieClip(); } } movieClip 1904 { } movieClip 1907 { } movieClip 1910 { } movieClip 1911 forest_egg { frame 34 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('poison_screen', 0, 0, Math.round(8 + _root.player_power / 2), 0); } } frame 59 { gotoAndPlay(10); } frame 80 { this.removeMovieClip(); } } movieClip 1912 poison_screen { frame 2 { this.removeMovieClip(); } } movieClip 1914 { } movieClip 1916 { } movieClip 1918 { } movieClip 1920 { } movieClip 1922 { } movieClip 1924 { } movieClip 1926 { } movieClip 1930 { } movieClip 1933 { } movieClip 1935 { } movieClip 1937 { } movieClip 1938 frozen_egg { frame 12 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('ice_spike', this._x, this._y, 20, 0); _parent._parent.create_bullet('ice_spike', this._x - 40, this._y + 10, 20, 0); } } frame 14 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('ice_spike', this._x, this._y, 20, 0); _parent._parent.create_bullet('ice_spike', this._x - 40, this._y + 10, 20, 0); } } frame 16 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('ice_spike', this._x, this._y, 20, 0); _parent._parent.create_bullet('ice_spike', this._x - 40, this._y + 10, 20, 0); } } frame 18 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('ice_spike', this._x, this._y, 20, 0); _parent._parent.create_bullet('ice_spike', this._x - 40, this._y + 10, 20, 0); } } frame 20 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('ice_spike', this._x, this._y, 20, 0); _parent._parent.create_bullet('ice_spike', this._x - 40, this._y + 10, 20, 0); } } frame 22 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('ice_spike', this._x, this._y, 20, 0); _parent._parent.create_bullet('ice_spike', this._x - 40, this._y + 10, 20, 0); } } frame 58 { gotoAndPlay(10); } frame 78 { this.removeMovieClip(); } } movieClip 1940 cosmos_blade { } movieClip 1943 { } movieClip 1944 grand_cosmos { frame 4 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 0, 0); _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 1, 0); _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 2, 0); _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 3, 0); _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 4, 0); _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 5, 0); _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 6, 0); _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 7, 0); } } frame 7 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 1, 0); } } frame 10 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 2, 0); } } frame 13 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 3, 0); } } frame 16 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 2, 0); } } frame 19 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 1, 0); } } frame 22 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 2, 0); } } frame 25 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('cosmos_blade', this._x, this._y, 3, 0); } } frame 30 { gotoAndPlay(1); } frame 50 { this.removeMovieClip(); } } movieClip 1946 { } movieClip 1947 { frame 10 { _parent.removeMovieClip(); } } movieClip 1948 circle { frame 11 { this.removeMovieClip(); } } movieClip 1951 { } movieClip 1954 blast { frame 4 { this.removeMovieClip(); } } movieClip 1955 ice_slash { frame 10 { this.removeMovieClip(); } } movieClip 1958 { frame 10 { _parent.removeMovieClip(); } } movieClip 1959 poison_bolt { frame 1 { stop(); } } movieClip 1962 { } movieClip 1963 thunder_bolt { frame 1 { stop(); } } movieClip 1964 esis_wing { frame 1 { stop(); } frame 50 { this.removeMovieClip(); } } movieClip 1965 ultimate_wing { frame 60 { gotoAndPlay(10); } } movieClip 1968 { } movieClip 1971 { } movieClip 1972 flame_orb { frame 1 { stop(); } } movieClip 1979 ice_star { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } movieClip 1982 toxic { frame 1 { stop(); } } movieClip 1985 war_head { frame 1 { stop(); } } movieClip 1992 ice_spike { frame 1 { stop(); } } movieClip 1994 { } movieClip 2036 { } movieClip 2037 fly_swarm { frame 5 { gotoAndPlay(1); } frame 60 { this.removeMovieClip(); } } movieClip 2039 imperial_swarm { frame 4 { gotoAndPlay(1); } frame 40 { this.removeMovieClip(); } } movieClip 2042 { } movieClip 2043 swarm_heart { frame 15 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('fly_swarm', this._x, this._y, 14, 0); } } frame 26 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('fly_swarm', this._x, this._y, 14, 0); } } frame 38 { if (_parent._parent.pausing == false) { _parent._parent.create_bullet('fly_swarm', this._x, this._y, 14, 0); } } frame 50 { gotoAndPlay(5); } } movieClip 2046 lightning_bolt { } movieClip 2049 { } movieClip 2052 { } movieClip 2053 obliterate_bolt { frame 1 { stop(); } frame 36 { stop(); this.removeMovieClip(); } } movieClip 2054 splitting_thunder { frame 7 { gotoAndPlay(1); } frame 32 { _parent._parent.create_bullet('lightning_bolt', this._x + 10, this._y, 0, 0); _parent._parent.create_bullet('lightning_bolt', this._x + 10, this._y, 1, 0); _parent._parent.create_bullet('lightning_bolt', this._x + 10, this._y, 2, 0); _parent._parent.create_bullet('lightning_bolt', this._x + 10, this._y, 3, 0); _parent._parent.create_bullet('lightning_bolt', this._x + 10, this._y, 4, 0); _parent._parent.create_bullet('lightning_bolt', this._x + 10, this._y, 5, 0); _parent._parent.create_bullet('lightning_bolt', this._x + 10, this._y, 6, 0); _parent._parent.create_bullet('lightning_bolt', this._x + 10, this._y, 7, 0); this.removeMovieClip(); } } movieClip 2057 enrage { } movieClip 2060 wind_splitter { } movieClip 2063 { } movieClip 2064 { } movieClip 2065 parasite { frame 15 { gotoAndPlay(1); } frame 22 { gotoAndPlay(1); } frame 40 { this.removeMovieClip(); } } movieClip 2066 poison_line { frame 2 { this.removeMovieClip(); } } movieClip 2068 scythe { } movieClip 2071 { } movieClip 2072 laser { frame 1 { stop(); if (this._split > 0) { gotoAndPlay(30); } } frame 32 { _parent._parent.create_bullet('laser', this._x, this._y, 2, 0); _parent._parent.create_bullet('laser', this._x, this._y, 1, 0); _parent._parent.create_bullet('laser', this._x, this._y, 3, 0); _parent._parent.create_bullet('laser', this._x, this._y + 300, 1, 0); _parent._parent.create_bullet('laser', this._x, this._y - 300, 3, 0); gotoAndPlay(30); } } movieClip 2075 { } movieClip 2076 piercing_wind { frame 1 { stop(); } frame 35 { this.removeMovieClip(); } } movieClip 2079 { } movieClip 2080 piercing_wind_2 { frame 1 { stop(); } frame 35 { this.removeMovieClip(); } } movieClip 2083 malicious_swarm { frame 15 { gotoAndPlay(1); } frame 22 { gotoAndPlay(1); } frame 40 { this.removeMovieClip(); } } movieClip 2086 venom { frame 1 { stop(); } } movieClip 2089 venom_source { } movieClip 2092 { } movieClip 2095 { } movieClip 2096 diamond_destroyer { } movieClip 2103 ice_comet { frame 1 { stop(); } frame 38 { this.removeMovieClip(); } frame 48 { this.removeMovieClip(); } frame 58 { this.removeMovieClip(); } } movieClip 2106 dual_lightening { } movieClip 2111 { } movieClip 2112 { frame 10 { _parent.removeMovieClip(); } } movieClip 2113 violet_thunder { frame 1 { stop(); } } movieClip 2116 chrono_vortex { } movieClip 2127 ice_prison { frame 1 { stop(); } frame 94 { this.removeMovieClip(); } } movieClip 2130 water_blast { frame 1 { stop(); } } movieClip 2132 cresent_moon { } movieClip 2135 { } movieClip 2138 { } movieClip 2139 solar_eclipse { frame 60 { gotoAndPlay(10); } } movieClip 2141 { } movieClip 2142 flame_blast { frame 10 { this.removeMovieClip(); } } movieClip 2143 flame_heart { frame 13 { _parent._parent.create_bullet('flame_blast', this._x, this._y, 0, 0); } frame 16 { _parent._parent.create_bullet('flame_blast', this._x + 1, this._y, 1, 0); } frame 19 { _parent._parent.create_bullet('flame_blast', this._x + 2, this._y, 2, 0); } frame 22 { _parent._parent.create_bullet('flame_blast', this._x + 3, this._y, 3, 0); } frame 25 { _parent._parent.create_bullet('flame_blast', this._x + 4, this._y, 4, 0); } frame 28 { _parent._parent.create_bullet('flame_blast', this._x + 5, this._y, 5, 0); } frame 31 { _parent._parent.create_bullet('flame_blast', this._x + 6, this._y, 6, 0); } frame 34 { _parent._parent.create_bullet('flame_blast', this._x + 7, this._y, 7, 0); } frame 37 { _parent._parent.create_bullet('flame_blast', this._x + 8, this._y, 8, 0); } frame 40 { _parent._parent.create_bullet('flame_blast', this._x + 9, this._y, 9, 0); } frame 43 { _parent._parent.create_bullet('flame_blast', this._x + 10, this._y, 10, 0); } frame 46 { _parent._parent.create_bullet('flame_blast', this._x + 11, this._y, 11, 0); } frame 49 { _parent._parent.create_bullet('flame_blast', this._x + 12, this._y, 12, 0); } frame 65 { this.removeMovieClip(); } } movieClip 2146 blazing_wing { } movieClip 2149 { } movieClip 2150 mark_of_fire { frame 1 { stop(); } } movieClip 2153 { } movieClip 2154 rebirth { frame 1 { _root.harp_chord_long.start(0, 1); } frame 32 { this.removeMovieClip(); } } movieClip 2157 violet_ball { } movieClip 2160 { } movieClip 2161 { frame 11 { _parent.removeMovieClip(); } } movieClip 2162 holy_fire { frame 1 { stop(); } } movieClip 2165 { } movieClip 2166 soul_festival { frame 10 { this.removeMovieClip(); } } movieClip 2169 soul_fragment { } movieClip 2172 { } movieClip 2173 soul_scatter { frame 1 { if (Math.random() > 0.5) { this.gotoAndStop(2); } else { stop(); } } frame 37 { this.removeMovieClip(); } } movieClip 2176 light_source { frame 20 { hit.onEnterFrame = function () { if (_parent._parent.pausing == false) { _parent._parent.check_bullet_hit(hit, 'shinning_beam'); } }; } } movieClip 2177 shinning_rain { } movieClip 2178 illumination { frame 1 { stop(); } frame 40 { this.removeMovieClip(); } } movieClip 2179 { } movieClip 2180 soul_void { frame 100 { this.removeMovieClip(); } } movieClip 2186 { frame 1 { stop(); } } frame 4 { function play_music(track_name) { _root.menu_music.stop(); _root.tittle_music.stop(); _root.event_music.stop(); _root.battle_music_1.stop(); _root.battle_music_2.stop(); _root.win_music.stop(); _root.lose_music.stop(); track_name.start(0, 9999); } function sound_off() { _root.menu_music.setVolume(0); _root.mute = 'off'; } function sound_on() { _root.menu_music.setVolume(100); _root.mute = 'on'; } option_key_listener = new Object(); option_key_listener.onKeyUp = function () { if (Key.getCode() == 81) { if (_root._quality == 'LOW') { current_quality = 'MEDIUM'; _root._quality = 'MEDIUM'; } else { if (_root._quality == 'MEDIUM') { current_quality = 'HIGH'; _root._quality = 'HIGH'; } else { if (_root._quality == 'HIGH') { current_quality = 'LOW'; _root._quality = 'LOW'; } } } } if (Key.getCode() == 83) { if (_root.mute == 'on') { _root.sound_off(); } else { _root.sound_on(); } } }; this.tabEnabled = false; this.tabChildren = false; mute = 'on'; menu_music = new Sound(); menu_music.attachSound('menu_music'); tittle_music = new Sound(); tittle_music.attachSound('tittle_music'); battle_music_1 = new Sound(); battle_music_1.attachSound('battle_music_1'); battle_music_2 = new Sound(); battle_music_2.attachSound('battle_music_2'); win_music = new Sound(); win_music.attachSound('win_music'); lose_music = new Sound(); lose_music.attachSound('lose_music'); event_music = new Sound(); event_music.attachSound('event_music'); _root.play_music(_root.tittle_music); button_sound_1 = new Sound(); button_sound_1.attachSound('button_sound_1'); button_sound_2 = new Sound(); button_sound_2h.attachSound('button_sound_2'); harp_chord_long = new Sound(); harp_chord_long.attachSound('harp_chord_long'); harp_chord_short = new Sound(); harp_chord_short.attachSound('harp_chord_short'); glass_break = new Sound(); glass_break.attachSound('glass_break'); hit_sound = new Sound(); hit_sound.attachSound('hit_sound'); dodge_sound = new Sound(); dodge_sound.attachSound('dodge_sound'); explosion_sound = new Sound(); explosion_sound.attachSound('explosion_sound'); roar_sound = new Sound(); roar_sound.attachSound('roar_sound'); gun_shot = new Sound(); gun_shot.attachSound('gun_shot'); rifle_shot = new Sound(); rifle_shot.attachSound('rifle_shot'); sword_slash = new Sound(); sword_slash.attachSound('sword_slash'); water_shot = new Sound(); water_shot.attachSound('water_shot'); warning_sound = new Sound(); warning_sound.attachSound('warning_sound'); heart_beat = new Sound(); heart_beat.attachSound('heart_beat'); } frame 4 { guide_btn.onRelease = function () { getURL(_root.strategy_guide_link, '_blank'); }; kong_btn.onRelease = function () { getURL(_root.kong_link, '_blank'); }; my_btn.onRelease = function () { getURL('http://1manstudio.net/game/?page_id=73', '_blank'); }; download_btn.onRelease = function () { getURL('http://www.kongregate.com/games_for_your_site/?gamereferral=WingsOfGenesis', '_blank'); }; support_btn.onRelease = function () { getURL(_root.kong_link, '_blank'); }; } frame 4 { stop(); _root._quality = 'medium'; conjure_animation = 'on'; _root.difficulty = 1; _root.current_day = 1; esis_feature = 0; new_game = false; save_slot_mv.is_active = false; save_slot_mv._visible = false; new_game_mv.is_active = false; new_game_mv._visible = false; credit_mv.is_active = false; credit_mv._visible = false; option_mv.is_active = false; option_mv._visible = false; alpha_control = function (mv) { if (mv.is_active == false && mv._alpha > 0) { mv._alpha -= 4; } else { if (mv.is_active == true && mv._alpha < 100) { mv._alpha += 4; } } }; onEnterFrame = function () { alpha_control(save_slot_mv); alpha_control(new_game_mv); alpha_control(credit_mv); alpha_control(option_mv); }; new_game_btn.onRelease = function () { if (new_game_mv.is_active == false) { new_game_mv._visible = true; new_game_mv.is_active = true; new_game_mv._alpha = 0; new_game_mv.gotoAndStop(5); save_slot_mv.is_active = false; save_slot_mv.gotoAndStop(1); credit_mv.is_active = false; credit_mv.gotoAndStop(1); option_mv.is_active = false; option_mv.gotoAndStop(1); } else { new_game_mv.is_active = false; new_game_mv.gotoAndStop(1); } }; continue_btn.onRelease = function () { if (save_slot_mv.is_active == false) { save_slot_mv._visible = true; save_slot_mv.is_active = true; save_slot_mv._alpha = 0; save_slot_mv.gotoAndStop(5); new_game_mv.is_active = false; new_game_mv.gotoAndStop(1); credit_mv.is_active = false; credit_mv.gotoAndStop(1); option_mv.is_active = false; option_mv.gotoAndStop(1); } else { save_slot_mv.is_active = false; save_slot_mv.gotoAndStop(1); } }; credit_btn.onRelease = function () { if (credit_mv.is_active == false) { credit_mv._visible = true; credit_mv.is_active = true; credit_mv._alpha = 0; credit_mv.gotoAndStop(5); new_game_mv.is_active = false; new_game_mv.gotoAndStop(1); save_slot_mv.is_active = false; save_slot_mv.gotoAndStop(1); option_mv.is_active = false; option_mv.gotoAndStop(1); } else { credit_mv.is_active = false; credit_mv.gotoAndStop(1); } }; option_btn.onRelease = function () { if (option_mv.is_active == false) { option_mv._visible = true; option_mv.is_active = true; option_mv._alpha = 0; option_mv.gotoAndStop(5); new_game_mv.is_active = false; new_game_mv.gotoAndStop(1); save_slot_mv.is_active = false; save_slot_mv.gotoAndStop(1); credit_mv.is_active = false; credit_mv.gotoAndStop(1); } else { option_mv.is_active = false; option_mv.gotoAndStop(1); } }; } movieClip 2191 { } movieClip 2193 { } movieClip 2194 { } movieClip 2197 { } movieClip 2200 { } movieClip 2201 { frame 90 { stop(); } } // unknown tag 88 length 140 movieClip 2239 { } movieClip 2251 { frame 1 { stop(); } frame 5 { stop(); btn.onRelease = function () { gotoAndStop(10); }; _root.playerSO = SharedObject.getLocal('wog_info'); _root.current_save = 'save_file_1'; if (_root.playerSO.data.save_file_1.player_character != null) { portrait_1.gotoAndStop(_root.playerSO.data.save_file_1.player_character); txt_1 = ' Level ' + _root.playerSO.data.save_file_1.player_lvl; } else { portrait_1.gotoAndStop(5); text_1 = 'Empty'; } if (_root.playerSO.data.save_file_2.player_character != null) { portrait_2.gotoAndStop(_root.playerSO.data.save_file_2.player_character); txt_2 = ' Level ' + _root.playerSO.data.save_file_2.player_lvl; } else { portrait_2.gotoAndStop(5); text_2 = 'Empty'; } if (_root.playerSO.data.save_file_3.player_character != null) { portrait_3.gotoAndStop(_root.playerSO.data.save_file_3.player_character); txt_3 = ' Level ' + _root.playerSO.data.save_file_3.player_lvl; } else { portrait_3.gotoAndStop(5); text_3 = 'Empty'; } if (_root.playerSO.data.save_file_4.player_character != null) { portrait_4.gotoAndStop(_root.playerSO.data.save_file_4.player_character); txt_4 = ' Level ' + _root.playerSO.data.save_file_4.player_lvl; } else { portrait_4.gotoAndStop(5); text_4 = 'Empty'; } if (_root.playerSO.data.save_file_5.player_character != null) { portrait_5.gotoAndStop(_root.playerSO.data.save_file_5.player_character); txt_5 = ' Level ' + _root.playerSO.data.save_file_5.player_lvl; } else { portrait_5.gotoAndStop(5); text_5 = 'Empty'; } _root.player_character = 'nera'; _root.current_map = 'level_1'; _root.player_beast = 'salamander'; btn_1.onRelease = function () { _root.current_save = 'save_file_1'; if (_root.playerSO.data[_root.current_save].player_character == null) { } else { _root.gotoAndPlay('pre_UI'); } }; btn_2.onRelease = function () { _root.current_save = 'save_file_2'; if (_root.playerSO.data[_root.current_save].player_character == null) { } else { _root.gotoAndPlay('pre_UI'); } }; btn_3.onRelease = function () { _root.current_save = 'save_file_3'; if (_root.playerSO.data[_root.current_save].player_character == null) { } else { _root.gotoAndPlay('pre_UI'); } }; btn_4.onRelease = function () { _root.current_save = 'save_file_4'; if (_root.playerSO.data[_root.current_save].player_character == null) { } else { _root.gotoAndPlay('pre_UI'); } }; btn_5.onRelease = function () { _root.current_save = 'save_file_5'; if (_root.playerSO.data[_root.current_save].player_character == null) { } else { _root.gotoAndPlay('pre_UI'); } }; } frame 10 { stop(); btn.onRelease = function () { gotoAndStop(5); }; _root.playerSO = SharedObject.getLocal('wog_info'); _root.current_save = 'save_file_6'; if (_root.playerSO.data.save_file_6.player_character != null) { portrait_6.gotoAndStop(_root.playerSO.data.save_file_6.player_character); txt_6 = ' Level ' + _root.playerSO.data.save_file_6.player_lvl; } else { portrait_6.gotoAndStop(5); text_6 = 'Empty'; } if (_root.playerSO.data.save_file_7.player_character != null) { portrait_7.gotoAndStop(_root.playerSO.data.save_file_7.player_character); txt_7 = ' Level ' + _root.playerSO.data.save_file_7.player_lvl; } else { portrait_7.gotoAndStop(5); text_7 = 'Empty'; } if (_root.playerSO.data.save_file_8.player_character != null) { portrait_8.gotoAndStop(_root.playerSO.data.save_file_8.player_character); txt_8 = ' Level ' + _root.playerSO.data.save_file_8.player_lvl; } else { portrait_8.gotoAndStop(5); text_8 = 'Empty'; } if (_root.playerSO.data.save_file_9.player_character != null) { portrait_9.gotoAndStop(_root.playerSO.data.save_file_9.player_character); txt_9 = ' Level ' + _root.playerSO.data.save_file_9.player_lvl; } else { portrait_9.gotoAndStop(5); text_9 = 'Empty'; } if (_root.playerSO.data.save_file_10.player_character != null) { portrait_10.gotoAndStop(_root.playerSO.data.save_file_10.player_character); txt_10 = ' Level ' + _root.playerSO.data.save_file_10.player_lvl; } else { portrait_10.gotoAndStop(5); text_10 = 'Empty'; } _root.player_character = 'nera'; _root.current_map = 'level_6'; _root.player_beast = 'salamander'; btn_6.onRelease = function () { _root.current_save = 'save_file_6'; if (_root.playerSO.data[_root.current_save].player_character == null) { } else { _root.gotoAndPlay('pre_UI'); } }; btn_7.onRelease = function () { _root.current_save = 'save_file_7'; if (_root.playerSO.data[_root.current_save].player_character == null) { } else { _root.gotoAndPlay('pre_UI'); } }; btn_8.onRelease = function () { _root.current_save = 'save_file_8'; if (_root.playerSO.data[_root.current_save].player_character == null) { } else { _root.gotoAndPlay('pre_UI'); } }; btn_9.onRelease = function () { _root.current_save = 'save_file_9'; if (_root.playerSO.data[_root.current_save].player_character == null) { _; } else { _root.gotoAndPlay('pre_UI'); } }; btn_10.onRelease = function () { _root.current_save = 'save_file_10'; if (_root.playerSO.data[_root.current_save].player_character == null) { } else { _root.gotoAndPlay('pre_UI'); } }; } } movieClip 2261 { } movieClip 2267 { frame 1 { stop(); } frame 5 { stop(); btn.onRelease = function () { gotoAndStop(10); }; overdrive_mv._visible = false; _root.playerSO = SharedObject.getLocal('wog_info'); _root.current_save = 'save_file_1'; if (_root.playerSO.data.save_file_1.player_character != null) { portrait_1.gotoAndStop(_root.playerSO.data.save_file_1.player_character); txt_1 = ' Level ' + _root.playerSO.data.save_file_1.player_lvl; } else { portrait_1.gotoAndStop(5); text_1 = 'Empty'; } if (_root.playerSO.data.save_file_2.player_character != null) { portrait_2.gotoAndStop(_root.playerSO.data.save_file_2.player_character); txt_2 = ' Level ' + _root.playerSO.data.save_file_2.player_lvl; } else { portrait_2.gotoAndStop(5); text_2 = 'Empty'; } if (_root.playerSO.data.save_file_3.player_character != null) { portrait_3.gotoAndStop(_root.playerSO.data.save_file_3.player_character); txt_3 = ' Level ' + _root.playerSO.data.save_file_3.player_lvl; } else { portrait_3.gotoAndStop(5); text_3 = 'Empty'; } if (_root.playerSO.data.save_file_4.player_character != null) { portrait_4.gotoAndStop(_root.playerSO.data.save_file_4.player_character); txt_4 = ' Level ' + _root.playerSO.data.save_file_4.player_lvl; } else { portrait_4.gotoAndStop(5); text_4 = 'Empty'; } if (_root.playerSO.data.save_file_5.player_character != null) { portrait_5.gotoAndStop(_root.playerSO.data.save_file_5.player_character); txt_5 = ' Level ' + _root.playerSO.data.save_file_5.player_lvl; } else { portrait_5.gotoAndStop(5); text_5 = 'Empty'; } _root.player_character = 'nera'; _root.current_map = 'level_1'; _root.player_beast = 'salamander'; btn_1.onRelease = function () { _root.new_game = true; _root.current_save = 'save_file_1'; _root.gotoAndStop('char_selection'); }; btn_2.onRelease = function () { _root.new_game = true; _root.current_save = 'save_file_2'; _root.gotoAndStop('char_selection'); }; btn_3.onRelease = function () { _root.new_game = true; _root.current_save = 'save_file_3'; _root.gotoAndStop('char_selection'); }; btn_4.onRelease = function () { _root.new_game = true; _root.current_save = 'save_file_4'; _root.gotoAndStop('char_selection'); }; btn_5.onRelease = function () { _root.new_game = true; _root.current_save = 'save_file_5'; _root.gotoAndStop('char_selection'); }; btn_1.onRollOver = function () { if (_root.playerSO.data.save_file_1.player_character != null) { overdrive_mv._visible = true; overdrive_mv._y = btn_1._y; } }; btn_1.onRollOut = function () { overdrive_mv._visible = false; }; btn_2.onRollOver = function () { if (_root.playerSO.data.save_file_2.player_character != null) { overdrive_mv._visible = true; overdrive_mv._y = btn_2._y; } }; btn_2.onRollOut = function () { overdrive_mv._visible = false; }; btn_3.onRollOver = function () { if (_root.playerSO.data.save_file_3.player_character != null) { overdrive_mv._visible = true; overdrive_mv._y = btn_3._y; } }; btn_3.onRollOut = function () { overdrive_mv._visible = false; }; btn_4.onRollOver = function () { if (_root.playerSO.data.save_file_4.player_character != null) { overdrive_mv._visible = true; overdrive_mv._y = btn_4._y; } }; btn_4.onRollOut = function () { overdrive_mv._visible = false; }; btn_5.onRollOver = function () { if (_root.playerSO.data.save_file_5.player_character != null) { overdrive_mv._visible = true; overdrive_mv._y = btn_5._y; } }; btn_5.onRollOut = function () { overdrive_mv._visible = false; }; } frame 10 { stop(); btn.onRelease = function () { gotoAndStop(5); }; _root.playerSO = SharedObject.getLocal('wog_info'); _root.current_save = 'save_file_6'; if (_root.playerSO.data.save_file_6.player_character != null) { portrait_6.gotoAndStop(_root.playerSO.data.save_file_6.player_character); txt_6 = ' Level ' + _root.playerSO.data.save_file_6.player_lvl; } else { portrait_6.gotoAndStop(5); text_6 = 'Empty'; } if (_root.playerSO.data.save_file_7.player_character != null) { portrait_7.gotoAndStop(_root.playerSO.data.save_file_7.player_character); txt_7 = ' Level ' + _root.playerSO.data.save_file_7.player_lvl; } else { portrait_7.gotoAndStop(5); text_7 = 'Empty'; } if (_root.playerSO.data.save_file_8.player_character != null) { portrait_8.gotoAndStop(_root.playerSO.data.save_file_8.player_character); txt_8 = ' Level ' + _root.playerSO.data.save_file_8.player_lvl; } else { portrait_8.gotoAndStop(5); text_8 = 'Empty'; } if (_root.playerSO.data.save_file_9.player_character != null) { portrait_9.gotoAndStop(_root.playerSO.data.save_file_9.player_character); txt_9 = ' Level ' + _root.playerSO.data.save_file_9.player_lvl; } else { portrait_9.gotoAndStop(5); text_9 = 'Empty'; } if (_root.playerSO.data.save_file_10.player_character != null) { portrait_10.gotoAndStop(_root.playerSO.data.save_file_10.player_character); txt_10 = ' Level ' + _root.playerSO.data.save_file_10.player_lvl; } else { portrait_10.gotoAndStop(5); text_10 = 'Empty'; } _root.player_character = 'nera'; _root.current_map = 'level_6'; _root.player_beast = 'salamander'; btn_6.onRelease = function () { _root.new_game = true; _root.current_save = 'save_file_6'; _root.gotoAndStop('char_selection'); }; btn_7.onRelease = function () { _root.new_game = true; _root.current_save = 'save_file_7'; _root.gotoAndStop('char_selection'); }; btn_8.onRelease = function () { _root.new_game = true; _root.current_save = 'save_file_8'; _root.gotoAndStop('char_selection'); }; btn_9.onRelease = function () { _root.new_game = true; _root.current_save = 'save_file_9'; _root.gotoAndStop('char_selection'); }; btn_10.onRelease = function () { _root.new_game = true; _root.current_save = 'save_file_10'; _root.gotoAndStop('char_selection'); }; btn_6.onRollOver = function () { if (_root.playerSO.data.save_file_6.player_character != null) { overdrive_mv._visible = true; overdrive_mv._y = btn_6._y; } }; btn_6.onRollOut = function () { overdrive_mv._visible = false; }; btn_7.onRollOver = function () { if (_root.playerSO.data.save_file_7.player_character != null) { overdrive_mv._visible = true; overdrive_mv._y = btn_7._y; } }; btn_7.onRollOut = function () { overdrive_mv._visible = false; }; btn_8.onRollOver = function () { if (_root.playerSO.data.save_file_8.player_character != null) { overdrive_mv._visible = true; overdrive_mv._y = btn_8._y; } }; btn_8.onRollOut = function () { overdrive_mv._visible = false; }; btn_9.onRollOver = function () { if (_root.playerSO.data.save_file_9.player_character != null) { overdrive_mv._visible = true; overdrive_mv._y = btn_9._y; } }; btn_9.onRollOut = function () { overdrive_mv._visible = false; }; btn_10.onRollOver = function () { if (_root.playerSO.data.save_file_10.player_character != null) { overdrive_mv._visible = true; overdrive_mv._y = btn_10._y; } }; btn_10.onRollOut = function () { overdrive_mv._visible = false; }; } } movieClip 2287 { frame 1 { stop(); } frame 5 { stop(); anlieu_btn.onRelease = function () { getURL('http://www.1manstudio.net', 'blank'); }; simmon_btn.onRelease = function () { getURL('http://www.eccentricmelodies.wordpress.com', 'blank'); }; } } movieClip 2294 { } movieClip 2298 { frame 1 { stop(); } } movieClip 2299 { frame 1 { stop(); } frame 5 { stop(); quality_btn.onEnterFrame = function () { quality_btn.gotoAndStop(_root._quality); }; quality_btn.onRelease = function () { if (_root._quality == 'LOW') { _root._quality = 'MEDIUM'; } else { if (_root._quality == 'MEDIUM') { _root._quality = 'HIGH'; } else { if (_root._quality == 'HIGH') { _root._quality = 'LOW'; } } } }; sound_btn.onRelease = function () { if (_root.mute == 'on') { _root.sound_off(); sound_btn.gotoAndStop(5); } else { _root.sound_on(); sound_btn.gotoAndStop(1); } }; } } // unknown tag 88 length 213 movieClip 2304 { } movieClip 2305 { } movieClip 2311 { } frame 11 { stop(); _root.play_music(_root.win_music); next_btn.onRelease = function () { gotoAndStop('beast_selection'); }; char_selection.gotoAndStop(_root.player_character); _root.player_character = 'nera'; _root.current_map = 'level_1'; _root.player_beast = 'salamander'; } movieClip 2316 { frame 15 { stop(); } } movieClip 2320 { } movieClip 2321 { frame 60 { gotoAndPlay(10); } } movieClip 2324 { } movieClip 2325 { frame 15 { stop(); } } movieClip 2338 { frame 20 { stop(); } } movieClip 2355 { frame 1 { stop(); gotoAndStop(_root.player_character); } } movieClip 2356 { } movieClip 2361 { } movieClip 2365 { } movieClip 2368 { } movieClip 2369 { frame 15 { stop(); } } movieClip 2370 { frame 20 { stop(); } } movieClip 2373 { } movieClip 2377 { } movieClip 2386 { } movieClip 2389 { } movieClip 2390 { frame 15 { stop(); } } movieClip 2391 { frame 20 { stop(); } } movieClip 2394 { } movieClip 2397 { } movieClip 2403 { } movieClip 2404 { frame 1 { stop(); } frame 1 { gely.onRelease = function () { gotoAndStop('gely'); _root.player_character = 'gely'; }; nera.onRelease = function () { gotoAndStop('nera'); _root.player_character = 'nera'; }; sisi.onRelease = function () { gotoAndStop('sisi'); _root.player_character = 'sisi'; }; next.onRelease = function () { _root.gotoAndStop(2); }; } frame 5 { stop(); } frame 10 { stop(); } } frame 12 { stop(); if (player_beast == 'salamander') { sala_pick._visible = true; ladon_pick._visible = false; } else { sala_pick._visible = false; ladon_pick._visible = true; } if (_root.difficulty == 1) { mode_indicator_1._visible = false; mode_indicator_2._visible = true; mode_indicator_3._visible = false; } else { if (_root.difficulty == 0.7) { mode_indicator_1._visible = true; mode_indicator_2._visible = false; mode_indicator_3._visible = false; } } if (_root.difficulty == 2) { mode_indicator_1._visible = false; mode_indicator_2._visible = false; mode_indicator_3._visible = true; } mode_1.onRelease = function () { _root.difficulty = 0.7; mode_indicator_1._visible = true; mode_indicator_2._visible = false; mode_indicator_3._visible = false; }; mode_2.onRelease = function () { _root.difficulty = 1; mode_indicator_1._visible = false; mode_indicator_2._visible = true; mode_indicator_3._visible = false; }; mode_3.onRelease = function () { _root.difficulty = 2; mode_indicator_1._visible = false; mode_indicator_2._visible = false; mode_indicator_3._visible = true; }; salamander_btn.onRelease = function () { player_beast = 'salamander'; sala_pick._visible = true; ladon_pick._visible = false; }; ladon_btn.onRelease = function () { player_beast = 'ladon'; sala_pick._visible = false; ladon_pick._visible = true; }; back_btn.onRelease = function () { gotoAndStop('char_selection'); }; next_btn.onRelease = function () { confirm_panel.gotoAndStop(5); }; player_gear_1 = 'none'; player_gear_2 = 'none'; player_item_1 = 'none'; player_item_2 = 'none'; player_item_3 = 'none'; player_item_4 = 'none'; player_item_5 = 'none'; } movieClip 2428 { } movieClip 2431 { } movieClip 2432 { } movieClip 2435 { } movieClip 2443 { } movieClip 2471 { frame 1 { stop(); } frame 5 { cancel.onRelease = function () { gotoAndStop(1); }; yes.onRelease = function () { _parent.gotoAndStop('opening'); }; sisi.gotoAndStop(_root.player_beast); nera.gotoAndStop(_root.player_beast); gely.gotoAndStop(_root.player_beast); if (_root.player_character == 'nera') { dis_char = 'Neraine'; nera._visible = true; sisi._visible = false; gely._visible = false; } if (_root.player_character == 'gely') { dis_char = 'Gelyan'; nera._visible = false; sisi._visible = false; gely._visible = true; } if (_root.player_character == 'sisi') { dis_char = 'Sisily'; nera._visible = false; sisi._visible = true; gely._visible = false; } if (_root.player_beast == 'salamander') { dis_beast = 'Salamander'; } if (_root.player_beast == 'ladon') { dis_beast = 'Ladon'; } if (_root.difficulty == 1) { dis_mode = 'Lucid Dream'; } if (_root.difficulty == 0.7) { dis_mode = 'Pleasant Dream'; } if (_root.difficulty == 2) { dis_mode = 'Nightmare'; } } } frame 13 { cal_equip = function (action, type) { if (action == 'equip') { if (type == 'memory_ring') { player_empathy += 2; } if (type == 'commanding_badge') { player_power += 2; } if (type == 'feather_boots') { player_agility += 3; } if (type == 'safety_charm') { player_endurance += 3; } if (type == 'pearl_pendant') { player_endurance += 2; } if (type == 'alchemist_stone') { player_empathy += 3; } if (type == 'berserker_soul') { player_endurance -= 1; player_power += 3; } if (type == 'assassin_bracelet') { } if (type == 'crystal_armguard') { player_endurance += 1; } if (type == 'arcane_earrings') { } if (type == 'cursed_pendant') { player_power += 2; } if (type == 'lady_luck') { } if (type == 'divine_rosary') { player_endurance += 2; } if (type == 'deep_blue') { player_agility += 2; } if (type == 'power_overwhelming') { player_power += 8; } if (type == 'grim_reaper') { player_agility += 3; } if (type == 'mirage_boots') { player_agility += 2; } if (type == 'dragon_heart') { player_empathy += 5; } if (type == 'gaia_vest') { player_endurance += 4; } if (type == 'zodiac_master') { if (_root.difficulty == 1) { player_endurance += 5; player_empathy += 5; player_power += 5; player_agility += 5; } else { if (_root.difficulty == 2) { player_endurance += 10; player_empathy += 10; player_power += 10; player_agility += 10; } } } } if (action == 'remove') { if (type == 'pearl_pendant') { player_endurance -= 2; } if (type == 'memory_ring') { player_empathy -= 2; } if (type == 'commanding_badge') { player_power -= 2; } if (type == 'feather_boots') { player_agility -= 3; } if (type == 'safety_charm') { player_endurance -= 3; } if (type == 'alchemist_stone') { player_empathy -= 3; } if (type == 'berserker_soul') { player_endurance += 1; player_power -= 3; } if (type == 'assassin_bracelet') { } if (type == 'crystal_armguard') { player_endurance -= 1; } if (type == 'arcane_earrings') { } if (type == 'cursed_pendant') { player_power -= 2; } if (type == 'lady_luck') { } if (type == 'divine_rosary') { player_endurance -= 2; } if (type == 'deep_blue') { player_agility -= 2; } if (type == 'power_overwhelming') { player_power -= 8; } if (type == 'grim_reaper') { player_agility -= 3; } if (type == 'mirage_boots') { player_agility -= 2; } if (type == 'dragon_heart') { player_empathy -= 5; } if (type == 'gaia_vest') { player_endurance -= 4; } if (type == 'zodiac_master') { if (_root.difficulty == 1) { player_endurance -= 5; player_empathy -= 5; player_power -= 5; player_agility -= 5; } else { if (_root.difficulty == 2) { player_endurance -= 10; player_empathy -= 10; player_power -= 10; player_agility -= 10; } } } } }; cal_secondary_effect_equip = function () { if (player_gear_1 == 'memory_ring') { player_beast_power += 0.1; } if (player_gear_2 == 'memory_ring') { player_beast_power += 0.1; } if (player_gear_1 == 'commanding_badge') { player_beast_empathy += 10; } if (player_gear_2 == 'commanding_badge') { player_beast_empathy += 10; } if (player_gear_1 == 'feather_boots') { move_speed += 3; } if (player_gear_2 == 'feather_boots') { move_speed += 3; } if (player_gear_1 == 'safety_charm') { player_defense -= 0.1; } if (player_gear_2 == 'safety_charm') { player_defense -= 0.1; } if (player_gear_1 == 'pearl_pendant') { player_poison_resistance += 0.3; player_poison_resistance_dis += 30; player_frozen_resistance += 0.3; player_frozen_resistance_dis += 30; player_silence_resistance += 30; player_silence_resistance_dis += 30; player_disable_resistance += 30; player_disable_resistance_dis += 30; } if (player_gear_2 == 'pearl_pendant') { player_poison_resistance += 0.3; player_poison_resistance_dis += 30; player_frozen_resistance += 0.3; player_frozen_resistance_dis += 30; player_silence_resistance += 0.3; player_silence_resistance_dis += 30; player_disable_resistance += 0.3; player_disable_resistance_dis += 30; } if (player_gear_1 == 'assassin_bracelet') { player_poison_chance += 10; player_poison_power += 2 + player_power; player_poison_duration += 5; player_dodge += 6; } if (player_gear_2 == 'assassin_bracelet') { player_poison_chance += 10; player_poison_power += 2 + player_power; player_poison_duration += 5; player_dodge += 6; } if (player_gear_1 == 'berserker_soul') { player_aspd += 2; ice_star_firing_delay -= 2; if (ice_star_firing_delay < 2) { ice_star_firing_delay = 2; } ice_slash_firing_delay -= 2; if (ice_slash_firing_delay < 2) { ice_slash_firing_delay = 2; } thunder_bolt_firing_delay -= 2; if (thunder_bolt_firing_delay < 2) { thunder_bolt_firing_delay = 2; } poison_bolt_firing_delay -= 2; if (poison_bolt_firing_delay < 2) { poison_bolt_firing_delay = 2; } war_head_firing_delay -= 2; if (war_head_firing_delay < 2) { war_head_firing_delay = 2; } flame_orb_firing_delay -= 2; if (flame_orb_firing_delay < 2) { flame_orb_firing_delay = 2; } } if (player_gear_2 == 'berserker_soul') { player_aspd += 2; ice_star_firing_delay -= 2; if (ice_star_firing_delay < 2) { ice_star_firing_delay = 2; } ice_slash_firing_delay -= 2; if (ice_slash_firing_delay < 2) { ice_slash_firing_delay = 2; } thunder_bolt_firing_delay -= 1; if (thunder_bolt_firing_delay < 2) { thunder_bolt_firing_delay = 2; } poison_bolt_firing_delay -= 2; if (poison_bolt_firing_delay < 2) { poison_bolt_firing_delay = 2; } war_head_firing_delay -= 2; if (war_head_firing_delay < 2) { war_head_firing_delay = 2; } flame_orb_firing_delay -= 2; if (flame_orb_firing_delay < 2) { flame_orb_firing_delay = 2; } } if (player_gear_1 == 'veteran_badge') { exp_rate += 0.25; player_beast_empathy += 10; } if (player_gear_2 == 'veteran_badge') { exp_rate += 0.25; player_beast_empathy += 10; } if (player_gear_1 == 'alchemist_stone') { item_effectiveness_rate += 0.5; } if (player_gear_2 == 'alchemist_stone') { item_effectiveness_rate += 0.5; } if (player_gear_1 == 'crystal_armguard') { freezing_nova_chance += 40; player_defense -= 0.1; } if (player_gear_2 == 'crystal_armguard') { freezing_nova_chance += 40; player_defense -= 0.1; } if (player_gear_1 == 'deep_blue') { player_frozen_chance += 1; player_frozen_duration += 3; } if (player_gear_2 == 'deep_blue') { player_frozen_chance += 1; player_frozen_duration += 3; } if (player_gear_1 == 'cursed_pendant') { player_HP_leech_chance += 4; player_HP_leech_percentage += 12; player_HP_recovery = 0; } if (player_gear_2 == 'cursed_pendant') { player_HP_leech_chance += 4; player_HP_leech_percentage += 12; player_HP_recovery = 0; } if (player_gear_1 == 'arcane_earrings') { player_energy_leech_chance += 3; player_energy_leech_percentage += 12; player_energy_recovery = 0; player_beast_power += 0.15; } if (player_gear_2 == 'arcane_earrings') { player_energy_leech_chance += 3; player_energy_leech_percentage += 12; player_energy_recovery = 0; player_beast_power += 0.15; } if (player_gear_1 == 'lady_luck') { drop_rate += 0.3; player_dodge += 5; } if (player_gear_2 == 'lady_luck') { drop_rate += 0.3; player_dodge += 5; } if (player_gear_1 == 'divine_rosary') { judgment_chance += 40; player_defense -= 0.1; } if (player_gear_2 == 'divine_rosary') { judgment_chance += 40; player_defense -= 0.1; } if (player_gear_1 == 'mirage_boots') { player_dodge += 20; move_speed = 20; } if (player_gear_2 == 'mirage_boots') { player_dodge += 20; move_speed = 20; } if (player_gear_1 == 'dragon_heart') { player_beast_power += 0.5; } if (player_gear_2 == 'dragon_heart') { player_beast_power += 0.5; } if (player_gear_1 == 'grim_reaper') { player_poison_chance += 8; player_poison_power += 24 + player_power * 2; player_poison_duration += 5; player_poison_resistance = 1; player_poison_resistance_dis = 100; } if (player_gear_2 == 'grim_reaper') { player_poison_chance += 8; player_poison_power += 24 + player_power * 2; player_poison_duration += 5; player_poison_resistance = 1; player_poison_resistance_dis = 100; } if (player_gear_1 == 'gaia_vest') { grand_cosmos_chance += 40; player_defense -= 0.1; } if (player_gear_2 == 'gaia_vest') { grand_cosmos_chance += 40; player_defense -= 0.1; } }; } frame 13 { cal_power = function () { player_disable_resistance = player_power * 2 / 100 + player_lvl / 100; player_disable_resistance_dis = player_disable_resistance * 100; }; cal_agility = function () { player_dodge = 5 + Math.round(player_agility * 1.25); if (player_character == 'nera') { player_dodge += 15 + Math.round(player_lvl / 2); } player_frozen_resistance = player_agility * 2 / 100 + player_lvl / 100; if (player_character == 'nera') { player_frozen_resistance += 0.2; } player_frozen_resistance_dis = player_frozen_resistance * 100; }; cal_endurance = function () { player_max_HP = 40 + player_endurance * 15 + player_lvl * 10; player_HP_recovery = Math.round(player_endurance + player_lvl); player_defense = 1 - player_endurance * 0.01; player_poison_resistance = player_endurance * 2 / 100 + player_lvl / 100; if (player_character == 'gely') { player_poison_resistance += 0.2; } player_poison_resistance_dis = player_poison_resistance * 100; }; cal_empathy = function () { player_beast_empathy = 20 + player_empathy * 2 + player_lvl; player_max_energy = 30 + player_empathy * 9 + player_lvl * 9; player_energy_recovery = Math.round(player_empathy * 1 + player_lvl * 0.5); player_silence_resistance = player_empathy * 2 / 100 + player_lvl / 100; if (player_character == 'sisi') { player_silence_resistance += 0.2; } player_silence_resistance_dis = player_silence_resistance * 100; player_beast_power = 1 + player_empathy * 3 / 100; if (player_character == 'sisi') { player_beast_power = 1.2 + player_lvl / 100 + player_empathy * 2 / 100; } }; cal_weapon = function () { player_aspd = player_agility / 4; ice_star_damage = 8 + 2.2 * Math.round(Math.pow(player_power, 1.4)); ice_star_firing_delay = 10 - Math.round(player_agility / 4); if (ice_star_firing_delay < 2) { ice_star_firing_delay = 2; } ice_slash_damage = 5 * Math.round(Math.pow(player_power, 1.4)); ice_slash_firing_delay = 19 - Math.round(player_agility / 4); if (ice_slash_firing_delay < 2) { ice_slash_firing_delay = 2; } thunder_bolt_damage = 10 + 1.5 * Math.round(Math.pow(player_power, 1.4)); thunder_bolt_firing_delay = 17 - Math.round(player_agility / 4); if (thunder_bolt_firing_delay < 2) { thunder_bolt_firing_delay = 2; } poison_bolt_damage = 3 + 2.5 * Math.round(Math.pow(player_power, 1.5)); poison_bolt_firing_delay = 15 - Math.round(player_agility / 4); if (poison_bolt_firing_delay < 2) { poison_bolt_firing_delay = 2; } war_head_damage = 3 + 0.75 * Math.round(Math.pow(player_power, 1.4)); war_head_firing_delay = 16 - Math.round(player_agility / 4); if (war_head_firing_delay < 2) { war_head_firing_delay = 2; } flame_orb_damage = 6 + 1.5 * Math.round(Math.pow(player_power, 1.4)); flame_orb_firing_delay = 21 - Math.round(player_agility / 4); if (flame_orb_firing_delay < 2) { flame_orb_firing_delay = 2; } }; } frame 13 { calculate_player_stat = function (give_HP) { cal_power(); cal_agility(); cal_endurance(); if (give_HP == true) { player_HP = player_max_HP; } cal_empathy(); if (give_HP == true) { player_energy = player_max_energy; } freezing_nova_chance = 0; judgment_chance = 0; grand_cosmos_chance = 0; explosive_chance = 0; freezing_nova_autocast = 0; exp_rate = 1; item_effectiveness_rate = 1; drop_rate = 1; invisibility = 0; player_poison_chance = 0; player_poison_power = 0; player_poison_duration = 0; player_frozen_chance = 0; player_frozen_duration = 0; player_HP_leech_chance = 0; player_HP_leech_percentage = 0; player_energy_leech_chance = 0; player_energy_leech_percentage = 0; cal_weapon(); check_beast_2(); cal_secondary_effect_equip(); if (player_dodge >= 85) { player_dodge = 85; } if (player_defense <= 0.49) { player_defense = 0.49; } if (player_disable_resistance > 1) { player_disable_resistance = 1; } if (player_frozen_resistance > 1) { player_frozen_resistance = 1; } if (player_poison_resistance > 1) { player_poison_resistance = 1; } if (player_silence_resistance > 1) { player_silence_resistance = 1; } player_poison = 0; player_frozen = 0; player_silence = 0; player_disable = 0; player_immobile = 0; if (give_HP == true) { player_HP = player_max_HP; } if (give_HP == true) { player_energy = player_max_energy; } }; } frame 13 { check_beast = function (action, input) { if (action == 'equip') { if (input == 'salamander') { player_power += 2; calculate_player_stat(true); } if (input == 'ladon') { player_agility += 2; calculate_player_stat(true); } if (input == 'simurgh') { player_power += 3; calculate_player_stat(true); } if (input == 'cyclop') { player_power += 1; player_agility += 1; player_endurance += 1; player_empathy += 1; calculate_player_stat(true); } if (input == 'naga') { player_agility += 2; calculate_player_stat(true); } if (input == 'pegasus') { player_empathy += 2; calculate_player_stat(true); } if (input == 'griffin') { player_endurance += 2; player_power += 2; calculate_player_stat(true); } if (input == 'siren') { calculate_player_stat(true); } if (input == 'gargoyle') { player_endurance += 4; calculate_player_stat(true); } if (input == 'unicorn') { player_agility += 3; if (player_character == 'nera' or player_character == 'sisi') { player_empathy += 2; } if (player_character == 'gely') { player_power += 2; } calculate_player_stat(true); } if (input == 'chimera') { player_power += 2; player_agility += 2; player_endurance += 2; player_empathy += 2; calculate_player_stat(true); } if (input == 'zuu') { player_endurance += 5; calculate_player_stat(true); } if (input == 'hydra') { player_power += 3; calculate_player_stat(true); } if (input == 'kraken') { player_endurance += 3; player_empathy += 3; calculate_player_stat(true); } if (input == 'phoenix') { player_power += 3; player_agility += 3; player_endurance += 3; player_empathy += 3; calculate_player_stat(true); } if (input == 'leviathan') { player_power += 3; player_agility += 3; calculate_player_stat(true); } if (input == 'behemoth') { player_power += 6; calculate_player_stat(true); } if (input == 'tiamat') { player_endurance += 6; calculate_player_stat(true); } if (input == 'nidhogg') { player_empathy += 3; calculate_player_stat(true); } if (input == 'beelzebub') { player_agility += 6; calculate_player_stat(true); } } else { if (action == 'remove') { if (input == 'salamander') { player_power -= 2; calculate_player_stat(true); } if (input == 'ladon') { player_agility -= 2; calculate_player_stat(true); } if (input == 'simurgh') { player_power -= 3; calculate_player_stat(true); } if (input == 'cyclop') { player_power -= 1; player_agility -= 1; player_endurance -= 1; player_empathy -= 1; calculate_player_stat(true); } if (input == 'naga') { player_agility -= 2; calculate_player_stat(true); } if (input == 'pegasus') { player_empathy -= 2; calculate_player_stat(true); } if (input == 'griffin') { player_endurance -= 2; player_power -= 2; calculate_player_stat(true); } if (input == 'siren') { calculate_player_stat(true); } if (input == 'gargoyle') { player_endurance -= 4; calculate_player_stat(true); } if (input == 'unicorn') { player_agility -= 3; if (player_character == 'nera' or player_character == 'sisi') { player_empathy -= 2; } if (player_character == 'gely') { player_power -= 2; } calculate_player_stat(true); } if (input == 'chimera') { player_power -= 2; player_agility -= 2; player_endurance -= 2; player_empathy -= 2; calculate_player_stat(true); } if (input == 'zuu') { player_endurance -= 5; calculate_player_stat(true); } if (input == 'hydra') { player_power -= 3; calculate_player_stat(true); } if (input == 'kraken') { player_endurance -= 3; player_empathy -= 3; calculate_player_stat(true); } if (input == 'phoenix') { player_power -= 3; player_agility -= 3; player_endurance -= 3; player_empathy -= 3; calculate_player_stat(true); } if (input == 'leviathan') { player_power -= 3; player_agility -= 3; calculate_player_stat(true); } if (input == 'behemoth') { player_power -= 6; calculate_player_stat(true); } if (input == 'tiamat') { player_endurance -= 6; calculate_player_stat(true); } if (input == 'nidhogg') { player_empathy -= 3; calculate_player_stat(true); } if (input == 'beelzebub') { player_agility -= 6; calculate_player_stat(true); } } } }; check_beast_2 = function () { if (player_beast == 'salamander') { player_lvl1_beast = 'salamander'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 1; player_skill2_cost = 30; move_speed = 8; explosive_chance += 10; } if (player_beast == 'ladon') { player_lvl1_beast = 'ladon'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 1; player_skill2_cost = 30; move_speed = 12; } if (player_beast == 'simurgh') { player_lvl2_beast = 'simurgh'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 2; player_skill2_cost = 45; move_speed = 8; } if (player_beast == 'cyclop') { player_lvl2_beast = 'cyclop'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 2; player_skill2_cost = 40; move_speed = 10; } if (player_beast == 'naga') { player_lvl2_beast = 'naga'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 2; player_skill2_cost = 50; move_speed = 14; player_dodge += 10; } if (player_beast == 'pegasus') { player_lvl3_beast = 'pegasus'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 3; player_skill2_cost = 55; move_speed = 14; player_beast_empathy += 20; } if (player_beast == 'griffin') { player_lvl3_beast = 'griffin'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 3; player_skill2_cost = 40; move_speed = 12; player_poison_resistance += 0.3; player_poison_resistance_dis += 30; player_frozen_resistance += 0.3; player_frozen_resistance_dis += 30; player_silence_resistance += 0.3; player_silence_resistance_dis += 30; player_disable_resistance += 0.3; player_disable_resistance_dis += 30; } if (player_beast == 'gargoyle') { player_lvl3_beast = 'gargoyle'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 3; player_skill2_cost = 45; move_speed = 8; } if (player_beast == 'siren') { player_lvl3_beast = 'siren'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 3; player_skill2_cost = 65; move_speed = 7; player_energy_leech_chance += 3; player_energy_leech_percentage += 10; player_energy_recovery = 0; player_HP_recovery += 4; player_beast_empathy += 20; } if (player_beast == 'unicorn') { player_lvl4_beast = 'unicorn'; beast_attack_counter = 0; beast_attack_delay = 20; player_dodge += 10; player_skill1_cost = 4; player_skill2_cost = 80; move_speed = 14; } if (player_beast == 'chimera') { player_lvl4_beast = 'chimera'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 4; player_skill2_cost = 70; move_speed = 9; } if (player_beast == 'zuu') { player_lvl4_beast = 'zuu'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 4; player_skill2_cost = 60; move_speed = 10; player_HP_recovery *= 2; } if (player_beast == 'hydra') { player_lvl4_beast = 'hydra'; beast_attack_counter = 0; beast_attack_delay = 20; player_skill1_cost = 4; player_skill2_cost = 75; move_speed = 13; if (_root.player_character == 'gely') { player_poison_power += 16; player_poison_duration += 8; } if (_root.player_character == 'nera' or _root.player_character == 'sisi') { player_poison_resistance = 1; player_poison_resistance_dis = 100; } } if (player_beast == 'kraken') { player_lvl4_beast = 'kraken'; beast_attack_counter = 0; beast_attack_delay = 40; player_skill1_cost = 4; player_skill2_cost = 70; move_speed = 10; freezing_nova_autocast += 1; } if (player_beast == 'phoenix') { player_lvl5_beast = 'phoenix'; beast_attack_counter = 0; beast_attack_delay = 40; player_skill1_cost = 3; player_skill2_cost = 120; move_speed = 15; } if (player_beast == 'leviathan') { player_lvl5_beast = 'leviathan'; beast_attack_counter = 0; beast_attack_delay = 40; player_dodge += 10; player_skill1_cost = 5; player_skill2_cost = 135; move_speed = 12; } if (player_beast == 'behemoth') { player_lvl5_beast = 'behemoth'; beast_attack_counter = 0; beast_attack_delay = 40; freezing_nova_autocast += 1.2; explosive_chance += 20; player_poison_chance += 5; player_poison_power += 16; player_poison_duration += 8; player_skill1_cost = 5; player_skill2_cost = 135; move_speed = 8; } if (player_beast == 'tiamat') { player_lvl5_beast = 'tiamat'; beast_attack_counter = 0; beast_attack_delay = 40; player_skill1_cost = 3; player_skill2_cost = 100; move_speed = 7; } if (player_beast == 'nidhogg') { player_lvl5_beast = 'nidhogg'; beast_attack_counter = 0; beast_attack_delay = 50; player_max_energy = Math.round(player_max_energy * 1.2); player_skill1_cost = 5; player_skill2_cost = 24; move_speed = 14; } if (player_beast == 'beelzebub') { player_lvl5_beast = 'beelzebub'; beast_attack_counter = 0; beast_attack_delay = 40; player_skill1_cost = 5; player_skill2_cost = 70; move_speed = 16; player_dodge += 10; } move_speed += Math.round(player_agility / 10); }; } frame 13 { level_1_name = 'Calm Blue'; level_2_name = 'Angola Bay'; level_3_name = 'Sunset Trail'; level_4_name = 'Sunset Forest'; level_5_name = 'Windres Village'; level_6_name = 'Moondrop Forest'; level_7_name = 'Gemini Lake'; level_8_name = 'Twin Spring'; level_9_name = 'Witch\'s House'; level_10_name = 'Harpy Isle'; level_11_name = 'Shade Spring'; level_12_name = 'Darkstone Mts'; level_13_name = 'Sunrise Forest'; level_14_name = 'Sand Void'; level_15_name = 'Ocean Eye'; level_16_name = 'Ghostship'; level_17_name = 'Moonbreak Forest'; level_18_name = 'Measure Gate'; level_19_name = 'Sun Shrine'; level_20_name = 'Infinity Space'; level_1_medal = 1; level_2_medal = 1; level_3_medal = 1; level_4_medal = 1; level_5_medal = 1; level_6_medal = 1; level_7_medal = 1; level_8_medal = 1; level_9_medal = 1; level_10_medal = 1; level_11_medal = 1; level_12_medal = 1; level_13_medal = 1; level_14_medal = 1; level_15_medal = 1; level_16_medal = 1; level_17_medal = 1; level_18_medal = 1; level_19_medal = 1; level_20_medal = 1; level_1_difficulty = 0.7; level_2_difficulty = 1; level_3_difficulty = 1.3; level_4_difficulty = 1.6; level_5_difficulty = 2; level_6_difficulty = 2.8; level_7_difficulty = 3.5; level_8_difficulty = 3.8; level_9_difficulty = 4.5; level_10_difficulty = 5; level_11_difficulty = 6; level_12_difficulty = 6.5; level_13_difficulty = 7; level_14_difficulty = 7.5; level_15_difficulty = 8; level_16_difficulty = 9; level_17_difficulty = 10; level_18_difficulty = 11; level_19_difficulty = 12; event_1_happened = false; event_2_happened = false; event_3_happened = false; event_4_happened = false; event_5_happened = false; event_6_happened = false; event_7_happened = false; event_8_happened = false; event_9_happened = false; event_10_happened = false; event_11_happened = false; event_12_happened = false; event_13_happened = false; event_14_happened = false; event_15_happened = false; event_16_happened = false; event_17_happened = false; event_18_happened = false; event_19_happened = false; event_20_happened = false; } frame 13 { stop(); nera_power = 5; nera_agility = 12; nera_endurance = 5; nera_empathy = 3; nera_bullet = 'ice_star'; nera_beast = 'behemoth'; nera_gear_1 = 'none'; nera_gear_2 = 'none'; nera_item_1 = 'none'; nera_item_2 = 'none'; nera_item_3 = 'none'; nera_item_4 = 'none'; nera_item_5 = 'none'; nera_perk_1 = 'none'; nera_perk_2 = 'none'; gely_power = 8; gely_agility = 4; gely_endurance = 8; gely_empathy = 5; gely_bullet = 'thunder_bolt'; gely_beast = 'behemoth'; gely_gear_1 = 'none'; gely_gear_2 = 'none'; gely_item_1 = 'none'; gely_item_2 = 'none'; gely_item_3 = 'none'; gely_item_4 = 'none'; gely_item_5 = 'none'; gely_perk_1 = 'none'; gely_perk_2 = 'none'; sisi_power = 4; sisi_endurance = 4; sisi_agility = 7; sisi_empathy = 10; sisi_bullet = 'war_head'; sisi_beast = 'behemoth'; sisi_gear_1 = 'none'; sisi_gear_2 = 'none'; sisi_item_1 = 'none'; sisi_item_2 = 'none'; sisi_item_3 = 'none'; sisi_item_4 = 'none'; sisi_item_5 = 'none'; sisi_perk_1 = 'none'; sisi_perk_2 = 'none'; set_items = function () { player_memory_ring = 0; player_commanding_badge = 0; player_feather_boots = 0; player_safety_charm = 0; player_pearl_pendant = 0; player_crystal_armguard = 0; player_veteran_badge = 0; player_alchemist_stone = 0; player_berserker_soul = 0; player_assassin_bracelet = 0; player_divine_rosary = 0; player_deep_blue = 0; player_lady_luck = 0; player_cursed_pendant = 0; player_arcane_earrings = 0; player_power_overwhelming = 0; player_mirage_boots = 0; player_gaia_vest = 0; player_dragon_heart = 0; player_grim_reaper = 0; player_zodiac_master = 0; player_azure_breeze = 0; player_crimson_gust = 0; player_healing_vial = 0; player_fairy_dust = 0; player_wild_talisman = 0; player_energy_vial = 0; player_golden_apple = 0; player_adrenaline_rush = 0; player_refresher = 0; player_life_stream = 0; player_chrono_matter = 0; player_soul_refresher = 0; player_aquarius_gem = 0; player_rainbow_stone = 0; player_garnet = 0; player_poison_blossom = 0; player_holy_water = 0; player_4_leaf_clover = 0; player_vampiric_contract = 0; player_shapely_gem = 0; player_doom_stone = 0; player_illusionary_mirror = 0; player_forest_wing = 0; player_dragon_eye = 0; player_shinning_skull = 0; player_life_seed = 0; player_time_lock = 0; }; set_items(); set_char_stat = function (input, rebirth) { player_lvl = 1; player_pts = 0; player_exp = 0; player_max_exp = 500; player_crimson_stone = 20; player_azure_stone = 20; if (rebirth == false) { player_gear_1 = 'none'; player_gear_2 = 'none'; player_item_1 = 'healing_vial'; player_item_2 = 'healing_vial'; player_item_3 = 'healing_vial'; player_item_4 = 'energy_vial'; temp_item_1 = 'healing_vial'; temp_item_2 = 'healing_vial'; temp_item_3 = 'healing_vial'; temp_item_4 = 'healing_vial'; } player_lvl1_beast = 'none'; player_lvl2_beast = 'none'; player_lvl3_beast = 'none'; player_lvl4_beast = 'none'; player_lvl5_beast = 'none'; if (player_beast == 'salamander') { player_alignment_red = 1; player_alignment_blue = 0; } if (player_beast == 'ladon') { player_alignment_red = 0; player_alignment_blue = 1; } beast_crimson_stone = 0; beast_crimson_stone_max = 250; beast_azure_stone = 0; beast_azure_stone_max = 250; player_power = this[input + '_power']; cal_power(); player_agility = this[input + '_agility']; cal_agility(); player_endurance = this[input + '_endurance']; cal_endurance(); player_HP = player_max_HP; player_empathy = this[input + '_empathy']; cal_empathy(); player_perk_1 = this[input + '_perk_1']; player_perk_2 = this[input + '_perk_2']; player_poison_chance = 0; player_poison_power = 0; player_poison_duration = 0; player_frozen_chance = 0; player_frozen_duration = 0; player_HP_leech_chance = 10; player_HP_leech_percentage = 0; player_energy_leech_chance = 0; player_energy_leech_percentage = 0; player_bullet = this[input + '_bullet']; check_beast('equip', player_beast); cal_weapon(); player_poison = 0; player_frozen = 0; player_silence = 0; player_disable = 0; player_immobile = 0; player_defense = 1; }; set_char_stat(player_character, false); } frame 13 { save_game = function (file_save) { saveInfo = new Object(); saveInfo.current_day = _root.current_day; saveInfo.difficulty = _root.difficulty; saveInfo.player_character = _root.player_character; saveInfo.player_lvl = _root.player_lvl; saveInfo.player_pts = _root.player_pts; saveInfo.player_power = _root.player_power; saveInfo.player_endurance = _root.player_endurance; saveInfo.player_agility = _root.player_agility; saveInfo.player_empathy = _root.player_empathy; saveInfo.player_exp = _root.player_exp; saveInfo.player_max_exp = _root.player_max_exp; saveInfo.player_crimson_stone = _root.player_crimson_stone; saveInfo.player_azure_stone = _root.player_azure_stone; saveInfo.player_gear_1 = _root.player_gear_1; saveInfo.player_gear_2 = _root.player_gear_2; saveInfo.player_item_1 = _root.player_item_1; saveInfo.player_item_2 = _root.player_item_2; saveInfo.player_item_3 = _root.player_item_3; saveInfo.player_item_4 = _root.player_item_4; saveInfo.temp_item_1 = _root.temp_item_1; saveInfo.temp_item_2 = _root.temp_item_2; saveInfo.temp_item_3 = _root.temp_item_3; saveInfo.temp_item_4 = _root.temp_item_4; saveInfo.player_bullet = _root.player_bullet; saveInfo.player_beast = _root.player_beast; saveInfo.player_lvl1_beast = _root.player_lvl1_beast; saveInfo.player_lvl2_beast = _root.player_lvl2_beast; saveInfo.player_lvl3_beast = _root.player_lvl3_beast; saveInfo.player_lvl4_beast = _root.player_lvl4_beast; saveInfo.player_lvl5_beast = _root.player_lvl5_beast; saveInfo.player_alignment_red = _root.player_alignment_red; saveInfo.player_alignment_blue = _root.player_alignment_blue; saveInfo.beast_crimson_stone = _root.beast_crimson_stone; saveInfo.beast_crimson_stone_max = _root.beast_crimson_stone_max; saveInfo.beast_azure_stone = _root.beast_azure_stone; saveInfo.beast_azure_stone_max = _root.beast_azure_stone_max; saveInfo.player_memory_ring = _root.player_memory_ring; saveInfo.player_commanding_badge = _root.player_commanding_badge; saveInfo.player_feather_boots = _root.player_feather_boots; saveInfo.player_safety_charm = _root.player_safety_charm; saveInfo.player_pearl_pendant = _root.player_pearl_pendant; saveInfo.player_crystal_armguard = _root.player_crystal_armguard; saveInfo.player_veteran_badge = _root.player_veteran_badge; saveInfo.player_alchemist_stone = _root.player_alchemist_stone; saveInfo.player_berserker_soul = _root.player_berserker_soul; saveInfo.player_assassin_bracelet = _root.player_assassin_bracelet; saveInfo.player_divine_rosary = _root.player_divine_rosary; saveInfo.player_deep_blue = _root.player_deep_blue; saveInfo.player_lady_luck = _root.player_lady_luck; saveInfo.player_cursed_pendant = _root.player_cursed_pendant; saveInfo.player_arcane_earrings = _root.player_arcane_earrings; saveInfo.player_power_overwhelming = _root.player_power_overwhelming; saveInfo.player_mirage_boots = _root.player_mirage_boots; saveInfo.player_gaia_vest = _root.player_gaia_vest; saveInfo.player_dragon_heart = _root.player_dragon_heart; saveInfo.player_grim_reaper = _root.player_grim_reaper; saveInfo.player_zodiac_master = _root.player_zodiac_master; saveInfo.player_azure_breeze = _root.player_azure_breeze; saveInfo.player_crimson_gust = _root.player_crimson_gust; saveInfo.player_healing_vial = _root.player_healing_vial; saveInfo.player_fairy_dust = _root.player_fairy_dust; saveInfo.player_wild_talisman = _root.player_wild_talisman; saveInfo.player_energy_vial = _root.player_energy_vial; saveInfo.player_golden_apple = _root.player_golden_apple; saveInfo.player_adrenaline_rush = _root.player_adrenaline_rush; saveInfo.player_refresher = _root.player_refresher; saveInfo.player_life_stream = _root.player_life_stream; saveInfo.player_chrono_matter = _root.player_chrono_matter; saveInfo.player_soul_refresher = _root.player_soul_refresher; saveInfo.player_aquarius_gem = _root.player_aquarius_gem; saveInfo.player_rainbow_stone = _root.player_rainbow_stone; saveInfo.player_garnet = _root.player_garnet; saveInfo.player_poison_blossom = _root.player_poison_blossom; saveInfo.player_holy_water = _root.player_holy_water; saveInfo.player_4_leaf_clover = _root.player_4_leaf_clover; saveInfo.player_vampiric_contract = _root.player_vampiric_contract; saveInfo.player_shapely_gem = _root.player_shapely_gem; saveInfo.player_doom_stone = _root.player_doom_stone; saveInfo.player_illusionary_mirror = _root.player_illusionary_mirror; saveInfo.player_forest_wing = _root.player_forest_wing; saveInfo.player_dragon_eye = _root.player_dragon_eye; saveInfo.player_shinning_skull = _root.player_shinning_skull; saveInfo.player_life_seed = _root.player_life_seed; saveInfo.player_time_lock = _root.player_time_lock; saveInfo.level_1_medal = _root.level_1_medal; saveInfo.level_2_medal = _root.level_2_medal; saveInfo.level_3_medal = _root.level_3_medal; saveInfo.level_4_medal = _root.level_4_medal; saveInfo.level_5_medal = _root.level_5_medal; saveInfo.level_6_medal = _root.level_6_medal; saveInfo.level_7_medal = _root.level_7_medal; saveInfo.level_8_medal = _root.level_8_medal; saveInfo.level_9_medal = _root.level_9_medal; saveInfo.level_10_medal = _root.level_10_medal; saveInfo.level_11_medal = _root.level_11_medal; saveInfo.level_12_medal = _root.level_12_medal; saveInfo.level_13_medal = _root.level_13_medal; saveInfo.level_14_medal = _root.level_14_medal; saveInfo.level_15_medal = _root.level_15_medal; saveInfo.level_16_medal = _root.level_16_medal; saveInfo.level_17_medal = _root.level_17_medal; saveInfo.level_18_medal = _root.level_18_medal; saveInfo.level_19_medal = _root.level_19_medal; saveInfo.level_20_medal = _root.level_20_medal; saveInfo.event_1_happened = _root.event_1_happened; saveInfo.event_2_happened = _root.event_2_happened; saveInfo.event_3_happened = _root.event_3_happened; saveInfo.event_4_happened = _root.event_4_happened; saveInfo.event_5_happened = _root.event_5_happened; saveInfo.event_6_happened = _root.event_6_happened; saveInfo.event_7_happened = _root.event_7_happened; saveInfo.event_8_happened = _root.event_8_happened; saveInfo.event_9_happened = _root.event_9_happened; saveInfo.event_10_happened = _root.event_10_happened; saveInfo.event_11_happened = _root.event_11_happened; saveInfo.event_12_happened = _root.event_12_happened; saveInfo.event_13_happened = _root.event_13_happened; saveInfo.event_14_happened = _root.event_14_happened; saveInfo.event_15_happened = _root.event_15_happened; saveInfo.event_16_happened = _root.event_16_happened; saveInfo.event_17_happened = _root.event_17_happened; saveInfo.event_18_happened = _root.event_18_happened; saveInfo.event_19_happened = _root.event_19_happened; saveInfo.event_20_happened = _root.event_20_happened; playerSO = SharedObject.getLocal('wog_info'); playerSO.data[file_save] = saveInfo; playerSO.flush(); }; load_save = function (file_save) { playerSO = SharedObject.getLocal('wog_info'); if (playerSO.data[file_save].player_character != null) { _root.current_day = playerSO.data[file_save].current_day; _root.difficulty = playerSO.data[file_save].difficulty; _root.player_character = playerSO.data[file_save].player_character; _root.player_lvl = playerSO.data[file_save].player_lvl; _root.player_pts = playerSO.data[file_save].player_pts; _root.player_power = playerSO.data[file_save].player_power; _root.player_endurance = playerSO.data[file_save].player_endurance; _root.player_agility = playerSO.data[file_save].player_agility; _root.player_empathy = playerSO.data[file_save].player_empathy; _root.player_exp = playerSO.data[file_save].player_exp; _root.player_max_exp = playerSO.data[file_save].player_max_exp; _root.player_crimson_stone = playerSO.data[file_save].player_crimson_stone; _root.player_azure_stone = playerSO.data[file_save].player_azure_stone; _root.player_gear_1 = playerSO.data[file_save].player_gear_1; _root.player_gear_2 = playerSO.data[file_save].player_gear_2; _root.player_item_1 = playerSO.data[file_save].player_item_1; _root.player_item_2 = playerSO.data[file_save].player_item_2; _root.player_item_3 = playerSO.data[file_save].player_item_3; _root.player_item_4 = playerSO.data[file_save].player_item_4; _root.temp_item_1 = playerSO.data[file_save].temp_item_1; _root.temp_item_2 = playerSO.data[file_save].temp_item_2; _root.temp_item_3 = playerSO.data[file_save].temp_item_3; _root.temp_item_4 = playerSO.data[file_save].temp_item_4; _root.player_bullet = playerSO.data[file_save].player_bullet; _root.player_beast = playerSO.data[file_save].player_beast; _root.player_lvl1_beast = playerSO.data[file_save].player_lvl1_beast; _root.player_lvl2_beast = playerSO.data[file_save].player_lvl2_beast; _root.player_lvl3_beast = playerSO.data[file_save].player_lvl3_beast; _root.player_lvl4_beast = playerSO.data[file_save].player_lvl4_beast; _root.player_lvl5_beast = playerSO.data[file_save].player_lvl5_beast; _root.player_alignment_red = playerSO.data[file_save].player_alignment_red; _root.player_alignment_blue = playerSO.data[file_save].player_alignment_blue; playerSO.data[file_save].beast_crimson_stone = playerSO.data[file_save].beast_crimson_stone; _root.beast_crimson_stone_max = playerSO.data[file_save].beast_crimson_stone_max; _root.beast_azure_stone = playerSO.data[file_save].beast_azure_stone; _root.beast_azure_stone_max = playerSO.data[file_save].beast_azure_stone_max; _root.player_memory_ring = playerSO.data[file_save].player_memory_ring; _root.player_commanding_badge = playerSO.data[file_save].player_commanding_badge; _root.player_feather_boots = playerSO.data[file_save].player_feather_boots; _root.player_safety_charm = playerSO.data[file_save].player_safety_charm; _root.player_pearl_pendant = playerSO.data[file_save].player_pearl_pendant; _root.player_crystal_armguard = playerSO.data[file_save].player_crystal_armguard; _root.player_veteran_badge = playerSO.data[file_save].player_veteran_badge; _root.player_alchemist_stone = playerSO.data[file_save].player_alchemist_stone; _root.player_berserker_soul = playerSO.data[file_save].player_berserker_soul; _root.player_assassin_bracelet = playerSO.data[file_save].player_assassin_bracelet; _root.player_divine_rosary = playerSO.data[file_save].player_divine_rosary; _root.player_deep_blue = playerSO.data[file_save].player_deep_blue; _root.player_lady_luck = playerSO.data[file_save].player_lady_luck; _root.player_cursed_pendant = playerSO.data[file_save].player_cursed_pendant; _root.player_arcane_earrings = playerSO.data[file_save].player_arcane_earrings; _root.player_power_overwhelming = playerSO.data[file_save].player_power_overwhelming; _root.player_mirage_boots = playerSO.data[file_save].player_mirage_boots; _root.player_gaia_vest = playerSO.data[file_save].player_gaia_vest; _root.player_dragon_heart = playerSO.data[file_save].player_dragon_heart; _root.player_grim_reaper = playerSO.data[file_save].player_grim_reaper; _root.player_zodiac_master = playerSO.data[file_save].player_zodiac_master; _root.player_azure_breeze = playerSO.data[file_save].player_azure_breeze; _root.player_crimson_gust = playerSO.data[file_save].player_crimson_gust; _root.player_healing_vial = playerSO.data[file_save].player_healing_vial; _root.player_fairy_dust = playerSO.data[file_save].player_fairy_dust; _root.player_wild_talisman = playerSO.data[file_save].player_wild_talisman; _root.player_energy_vial = playerSO.data[file_save].player_energy_vial; _root.player_golden_apple = playerSO.data[file_save].player_golden_apple; _root.player_adrenaline_rush = playerSO.data[file_save].player_adrenaline_rush; _root.player_refresher = playerSO.data[file_save].player_refresher; _root.player_life_stream = playerSO.data[file_save].player_life_stream; _root.player_chrono_matter = playerSO.data[file_save].player_chrono_matter; _root.player_soul_refresher = playerSO.data[file_save].player_soul_refresher; _root.player_aquarius_gem = playerSO.data[file_save].player_aquarius_gem; _root.player_rainbow_stone = playerSO.data[file_save].player_rainbow_stone; _root.player_garnet = playerSO.data[file_save].player_garnet; _root.player_poison_blossom = playerSO.data[file_save].player_poison_blossom; _root.player_holy_water = playerSO.data[file_save].player_holy_water; _root.player_4_leaf_clover = playerSO.data[file_save].player_4_leaf_clover; _root.player_vampiric_contract = playerSO.data[file_save].player_vampiric_contract; _root.player_shapely_gem = playerSO.data[file_save].player_shapely_gem; _root.player_doom_stone = playerSO.data[file_save].player_doom_stone; _root.player_illusionary_mirror = playerSO.data[file_save].player_illusionary_mirror; _root.player_forest_wing = playerSO.data[file_save].player_forest_wing; _root.player_dragon_eye = playerSO.data[file_save].player_dragon_eye; _root.player_shinning_skull = playerSO.data[file_save].player_shinning_skull; _root.player_life_seed = playerSO.data[file_save].player_life_seed; _root.player_time_lock = playerSO.data[file_save].player_time_lock; _root.level_1_medal = playerSO.data[file_save].level_1_medal; _root.level_2_medal = playerSO.data[file_save].level_2_medal; _root.level_3_medal = playerSO.data[file_save].level_3_medal; _root.level_4_medal = playerSO.data[file_save].level_4_medal; _root.level_5_medal = playerSO.data[file_save].level_5_medal; _root.level_6_medal = playerSO.data[file_save].level_6_medal; _root.level_7_medal = playerSO.data[file_save].level_7_medal; _root.level_8_medal = playerSO.data[file_save].level_8_medal; _root.level_9_medal = playerSO.data[file_save].level_9_medal; _root.level_10_medal = playerSO.data[file_save].level_10_medal; _root.level_11_medal = playerSO.data[file_save].level_11_medal; _root.level_12_medal = playerSO.data[file_save].level_12_medal; _root.level_13_medal = playerSO.data[file_save].level_13_medal; _root.level_14_medal = playerSO.data[file_save].level_14_medal; _root.level_15_medal = playerSO.data[file_save].level_15_medal; _root.level_16_medal = playerSO.data[file_save].level_16_medal; _root.level_17_medal = playerSO.data[file_save].level_17_medal; _root.level_18_medal = playerSO.data[file_save].level_18_medal; _root.level_19_medal = playerSO.data[file_save].level_19_medal; _root.level_20_medal = playerSO.data[file_save].level_20_medal; _root.event_1_happened = playerSO.data[file_save].event_1_happened; _root.event_2_happened = playerSO.data[file_save].event_2_happened; _root.event_3_happened = playerSO.data[file_save].event_3_happened; _root.event_4_happened = playerSO.data[file_save].event_4_happened; _root.event_5_happened = playerSO.data[file_save].event_5_happened; _root.event_6_happened = playerSO.data[file_save].event_6_happened; _root.event_7_happened = playerSO.data[file_save].event_7_happened; _root.event_8_happened = playerSO.data[file_save].event_8_happened; _root.event_9_happened = playerSO.data[file_save].event_9_happened; _root.event_10_happened = playerSO.data[file_save].event_10_happened; _root.event_11_happened = playerSO.data[file_save].event_11_happened; _root.event_12_happened = playerSO.data[file_save].event_12_happened; _root.event_13_happened = playerSO.data[file_save].event_13_happened; _root.event_14_happened = playerSO.data[file_save].event_14_happened; _root.event_15_happened = playerSO.data[file_save].event_15_happened; _root.event_16_happened = playerSO.data[file_save].event_16_happened; _root.event_17_happened = playerSO.data[file_save].event_17_happened; _root.event_18_happened = playerSO.data[file_save].event_18_happened; _root.event_19_happened = playerSO.data[file_save].event_19_happened; _root.event_20_happened = playerSO.data[file_save].event_20_happened; } }; if (new_game == false) { load_save(current_save); } } frame 13 { gotoAndPlay('main_UI'); } frame 14 { if (_root._quality == 'LOW') { current_quality = 'LOW'; } else { if (_root._quality == 'MEDIUM') { current_quality = 'MEDIUM'; } else { if (_root._quality == 'HIGH') { current_quality = 'HIGH'; } } } Key.addListener(option_key_listener); } frame 14 { stop(); total_stone = _root.player_crimson_stone + _root.player_azure_stone; _root.kongregateStats.submit('stone_collector', total_stone); guide_btn.onRelease = function () { getURL(_root.strategy_guide_link, '_blank'); }; kong_btn.onRelease = function () { getURL(_root.kong_link, '_blank'); }; calculate_player_stat(true); UI.gotoAndStop(10); Mouse.show(); _root.play_music(_root.menu_music); profile_btn.onRelease = function () { if (UI._currentframe != 6) { UI.gotoAndStop(5); } else { if (UI._currentframe == 6) { UI.gotoAndStop(10); } } }; world_btn.onRelease = function () { UI.gotoAndStop(10); }; beast_btn.onRelease = function () { if (UI._currentframe != 20) { UI.gotoAndStop('beast'); } else { if (UI._currentframe == 20) { UI.gotoAndStop(10); } } }; conjure_btn.onRelease = function () { if (UI._currentframe != 30) { UI.gotoAndStop('conjure'); } else { if (UI._currentframe == 30) { UI.gotoAndStop(10); } } }; inventory_btn.onRelease = function () { if (UI._currentframe != 40) { UI.gotoAndStop('inventory'); } else { if (UI._currentframe == 40) { UI.gotoAndStop(10); } } }; } movieClip 2473 { frame 15 { stop(); if (_parent._currentframe == 10) { _parent.gotoAndStop('map_2'); } } } // unknown tag 88 length 78 movieClip 2487 { frame 1 { gotoAndStop(_root.player_character); } } movieClip 2511 { } movieClip 2512 { } movieClip 2611 { frame 1 { dis = Math.round(_root.ice_star_damage); } } movieClip 2620 { frame 1 { dis = Math.round(_root.war_head_damage); } } movieClip 2629 { frame 1 { dis = Math.round(_root.thunder_bolt_damage); } } movieClip 2632 { frame 1 { gotoAndStop(_root.player_character); } } movieClip 2640 { frame 1 { dis = Math.round(_root.ice_slash_damage); } } movieClip 2649 { frame 1 { dis = Math.round(_root.flame_orb_damage); } } movieClip 2658 { frame 1 { dis = Math.round(_root.poison_bolt_damage); } } movieClip 2660 { frame 1 { gotoAndStop(_root.player_character); } } movieClip 2670 { frame 1 { dis = Math.round(60 * _root.player_beast_power); } } movieClip 2680 { frame 1 { dis = Math.round(150 * _root.player_beast_power); } } movieClip 2690 { frame 1 { dis = Math.round((120 + _root.player_power * 5) * _root.player_beast_power); } } movieClip 2700 { frame 1 { dis = Math.round(1120 * _root.player_beast_power) + ' per second'; } } movieClip 2710 { frame 1 { dis = Math.round(1280 * _root.player_beast_power) + ' per second'; } } movieClip 2720 { frame 1 { dis = Math.round(1200 * _root.player_beast_power); } } movieClip 2730 { frame 1 { dis = Math.round((350 + _root.player_power * 5) * _root.player_beast_power) + ' per hit.'; } } movieClip 2740 { frame 1 { dis = Math.round(4 * _root.player_beast_power); } } movieClip 2750 { frame 1 { dis = 'Special'; } } movieClip 2760 { frame 1 { dis = Math.round(50 * _root.player_beast_power) + ' per hit.'; } } movieClip 2770 { frame 1 { dis = Math.round(2880 * _root.player_beast_power) + ' per second.'; } } movieClip 2773 { } movieClip 2779 { frame 1 { dis = 'Special'; } } movieClip 2789 { frame 1 { dis = Math.round(2400 * _root.player_beast_power) + ' per second.'; } } movieClip 2799 { frame 1 { dis = Math.round(200 * _root.player_beast_power) + ' per hit.'; } } movieClip 2809 { frame 1 { dis = Math.round(4800 * _root.player_beast_power) + ' per second.'; } } movieClip 2819 { frame 1 { dis = Math.round(1280 * _root.player_beast_power) + ' per second'; } } movieClip 2829 { frame 1 { dis = Math.round(11200 * _root.player_beast_power) + ' per second'; } } movieClip 2839 { frame 1 { dis = 'Special'; } } movieClip 2849 { frame 1 { dis = Math.round(3840 * _root.player_beast_power) + ' per second'; } } movieClip 2859 { frame 1 { dis = 'Special'; } } movieClip 2861 { frame 1 { gotoAndStop(_root.player_beast); } } movieClip 2878 { frame 1 { gotoAndStop(_root.player_character); } } movieClip 2976 { frame 1 { gotoAndStop(_root.player_beast); } } movieClip 2980 { } // unknown tag 88 length 140 movieClip 2993 { } movieClip 2999 { } movieClip 3002 { } movieClip 3005 { } movieClip 3006 { } movieClip 3012 { } movieClip 3017 { } movieClip 3020 { } movieClip 3021 { } movieClip 3027 { } movieClip 3031 { } movieClip 3033 { } movieClip 3034 { } movieClip 3037 { } movieClip 3039 { } movieClip 3040 { } movieClip 3043 { } movieClip 3045 { } movieClip 3046 { } movieClip 3047 { } movieClip 3053 { } movieClip 3057 { } movieClip 3063 { } movieClip 3067 { } movieClip 3070 { } movieClip 3072 { } movieClip 3073 { } movieClip 3080 { } movieClip 3084 { } movieClip 3090 { } movieClip 3094 { } movieClip 3100 { } movieClip 3105 { } movieClip 3107 { } movieClip 3109 { } movieClip 3111 { } movieClip 3113 { } movieClip 3115 { } movieClip 3117 { } movieClip 3124 { } movieClip 3129 { } movieClip 3132 { } movieClip 3133 { } movieClip 3139 { } movieClip 3144 { } movieClip 3146 { } movieClip 3148 { } movieClip 3151 { } movieClip 3153 { } movieClip 3155 { } movieClip 3157 { } movieClip 3164 { } movieClip 3168 { } movieClip 3174 { } movieClip 3179 { } movieClip 3181 { } movieClip 3183 { } movieClip 3185 { } movieClip 3187 { } movieClip 3189 { } movieClip 3192 { } movieClip 3194 { } movieClip 3196 { } movieClip 3198 { } movieClip 3200 { } movieClip 3202 { } movieClip 3205 { } movieClip 3207 { } movieClip 3209 { } movieClip 3211 { } movieClip 3213 { } movieClip 3215 { } movieClip 3218 { } movieClip 3220 { } movieClip 3222 { } movieClip 3224 { } movieClip 3226 { } movieClip 3228 { } movieClip 3231 { } movieClip 3233 { } movieClip 3235 { } movieClip 3237 { } movieClip 3239 { } movieClip 3241 { } movieClip 3244 { } movieClip 3246 { } movieClip 3248 { } movieClip 3250 { } movieClip 3252 { } movieClip 3254 { } movieClip 3257 { } movieClip 3259 { } movieClip 3261 { } movieClip 3263 { } movieClip 3265 { } movieClip 3267 { } movieClip 3270 { } movieClip 3272 { } movieClip 3274 { } movieClip 3276 { } movieClip 3278 { } movieClip 3280 { } movieClip 3283 { } movieClip 3285 { } movieClip 3287 { } movieClip 3289 { } movieClip 3291 { } movieClip 3293 { } movieClip 3295 { } movieClip 3301 { } movieClip 3305 { } movieClip 3311 { } movieClip 3315 { } movieClip 3321 { } movieClip 3325 { } movieClip 3332 { } movieClip 3337 { } movieClip 3339 { } movieClip 3340 { } movieClip 3346 { } movieClip 3350 { } movieClip 3351 { } movieClip 3357 { } movieClip 3362 { } movieClip 3366 { } movieClip 3368 { } movieClip 3371 { } movieClip 3373 { } movieClip 3374 { } movieClip 3380 { } movieClip 3385 { } movieClip 3387 { } movieClip 3389 { } movieClip 3391 { } movieClip 3393 { } movieClip 3394 { } movieClip 3395 { } movieClip 3401 { } movieClip 3409 { } movieClip 3411 { frame 1 { stop(); } } movieClip 3412 { } movieClip 3413 { frame 1 { stop(); } frame 22 { gotoAndStop(1); } } movieClip 3414 { frame 1 { stop(); } frame 20 { gotoAndStop(1); } } movieClip 3415 { frame 1 { stop(); } frame 21 { gotoAndStop(1); } } movieClip 3416 { frame 1 { stop(); } frame 21 { gotoAndStop(1); } } movieClip 3425 { frame 1 { stop(); next_btn.onRelease = function () { if (_currentframe == 1) { if (magic_word == 'longcat') { trace('tutu'); _root.esis_feature = 1; gotoAndStop(2); } } else { if (_currentframe == 2) { gotoAndStop(1); _root.esis_feature = 0; } } }; if (_root.esis_feature == 1) { gotoAndStop(2); } } frame 2 { stop(); } } movieClip 3426 { } movieClip 3427 { } movieClip 3430 { } movieClip 3431 { } movieClip 3434 { } movieClip 3449 { } movieClip 3450 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3454 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3458 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3462 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3466 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3469 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3473 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3477 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3481 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3485 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3489 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3493 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3497 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3501 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3505 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3509 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3513 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3517 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3521 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3524 { frame 1 { medal.gotoAndStop(_root[_parent._parent.selected_level + '_medal']); } } movieClip 3525 { frame 1 { stop(); } } movieClip 3529 { } movieClip 3532 { } movieClip 3540 { frame 1 { if (_root.difficulty == 1) { gotoAndStop('lucid'); } if (_root.difficulty == 0.7) { gotoAndStop('pleasant'); } if (_root.difficulty == 2) { gotoAndStop('nightmare'); } } } movieClip 3544 { } movieClip 3546 { } movieClip 3547 { } movieClip 3550 { frame 1 { stop(); if (_root.current_day == 1) { gotoAndStop(5); } if (_root.current_day == 1) { gotoAndStop(5); } } } movieClip 3556 { } movieClip 3560 { } movieClip 3562 { } movieClip 3563 { frame 1 { stop(); } frame 22 { gotoAndStop(1); } } movieClip 3564 { } movieClip 3565 { frame 1 { stop(); } frame 20 { gotoAndStop(1); } } movieClip 3586 { } movieClip 3594 { } movieClip 3596 { } movieClip 3599 { } movieClip 3600 { } movieClip 3601 { frame 1 { gotoAndStop(_root.player_beast); } } movieClip 3609 { frame 1 { dis = Math.round(15 * _root.player_beast_power); } } movieClip 3617 { frame 1 { dis = Math.round(250 * _root.player_beast_power); } } movieClip 3627 { frame 1 { dis = Math.round(10 * _root.player_beast_power); } } movieClip 3637 { frame 1 { dis = Math.round(8 * _root.player_beast_power); } } movieClip 3647 { frame 1 { dis = Math.round(300 * _root.player_beast_power); } } movieClip 3657 { frame 1 { dis = Math.round(100 * _root.player_beast_power); } } movieClip 3667 { frame 1 { dis = Math.round(350 * _root.player_beast_power) + ' per hit.'; } } movieClip 3675 { frame 1 { dis = Math.round(750 * _root.player_beast_power); } } movieClip 3685 { frame 1 { dis = Math.round(75 * _root.player_beast_power) + ' per hit.'; } } movieClip 3694 { frame 1 { dis = Math.round(50 * _root.player_beast_power); } } movieClip 3703 { frame 1 { dis = Math.round(30 * _root.player_beast_power) + ' per hit.'; } } movieClip 3711 { frame 1 { dis = 'Special'; } } movieClip 3721 { frame 1 { dis = Math.round(600 * _root.player_beast_power) + ' per hit.'; } } movieClip 3731 { frame 1 { dis = Math.round(30 * _root.player_beast_power); } } movieClip 3740 { frame 1 { dis = Math.round(50 * _root.player_beast_power) + ' per hit.'; } } movieClip 3747 { frame 1 { dis = Math.round(1600 * _root.player_beast_power) + ' per second.'; } } movieClip 3757 { frame 1 { dis = Math.round(800 * _root.player_beast_power); } } movieClip 3767 { frame 1 { dis = Math.round(350 * _root.player_beast_power) + ' per hit.'; } } movieClip 3777 { frame 1 { dis = Math.round(300 * _root.player_beast_power); } } movieClip 3787 { frame 1 { dis = Math.round(1500 * _root.player_beast_power) + ' per minion.'; } } movieClip 3789 { frame 1 { gotoAndStop(_root.player_beast); } } movieClip 3802 { } movieClip 3804 { } movieClip 3806 { } movieClip 3808 { } movieClip 3810 { } movieClip 3813 { } movieClip 3815 { } movieClip 3816 { } movieClip 3818 { } movieClip 3822 { } movieClip 3827 { } movieClip 3831 { } movieClip 3835 { } movieClip 3842 { } movieClip 3844 { } movieClip 3845 { } movieClip 3847 { } movieClip 3849 { } movieClip 3855 { } movieClip 3857 { } movieClip 3862 { } movieClip 3864 { } movieClip 3869 { } movieClip 3872 { } movieClip 3874 { } movieClip 3879 { } movieClip 3882 { } movieClip 3883 { } movieClip 3888 { } movieClip 3890 { } movieClip 3893 { } movieClip 3894 { } movieClip 3899 { } movieClip 3901 { } movieClip 3906 { } movieClip 3908 { } movieClip 3913 { } movieClip 3918 { } movieClip 3921 { } movieClip 3922 { } movieClip 3924 { } movieClip 3929 { } movieClip 3931 { } movieClip 3936 { } movieClip 3939 { } movieClip 3941 { } movieClip 3946 { } movieClip 3948 { } movieClip 3949 { } movieClip 3951 { } movieClip 3956 { } movieClip 3962 { } movieClip 3967 { } movieClip 3972 { } movieClip 3977 { } movieClip 3982 { } movieClip 3987 { } movieClip 3992 { } movieClip 3997 { } movieClip 4002 { } movieClip 4007 { } movieClip 4012 { } movieClip 4017 { } movieClip 4022 { } movieClip 4027 { } movieClip 4032 { } movieClip 4033 { frame 2 { stop(); } } movieClip 4118 { frame 1 { stop(); memory_ring.onRelease = function () { _parent.info_item.gotoAndStop('memory_ring'); _parent.esis_panel.gotoAndStop('memory_ring'); }; commanding_badge.onRelease = function () { _parent.info_item.gotoAndStop('commanding_badge'); _parent.esis_panel.gotoAndStop('commanding_badge'); }; feather_boots.onRelease = function () { _parent.info_item.gotoAndStop('feather_boots'); _parent.esis_panel.gotoAndStop('feather_boots'); }; safety_charm.onRelease = function () { _parent.info_item.gotoAndStop('safety_charm'); _parent.esis_panel.gotoAndStop('safety_charm'); }; pearl_pendant.onRelease = function () { _parent.info_item.gotoAndStop('pearl_pendant'); _parent.esis_panel.gotoAndStop('pearl_pendant'); }; } frame 5 { stop(); dragon_heart.onRelease = function () { _parent.info_item.gotoAndStop('dragon_heart'); _parent.esis_panel.gotoAndStop('dragon_heart'); }; gaia_vest.onRelease = function () { _parent.info_item.gotoAndStop('gaia_vest'); _parent.esis_panel.gotoAndStop('gaia_vest'); }; grim_reaper.onRelease = function () { _parent.info_item.gotoAndStop('grim_reaper'); _parent.esis_panel.gotoAndStop('grim_reaper'); }; mirage_boots.onRelease = function () { _parent.info_item.gotoAndStop('mirage_boots'); _parent.esis_panel.gotoAndStop('mirage_boots'); }; power_overwhelming.onRelease = function () { _parent.info_item.gotoAndStop('power_overwhelming'); _parent.esis_panel.gotoAndStop('power_overwhelming'); }; } frame 10 { stop(); arcane_earrings.onRelease = function () { _parent.info_item.gotoAndStop('arcane_earrings'); _parent.esis_panel.gotoAndStop('arcane_earrings'); }; cursed_pendant.onRelease = function () { _parent.info_item.gotoAndStop('cursed_pendant'); _parent.esis_panel.gotoAndStop('cursed_pendant'); }; deep_blue.onRelease = function () { _parent.info_item.gotoAndStop('deep_blue'); _parent.esis_panel.gotoAndStop('deep_blue'); }; divine_rosary.onRelease = function () { _parent.info_item.gotoAndStop('divine_rosary'); _parent.esis_panel.gotoAndStop('divine_rosary'); }; lady_luck.onRelease = function () { _parent.info_item.gotoAndStop('lady_luck'); _parent.esis_panel.gotoAndStop('lady_luck'); }; } frame 15 { stop(); alchemist_stone.onRelease = function () { _parent.info_item.gotoAndStop('alchemist_stone'); _parent.esis_panel.gotoAndStop('alchemist_stone'); }; assassin_bracelet.onRelease = function () { _parent.info_item.gotoAndStop('assassin_bracelet'); _parent.esis_panel.gotoAndStop('assassin_bracelet'); }; berserker_soul.onRelease = function () { _parent.info_item.gotoAndStop('berserker_soul'); _parent.esis_panel.gotoAndStop('berserker_soul'); }; crystal_armguard.onRelease = function () { _parent.info_item.gotoAndStop('crystal_armguard'); _parent.esis_panel.gotoAndStop('crystal_armguard'); }; veteran_badge.onRelease = function () { _parent.info_item.gotoAndStop('veteran_badge'); _parent.esis_panel.gotoAndStop('veteran_badge'); }; } } movieClip 4184 { frame 1 { stop(); azure_breeze.onRelease = function () { _parent.info_item.gotoAndStop('azure_breeze'); _parent.esis_panel.gotoAndStop('azure_breeze'); }; crimson_gust.onRelease = function () { _parent.info_item.gotoAndStop('crimson_gust'); _parent.esis_panel.gotoAndStop('crimson_gust'); }; healing_vial.onRelease = function () { _parent.info_item.gotoAndStop('healing_vial'); _parent.esis_panel.gotoAndStop('healing_vial'); }; } frame 5 { stop(); chrono_matter.onRelease = function () { _parent.info_item.gotoAndStop('chrono_matter'); _parent.esis_panel.gotoAndStop('chrono_matter'); }; life_stream.onRelease = function () { _parent.info_item.gotoAndStop('life_stream'); _parent.esis_panel.gotoAndStop('life_stream'); }; soul_refresher.onRelease = function () { _parent.info_item.gotoAndStop('soul_refresher'); _parent.esis_panel.gotoAndStop('soul_refresher'); }; } frame 10 { stop(); golden_apple.onRelease = function () { _parent.info_item.gotoAndStop('golden_apple'); _parent.esis_panel.gotoAndStop('golden_apple'); }; adrenaline_rush.onRelease = function () { _parent.info_item.gotoAndStop('adrenaline_rush'); _parent.esis_panel.gotoAndStop('adrenaline_rush'); }; refresher.onRelease = function () { _parent.info_item.gotoAndStop('refresher'); _parent.esis_panel.gotoAndStop('refresher'); }; } frame 15 { stop(); energy_vial.onRelease = function () { _parent.info_item.gotoAndStop('energy_vial'); _parent.esis_panel.gotoAndStop('energy_vial'); }; fairy_dust.onRelease = function () { _parent.info_item.gotoAndStop('fairy_dust'); _parent.esis_panel.gotoAndStop('fairy_dust'); }; wild_talisman.onRelease = function () { _parent.info_item.gotoAndStop('wild_talisman'); _parent.esis_panel.gotoAndStop('wild_talisman'); }; } } movieClip 4185 { frame 50 { _parent.gotoAndStop('still'); } } movieClip 4186 { } movieClip 4187 { frame 1 { gotoAndStop(_parent._parent.item_conjuring); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 15 { stop(); } frame 16 { stop(); } frame 17 { stop(); } frame 18 { stop(); } frame 19 { stop(); } frame 25 { stop(); } frame 26 { stop(); } frame 27 { stop(); } frame 28 { stop(); } frame 29 { stop(); } frame 35 { stop(); } frame 36 { stop(); } frame 37 { stop(); } frame 38 { stop(); } frame 39 { stop(); } frame 45 { stop(); } frame 46 { stop(); } frame 47 { stop(); } frame 50 { stop(); } frame 51 { stop(); } frame 52 { stop(); } frame 55 { stop(); } frame 56 { stop(); } frame 57 { stop(); } frame 60 { stop(); } frame 61 { stop(); } frame 62 { stop(); } } movieClip 4188 { frame 71 { _parent._parent.esis_panel._visible = true; _parent.gotoAndStop(1); } } movieClip 4189 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 4287 { frame 1 { stop(); } frame 40 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 20 && _root.player_crimson_stone >= 60) { _root.harp_chord_short.start(0, 1); ++_root.player_memory_ring; _root.player_azure_stone -= 20; _root.player_crimson_stone -= 60; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'memory_ring'; } } }; } frame 41 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 0 && _root.player_crimson_stone >= 80) { _root.harp_chord_short.start(0, 1); ++_root.player_commanding_badge; _root.player_azure_stone -= 0; _root.player_crimson_stone -= 80; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'commanding_badge'; } } }; } frame 42 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 100 && _root.player_crimson_stone >= 0) { _root.harp_chord_short.start(0, 1); ++_root.player_feather_boots; _root.player_azure_stone -= 100; _root.player_crimson_stone -= 0; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'feather_boots'; } } }; } frame 43 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 50 && _root.player_crimson_stone >= 50) { _root.harp_chord_short.start(0, 1); ++_root.player_safety_charm; _root.player_azure_stone -= 50; _root.player_crimson_stone -= 50; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'safety_charm'; } } }; } frame 44 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 60 && _root.player_crimson_stone >= 60) { _root.harp_chord_short.start(0, 1); ++_root.player_pearl_pendant; _root.player_azure_stone -= 60; _root.player_crimson_stone -= 60; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'pearl_pendant'; } } }; } frame 50 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 320 && _root.player_crimson_stone >= 0 && _root.player_aquarius_gem >= 3) { _root.harp_chord_short.start(0, 1); ++_root.player_crystal_armguard; _root.player_azure_stone -= 320; _root.player_crimson_stone -= 0; _root.player_aquarius_gem -= 3; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'crystal_armguard'; } } }; } frame 51 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 120 && _root.player_crimson_stone >= 250) { _root.harp_chord_short.start(0, 1); ++_root.player_veteran_badge; _root.player_azure_stone -= 120; _root.player_crimson_stone -= 250; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'veteran_badge'; } } }; } frame 52 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 200 && _root.player_crimson_stone >= 200 && _root.player_rainbow_stone >= 8) { _root.harp_chord_short.start(0, 1); ++_root.player_alchemist_stone; _root.player_azure_stone -= 200; _root.player_crimson_stone -= 200; _root.player_rainbow_stone -= 8; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'alchemist_stone'; } } }; } frame 53 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 0 && _root.player_crimson_stone >= 300 && _root.player_garnet >= 5) { _root.harp_chord_short.start(0, 1); ++_root.player_berserker_soul; _root.player_azure_stone -= 0; _root.player_crimson_stone -= 300; _root.player_garnet -= 5; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'berserker_soul'; } } }; } frame 54 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 100 && _root.player_crimson_stone >= 200 && _root.player_poison_blossom >= 3) { _root.harp_chord_short.start(0, 1); ++_root.player_assassin_bracelet; _root.player_azure_stone -= 100; _root.player_crimson_stone -= 200; _root.player_poison_blossom -= 3; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'assassin_bracelet'; } } }; } frame 60 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 0 && _root.player_crimson_stone >= 600 && _root.player_holy_water >= 6) { _root.harp_chord_short.start(0, 1); ++_root.player_divine_rosary; _root.player_azure_stone -= 0; _root.player_crimson_stone -= 600; _root.player_holy_water -= 6; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'divine_rosary'; } } }; } frame 61 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 600 && _root.player_crimson_stone >= 0 && _root.player_aquarius_gem >= 9) { _root.harp_chord_short.start(0, 1); ++_root.player_deep_blue; _root.player_azure_stone -= 600; _root.player_crimson_stone -= 0; _root.player_aquarius_gem -= 9; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'deep_blue'; } } }; } frame 62 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 200 && _root.player_crimson_stone >= 200 && _root.player_4_leaf_clover >= 7) { _root.harp_chord_short.start(0, 1); ++_root.player_lady_luck; _root.player_azure_stone -= 200; _root.player_crimson_stone -= 200; _root.player_4_leaf_clover -= 7; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'lady_luck'; } } }; } frame 63 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 500 && _root.player_crimson_stone >= 100 && _root.player_vampiric_contract >= 4) { _root.harp_chord_short.start(0, 1); ++_root.player_cursed_pendant; _root.player_azure_stone -= 500; _root.player_crimson_stone -= 100; _root.player_vampiric_contract -= 4; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'cursed_pendant'; } } }; } frame 64 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 340 && _root.player_crimson_stone >= 340 && _root.player_shapely_gem >= 4) { _root.harp_chord_short.start(0, 1); ++_root.player_arcane_earrings; _root.player_azure_stone -= 340; _root.player_crimson_stone -= 340; _root.player_shapely_gem -= 4; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'arcane_earrings'; } } }; } frame 70 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 0 && _root.player_crimson_stone >= 2000 && _root.player_doom_stone >= 4) { _root.harp_chord_short.start(0, 1); ++_root.player_power_overwhelming; _root.player_azure_stone -= 0; _root.player_crimson_stone -= 2000; _root.player_doom_stone -= 4; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'power_overwhelming'; } } }; } frame 71 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 1500 && _root.player_crimson_stone >= 0 && _root.player_illusionary_mirror >= 4) { _root.harp_chord_short.start(0, 1); ++_root.player_mirage_boots; _root.player_azure_stone -= 1500; _root.player_crimson_stone -= 0; _root.player_illusionary_mirror -= 4; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'mirage_boots'; } } }; } frame 72 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 950 && _root.player_crimson_stone >= 950 && _root.player_forest_wing >= 6) { _root.harp_chord_short.start(0, 1); ++_root.player_gaia_vest; _root.player_azure_stone -= 950; _root.player_crimson_stone -= 950; _root.player_forest_wing -= 6; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'gaia_vest'; } } }; } frame 73 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 500 && _root.player_crimson_stone >= 700 && _root.player_dragon_eye >= 4) { _root.harp_chord_short.start(0, 1); ++_root.player_dragon_heart; _root.player_azure_stone -= 500; _root.player_crimson_stone -= 700; _root.player_dragon_eye -= 4; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'dragon_heart'; } } }; } frame 74 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 666 && _root.player_crimson_stone >= 0 && _root.player_shinning_skull >= 4 && _root.player_poison_blossom >= 6) { _root.harp_chord_short.start(0, 1); ++_root.player_grim_reaper; _root.player_azure_stone -= 666; _root.player_crimson_stone -= 0; _root.player_shinning_skull -= 4; _root.player_poison_blossom -= 6; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'grim_reaper'; } } }; } frame 85 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 10 && _root.player_crimson_stone >= 0) { ++_root.player_azure_breeze; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 10; _root.player_crimson_stone -= 0; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'azure_breeze'; } } }; } frame 86 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 0 && _root.player_crimson_stone >= 10) { ++_root.player_crimson_gust; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 0; _root.player_crimson_stone -= 10; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'crimson_gust'; } } }; } frame 87 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 30 && _root.player_crimson_stone >= 50) { ++_root.player_healing_vial; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 30; _root.player_crimson_stone -= 50; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'healing_vial'; } } }; } frame 90 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 60 && _root.player_crimson_stone >= 40) { ++_root.player_energy_vial; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 60; _root.player_crimson_stone -= 40; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'energy_vial'; } } }; } frame 91 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 80 && _root.player_crimson_stone >= 0 && _root.player_aquarius_gem >= 1) { ++_root.player_fairy_dust; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 80; _root.player_crimson_stone -= 0; _root.player_aquarius_gem -= 1; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'fairy_dust'; } } }; } frame 92 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 40 && _root.player_crimson_stone >= 40 && _root.player_poison_blossom >= 1) { ++_root.player_wild_talisman; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 40; _root.player_crimson_stone -= 40; _root.player_poison_blossom -= 1; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'wild_talisman'; } } }; } frame 95 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 130 && _root.player_crimson_stone >= 130) { ++_root.player_refresher; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 130; _root.player_crimson_stone -= 130; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'refresher'; } } }; } frame 96 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 0 && _root.player_crimson_stone >= 100 && _root.player_garnet >= 1) { ++_root.player_adrenaline_rush; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 0; _root.player_crimson_stone -= 100; _root.player_garnet -= 1; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'adrenaline_rush'; } } }; } frame 100 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 400 && _root.player_crimson_stone >= 400) { ++_root.player_soul_refresher; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 400; _root.player_crimson_stone -= 400; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'soul_refresher'; } } }; } frame 101 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 0 && _root.player_crimson_stone >= 100 && _root.player_life_seed >= 1) { ++_root.player_life_stream; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 0; _root.player_crimson_stone -= 100; _root.player_life_seed -= 1; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'life_stream'; } } }; } frame 102 { cancel.onRelease = function () { _parent.info_item.gotoAndStop('none'); gotoAndStop('none'); }; conjure.onRelease = function () { if (_root.player_azure_stone >= 100 && _root.player_crimson_stone >= 0 && _root.player_time_lock >= 1) { ++_root.player_chrono_matter; if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } _root.harp_chord_short.start(0, 1); _root.player_azure_stone -= 100; _root.player_crimson_stone -= 0; _root.player_time_lock -= 1; _parent.info_item.gotoAndStop('none'); _parent.esis_panel.gotoAndStop('none'); if (_root.conjure_animation == 'on') { _parent.esis_panel._visible = false; _parent.esis.gotoAndStop(5); _parent.esis.item_conjuring = 'chrono_matter'; } } }; } } movieClip 4291 { } movieClip 4299 { frame 1 { gotoAndStop(_root.player_character); } frame 5 { stop(); } } movieClip 4315 { frame 1 { onEnterFrame = function () { if (id == _parent._parent.current_stuff) { hl._visible = true; } else { hl._visible = false; } }; } frame 1 { stop(); } frame 10 { stop(); memory_ring.onRelease = function () { _parent._parent.info_item.gotoAndStop('memory_ring'); _parent._parent.current_stuff = 'memory_ring'; _parent._parent.current_type = 'gear'; }; } frame 11 { stop(); commanding_badge.onRelease = function () { _parent._parent.info_item.gotoAndStop('commanding_badge'); _parent._parent.current_stuff = 'commanding_badge'; _parent._parent.current_type = 'gear'; }; } frame 12 { stop(); feather_boots.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('feather_boots'); _parent._parent.current_stuff = 'feather_boots'; }; } frame 13 { stop(); pearl_pendant.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('pearl_pendant'); _parent._parent.current_stuff = 'pearl_pendant'; }; } frame 14 { stop(); safety_charm.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('safety_charm'); _parent._parent.current_stuff = 'safety_charm'; }; } frame 20 { stop(); alchemist_stone.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('alchemist_stone'); _parent._parent.current_stuff = 'alchemist_stone'; }; } frame 21 { stop(); assassin_bracelet.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('assassin_bracelet'); _parent._parent.current_stuff = 'assassin_bracelet'; }; } frame 22 { stop(); berserker_soul.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('berserker_soul'); _parent._parent.current_stuff = 'berserker_soul'; }; } frame 23 { stop(); crystal_armguard.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('crystal_armguard'); _parent._parent.current_stuff = 'crystal_armguard'; }; } frame 24 { stop(); veteran_badge.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('veteran_badge'); _parent._parent.current_stuff = 'veteran_badge'; }; } frame 30 { stop(); arcane_earrings.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('arcane_earrings'); _parent._parent.current_stuff = 'arcane_earrings'; }; } frame 31 { stop(); cursed_pendant.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('cursed_pendant'); _parent._parent.current_stuff = 'cursed_pendant'; }; } frame 32 { stop(); deep_blue.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('deep_blue'); _parent._parent.current_stuff = 'deep_blue'; }; } frame 33 { stop(); divine_rosary.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('divine_rosary'); _parent._parent.current_stuff = 'divine_rosary'; }; } frame 34 { stop(); lady_luck.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('lady_luck'); _parent._parent.current_stuff = 'lady_luck'; }; } frame 40 { stop(); dragon_heart.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('dragon_heart'); _parent._parent.current_stuff = 'dragon_heart'; }; } frame 41 { stop(); gaia_vest.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('gaia_vest'); _parent._parent.current_stuff = 'gaia_vest'; }; } frame 42 { stop(); grim_reaper.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('grim_reaper'); _parent._parent.current_stuff = 'grim_reaper'; }; } frame 43 { stop(); mirage_boots.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('mirage_boots'); _parent._parent.current_stuff = 'mirage_boots'; }; } frame 44 { stop(); power_overwhelming.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('power_overwhelming'); _parent._parent.current_stuff = 'power_overwhelming'; }; } frame 45 { stop(); zodiac_master.onRelease = function () { _parent._parent.current_type = 'gear'; _parent._parent.info_item.gotoAndStop('zodiac_master'); _parent._parent.current_stuff = 'zodiac_master'; }; } } movieClip 4323 { frame 1 { onEnterFrame = function () { if (id == _parent._parent.current_stuff) { hl._visible = true; } else { hl._visible = false; } }; } frame 1 { stop(); } frame 10 { stop(); azure_breeze.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('azure_breeze'); _parent._parent.current_stuff = 'azure_breeze'; }; } frame 11 { stop(); crimson_gust.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('crimson_gust'); _parent._parent.current_stuff = 'crimson_gust'; }; } frame 12 { stop(); healing_vial.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('healing_vial'); _parent._parent.current_stuff = 'healing_vial'; }; } frame 20 { stop(); energy_vial.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('energy_vial'); _parent._parent.current_stuff = 'energy_vial'; }; } frame 21 { stop(); fairy_dust.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('fairy_dust'); _parent._parent.current_stuff = 'fairy_dust'; }; } frame 22 { stop(); wild_talisman.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('wild_talisman'); _parent._parent.current_stuff = 'wild_talisman'; }; } frame 30 { stop(); adrenaline_rush.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('adrenaline_rush'); _parent._parent.current_stuff = 'adrenaline_rush'; }; } frame 31 { stop(); golden_apple.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('golden_apple'); _parent._parent.current_stuff = 'golden_apple'; }; } frame 32 { stop(); refresher.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('refresher'); _parent._parent.current_stuff = 'refresher'; }; } frame 40 { stop(); chrono_matter.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('chrono_matter'); _parent._parent.current_stuff = 'chrono_matter'; }; } frame 41 { stop(); life_stream.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('life_stream'); _parent._parent.current_stuff = 'life_stream'; }; } frame 42 { stop(); soul_refresher.onRelease = function () { _parent._parent.current_type = 'item'; _parent._parent.info_item.gotoAndStop('soul_refresher'); _parent._parent.current_stuff = 'soul_refresher'; }; } } movieClip 4394 { frame 1 { onEnterFrame = function () { if (id == _parent._parent.current_stuff) { hl._visible = true; } else { hl._visible = false; } }; } frame 1 { stop(); } frame 10 { stop(); aquarius_gem.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('aquarius_gem'); _parent._parent.current_stuff = 'aquarius_gem'; }; } frame 11 { stop(); clover.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('4_leaf_clover'); _parent._parent.current_stuff = '4_leaf_clover'; }; } frame 12 { stop(); doom_stone.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('doom_stone'); _parent._parent.current_stuff = 'doom_stone'; }; } frame 13 { stop(); dragon_eye.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('dragon_eye'); _parent._parent.current_stuff = 'dragon_eye'; }; } frame 14 { stop(); forest_wing.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('forest_wing'); _parent._parent.current_stuff = 'forest_wing'; }; } frame 15 { stop(); garnet.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('garnet'); _parent._parent.current_stuff = 'garnet'; }; } frame 16 { stop(); holy_water.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('holy_water'); _parent._parent.current_stuff = 'holy_water'; }; } frame 17 { stop(); illusionary_mirror.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('illusionary_mirror'); _parent._parent.current_stuff = 'illusionary_mirror'; }; } frame 18 { stop(); life_seed.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('life_seed'); _parent._parent.current_stuff = 'life_seed'; }; } frame 19 { stop(); poison_blossom.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('poison_blossom'); _parent._parent.current_stuff = 'poison_blossom'; }; } frame 20 { stop(); rainbow_stone.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('rainbow_stone'); _parent._parent.current_stuff = 'rainbow_stone'; }; } frame 21 { stop(); shapely_gem.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('shapely_gem'); _parent._parent.current_stuff = 'shapely_gem'; }; } frame 22 { stop(); shinning_skull.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('shinning_skull'); _parent._parent.current_stuff = 'shinning_skull'; }; } frame 23 { stop(); time_lock.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('time_lock'); _parent._parent.current_stuff = 'time_lock'; }; } frame 24 { stop(); vampiric_contract.onRelease = function () { _parent._parent.current_type = 'misc'; _parent._parent.info_item.gotoAndStop('vampiric_contract'); _parent._parent.current_stuff = 'vampiric_contract'; }; } } movieClip 4396 { frame 1 { function place_item(item_name, array_name) { if (array_name[0] == 'none') { array_name[0] = item_name; } else { if (array_name[1] == 'none') { array_name[1] = item_name; } else { if (array_name[2] == 'none') { array_name[2] = item_name; } else { if (array_name[3] == 'none') { array_name[3] = item_name; } else { if (array_name[4] == 'none') { array_name[4] = item_name; } else { if (array_name[5] == 'none') { array_name[5] = item_name; } else { if (array_name[6] == 'none') { array_name[6] = item_name; } else { if (array_name[7] == 'none') { array_name[7] = item_name; } else { if (array_name[8] == 'none') { array_name[8] = item_name; } else { if (array_name[9] == 'none') { array_name[9] = item_name; } else { if (array_name[10] == 'none') { array_name[10] = item_name; } else { if (array_name[11] == 'none') { array_name[11] = item_name; } else { if (array_name[12] == 'none') { array_name[12] = item_name; } else { if (array_name[13] == 'none') { array_name[13] = item_name; } else { if (array_name[14] == 'none') { array_name[14] = item_name; } else { if (array_name[15] == 'none') { array_name[15] = item_name; } else { if (array_name[16] == 'none') { array_name[16] = item_name; } else { if (array_name[17] == 'none') { array_name[17] = item_name; } else { if (array_name[18] == 'none') { array_name[18] = item_name; } else { if (array_name[19] == 'none') { array_name[19] = item_name; } else { if (array_name[20] == 'none') { array_name[20] = item_name; } } } } } } } } } } } } } } } } } } } } } } function remove_item(item_name, array_name) { if (array_name[0] == item_name) { array_name[0] = 'none'; } else { if (array_name[1] == item_name) { array_name[1] = 'none'; } else { if (array_name[2] == item_name) { array_name[2] = 'none'; } else { if (array_name[3] == item_name) { array_name[3] = 'none'; } else { if (array_name[4] == item_name) { array_name[4] = 'none'; } else { if (array_name[5] == item_name) { array_name[5] = 'none'; } else { if (array_name[6] == item_name) { array_name[6] = 'none'; } else { if (array_name[7] == item_name) { array_name[7] = 'none'; } else { if (array_name[8] == item_name) { array_name[8] = 'none'; } else { if (array_name[9] == item_name) { array_name[9] = 'none'; } else { if (array_name[10] == item_name) { array_name[10] = 'none'; } else { if (array_name[11] == item_name) { array_name[11] = 'none'; } else { if (array_name[12] == item_name) { array_name[12] = 'none'; } else { if (array_name[13] == item_name) { array_name[13] = 'none'; } else { if (array_name[14] == item_name) { array_name[14] = 'none'; } else { if (array_name[15] == item_name) { array_name[15] = 'none'; } else { if (array_name[16] == item_name) { array_name[16] = 'none'; } else { if (array_name[17] == item_name) { array_name[17] = 'none'; } else { if (array_name[18] == item_name) { array_name[18] = 'none'; } else { if (array_name[19] == item_name) { array_name[19] = 'none'; } else { if (array_name[20] == item_name) { array_name[20] = 'none'; } } } } } } } } } } } } } } } } } } } } } } } frame 1 { function place_in_display() { display_array = new Array('none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none'); if (_root.player_memory_ring > 0) { place_item('memory_ring', display_array); } if (_root.player_commanding_badge > 0) { place_item('commanding_badge', display_array); } if (_root.player_feather_boots > 0) { place_item('feather_boots', display_array); } if (_root.player_pearl_pendant > 0) { place_item('pearl_pendant', display_array); } if (_root.player_safety_charm > 0) { place_item('safety_charm', display_array); } if (_root.player_alchemist_stone > 0) { place_item('alchemist_stone', display_array); } if (_root.player_assassin_bracelet > 0) { place_item('assassin_bracelet', display_array); } if (_root.player_berserker_soul > 0) { place_item('berserker_soul', display_array); } if (_root.player_crystal_armguard > 0) { place_item('crystal_armguard', display_array); } if (_root.player_veteran_badge > 0) { place_item('veteran_badge', display_array); } if (_root.player_arcane_earrings > 0) { place_item('arcane_earrings', display_array); } if (_root.player_cursed_pendant > 0) { place_item('cursed_pendant', display_array); } if (_root.player_deep_blue > 0) { place_item('deep_blue', display_array); } if (_root.player_divine_rosary > 0) { place_item('divine_rosary', display_array); } if (_root.player_lady_luck > 0) { place_item('lady_luck', display_array); } if (_root.player_dragon_heart > 0) { place_item('dragon_heart', display_array); } if (_root.player_gaia_vest > 0) { place_item('gaia_vest', display_array); } if (_root.player_grim_reaper > 0) { place_item('grim_reaper', display_array); } if (_root.player_mirage_boots > 0) { place_item('mirage_boots', display_array); } if (_root.player_power_overwhelming > 0) { place_item('power_overwhelming', display_array); } if (_root.player_zodiac_master > 0) { place_item('zodiac_master', display_array); } } stop(); current_page = 1; place_in_display(); right_arrow.onRelease = function () { ++current_page; if (current_page > 3) { current_page = 3; } }; left_arrow.onRelease = function () { --current_page; if (current_page < 1) { current_page = 1; } }; onEnterFrame = function () { if (current_page == 1) { slot_1.gotoAndStop(display_array[0]); slot_2.gotoAndStop(display_array[1]); slot_3.gotoAndStop(display_array[2]); slot_4.gotoAndStop(display_array[3]); slot_5.gotoAndStop(display_array[4]); slot_6.gotoAndStop(display_array[5]); slot_7.gotoAndStop(display_array[6]); slot_8.gotoAndStop(display_array[7]); slot_1.id = display_array[0]; slot_2.id = display_array[1]; slot_3.id = display_array[2]; slot_4.id = display_array[3]; slot_5.id = display_array[4]; slot_6.id = display_array[5]; slot_7.id = display_array[6]; slot_8.id = display_array[7]; } else { if (current_page == 2) { slot_1.gotoAndStop(display_array[8]); slot_2.gotoAndStop(display_array[9]); slot_3.gotoAndStop(display_array[10]); slot_4.gotoAndStop(display_array[11]); slot_5.gotoAndStop(display_array[12]); slot_6.gotoAndStop(display_array[13]); slot_7.gotoAndStop(display_array[14]); slot_8.gotoAndStop(display_array[15]); slot_1.id = display_array[8]; slot_2.id = display_array[9]; slot_3.id = display_array[10]; slot_4.id = display_array[11]; slot_5.id = display_array[12]; slot_6.id = display_array[13]; slot_7.id = display_array[14]; slot_8.id = display_array[15]; } else { if (current_page == 3) { slot_1.gotoAndStop(display_array[16]); slot_2.gotoAndStop(display_array[17]); slot_3.gotoAndStop(display_array[18]); slot_4.gotoAndStop(display_array[19]); slot_5.gotoAndStop(display_array[20]); slot_6.gotoAndStop('none'); slot_7.gotoAndStop('none'); slot_8.gotoAndStop('none'); slot_1.id = display_array[16]; slot_2.id = display_array[17]; slot_3.id = display_array[18]; slot_4.id = display_array[19]; slot_5.id = display_array[20]; slot_6.id = 'none'; slot_7.id = 'none'; slot_8.id = 'none'; } } } }; } frame 5 { function place_item(item_name, array_name) { if (array_name[0] == 'none') { array_name[0] = item_name; } else { if (array_name[1] == 'none') { array_name[1] = item_name; } else { if (array_name[2] == 'none') { array_name[2] = item_name; } else { if (array_name[3] == 'none') { array_name[3] = item_name; } else { if (array_name[4] == 'none') { array_name[4] = item_name; } else { if (array_name[5] == 'none') { array_name[5] = item_name; } else { if (array_name[6] == 'none') { array_name[6] = item_name; } else { if (array_name[7] == 'none') { array_name[7] = item_name; } else { if (array_name[8] == 'none') { array_name[8] = item_name; } else { if (array_name[9] == 'none') { array_name[9] = item_name; } else { if (array_name[10] == 'none') { array_name[10] = item_name; } else { if (array_name[11] == 'none') { array_name[11] = item_name; } else { if (array_name[12] == 'none') { array_name[12] = item_name; } else { if (array_name[13] == 'none') { array_name[13] = item_name; } else { if (array_name[14] == 'none') { array_name[14] = item_name; } else { if (array_name[15] == 'none') { array_name[15] = item_name; } else { if (array_name[16] == 'none') { array_name[16] = item_name; } else { if (array_name[17] == 'none') { array_name[17] = item_name; } else { if (array_name[18] == 'none') { array_name[18] = item_name; } else { if (array_name[19] == 'none') { array_name[19] = item_name; } } } } } } } } } } } } } } } } } } } } } function remove_item(item_name, array_name) { if (array_name[0] == item_name) { array_name[0] = 'none'; } else { if (array_name[1] == item_name) { array_name[1] = 'none'; } else { if (array_name[2] == item_name) { array_name[2] = 'none'; } else { if (array_name[3] == item_name) { array_name[3] = 'none'; } else { if (array_name[4] == item_name) { array_name[4] = 'none'; } else { if (array_name[5] == item_name) { array_name[5] = 'none'; } else { if (array_name[6] == item_name) { array_name[6] = 'none'; } else { if (array_name[7] == item_name) { array_name[7] = 'none'; } else { if (array_name[8] == item_name) { array_name[8] = 'none'; } else { if (array_name[9] == item_name) { array_name[9] = 'none'; } else { if (array_name[10] == item_name) { array_name[10] = 'none'; } else { if (array_name[11] == item_name) { array_name[11] = 'none'; } else { if (array_name[12] == item_name) { array_name[12] = 'none'; } else { if (array_name[13] == item_name) { array_name[13] = 'none'; } else { if (array_name[14] == item_name) { array_name[14] = 'none'; } else { if (array_name[15] == item_name) { array_name[15] = 'none'; } else { if (array_name[16] == item_name) { array_name[16] = 'none'; } else { if (array_name[17] == item_name) { array_name[17] = 'none'; } else { if (array_name[18] == item_name) { array_name[18] = 'none'; } else { if (array_name[19] == item_name) { array_name[19] = 'none'; } } } } } } } } } } } } } } } } } } } } } } frame 5 { stop(); current_page = 1; place_item_in_display = function () { display_array = new Array('none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none'); if (_root.player_azure_breeze > 0) { place_item('azure_breeze', display_array); } if (_root.player_crimson_gust > 0) { place_item('crimson_gust', display_array); } if (_root.player_healing_vial > 0) { place_item('healing_vial', display_array); } if (_root.player_energy_vial > 0) { place_item('energy_vial', display_array); } if (_root.player_fairy_dust > 0) { place_item('fairy_dust', display_array); } if (_root.player_wild_talisman > 0) { place_item('wild_talisman', display_array); } if (_root.player_refresher > 0) { place_item('refresher', display_array); } if (_root.player_golden_apple > 0) { place_item('golden_apple', display_array); } if (_root.player_adrenaline_rush > 0) { place_item('adrenaline_rush', display_array); } if (_root.player_chrono_matter > 0) { place_item('chrono_matter', display_array); } if (_root.player_life_stream > 0) { place_item('life_stream', display_array); } if (_root.player_soul_refresher > 0) { place_item('soul_refresher', display_array); } }; place_item_in_display(); right_arrow.onRelease = function () { ++current_page; if (current_page > 2) { current_page = 2; } }; left_arrow.onRelease = function () { --current_page; if (current_page < 1) { current_page = 1; } }; onEnterFrame = function () { if (current_page == 1) { slot_1.gotoAndStop(display_array[0]); slot_2.gotoAndStop(display_array[1]); slot_3.gotoAndStop(display_array[2]); slot_4.gotoAndStop(display_array[3]); slot_5.gotoAndStop(display_array[4]); slot_6.gotoAndStop(display_array[5]); slot_7.gotoAndStop(display_array[6]); slot_8.gotoAndStop(display_array[7]); slot_1.id = display_array[0]; slot_2.id = display_array[1]; slot_3.id = display_array[2]; slot_4.id = display_array[3]; slot_5.id = display_array[4]; slot_6.id = display_array[5]; slot_7.id = display_array[6]; slot_8.id = display_array[7]; } else { if (current_page == 2) { slot_1.gotoAndStop(display_array[8]); slot_2.gotoAndStop(display_array[9]); slot_3.gotoAndStop(display_array[10]); slot_4.gotoAndStop(display_array[11]); slot_5.gotoAndStop(display_array[12]); slot_6.gotoAndStop(display_array[13]); slot_7.gotoAndStop(display_array[14]); slot_8.gotoAndStop(display_array[15]); slot_1.id = display_array[8]; slot_2.id = display_array[9]; slot_3.id = display_array[10]; slot_4.id = display_array[11]; slot_5.id = display_array[12]; slot_6.id = display_array[13]; slot_7.id = display_array[14]; slot_8.id = display_array[15]; } } }; } frame 10 { function place_item(item_name, array_name) { if (array_name[0] == 'none') { array_name[0] = item_name; } else { if (array_name[1] == 'none') { array_name[1] = item_name; } else { if (array_name[2] == 'none') { array_name[2] = item_name; } else { if (array_name[3] == 'none') { array_name[3] = item_name; } else { if (array_name[4] == 'none') { array_name[4] = item_name; } else { if (array_name[5] == 'none') { array_name[5] = item_name; } else { if (array_name[6] == 'none') { array_name[6] = item_name; } else { if (array_name[7] == 'none') { array_name[7] = item_name; } else { if (array_name[8] == 'none') { array_name[8] = item_name; } else { if (array_name[9] == 'none') { array_name[9] = item_name; } else { if (array_name[10] == 'none') { array_name[10] = item_name; } else { if (array_name[11] == 'none') { array_name[11] = item_name; } else { if (array_name[12] == 'none') { array_name[12] = item_name; } else { if (array_name[13] == 'none') { array_name[13] = item_name; } else { if (array_name[14] == 'none') { array_name[14] = item_name; } else { if (array_name[15] == 'none') { array_name[15] = item_name; } else { if (array_name[16] == 'none') { array_name[16] = item_name; } else { if (array_name[17] == 'none') { array_name[17] = item_name; } else { if (array_name[18] == 'none') { array_name[18] = item_name; } else { if (array_name[19] == 'none') { array_name[19] = item_name; } } } } } } } } } } } } } } } } } } } } } function remove_item(item_name, array_name) { if (array_name[0] == item_name) { array_name[0] = 'none'; } else { if (array_name[1] == item_name) { array_name[1] = 'none'; } else { if (array_name[2] == item_name) { array_name[2] = 'none'; } else { if (array_name[3] == item_name) { array_name[3] = 'none'; } else { if (array_name[4] == item_name) { array_name[4] = 'none'; } else { if (array_name[5] == item_name) { array_name[5] = 'none'; } else { if (array_name[6] == item_name) { array_name[6] = 'none'; } else { if (array_name[7] == item_name) { array_name[7] = 'none'; } else { if (array_name[8] == item_name) { array_name[8] = 'none'; } else { if (array_name[9] == item_name) { array_name[9] = 'none'; } else { if (array_name[10] == item_name) { array_name[10] = 'none'; } else { if (array_name[11] == item_name) { array_name[11] = 'none'; } else { if (array_name[12] == item_name) { array_name[12] = 'none'; } else { if (array_name[13] == item_name) { array_name[13] = 'none'; } else { if (array_name[14] == item_name) { array_name[14] = 'none'; } else { if (array_name[15] == item_name) { array_name[15] = 'none'; } else { if (array_name[16] == item_name) { array_name[16] = 'none'; } else { if (array_name[17] == item_name) { array_name[17] = 'none'; } else { if (array_name[18] == item_name) { array_name[18] = 'none'; } else { if (array_name[19] == item_name) { array_name[19] = 'none'; } } } } } } } } } } } } } } } } } } } } } } frame 10 { stop(); current_page = 1; place_item_in_display = function () { display_array = new Array('none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none', 'none'); if (_root.player_4_leaf_clover > 0) { place_item('4_leaf_clover', display_array); } if (_root.player_aquarius_gem > 0) { place_item('aquarius_gem', display_array); } if (_root.player_doom_stone > 0) { place_item('doom_stone', display_array); } if (_root.player_dragon_eye > 0) { place_item('dragon_eye', display_array); } if (_root.player_forest_wing > 0) { place_item('forest_wing', display_array); } if (_root.player_garnet > 0) { place_item('garnet', display_array); } if (_root.player_holy_water > 0) { place_item('holy_water', display_array); } if (_root.player_illusionary_mirror > 0) { place_item('illusionary_mirror', display_array); } if (_root.player_life_seed > 0) { place_item('life_seed', display_array); } if (_root.player_poison_blossom > 0) { place_item('poison_blossom', display_array); } if (_root.player_rainbow_stone > 0) { place_item('rainbow_stone', display_array); } if (_root.player_shapely_gem > 0) { place_item('shapely_gem', display_array); } if (_root.player_shinning_skull > 0) { place_item('shinning_skull', display_array); } if (_root.player_time_lock > 0) { place_item('time_lock', display_array); } if (_root.player_vampiric_contract > 0) { place_item('vampiric_contract', display_array); } }; place_item_in_display(); right_arrow.onRelease = function () { ++current_page; if (current_page > 2) { current_page = 2; } }; left_arrow.onRelease = function () { --current_page; if (current_page < 1) { current_page = 1; } }; onEnterFrame = function () { if (current_page == 1) { slot_1.gotoAndStop(display_array[0]); slot_2.gotoAndStop(display_array[1]); slot_3.gotoAndStop(display_array[2]); slot_4.gotoAndStop(display_array[3]); slot_5.gotoAndStop(display_array[4]); slot_6.gotoAndStop(display_array[5]); slot_7.gotoAndStop(display_array[6]); slot_8.gotoAndStop(display_array[7]); slot_1.id = display_array[0]; slot_2.id = display_array[1]; slot_3.id = display_array[2]; slot_4.id = display_array[3]; slot_5.id = display_array[4]; slot_6.id = display_array[5]; slot_7.id = display_array[6]; slot_8.id = display_array[7]; } else { if (current_page == 2) { slot_1.gotoAndStop(display_array[8]); slot_2.gotoAndStop(display_array[9]); slot_3.gotoAndStop(display_array[10]); slot_4.gotoAndStop(display_array[11]); slot_5.gotoAndStop(display_array[12]); slot_6.gotoAndStop(display_array[13]); slot_7.gotoAndStop(display_array[14]); slot_8.gotoAndStop(display_array[15]); slot_1.id = display_array[8]; slot_2.id = display_array[9]; slot_3.id = display_array[10]; slot_4.id = display_array[11]; slot_5.id = display_array[12]; slot_6.id = display_array[13]; slot_7.id = display_array[14]; slot_8.id = display_array[15]; } } }; } } movieClip 4435 { frame 1 { stop(); } } movieClip 4436 { frame 1 { onEnterFrame = function () { gear_slot_1.gotoAndStop(_root.player_gear_1); gear_slot_2.gotoAndStop(_root.player_gear_2); item_slot_1.gotoAndStop(_root.player_item_1); item_slot_2.gotoAndStop(_root.player_item_2); item_slot_3.gotoAndStop(_root.player_item_3); item_slot_4.gotoAndStop(_root.player_item_4); }; } } movieClip 4437 { frame 1 { stop(); } frame 5 { exp_report = 'Exp: ' + _root.player_exp + ' of ' + _root.player_max_exp; onEnterFrame = function () { if (_root.player_pts < 1 or _root.player_power >= 30) { power_up._visible = false; } if (_root.player_pts < 1 or _root.player_endurance >= 30) { endurance_up._visible = false; } if (_root.player_pts < 1 or _root.player_agility >= 30) { agility_up._visible = false; } if (_root.player_pts < 1 or _root.player_empathy >= 30) { empathy_up._visible = false; } gear_slot_1.gotoAndStop(_root.player_gear_1); gear_slot_2.gotoAndStop(_root.player_gear_2); }; power_up.onRelease = function () { pow_hl.gotoAndPlay(5); ++_root.player_power; --_root.player_pts; _root.calculate_player_stat(true); }; endurance_up.onRelease = function () { end_hl.gotoAndPlay(5); ++_root.player_endurance; --_root.player_pts; _root.calculate_player_stat(true); }; agility_up.onRelease = function () { agi_hl.gotoAndPlay(5); ++_root.player_agility; --_root.player_pts; _root.calculate_player_stat(true); }; empathy_up.onRelease = function () { empathy_hl.gotoAndPlay(5); ++_root.player_empathy; --_root.player_pts; _root.calculate_player_stat(true); }; } frame 10 { stop(); } frame 11 { stop(); if (_root['player_' + _root.temp_item_1] >= 1 && _root.player_item_1 == 'none') { --_root['player_' + _root.temp_item_1]; _root.player_item_1 = _root.temp_item_1; } if (_root['player_' + _root.temp_item_2] >= 1 && _root.player_item_2 == 'none') { --_root['player_' + _root.temp_item_2]; _root.player_item_2 = _root.temp_item_2; } if (_root['player_' + _root.temp_item_3] >= 1 && _root.player_item_3 == 'none') { --_root['player_' + _root.temp_item_3]; _root.player_item_3 = _root.temp_item_3; } if (_root['player_' + _root.temp_item_4] >= 1 && _root.player_item_4 == 'none') { --_root['player_' + _root.temp_item_4]; _root.player_item_4 = _root.temp_item_4; } var i = 0; while (i < 21) { var enm = 'level_' + i; this[enm].onRollOver = function () { selected_level = this._name; }; this[enm].onRollOut = function () { selected_level = 1; }; this[enm].onRelease = function () { _root.current_map = this._name; _root.gotoAndStop('play_area'); }; ++i; } if (_root.level_1_medal > 1) { level_2._visible = true; path_1._visible = true; } else { level_2._visible = false; path_1._visible = false; } if (_root.level_2_medal > 1) { level_3._visible = true; path_2._visible = true; } else { level_3._visible = false; path_2._visible = false; } if (_root.level_3_medal > 1) { level_4._visible = true; path_3._visible = true; } else { level_4._visible = false; path_3._visible = false; } if (_root.level_4_medal > 1) { level_5._visible = true; path_4._visible = true; } else { level_5._visible = false; path_4._visible = false; } if (_root.level_5_medal > 1) { level_6._visible = true; level_11._visible = true; level_13._visible = true; level_17._visible = true; path_5._visible = true; path_10._visible = true; path_12._visible = true; path_16._visible = true; } else { level_6._visible = false; level_11._visible = false; level_13._visible = false; level_17._visible = false; path_5._visible = false; path_10._visible = false; path_12._visible = false; path_16._visible = false; } if (_root.level_6_medal > 1) { level_7._visible = true; path_6._visible = true; } else { level_7._visible = false; path_6._visible = false; } if (_root.level_7_medal > 1) { level_8._visible = true; level_9._visible = true; path_7._visible = true; path_8._visible = true; } else { level_8._visible = false; level_9._visible = false; path_7._visible = false; path_8._visible = false; } if (_root.level_8_medal > 1) { level_10._visible = true; path_9._visible = true; } else { level_10._visible = false; path_9._visible = false; } if (_root.level_11_medal > 1) { level_12._visible = true; path_11._visible = true; } else { level_12._visible = false; path_11._visible = false; } if (_root.level_13_medal > 1) { level_14._visible = true; path_13._visible = true; } else { level_14._visible = false; path_13._visible = false; } if (_root.level_14_medal > 1) { level_15._visible = true; path_14._visible = true; } else { level_15._visible = false; path_14._visible = false; } if (_root.level_15_medal > 1) { level_16._visible = true; path_15._visible = true; } else { level_16._visible = false; path_15._visible = false; } if (_root.level_17_medal > 1) { level_18._visible = true; path_17._visible = true; } else { level_18._visible = false; path_17._visible = false; } if (_root.level_18_medal > 1) { level_19._visible = true; path_18._visible = true; } else { level_19._visible = false; path_18._visible = false; } if (_root.level_10_medal > 1 && _root.level_9_medal > 1 && _root.level_12_medal > 1 && _root.level_14_medal > 1 && _root.level_16_medal > 1 && _root.difficulty >= 1) { level_20._visible = true; } else { level_20._visible = false; } if (_root.level_10_medal > 1 && _root.level_9_medal > 1 && _root.level_12_medal > 1 && _root.level_14_medal > 1 && _root.level_16_medal > 1) { _root.kongregateStats.submit('zodiac_slayer', 1); } level_info.onEnterFrame = function () { level_info.gotoAndStop(selected_level); if (_root.player_pts > 0) { level_up_reminder.gotoAndStop(2); } else { level_up_reminder.gotoAndStop(1); } }; } frame 11 { if (_root.esis_feature == 0) { cheat_window._visible = false; } cheat_window.onEnterFrame = function () { if (Key.isDown(65) && Key.isDown(84) && Key.isDown(76)) { cheat_window._visible = true; } }; } frame 20 { stop(); onEnterFrame = function () { blue_stone_indicator_frame = 1 + Math.round((_root.beast_azure_stone / _root.beast_azure_stone_max) * 99); blue_stone_indicator.gotoAndStop(blue_stone_indicator_frame); red_stone_indicator_frame = 1 + Math.round((_root.beast_crimson_stone / _root.beast_crimson_stone_max) * 99); red_stone_indicator.gotoAndStop(red_stone_indicator_frame); current_beast_mv.gotoAndStop(_root.player_beast); alignment_mv.gotoAndStop(_root.player_beast); breath_mv.gotoAndStop(_root.player_beast); attack_mv.gotoAndStop(_root.player_beast); perk_mv.gotoAndStop(_root.player_beast); lvl_1_beast_mv.gotoAndStop(_root.player_lvl1_beast); lvl_2_beast_mv.gotoAndStop(_root.player_lvl2_beast); lvl_3_beast_mv.gotoAndStop(_root.player_lvl3_beast); lvl_4_beast_mv.gotoAndStop(_root.player_lvl4_beast); lvl_5_beast_mv.gotoAndStop(_root.player_lvl5_beast); if (_root.player_beast == _root.player_lvl1_beast) { beast_indicator_1._visible = true; } else { beast_indicator_1._visible = false; } if (_root.player_beast == _root.player_lvl2_beast) { beast_indicator_2._visible = true; } else { beast_indicator_2._visible = false; } if (_root.player_beast == _root.player_lvl3_beast) { beast_indicator_3._visible = true; } else { beast_indicator_3._visible = false; } if (_root.player_beast == _root.player_lvl4_beast) { beast_indicator_4._visible = true; } else { beast_indicator_4._visible = false; } if (_root.player_beast == _root.player_lvl5_beast) { beast_indicator_5._visible = true; } else { beast_indicator_5._visible = false; } }; upgrade_beast = function () { _root.harp_chord_long.start(0, 1); if (_root.player_alignment_blue + _root.player_alignment_red == 2) { if (_root.player_alignment_blue == 0) { _root.player_lvl2_beast = 'simurgh'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'simurgh'; _root.check_beast('equip', _root.player_beast); } else { if (_root.player_alignment_blue == 1) { _root.player_lvl2_beast = 'cyclop'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'cyclop'; _root.check_beast('equip', _root.player_beast); } else { if (_root.player_alignment_blue == 2) { _root.player_lvl2_beast = 'naga'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'naga'; _root.check_beast('equip', _root.player_beast); } } } } else { if (_root.player_alignment_blue + _root.player_alignment_red == 3) { if (_root.player_alignment_blue == 0) { _root.player_lvl3_beast = 'pegasus'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'pegasus'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 1) { _root.player_lvl3_beast = 'griffin'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'griffin'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 2) { _root.player_lvl3_beast = 'gargoyle'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'gargoyle'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 3) { _root.player_lvl3_beast = 'siren'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'siren'; _root.check_beast('equip', _root.player_beast); } } else { if (_root.player_alignment_blue + _root.player_alignment_red == 4) { if (_root.player_alignment_blue == 0) { _root.player_lvl4_beast = 'unicorn'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'unicorn'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 1) { _root.player_lvl4_beast = 'chimera'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'chimera'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 2) { _root.player_lvl4_beast = 'zuu'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'zuu'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 3) { _root.player_lvl4_beast = 'hydra'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'hydra'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 4) { _root.player_lvl4_beast = 'kraken'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'kraken'; _root.check_beast('equip', _root.player_beast); } } else { if (_root.player_alignment_blue + _root.player_alignment_red == 5) { if (_root.player_alignment_blue == 0) { _root.kongregateStats.submit('phoenix_tamer', 1); _root.player_lvl5_beast = 'phoenix'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'phoenix'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 1) { _root.kongregateStats.submit('leviathan_tamer', 1); _root.player_lvl5_beast = 'leviathan'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'leviathan'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 2) { _root.kongregateStats.submit('behemoth_tamer', 1); _root.player_lvl5_beast = 'behemoth'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'behemoth'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 3) { _root.kongregateStats.submit('tiamat_tamer', 1); _root.player_lvl5_beast = 'tiamat'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'tiamat'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 4) { _root.kongregateStats.submit('nidhogg_tamer', 1); _root.player_lvl5_beast = 'nidhogg'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'nidhogg'; _root.check_beast('equip', _root.player_beast); } if (_root.player_alignment_blue == 5) { _root.kongregateStats.submit('beelzebub_tamer', 1); _root.player_lvl5_beast = 'beelzebub'; _root.check_beast('remove', _root.player_beast); _root.player_beast = 'beelzebub'; _root.check_beast('equip', _root.player_beast); } } } } } }; lvl_1_beast_mv.onRelease = function () { if (_root.player_lvl1_beast != 'none') { _root.check_beast('remove', _root.player_beast); _root.player_beast = _root.player_lvl1_beast; _root.check_beast('equip', _root.player_lvl1_beast); } }; lvl_2_beast_mv.onRelease = function () { if (_root.player_lvl2_beast != 'none') { _root.check_beast('remove', _root.player_beast); _root.player_beast = _root.player_lvl2_beast; _root.check_beast('equip', _root.player_lvl2_beast); } }; lvl_3_beast_mv.onRelease = function () { if (_root.player_lvl3_beast != 'none') { _root.check_beast('remove', _root.player_beast); _root.player_beast = _root.player_lvl3_beast; _root.check_beast('equip', _root.player_lvl3_beast); } }; lvl_4_beast_mv.onRelease = function () { if (_root.player_lvl4_beast != 'none') { _root.check_beast('remove', _root.player_beast); _root.player_beast = _root.player_lvl4_beast; _root.check_beast('equip', _root.player_lvl4_beast); } }; lvl_5_beast_mv.onRelease = function () { if (_root.player_lvl5_beast != 'none') { _root.check_beast('remove', _root.player_beast); _root.player_beast = _root.player_lvl5_beast; _root.check_beast('equip', _root.player_lvl5_beast); } }; red_feed_1.onRelease = function () { if (_root.player_crimson_stone >= 10) { _root.player_crimson_stone -= 10; _root.beast_crimson_stone += 10; red_highlight.gotoAndPlay(5); if (_root.beast_crimson_stone >= _root.beast_crimson_stone_max) { _root.beast_crimson_stone = 0; _root.beast_crimson_stone_max *= 2.2; _root.beast_azure_stone_max *= 2.2; ++_root.player_alignment_red; upgrade_beast(); } } }; red_feed_2.onRelease = function () { if (_root.player_crimson_stone >= 100) { _root.player_crimson_stone -= 100; _root.beast_crimson_stone += 100; red_highlight.gotoAndPlay(5); if (_root.beast_crimson_stone >= _root.beast_crimson_stone_max) { _root.beast_crimson_stone = 0; _root.beast_crimson_stone_max *= 2.2; _root.beast_azure_stone_max *= 2.2; ++_root.player_alignment_red; upgrade_beast(); } } }; blue_feed_1.onRelease = function () { if (_root.player_azure_stone >= 10) { _root.player_azure_stone -= 10; _root.beast_azure_stone += 10; blue_highlight.gotoAndPlay(5); if (_root.beast_azure_stone >= _root.beast_azure_stone_max) { _root.beast_azure_stone = 0; _root.beast_azure_stone_max *= 2.2; _root.beast_crimson_stone_max *= 2.2; ++_root.player_alignment_blue; upgrade_beast(); } } }; blue_feed_2.onRelease = function () { if (_root.player_azure_stone >= 100) { _root.player_azure_stone -= 100; _root.beast_azure_stone += 100; blue_highlight.gotoAndPlay(5); if (_root.beast_azure_stone >= _root.beast_azure_stone_max) { _root.beast_azure_stone = 0; _root.beast_azure_stone_max *= 2.2; _root.beast_crimson_stone_max *= 2.2; ++_root.player_alignment_blue; upgrade_beast(); } } }; } frame 30 { s_gear.onRelease = function () { gear_panel.gotoAndStop('s_gear'); }; a_gear.onRelease = function () { gear_panel.gotoAndStop('a_gear'); }; b_gear.onRelease = function () { gear_panel.gotoAndStop('b_gear'); }; c_gear.onRelease = function () { gear_panel.gotoAndStop('c_gear'); }; s_item.onRelease = function () { item_panel.gotoAndStop('s_item'); }; a_item.onRelease = function () { item_panel.gotoAndStop('a_item'); }; b_item.onRelease = function () { item_panel.gotoAndStop('b_item'); }; c_item.onRelease = function () { item_panel.gotoAndStop('c_item'); }; animation_btn.onRelease = function () { if (_root.conjure_animation == 'on') { _root.conjure_animation = 'off'; } else { _root.conjure_animation = 'on'; } }; onEnterFrame = function () { if (_root.conjure_animation == 'on') { animation_btn.gotoAndStop(1); } if (_root.conjure_animation == 'off') { animation_btn.gotoAndStop(2); } }; } frame 40 { stop(); current_stuff = 'none'; current_type = 'gear'; gear_btn.onRelease = function () { inventory_panel.gotoAndStop('gear'); }; item_btn.onRelease = function () { inventory_panel.gotoAndStop('item'); }; misc_btn.onRelease = function () { inventory_panel.gotoAndStop('misc'); }; equip_slot_1.onRelease = function () { if (_root['player_' + current_stuff] > 0) { ++_root['player_' + _root.player_gear_1]; _root.cal_equip('remove', _root.player_gear_1); _root.player_gear_1 = current_stuff; _root.cal_equip('equip', current_stuff); --_root['player_' + current_stuff]; current_stuff = 'none'; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_in_display(); } }; remove_slot_1.onRelease = function () { ++_root['player_' + _root.player_gear_1]; _root.cal_equip('remove', _root.player_gear_1); current_stuff = 'none'; _root.player_gear_1 = current_stuff; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_in_display(); }; remove_slot_2.onRelease = function () { ++_root['player_' + _root.player_gear_2]; _root.cal_equip('remove', _root.player_gear_2); current_stuff = 'none'; _root.player_gear_2 = current_stuff; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_in_display(); }; equip_slot_2.onRelease = function () { if (_root['player_' + current_stuff] > 0) { ++_root['player_' + _root.player_gear_2]; _root.cal_equip('remove', _root.player_gear_2); _root.player_gear_2 = current_stuff; _root.cal_equip('equip', current_stuff); --_root['player_' + current_stuff]; current_stuff = 'none'; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_in_display(); } }; item_slot_1.onRelease = function () { if (_root['player_' + current_stuff] > 0) { ++_root['player_' + _root.player_item_1]; _root.player_item_1 = current_stuff; --_root['player_' + current_stuff]; _root.temp_item_1 = current_stuff; current_stuff = 'none'; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_item_in_display(); } }; item_slot_2.onRelease = function () { if (_root['player_' + current_stuff] > 0) { ++_root['player_' + _root.player_item_2]; _root.player_item_2 = current_stuff; --_root['player_' + current_stuff]; _root.temp_item_2 = current_stuff; current_stuff = 'none'; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_item_in_display(); } }; item_slot_3.onRelease = function () { if (_root['player_' + current_stuff] > 0) { ++_root['player_' + _root.player_item_3]; _root.player_item_3 = current_stuff; --_root['player_' + current_stuff]; _root.temp_item_3 = current_stuff; current_stuff = 'none'; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_item_in_display(); } }; item_slot_4.onRelease = function () { if (_root['player_' + current_stuff] > 0) { ++_root['player_' + _root.player_item_4]; _root.player_item_4 = current_stuff; --_root['player_' + current_stuff]; _root.temp_item_4 = current_stuff; current_stuff = 'none'; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_item_in_display(); } }; remove_item_1.onRelease = function () { ++_root['player_' + _root.player_item_1]; current_stuff = 'none'; _root.player_item_1 = current_stuff; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_item_in_display(); }; remove_item_2.onRelease = function () { ++_root['player_' + _root.player_item_2]; current_stuff = 'none'; _root.player_item_2 = current_stuff; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_item_in_display(); }; remove_item_3.onRelease = function () { ++_root['player_' + _root.player_item_3]; current_stuff = 'none'; _root.player_item_3 = current_stuff; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_item_in_display(); }; remove_item_4.onRelease = function () { ++_root['player_' + _root.player_item_4]; current_stuff = 'none'; _root.player_item_4 = current_stuff; info_item.gotoAndStop('none'); _root.calculate_player_stat(true); inventory_panel.place_item_in_display(); }; onEnterFrame = function () { if (_root.player_gear_1 == 'none') { remove_slot_1._visible = false; } else { remove_slot_1._visible = true; } if (_root.player_gear_2 == 'none') { remove_slot_2._visible = false; } else { remove_slot_2._visible = true; } if (_root.player_item_1 == 'none') { remove_item_1._visible = false; } else { remove_item_1._visible = true; } if (_root.player_item_2 == 'none') { remove_item_2._visible = false; } else { remove_item_2._visible = true; } if (_root.player_item_3 == 'none') { remove_item_3._visible = false; } else { remove_item_3._visible = true; } if (_root.player_item_4 == 'none') { remove_item_4._visible = false; } else { remove_item_4._visible = true; } if (current_stuff == 'none' or current_type == 'item' or current_type == 'misc') { equip_slot_1._visible = false; equip_slot_2._visible = false; } else { equip_slot_1._visible = true; equip_slot_2._visible = true; } if (current_stuff == 'none' or current_type == 'gear' or current_type == 'misc') { item_slot_1._visible = false; item_slot_2._visible = false; item_slot_3._visible = false; item_slot_4._visible = false; } else { item_slot_1._visible = true; item_slot_2._visible = true; item_slot_3._visible = true; item_slot_4._visible = true; } }; } } movieClip 4439 { } movieClip 4442 { } movieClip 4457 { } movieClip 4460 { } movieClip 4463 { } movieClip 4473 { } movieClip 4476 { } movieClip 4481 { frame 1 { sign_name = _root[_root.current_map + '_name']; } } movieClip 4482 { frame 104 { stop(); } } // unknown tag 88 length 67 movieClip 4512 { } movieClip 4530 { frame 1 { gotoAndStop(_root.player_character); } frame 5 { dis_text = 'Gelyan had taken too much damage so he rested for a day. He also gained ' + _parent._parent.exp_gained + ' experience points.'; } frame 5 { guide_btn.onRelease = function () { getURL(_root.strategy_guide_link, '_blank'); }; kong_btn.onRelease = function () { getURL(_root.kong_link, '_blank'); }; } frame 10 { dis_text = 'Neraine had taken too much damage so she rested for a day. She also gained ' + _parent._parent.exp_gained + ' experience points.'; } frame 10 { guide_btn.onRelease = function () { getURL(_root.strategy_guide_link, '_blank'); }; kong_btn.onRelease = function () { getURL(_root.kong_link, '_blank'); }; } frame 15 { dis_text = 'Sisily had taken too much damage so she rested for a day. She also gained ' + _parent._parent.exp_gained + ' experience points.'; } frame 15 { guide_btn.onRelease = function () { getURL(_root.strategy_guide_link, '_blank'); }; kong_btn.onRelease = function () { getURL(_root.kong_link, '_blank'); }; } } movieClip 4531 { frame 1 { stop(); } frame 5 { _root.play_music(_root.win_music); medal.gotoAndStop(_root[_root.current_map + '_medal']); crimson_stone_collected = _root.player_crimson_stone - _root.player_crimson_stone_temp; crimson_medal_bonus = Math.round(((_root[_root.current_map + '_medal'] - 1) / 2) * crimson_stone_collected * _parent.difficulty * 0.5); crimson_stage_bonus = Math.round(20 * (_parent.difficulty * 1)); crimson_total = crimson_stage_bonus + crimson_medal_bonus + crimson_stone_collected; azure_stone_collected = _root.player_azure_stone - _root.player_azure_stone_temp; azure_medal_bonus = Math.round(((_root[_root.current_map + '_medal'] - 1) / 2) * azure_stone_collected * _parent.difficulty * 0.5); azure_stage_bonus = Math.round(20 * (_parent.difficulty * 1)); azure_total = azure_stage_bonus + azure_medal_bonus + azure_stone_collected; } frame 15 { stop(); next_btn.onRelease = function () { ++_root.current_day; _root.player_crimson_stone += crimson_stage_bonus + crimson_medal_bonus; _root.player_azure_stone += azure_stage_bonus + azure_medal_bonus; _root.save_game(_root.current_save); _parent.win_lose('win'); }; } frame 25 { _root.play_music(_root.lose_music); } frame 35 { stop(); _root.player_HP = 0; next_btn.onRelease = function () { ++_root.current_day; _root.save_game(_root.current_save); _parent.win_lose('win'); }; } } movieClip 4538 { } movieClip 4550 { frame 1 { stop(); } frame 5 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); }; } frame 6 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); boss2_frame = 1 + Math.round((_parent._parent.boss_layer.boss_2.HP / _parent._parent.boss_layer.boss_2.max_HP) * 99); boss2_HP_bar.gotoAndStop(boss2_frame); }; } frame 7 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); }; } frame 8 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); }; } frame 9 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); }; } frame 10 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); }; } frame 11 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); }; } frame 12 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); }; } frame 13 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); }; } frame 14 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); }; } frame 15 { onEnterFrame = function () { boss_frame = 1 + Math.round((_parent._parent.boss_layer.boss_1.HP / _parent._parent.boss_layer.boss_1.max_HP) * 99); boss_HP_bar.gotoAndStop(boss_frame); }; } } movieClip 4552 { frame 1 { stop(); } frame 20 { _root.harp_chord_short.start(0, 1); } } movieClip 4555 { } movieClip 4564 { frame 1 { if (_root.esis_feature == 1) { gotoAndStop('esis'); } else { gotoAndStop(_root.player_character); } } } movieClip 4570 { } movieClip 4578 { } movieClip 4581 { } movieClip 4587 { } movieClip 4591 { } movieClip 4593 { } movieClip 4594 { } movieClip 4598 { frame 1 { stop(); gotoAndStop(_root['player_item_' + this.id]); } } movieClip 4600 { } movieClip 4601 { frame 1 { stop(); } frame 24 { gotoAndStop(1); } } movieClip 4603 { } movieClip 4604 { frame 1 { stop(); } frame 19 { gotoAndStop(1); } } movieClip 4606 { } movieClip 4607 { frame 1 { stop(); } } movieClip 4609 { } movieClip 4610 { frame 1 { stop(); } } movieClip 4611 { } movieClip 4612 { frame 1 { stop(); } } movieClip 4613 { frame 1 { item_1_use.number_shortcut = 3; item_2_use.number_shortcut = 4; item_3_use.number_shortcut = 5; item_4_use.number_shortcut = 6; item_1_use.id = 1; item_2_use.id = 2; item_3_use.id = 3; item_4_use.id = 4; } frame 1 { onEnterFrame = function () { HP_bar_frame = 1 + Math.round((_root.player_HP / _root.player_max_HP) * 99); HP.mask_inside.gotoAndStop(HP_bar_frame); energy_bar_frame = 1 + Math.round((_root.player_energy / _root.player_max_energy) * 99); energy.gotoAndStop(energy_bar_frame); exp_bar_frame = 1 + Math.round((_root.player_exp / _root.player_max_exp) * 99); exp_bar.gotoAndStop(exp_bar_frame); main_weapon.gotoAndStop(_root.player_bullet); special_weapon.gotoAndStop(_root.player_beast); }; } } movieClip 4615 { } movieClip 4619 { frame 10 { stop(); } } movieClip 4622 { frame 10 { stop(); } } movieClip 4625 { frame 10 { stop(); } } movieClip 4628 { frame 10 { stop(); } } movieClip 4767 { } movieClip 4769 { } movieClip 4771 { } movieClip 4773 { } movieClip 4775 { } movieClip 4777 { } movieClip 4779 { } movieClip 4785 { } movieClip 4787 { } movieClip 4789 { } movieClip 4791 { } movieClip 4793 { } movieClip 4795 { } movieClip 4797 { } movieClip 4799 { } movieClip 4801 { } movieClip 4803 { } movieClip 4805 { } movieClip 4807 { } movieClip 4808 { } movieClip 4809 { frame 10 { stop(); } } movieClip 4812 { } movieClip 4815 { } movieClip 4816 { } movieClip 4819 { } movieClip 4820 { } movieClip 4823 { } movieClip 4824 { } movieClip 4827 { } movieClip 4830 { } movieClip 4831 { } movieClip 4832 { } movieClip 4833 { } movieClip 4834 { } movieClip 4838 { } movieClip 4843 { } movieClip 4844 { frame 10 { stop(); } } movieClip 4847 { frame 15 { gotoAndPlay(5); } } movieClip 4849 ice_slash_2 { } movieClip 4866 { } movieClip 4869 { } movieClip 4872 { } movieClip 4879 { } movieClip 4880 { } movieClip 4881 { frame 51 { gotoAndPlay(11); } } movieClip 4892 { frame 10 { stop(); } } movieClip 4896 { } movieClip 4899 { } movieClip 4900 { } movieClip 4903 { } movieClip 4904 { } movieClip 4907 { } movieClip 4908 { } movieClip 4911 { } movieClip 4912 { } movieClip 4915 { } movieClip 4916 { } movieClip 4917 { } movieClip 4918 { } movieClip 4930 { } movieClip 4942 { frame 1 { stop(); dialogue_key_listener = new Object(); dialogue_key_listener.onKeyUp = function () { if (Key.getCode() == 32) { _root.button_sound_1.start(0, 1); play(); } }; } frame 5 { stop(); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); Key.addListener(dialogue_key_listener); } frame 10 { stop(); } frame 11 { stop(); } frame 12 { stop(); Key.addListener(dialogue_key_listener); } frame 13 { stop(); Key.addListener(dialogue_key_listener); } frame 14 { Key.removeListener(dialogue_key_listener); gotoAndStop(1); } frame 20 { stop(); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 21 { stop(); Key.addListener(dialogue_key_listener); } frame 22 { stop(); Key.addListener(dialogue_key_listener); } frame 23 { stop(); Key.addListener(dialogue_key_listener); } frame 24 { Key.removeListener(dialogue_key_listener); gotoAndStop(1); } frame 30 { stop(); _parent.player._x = 200; _parent.player._y = 200; _parent.allow_control = false; Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 31 { stop(); Key.addListener(dialogue_key_listener); } frame 32 { stop(); Key.addListener(dialogue_key_listener); } frame 33 { red_light._x = 200; red_light._y = 200; } frame 33 { stop(); Key.addListener(dialogue_key_listener); } frame 34 { stop(); } frame 35 { stop(); } frame 36 { stop(); } frame 37 { stop(); Key.addListener(dialogue_key_listener); } frame 38 { Key.removeListener(dialogue_key_listener); _parent.allow_control = true; _root.event_1_happened = true; _root.play_music(_root.battle_music_1); gotoAndStop(1); } frame 45 { stop(); _parent.allow_control = false; _root.play_music(_root.event_music); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 46 { stop(); } frame 47 { stop(); } frame 48 { stop(); } frame 49 { stop(); } frame 50 { stop(); } frame 51 { stop(); } frame 52 { Key.removeListener(dialogue_key_listener); _parent.allow_control = true; _root.event_2_happened = true; _root.play_music(_root.battle_music_1); gotoAndStop(1); } frame 55 { stop(); _parent.allow_control = false; _root.play_music(_root.event_music); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 56 { stop(); } frame 57 { stop(); } frame 58 { stop(); } frame 59 { stop(); } frame 60 { stop(); } frame 61 { stop(); } frame 62 { stop(); } frame 63 { stop(); } frame 64 { stop(); } frame 65 { Key.removeListener(dialogue_key_listener); _parent.allow_control = true; _root.event_4_happened = true; _root.play_music(_root.battle_music_1); gotoAndStop(1); } frame 71 { stop(); _parent.allow_control = false; _root.play_music(_root.event_music); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 72 { stop(); } frame 73 { stop(); } frame 74 { stop(); } frame 75 { stop(); } frame 76 { stop(); } frame 77 { Key.removeListener(dialogue_key_listener); _parent.allow_control = true; _root.event_3_happened = true; _root.play_music(_root.battle_music_1); gotoAndStop(1); } frame 80 { stop(); _parent.allow_control = false; _root.play_music(_root.event_music); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 81 { stop(); } frame 82 { stop(); } frame 83 { stop(); } frame 84 { stop(); } frame 85 { stop(); } frame 86 { stop(); } frame 87 { stop(); } frame 88 { stop(); } frame 89 { stop(); } frame 90 { stop(); } frame 91 { stop(); } frame 92 { stop(); } frame 93 { stop(); } frame 94 { stop(); } frame 95 { stop(); } frame 96 { Key.removeListener(dialogue_key_listener); _parent.allow_control = true; _root.event_5_happened = true; _root.play_music(_root.battle_music_1); gotoAndStop(1); } frame 100 { stop(); _parent.allow_control = false; _root.play_music(_root.event_music); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 101 { stop(); } frame 102 { stop(); } frame 103 { stop(); } frame 104 { stop(); } frame 105 { stop(); } frame 106 { stop(); } frame 107 { stop(); } frame 108 { stop(); } frame 109 { stop(); } frame 110 { stop(); } frame 111 { stop(); } frame 112 { stop(); } frame 113 { stop(); } frame 114 { stop(); } frame 115 { stop(); } frame 116 { stop(); } frame 117 { stop(); } frame 118 { Key.removeListener(dialogue_key_listener); _parent.allow_control = true; _root.event_6_happened = true; _root.play_music(_root.battle_music_1); gotoAndStop(1); } frame 125 { _parent.player._x = 200; _parent.player._y = 200; _parent.allow_control = false; _root.play_music(_root.event_music); _parent.stage_speed = 0; } frame 136 { stop(); _parent.allow_control = false; _root.play_music(_root.event_music); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 137 { stop(); } frame 138 { stop(); } frame 139 { stop(); } frame 140 { stop(); } frame 141 { stop(); } frame 142 { stop(); } frame 143 { stop(); } frame 144 { stop(); } frame 145 { stop(); } frame 146 { stop(); } frame 147 { stop(); } frame 148 { Key.removeListener(dialogue_key_listener); } frame 161 { stop(); Key.addListener(dialogue_key_listener); } frame 162 { stop(); _root.harp_chord_long.start(0, 1); ++_root.player_deep_blue; } frame 163 { stop(); } frame 164 { stop(); } frame 165 { stop(); } frame 166 { stop(); } frame 167 { stop(); } frame 168 { Key.removeListener(dialogue_key_listener); _root.event_8_happened = true; _root.play_music(_root.battle_music_1); } frame 180 { _parent.allow_control = true; gotoAndStop(1); } frame 185 { stop(); _parent.allow_control = false; _root.play_music(_root.event_music); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; _parent.player._x = 200; _parent.player._y = 200; } frame 186 { stop(); _root.roar_sound.start(0, 1); } frame 187 { Key.removeListener(dialogue_key_listener); } frame 200 { stop(); Key.addListener(dialogue_key_listener); } frame 201 { stop(); } frame 202 { stop(); } frame 203 { stop(); } frame 204 { stop(); } frame 205 { stop(); } frame 206 { stop(); } frame 207 { stop(); } frame 208 { stop(); } frame 209 { Key.removeListener(dialogue_key_listener); } frame 221 { stop(); Key.addListener(dialogue_key_listener); } frame 222 { stop(); _root.harp_chord_long.start(0, 1); ++_root.player_arcane_earrings; } frame 223 { stop(); } frame 224 { stop(); } frame 225 { stop(); } frame 226 { stop(); } frame 227 { stop(); } frame 228 { Key.removeListener(dialogue_key_listener); _root.event_9_happened = true; _root.play_music(_root.battle_music_1); } frame 240 { _parent.allow_control = true; gotoAndStop(1); } frame 245 { _parent.player._x = 200; _parent.player._y = 200; _parent.allow_control = false; _root.play_music(_root.event_music); _parent.stage_speed = 0; } frame 255 { stop(); _parent.allow_control = false; _root.play_music(_root.event_music); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 256 { stop(); } frame 257 { stop(); } frame 258 { stop(); } frame 259 { stop(); } frame 260 { stop(); } frame 261 { stop(); } frame 262 { stop(); } frame 263 { stop(); } frame 264 { stop(); } frame 265 { stop(); } frame 266 { stop(); } frame 267 { stop(); } frame 268 { Key.removeListener(dialogue_key_listener); } frame 280 { stop(); Key.addListener(dialogue_key_listener); } frame 281 { stop(); _root.harp_chord_long.start(0, 1); ++_root.player_arcane_earrings; } frame 282 { stop(); } frame 283 { stop(); } frame 284 { stop(); } frame 285 { stop(); } frame 286 { Key.removeListener(dialogue_key_listener); _root.event_10_happened = true; _root.play_music(_root.battle_music_1); } frame 297 { _parent.allow_control = true; gotoAndStop(1); } frame 311 { stop(); _parent.allow_control = false; _root.play_music(_root.event_music); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; _parent.player._x = 200; _parent.player._y = 200; _parent.player._visible = false; } frame 312 { Key.removeListener(dialogue_key_listener); } frame 345 { stop(); Key.addListener(dialogue_key_listener); } frame 346 { stop(); } frame 347 { stop(); } frame 348 { Key.removeListener(dialogue_key_listener); } frame 366 { _root.sword_slash.start(0, 1); } frame 379 { _root.gun_shot.start(0, 1); } frame 383 { if (_root.player_character == 'nera') { nera.gotoAndStop(_root.player_beast); } if (_root.player_character == 'gely') { gely.gotoAndStop(_root.player_beast); } if (_root.player_character == 'sisi') { sisi.gotoAndStop(_root.player_beast); } } frame 400 { stop(); Key.addListener(dialogue_key_listener); } frame 401 { stop(); } frame 402 { stop(); } frame 403 { stop(); } frame 404 { stop(); } frame 405 { stop(); } frame 406 { stop(); } frame 407 { stop(); } frame 408 { stop(); } frame 409 { stop(); } frame 410 { stop(); } frame 411 { stop(); } frame 412 { stop(); } frame 413 { stop(); } frame 414 { Key.removeListener(dialogue_key_listener); _root.event_12_happened = true; _parent.allow_control = true; _parent.player._visible = true; gotoAndStop(1); } frame 417 { _root.play_music(_root.battle_music_2); _root.warning_sound.start(0, 1); } frame 478 { _parent.allow_control = true; gotoAndStop(1); } frame 488 { stop(); _parent.allow_control = false; _root.play_music(_root.win_music); Key.addListener(dialogue_key_listener); _parent.stage_speed = 0; } frame 489 { stop(); } frame 490 { stop(); } frame 491 { stop(); } frame 492 { stop(); } frame 493 { stop(); } frame 494 { stop(); } frame 495 { stop(); } frame 496 { stop(); } frame 497 { _root.play_music(_root.battle_music_2); stop(); } frame 498 { Key.removeListener(dialogue_key_listener); _root.harp_chord_short.start(0, 1); } frame 519 { stop(); _root.heart_beat.start(0, 9999); Key.addListener(dialogue_key_listener); } frame 520 { stop(); } frame 521 { stop(); } frame 522 { stop(); } frame 523 { stop(); } frame 524 { stop(); } frame 525 { stop(); } frame 526 { stop(); } frame 527 { stop(); } frame 528 { stop(); } frame 529 { stop(); } frame 543 { _root.sword_slash.start(0, 1); } frame 551 { stop(); } frame 552 { stop(); } frame 553 { stop(); } frame 554 { stop(); } frame 555 { stop(); } frame 578 { _root.gotoAndStop('ending'); } } movieClip 4949 { } movieClip 4952 { } movieClip 4957 { } movieClip 4966 { } movieClip 4971 { } movieClip 4978 { } movieClip 4989 { } movieClip 4992 { } movieClip 4995 { frame 1 { stop(); } frame 70 { stop(); } } movieClip 4998 { } movieClip 5001 { } movieClip 5004 { frame 1 { this.createEmptyMovieClip('boss_layer', 90); boss_count = 0; create_boss = function (type, lvl, id, x, y) { ++boss_count; boss_count %= 3; boss_layer.attachMovie(type, id, boss_count); if (type == 'giant') { UI.boss_mv.gotoAndStop('giant'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].max_HP = 23000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; monster_layer[mnm]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.8; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 0.7; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 500) { this._x -= stage_speed; } if (this._x <= 500) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); ++this.countdown; this.countdown %= 61; this.chance = Math.random() * 100; if (this.countdown == 60) { if (this.chance < 30) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance >= 30 && this.chance < 70) { punishment_attack(this); this.gotoAndStop('attack_2'); } else { if (this.chance >= 70) { punishment_attack(this); this.gotoAndStop('attack_3'); } } } } } } monster_damage(this, 'boss', 20); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'pices') { UI.boss_mv.gotoAndStop('pices'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].max_HP = 13000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; boss_layer[id].speed = Math.round(Math.random() * 20 + 80); monster_layer[mnm]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.75; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 1; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 500) { this._x -= stage_speed; } if (this._x <= 500) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); ++this.countdown; this.countdown %= this.speed + 1; if (this.countdown == this.speed) { this.chance = Math.random() * 100; if (this.chance < 30) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance >= 30 && this.chance < 70) { punishment_attack(this); this.gotoAndStop('attack_2'); } else { if (this.chance >= 70) { punishment_attack(this); this.gotoAndStop('attack_3'); } } } } } } monster_damage(this, 'boss', 15); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'aquarius') { UI.boss_mv.gotoAndStop('aquarius'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].dx = 6; boss_layer[id].dy = 4; boss_layer[id].xline = 500; boss_layer[id].max_HP = 22000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; boss_layer[id].speed = Math.round(Math.random() * 20 + 60); boss_layer[id]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.4; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 1; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 500) { this._x -= stage_speed; } if (this._x <= 500) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._currentframe == 1 or this._currentframe == 15) { this._y += this.dy; } if (this._y <= 500 && this._y + this.dy > 500) { this.dy *= -1; } else { if (this._y >= 300 && this._y + this.dy < 300) { this.dy *= -1; } } ++this.countdown; this.countdown %= this.speed + 1; if (this.countdown == this.speed) { this.chance = Math.random() * 100; if (this.chance < 30) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance >= 30 && this.chance < 70) { punishment_attack(this); this.gotoAndStop('attack_2'); } else { if (this.chance >= 70) { punishment_attack(this); this.gotoAndStop('attack_3'); } } } } } } monster_damage(this, 'boss', 20); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'virgo') { UI.boss_mv.gotoAndStop('virgo'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].dx = 6; boss_layer[id].dy = 4; boss_layer[id].xline = 500; boss_layer[id].max_HP = 22000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; boss_layer[id].speed = Math.round(Math.random() * 20 + 60); boss_layer[id]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.6; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 1; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 550) { this._x -= stage_speed; } if (this._x <= 550) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._currentframe == 1 or this._currentframe == 15) { this._y += this.dy; } if (this._y <= 500 && this._y + this.dy > 500) { this.dy *= -1; } else { if (this._y >= 300 && this._y + this.dy < 300) { this.dy *= -1; } } ++this.countdown; this.countdown %= this.speed + 1; if (this.countdown == this.speed) { this.chance = Math.random() * 100; if (this.chance < 30) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance >= 30 && this.chance < 70) { punishment_attack(this); this.gotoAndStop('attack_2'); } else { if (this.chance >= 70) { punishment_attack(this); this.gotoAndStop('attack_3'); } } } } } } monster_damage(this, 'boss', 20); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'aries') { UI.boss_mv.gotoAndStop('aries'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].max_HP = 24000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; monster_layer[mnm]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.75; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 0.75; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 500) { this._x -= stage_speed; } if (this._x <= 500) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); ++this.countdown; this.countdown %= 61; this.chance = Math.random() * 100; if (this.countdown == 60) { if (this.chance < 30) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance >= 30 && this.chance < 70) { punishment_attack(this); this.gotoAndStop('attack_2'); } else { if (this.chance >= 70) { punishment_attack(this); this.gotoAndStop('attack_3'); } } } } } } monster_damage(this, 'boss', 20); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'scorpio') { UI.boss_mv.gotoAndStop('scorpio'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].max_HP = 21000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; monster_layer[mnm]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.7; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 0.5; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 600) { this._x -= stage_speed; } if (this._x <= 600) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); ++this.countdown; this.countdown %= 61; this.chance = Math.random() * 100; if (this.countdown == 60) { if (this.chance < 30) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance >= 30 && this.chance < 70) { punishment_attack(this); this.gotoAndStop('attack_3'); } else { if (this.chance >= 70) { punishment_attack(this); this.gotoAndStop('attack_2'); } } } } } } monster_damage(this, 'boss', 15); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'cancer') { UI.boss_mv.gotoAndStop('cancer'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].max_HP = 25000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; monster_layer[mnm]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.5; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 1; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 600) { this._x -= stage_speed; } if (this._x <= 600) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); ++this.countdown; this.countdown %= 61; this.chance = Math.random() * 100; if (this.countdown == 60) { if (this.chance < 30) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance >= 30 && this.chance < 70) { punishment_attack(this); this.gotoAndStop('attack_3'); } else { if (this.chance >= 70) { punishment_attack(this); this.gotoAndStop('attack_2'); } } } } } } monster_damage(this, 'boss', 15); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'libra') { UI.boss_mv.gotoAndStop('libra'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].dx = 6; boss_layer[id].dy = 4; boss_layer[id].xline = 500; boss_layer[id].max_HP = 18000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; boss_layer[id].speed = Math.round(Math.random() * 20 + 60); boss_layer[id]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.5; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 2; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 500) { this._x -= stage_speed; } if (this._x <= 500) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._currentframe == 1 or this._currentframe == 15) { this._y += this.dy; } if (this._y <= 500 && this._y + this.dy > 500) { this.dy *= -1; } else { if (this._y >= 300 && this._y + this.dy < 300) { this.dy *= -1; } } ++this.countdown; this.countdown %= this.speed + 1; if (this.countdown == this.speed) { this.chance = Math.random() * 100; if (this.chance < 30) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance >= 30 && this.chance < 70) { punishment_attack(this); this.gotoAndStop('attack_2'); } else { if (this.chance >= 70) { punishment_attack(this); this.gotoAndStop('attack_3'); } } } } } } monster_damage(this, 'boss', 15); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'leo') { UI.boss_mv.gotoAndStop('leo'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].max_HP = 26000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; monster_layer[mnm]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.5; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 1.5; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 600) { this._x -= stage_speed; } if (this._x <= 600) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); ++this.countdown; this.countdown %= 71; this.chance = Math.random() * 100; if (this.countdown == 60) { if (this.chance < 30) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance >= 30 && this.chance < 70) { punishment_attack(this); this.gotoAndStop('attack_3'); } else { if (this.chance >= 70) { punishment_attack(this); this.gotoAndStop('attack_2'); } } } } } } monster_damage(this, 'boss', 16); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'zodiac_memory') { UI.boss_mv.gotoAndStop('zodiac_memory'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].dx = 6; boss_layer[id].dy = 0; boss_layer[id].xline = 500; boss_layer[id].max_HP = 100000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; boss_layer[id].speed = Math.round(Math.random() * 5 + 45); boss_layer[id]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.35; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 2; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 500) { this._x -= stage_speed; } if (this._x <= 500) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); this._y += this.dy; if (this._y <= 500 && this._y + this.dy > 500) { this.dy *= -1; } else { if (this._y >= 300 && this._y + this.dy < 300) { this.dy *= -1; } } ++this.countdown; this.countdown %= this.speed + 1; if (this.countdown == this.speed) { this.chance = Math.random() * 100; if (this.chance < 50) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance < 75) { punishment_attack(this); this.gotoAndStop('attack_2'); } else { if (this.chance < 100) { punishment_attack(this); this.gotoAndStop('attack_3'); } } } } } } monster_damage(this, 'boss', 15); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'creator_boss') { UI.boss_mv.gotoAndStop('creator'); boss_layer[id].lvl = lvl; boss_layer[id]._x = x; boss_layer[id]._y = y; boss_layer[id].dx = 6; boss_layer[id].dy = 4; boss_layer[id].xline = 500; boss_layer[id].max_HP = 35000 * lvl; boss_layer[id].HP = boss_layer[id].max_HP; boss_layer[id].damage = 25 * lvl; boss_layer[id].chance = 0; boss_layer[id].countdown = 0; boss_layer[id].speed = Math.round(Math.random() * 20 + 60); boss_layer[id]._timelock = 0; boss_layer[id]._frozen = 0; boss_layer[id]._frozen_resistance = 0.6; boss_layer[id]._poison = 0; boss_layer[id].poison_power = 0; boss_layer[id]._poison_resistance = 1; boss_layer[id].onEnterFrame = function () { if (pausing == false) { if (this._x > 550) { this._x -= stage_speed; } if (this._x <= 550) { stage_speed = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { --this._frozen; this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._currentframe == 1 or this._currentframe == 15) { this._y += this.dy; } if (this._y <= 500 && this._y + this.dy > 500) { this.dy *= -1; } else { if (this._y >= 300 && this._y + this.dy < 300) { this.dy *= -1; } } ++this.countdown; this.countdown %= this.speed + 1; if (this.countdown == this.speed) { this.chance = Math.random() * 100; if (this.chance < 30) { punishment_attack(this); this.gotoAndStop('attack_1'); } else { if (this.chance >= 30 && this.chance < 75) { punishment_attack(this); this.gotoAndStop('attack_2'); } else { if (this.chance >= 75) { punishment_attack(this); this.gotoAndStop('attack_3'); } } } } } } monster_damage(this, 'boss', 20); if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } }; } frame 1 { monster_damage = function (input, input_type, damage) { if (input_type != 'boss') { if (input.hitTest(player.rider.hit_area) && player.rider._currentframe < 25 && _root.invisibility == 0) { if (Math.random() * 100 > _root.player_dodge or _root.player_frozen > 0) { switch (input_type) { case 'blue_fish': input.gotoAndStop('die'); if (Math.random() < 0.5 && _root.player_frozen == 0) { _root.player_frozen = Math.round((32 + 4 * input.lvl) * (1 - _root.player_frozen_resistance)); } break; case 'green_fish': input.gotoAndStop('die'); _root.player_poison += Math.round((160 + 16 * input.lvl) * (1 - _root.player_poison_resistance)); break; case 'volcano_beast': input.gotoAndStop('die'); if (Math.random() < 1 && _root.player_disable == 0) { _root.player_disable += Math.round((128 + 8 * input.lvl) * (1 - _root.player_disable_resistance)); } break; case 'turtle': input.gotoAndStop('die'); if (Math.random() < 1 && _root.player_silence == 0) { _root.player_silence += Math.round((128 + 8 * input.lvl) * (1 - _root.player_silence_resistance)); } break; case 'harpy': input.gotoAndStop('die'); break; case 'common': break; case 'cresent_shot': player._x -= 40; enemy_poison_power = input.damage; _root.player_poison = Math.round(input.status_duration * (1 - _root.player_poison_resistance)); break; case 'vampire_attack': if (Math.random() < 1 && _root.player_disable == 0) { _root.player_disable = Math.round(input.status_duration * (1 - _root.player_disable_resistance)); } break; case 'leo_curse': if (Math.random() < 1 && _root.player_disable == 0) { _root.player_immobile = input.status_duration; } break; case 'spore': input.gotoAndStop('die'); _root.player_silence = Math.round(input.status_duration * (1 - _root.player_silence_resistance)); break; case 'toxic': input.gotoAndStop('die'); enemy_poison_power = input.damage; _root.player_poison = Math.round(input.status_duration * (1 - _root.player_poison_resistance)); break; case 'bubble': input.gotoAndPlay('die'); if (Math.random() < 0.4 && _root.player_frozen == 0) { _root.player_frozen = Math.round(48 * (1 - _root.player_frozen_resistance)); } break; case 'dust_fly': if (Math.random() < 1 && _root.player_disable == 0) { _root.player_disable = Math.round(240 * (1 - _root.player_disable_resistance)); } break; case 'ice_comet': input.gotoAndPlay(30); input.dx = 0; input.dy = 0; if (Math.random() < 1 && _root.player_frozen == 0) { _root.player_frozen = Math.round(input.status_duration * (1 - _root.player_frozen_resistance)); } break; case 'fire_meteor': input.gotoAndPlay(30); input.dx = 0; input.dy = 0; break; case 'beholder_bullet': input.gotoAndPlay('die'); if (Math.random() < 1 && _root.player_disable == 0) { _root.player_disable = Math.round(48 * (1 - _root.player_disable_resistance)); } } player.rider.gotoAndStop('hit'); _root.hit_sound.start(0, 1); _root.player_HP -= Math.round(damage * input.lvl * _root.player_defense); if (_root.player_HP < 0) { _root.player_HP = 0; } } else { player.rider.gotoAndStop('dodge'); _root.dodge_sound.start(0, 1); } } } if (input_type == 'boss') { if (input.hitTest(player._x, player._y, true) && player.rider._currentframe < 25 && _root.invisibility == 0) { if (Math.random() * 100 > _root.player_dodge or _root.player_frozen > 0) { player.rider.gotoAndStop('hit'); _root.hit_sound.start(0, 1); _root.player_HP -= Math.round(damage * input.lvl * _root.player_defense); if (_root.player_HP < 0) { _root.player_HP = 0; } } else { player.rider.gotoAndStop('dodge'); _root.dodge_sound.start(0, 1); } } } }; } frame 1 { this.createEmptyMovieClip('monster_layer', 98); monster_count = 0; create_monster = function (type, lvl, x, y, dx, dy) { ++monster_count; monster_count %= 21; if (check_remain_monster(monster_layer, monster_count) != false) { mnm = 'monster_' + monster_count; monster_layer.attachMovie(type, mnm, monster_count); if (type == 'blue_fish') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = dy; monster_layer[mnm].HP = 60 * lvl; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen_resistance = 1; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); this._x -= this.dx; this._y += this.dy; if (this._x < 500 && this._x > 0) { this.dx = 12; if (this._y < player._y) { this._y += 2; } else { if (this._y > player._y) { this._y -= 2; } } } } } monster_damage(this, 'blue_fish', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'green_fish') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = dy; monster_layer[mnm].HP = 70 * lvl; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen_resistance = 1; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); this._x -= this.dx; this._y += this.dy; if (this._x < 500 && this._x > 0) { this.dx = 12; if (this._y < player._y) { this._y += 2; } else { if (this._y > player._y) { this._y -= 2; } } } } } monster_damage(this, 'green_fish', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'volcano_beast') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = dy; monster_layer[mnm].HP = 120 * lvl; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen_resistance = 1; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); this._x -= this.dx; this._y += this.dy; if (this._x < 500 && this._x > 0) { this.dx = 10; if (this._y < player._y) { this._y += 2; } else { if (this._y > player._y) { this._y -= 2; } } } } } monster_damage(this, 'volcano_beast', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'harpy') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = dy; monster_layer[mnm].HP = 90 * lvl; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen_resistance = 1; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); this._x -= this.dx; this._y += this.dy; if (this._x < 500 && this._x > 0) { this.dx = 15; if (this._y < player._y) { this._y += 2; } else { if (this._y > player._y) { this._y -= 2; } } } } } monster_damage(this, 'harpy', 24); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } if (type == 'turtle') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; monster_layer[mnm]._y = y; monster_layer[mnm].dx = 7; monster_layer[mnm].dy = dy; monster_layer[mnm].HP = 140 * lvl; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen_resistance = 1; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); this._x -= this.dx; this._y += this.dy; if (this._x < 500 && this._x > 0) { this.dx = 9; if (this._y < player._y) { this._y += 2; } else { if (this._y > player._y) { this._y -= 2; } } } } } monster_damage(this, 'turtle', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'cloud_hopper') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; if (y > 300) { y = 300; } if (y < 150) { y = 150; } monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = Math.round(3 + Math.random() * 3); monster_layer[mnm].HP = 500 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 1; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 500 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._x > this.xline && this._x + this.dx > this.xline) { this._x -= this.dx; } else { this.dx = 0; } this._y += this.dy; if (this._y <= 400 && this._y + this.dy > 400) { this.dy *= -1; } else { if (this._y >= 100 && this._y + this.dy < 100) { this.dy *= -1; } } ++this.countdown; this.countdown %= 35; if (this.countdown == 1) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'common', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'tengu') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; if (y > 300) { y = 300; } if (y < 150) { y = 150; } monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = Math.round(3 + Math.random() * 3); monster_layer[mnm].HP = 1000 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 1; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].attack_delay = Math.round(Math.random() * 20 + 40); monster_layer[mnm].xline = 450 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._x > this.xline && this._x + this.dx > this.xline) { this._x -= this.dx; } else { this.dx = 0; } this._y += this.dy; if (this._y <= 400 && this._y + this.dy > 400) { this.dy *= -1; } else { if (this._y >= 100 && this._y + this.dy < 100) { this.dy *= -1; } } ++this.countdown; this.countdown %= this.attack_delay; if (this.countdown == 1) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'common', 25); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'dyrad') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = 0; monster_layer[mnm].HP = 5000 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 0.75; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 500 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { this._x -= this.dx; if (this._x > 500) { this.dx = stage_speed; } if (this._x <= 500) { stage_speed = 0; this.dx = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); ++this.countdown; this.countdown %= 50; this.chance = Math.random() * 100; if (this.countdown == 39) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'boss', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'sea_serpent') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = 0; monster_layer[mnm].HP = 5200 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 0.5; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 500 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { this._x -= this.dx; if (this._x > 500) { this.dx = stage_speed; } if (this._x <= 550) { stage_speed = 0; this.dx = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); ++this.countdown; this.countdown %= 40; this.chance = Math.random() * 100; if (this.countdown == 35) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'boss', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'beholder') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = 0; monster_layer[mnm].HP = 6500 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 0.7; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 500 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { this._x -= this.dx; if (this._x > 500) { this.dx = stage_speed; } if (this._x <= 550) { stage_speed = 0; this.dx = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); ++this.countdown; this.countdown %= 40; this.chance = Math.random() * 100; if (this.countdown == 35) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'boss', 30); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'rock_golem') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = 0; monster_layer[mnm].HP = 7000 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 0.8; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 500 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { this._x -= this.dx; if (this._x > 500) { this.dx = stage_speed; } if (this._x <= 550) { stage_speed = 0; this.dx = 0; } if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); ++this.countdown; this.countdown %= 65; this.chance = Math.random() * 100; if (this.countdown == 35) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'boss', 30); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'wind_mouse') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; if (y > 300) { y = 300 - Math.random() * 100; } if (y < 150) { y = 150 + Math.random() * 100; } monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = Math.round(2 + Math.random() * 2); monster_layer[mnm].HP = 2200 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 1; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 500 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._x > this.xline) { this._x -= this.dx; } else { this.dx = 0; } this._ydistance = Math.abs(this._y - player._y); if (this._ydistance > 5) { if (this._y < player._y) { this._y += this.dy; } if (this._y > player._y) { this._y -= this.dy; } } ++this.countdown; this.countdown %= 50; if (this.countdown == 1) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'common', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'harpy_hag') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; if (y > 300) { y = 300 - Math.random() * 100; } if (y < 150) { y = 150 + Math.random() * 100; } monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = Math.round(2 + Math.random() * 2); monster_layer[mnm].HP = 1200 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 1; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 500 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._x > this.xline) { this._x -= this.dx; } else { this.dx = 0; } this._ydistance = Math.abs(this._y - player._y); if (this._ydistance > 5) { if (this._y < player._y) { this._y += this.dy; } if (this._y > player._y) { this._y -= this.dy; } } ++this.countdown; this.countdown %= 60; if (this.countdown == 1) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'common', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'big_turtle') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; if (y > 300) { y = 300 - Math.random() * 100; } if (y < 150) { y = 150 + Math.random() * 100; } monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = Math.round(2 + Math.random() * 2); monster_layer[mnm].HP = 1800 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 1; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 500 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._x > this.xline) { this._x -= this.dx; } else { this.dx = 0; } this._ydistance = Math.abs(this._y - player._y); if (this._ydistance > 5) { if (this._y < player._y) { this._y += this.dy; } if (this._y > player._y) { this._y -= this.dy; } } ++this.countdown; this.countdown %= 60; if (this.countdown == 1) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'common', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'wraith') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; if (y > 300) { y = 300 - Math.random() * 100; } if (y < 150) { y = 150 + Math.random() * 100; } monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = Math.round(2 + Math.random() * 2); monster_layer[mnm].HP = 2500 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 0.75; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 500 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._x > this.xline) { this._x -= this.dx; } else { this.dx = 0; } this._ydistance = Math.abs(this._y - player._y); if (this._ydistance > 5) { if (this._y < player._y) { this._y += this.dy; } if (this._y > player._y) { this._y -= this.dy; } } ++this.countdown; this.countdown %= 50; if (this.countdown == 1) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'common', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } }; } else { if (type == 'chrono_worm') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; if (y > 300) { y = 300 - Math.random() * 100; } if (y < 150) { y = 150 + Math.random() * 100; } monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = Math.round(1 + Math.random() * 1); monster_layer[mnm].HP = 3500 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 0.5; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 400 + Math.round(Math.random() * 200); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._x > this.xline) { this._x -= this.dx; } else { this.dx = 0; } this._ydistance = Math.abs(this._y - player._y); if (this._ydistance > 5) { if (this._y < player._y) { this._y += this.dy; } if (this._y > player._y) { this._y -= this.dy; } } ++this.countdown; this.countdown %= 50; if (this.countdown == 1) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'boss', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } else { if (type == 'scarab_lord') { monster_layer[mnm].lvl = lvl; monster_layer[mnm].id = monster_count; monster_layer[mnm]._x = x; if (y > 300) { y = 300 - Math.random() * 100; } if (y < 150) { y = 150 + Math.random() * 100; } monster_layer[mnm]._y = y; monster_layer[mnm].dx = dx; monster_layer[mnm].dy = Math.round(2 + Math.random() * 2); monster_layer[mnm].HP = 3200 * lvl; monster_layer[mnm]._timelock = 0; monster_layer[mnm]._frozen = 0; monster_layer[mnm]._frozen_resistance = 0.75; monster_layer[mnm]._poison = 0; monster_layer[mnm]._poison_resistance = 1; monster_layer[mnm].poison_power = 0; monster_layer[mnm].countdown = 2; monster_layer[mnm].xline = 500 + Math.round(Math.random() * 100); monster_layer[mnm].onEnterFrame = function () { if (pausing == false) { if (this._poison > 0) { this.poison_indicator.gotoAndStop(2); this.HP -= this.poison_power; --this._poison; } else { this.poison_indicator.gotoAndStop(1); } if (this._frozen > 0) { --this._frozen; } if (this._timelock > 0) { --this._timelock; } if (this._frozen > 0) { this.frozen_indicator.gotoAndStop(2); } else { if (this._timelock > 0) { this.time_lock_indicator.gotoAndStop(2); } else { this.frozen_indicator.gotoAndStop(1); this.time_lock_indicator.gotoAndStop(1); if (this._x > this.xline) { this._x -= this.dx; } else { this.dx = 0; } this._ydistance = Math.abs(this._y - player._y); if (this._ydistance > 5) { if (this._y < player._y) { this._y += this.dy; } if (this._y > player._y) { this._y -= this.dy; } } ++this.countdown; this.countdown %= 50; if (this.countdown == 1) { punishment_attack(this); this.gotoAndStop('attack_1'); } } } monster_damage(this, 'common', 20); if (this._x < 0) { this.removeMovieClip(); } if (this.HP <= 0) { this.gotoAndStop('die'); this.dx = 0; } } }; } } } } } } } } } } } } } } }; } frame 1 { this.createEmptyMovieClip('enemy_bullet_layer', 101); enemy_bullet_count = 5; enemy_bullet_max = 80; create_enemy_bullet = function (type, x, y, dx, dy, damage, status_duration) { ++enemy_bullet_count; enemy_bullet_count %= enemy_bullet_max; cnm = 'enemy_bullet_' + enemy_bullet_count; enemy_bullet_layer.attachMovie(type, cnm, enemy_bullet_count); enemy_bullet_layer[cnm].pausing = false; if (type == 'toxic') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x -= this.dx; this._y += this.dy; if (this._x < 0) { this.removeMovieClip(); } monster_damage(this, 'toxic', this.damage); } } }; } else { if (type == 'white_laser' or type == 'tengu_slash') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x -= this.dx; this._y += this.dy; if (this._x < 0) { this.removeMovieClip(); } monster_damage(this, 'common', this.damage); } } }; } else { if (type == 'spore' or type == 'angel_blade' or type == 'libra_cutter' or type == 'leo_fire' or type == 'rainbow_breath' or type == 'zodiac_star') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].gotoAndStop(Math.round(Math.random() * 3)); enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x -= this.dx; this._y += this.dy; if (this._x < 0) { this.removeMovieClip(); } monster_damage(this, 'spore', this.damage); } } }; } else { if (type == 'cresent_shot' or type == 'typhoon') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].gotoAndStop(Math.round(Math.random() * 3)); enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this.dx += 2; this._x -= this.dx; this._y += this.dy; if (this._x < 0) { this.removeMovieClip(); } monster_damage(this, 'cresent_shot', this.damage); } } }; } else { if (type == 'bubble_bullet') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm]._alpha = Math.round(40 + Math.random() * 40); enemy_bullet_layer[cnm]._rotation = Math.round(Math.random() * 180); enemy_bullet_layer[cnm]._xscale = Math.round(70 + Math.random() * 30); enemy_bullet_layer[cnm]._yscale = enemy_bullet_layer[cnm]._xscale; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x += this.dx; this._y += this.dy; if (this._y < 0) { this.removeMovieClip(); } monster_damage(this, 'bubble', this.damage); } } }; } else { if (type == 'dust_fly') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm]._alpha = Math.round(40 + Math.random() * 60); enemy_bullet_layer[cnm]._rotation = Math.round(Math.random() * 180); enemy_bullet_layer[cnm]._xscale = Math.round(70 + Math.random() * 30); enemy_bullet_layer[cnm]._yscale = enemy_bullet_layer[cnm]._xscale; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x += this.dx; this._y += this.dy; if (this._y < 0) { this.removeMovieClip(); } monster_damage(this, 'dust_fly', this.damage); } } }; } else { if (type == 'spirit_rock') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x += this.dx; this._y += this.dy; this._rotation -= 10; if (this._y < 0) { this.removeMovieClip(); } monster_damage(this, 'common', this.damage); } } }; } else { if (type == 'beholder_bullet') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x += this.dx; this._y += this.dy; if (this._y < 0) { this.removeMovieClip(); } monster_damage(this, 'beholder_bullet', this.damage); } } }; } else { if (type == 'vampire_attack') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x += this.dx; this._y += this.dy; if (this._y < 0) { this.removeMovieClip(); } monster_damage(this, 'vampire_attack', this.damage); } } }; } else { if (type == 'ice_comet') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm]._dir = dx; enemy_bullet_layer[cnm]._rotation = enemy_bullet_layer[cnm]._dir * 45; enemy_bullet_layer[cnm]._speed = dy; enemy_bullet_layer[cnm]._alpha = 70 + Math.random() * 30; enemy_bullet_layer[cnm].gotoAndStop(Math.round(Math.random() * 3 + 1)); switch (enemy_bullet_layer[cnm]._dir) { case 0: enemy_bullet_layer[cnm].dx = 0 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = -1 * enemy_bullet_layer[cnm]._speed; break; case 1: enemy_bullet_layer[cnm].dx = 0.7 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = -0.7 * enemy_bullet_layer[cnm]._speed; break; case 2: enemy_bullet_layer[cnm].dx = 1 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = 0 * enemy_bullet_layer[cnm]._speed; break; case 3: enemy_bullet_layer[cnm].dx = 0.7 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = 0.7 * enemy_bullet_layer[cnm]._speed; break; case 4: enemy_bullet_layer[cnm].dx = 0 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = 1 * enemy_bullet_layer[cnm]._speed; break; case 5: enemy_bullet_layer[cnm].dx = -0.7 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = 0.7 * enemy_bullet_layer[cnm]._speed; break; case 6: enemy_bullet_layer[cnm].dx = -1 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = 0 * enemy_bullet_layer[cnm]._speed; break; case 7: enemy_bullet_layer[cnm].dx = -0.7 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = -0.7 * enemy_bullet_layer[cnm]._speed; } enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < -200) { this.removeMovieClip(); } monster_damage(this, 'ice_comet', this.damage); } }; } else { if (type == 'fire_meteor') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm]._dir = dx; enemy_bullet_layer[cnm]._rotation = enemy_bullet_layer[cnm]._dir * 45; enemy_bullet_layer[cnm]._speed = dy; enemy_bullet_layer[cnm]._alpha = 70 + Math.random() * 30; enemy_bullet_layer[cnm].gotoAndStop(Math.round(Math.random() * 3 + 1)); switch (enemy_bullet_layer[cnm]._dir) { case 0: enemy_bullet_layer[cnm].dx = 0 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = -1 * enemy_bullet_layer[cnm]._speed; break; case 1: enemy_bullet_layer[cnm].dx = 0.7 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = -0.7 * enemy_bullet_layer[cnm]._speed; break; case 2: enemy_bullet_layer[cnm].dx = 1 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = 0 * enemy_bullet_layer[cnm]._speed; break; case 3: enemy_bullet_layer[cnm].dx = 0.7 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = 0.7 * enemy_bullet_layer[cnm]._speed; break; case 4: enemy_bullet_layer[cnm].dx = 0 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = 1 * enemy_bullet_layer[cnm]._speed; break; case 5: enemy_bullet_layer[cnm].dx = (-0.6 + Math.random() * -0.2) * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = 0.7 * enemy_bullet_layer[cnm]._speed; break; case 6: enemy_bullet_layer[cnm].dx = -1 * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = 0 * enemy_bullet_layer[cnm]._speed; break; case 7: enemy_bullet_layer[cnm].dx = (-0.6 + Math.random() * -0.2) * enemy_bullet_layer[cnm]._speed; enemy_bullet_layer[cnm].dy = -0.7 * enemy_bullet_layer[cnm]._speed; } enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < -200) { this.removeMovieClip(); } monster_damage(this, 'fire_meteor', this.damage); } }; } else { if (type == 'scarab') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x -= this.dx; this._y += this.dy; if (this._x < 500 && this._x > 0) { if (this._y < player._y) { this._y += 3; } else { if (this._y > player._y) { this._y -= 3; } } } if (this._x < 0) { this.removeMovieClip(); } monster_damage(this, 'spore', this.damage); } } }; } else { if (type == 'aquarius_curse') { _root.player_frozen = Math.round(status_duration * (1 - _root.player_frozen_resistance)); enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x += this.dx; this._y += this.dy; if (this._y < 0) { this.removeMovieClip(); } } } }; } else { if (type == 'virgo_curse') { _root.player_silence = Math.round(status_duration * (1 - _root.player_silence_resistance)); enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x += this.dx; this._y += this.dy; if (this._y < 0) { this.removeMovieClip(); } } } }; } else { if (type == 'scorpio_curse') { _root.player_disable = Math.round(status_duration * (1 - _root.player_disable_resistance)); enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x += this.dx; this._y += this.dy; if (this._y < 0) { this.removeMovieClip(); } } } }; } else { if (type == 'cancer_curse') { enemy_poison_power = dy; _root.player_poison = Math.round(status_duration * (1 - _root.player_poison_resistance)); enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { if (this._x < 0) { this.removeMovieClip(); } } } }; } else { if (type == 'zodiac_curse') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm]._countdown = status_duration; ++zodiac_curse_number; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (_root.player_HP > 1) { _root.player_HP = 1; UI.HP_highlight.gotoAndPlay(5); } --this._countdown; this._x = player._x; this._y = player._y; if (this._countdown <= 0) { this.removeMovieClip(); --zodiac_curse_number; } } }; } else { if (type == 'leo_curse') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm].status_duration = status_duration; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (this._timelock > 0) { --this._timelock; } else { this._x += this.dx; this._y += this.dy; if (this._y < 0) { this.removeMovieClip(); } monster_damage(this, 'leo_curse', this.damage); } } }; } else { if (type == 'libra_curse') { enemy_bullet_layer[cnm].lvl = difficulty; enemy_bullet_layer[cnm]._x = x; enemy_bullet_layer[cnm]._y = y; enemy_bullet_layer[cnm].dx = dx; enemy_bullet_layer[cnm].dy = dy; enemy_bullet_layer[cnm]._timelock = 0; enemy_bullet_layer[cnm].damage = damage; enemy_bullet_layer[cnm]._countdown = status_duration; ++libra_curse_number; enemy_bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { if (_root.player_HP > _root.player_energy) { _root.player_HP = _root.player_energy; UI.HP_highlight.gotoAndPlay(5); } else { if (_root.player_HP < _root.player_energy) { _root.player_energy = _root.player_HP; } } --this._countdown; this._x = player._x; this._y = player._y; if (this._countdown <= 0) { this.removeMovieClip(); --libra_curse_number; } } }; } } } } } } } } } } } } } } } } } } } }; } frame 1 { this.createEmptyMovieClip('loot_layer', 95); loot_count = 5; loot_max = 50; drop_effect = 'none'; create_loot = function (type, x, y) { if (type == 'sun_drop' && drop_effect == 'azure') { type = 'moon_drop'; } if (type == 'moon_drop' && drop_effect == 'crimson') { type = 'sun_drop'; } if (y > 275) { y = 275; } ++loot_count; loot_count %= loot_max; lnm = 'loot_' + loot_count; loot_layer.attachMovie(type, lnm, loot_count); if (type == 'sun_drop') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 240; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { if (_root.player_beast == 'ladon') { this._ydistance = Math.abs(this._y - player._y); this._xdistance = Math.abs(this._x - player._x); if (this._ydistance > 4) { if (this._y < player._y) { this._y += 4; } if (this._y > player._y) { this._y -= 4; } } if (this._xdistance > 8) { if (this._x < player._x) { this._x += 8; } if (this._x > player._x) { this._x -= 8; } } } else { this._x -= stage_speed; } --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_crimson_stone; this.gotoAndPlay('die'); } } }; } if (type == 'moon_drop') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { if (_root.player_beast == 'ladon') { this._ydistance = Math.abs(this._y - player._y); this._xdistance = Math.abs(this._x - player._x); if (this._ydistance > 4) { if (this._y < player._y) { this._y += 4; } if (this._y > player._y) { this._y -= 4; } } if (this._xdistance > 8) { if (this._x < player._x) { this._x += 8; } if (this._x > player._x) { this._x -= 8; } } } else { this._x -= stage_speed; } --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_azure_stone; this.gotoAndPlay('die'); } } }; } if (type == 'aquarius_gem') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_aquarius_gem; UI.get_item_panel.get_item_message = 'Recieved a Aquarius Gem!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'poison_blossom') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_poison_blossom; UI.get_item_panel.get_item_message = 'Recieved a Poison Blossom!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'garnet') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_garnet; UI.get_item_panel.get_item_message = 'Recieved a Garnet!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == '4_leaf_clover') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_4_leaf_clover; UI.get_item_panel.get_item_message = 'Recieved a 4 Leaf Clover!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'holy_water') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_holy_water; UI.get_item_panel.get_item_message = 'Recieved a Holy Water!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'shapely_gem') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_shapely_gem; UI.get_item_panel.get_item_message = 'Recieved a Shapely Gem!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'vampiric_contract') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_vampiric_contract; UI.get_item_panel.get_item_message = 'Recieved a Vampiric Contract!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'rainbow_stone') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_rainbow_stone; UI.get_item_panel.get_item_message = 'Recieved Rainbow Stones!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'life_seed') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_life_seed; UI.get_item_panel.get_item_message = 'Recieved a Life Seed!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'time_lock_item') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_time_lock; UI.get_item_panel.get_item_message = 'Recieved a Time Lock!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'dragon_eye') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_dragon_eye; UI.get_item_panel.get_item_message = 'Recieved a Dragon Eye!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'forest_wing') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_forest_wing; UI.get_item_panel.get_item_message = 'Recieved a Forest Wing!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'doom_stone') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_doom_stone; UI.get_item_panel.get_item_message = 'Recieved a Doom Stone!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'shinning_skull') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_shinning_skull; UI.get_item_panel.get_item_message = 'Recieved a Shinning Skull!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'illusionary_mirror') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_illusionary_mirror; UI.get_item_panel.get_item_message = 'Recieved a Illusionary Mirror!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'golden_apple') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_golden_apple; UI.get_item_panel.get_item_message = 'Recieved a Golden Apple!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } if (type == 'zodiac_master') { loot_layer[lnm]._x = x; loot_layer[lnm]._y = y; loot_layer[lnm].timer = 160; loot_layer[lnm].pausing = false; loot_layer[lnm].onEnterFrame = function () { if (this.pausing == false) { this._x -= stage_speed; --this.timer; if (this.timer <= 0) { this.removeMovieClip(); } if (this.hitTest(player.rider) && this._currentframe == 1) { ++_root.player_zodiac_master; UI.get_item_panel.get_item_message = 'Recieved a Zodiac Master!'; UI.get_item_panel.gotoAndPlay('get_item'); this.gotoAndPlay('die'); } } }; } }; drop_function = function (dropper, item_1, chance_1, item_2, chance_2, item_3, chance_3, item_4, chance_4) { drop_chance_1 = Math.random() * 100; drop_chance_2 = Math.random() * 100; drop_chance_3 = Math.random() * 100; drop_chance_4 = Math.random() * 100; if (drop_chance_1 < chance_1 * _root.drop_rate) { create_loot(item_1, dropper._x, dropper._y); } if (drop_chance_2 < chance_2 * _root.drop_rate) { create_loot(item_2, dropper._x + 20, dropper._y); } if (drop_chance_3 < chance_3 * _root.drop_rate) { create_loot(item_3, dropper._x - 20, dropper._y); } if (drop_chance_4 < chance_4 * _root.drop_rate) { create_loot(item_4, dropper._x, dropper._y - 20); } }; give_exp = function (exp_amount, gold_amount) { _root.enemy_die_sound.start(0, 1); _root.player_exp += Math.round(exp_amount * _root.exp_rate); exp_gained += Math.round(exp_amount * _root.exp_rate); if (_root.player_exp >= _root.player_max_exp) { if (_root.player_lvl < 20) { ++_root.player_lvl; if (_root.player_character == 'gely') { if (_root.player_lvl == 3 or _root.player_lvl == 6 or _root.player_lvl == 9 or _root.player_lvl == 12 or _root.player_lvl == 15 or _root.player_lvl == 18) { _root.player_pts += 3; } else { _root.player_pts += 2; } } else { _root.player_pts += 2; } _root.player_exp = 0; _root.player_max_exp = Math.round(_root.player_max_exp * 1.25); _root.calculate_player_stat(true); create_bullet('rebirth', player._x, player._y, 0, 20); UI.highlight_UI.gotoAndPlay(5); } else { _root.player_exp = 0; _root.calculate_player_stat(true); create_bullet('rebirth', player._x, player._y, 0, 20); UI.highlight_UI.gotoAndPlay(5); } } }; } frame 1 { explosive_number = 0; nova_number = 0; add_auto_effect = function (object) { if (_root.explosive_chance >= Math.random() * 100 && explosive_number <= 1) { create_bullet('explosive', object._x, object._y, 0, 0); } if (_root.freezing_nova_autocast >= Math.random() * 100 && nova_number <= 1) { create_bullet('freezing_nova', object._x, object._y, 3, 60); } }; add_poison_effect = function (id, chance, duration, power) { if (Math.random() * 100 < chance + _root.player_poison_chance) { id._poison = Math.round((duration * 32 + _root.player_poison_duration * 32) * id._poison_resistance); if (id.poison_power < power + _root.player_poison_power) { id.poison_power = power + _root.player_poison_power; } } }; add_frozen_effect = function (id, chance, duration) { if (Math.random() * 100 < chance + _root.player_frozen_chance && id._frozen == 0) { id._frozen = Math.round((duration * 32 + _root.player_frozen_duration * 32) * id._frozen_resistance); } }; add_HP_leech_effect = function (damage, chance, percentage) { if (Math.random() * 100 < chance + _root.player_HP_leech_chance) { player.rider.hp_heal_indicator.gotoAndPlay(5); _root.player_HP += Math.round(damage * ((percentage + _root.player_HP_leech_percentage) / 100)); if (_root.player_HP > _root.player_max_HP) { _root.player_HP = _root.player_max_HP; } } }; add_energy_leech_effect = function (damage, chance, percentage) { if (Math.random() * 100 < chance + _root.player_energy_leech_chance) { player.rider.energy_heal_indicator.gotoAndPlay(5); _root.player_energy += Math.round(damage * ((percentage + _root.player_energy_leech_percentage) / 100)); if (_root.player_energy > _root.player_max_energy) { _root.player_energy = _root.player_max_energy; } } }; } frame 1 { bullet_damage_function = function (input, bullet_name, bullet_type) { if (bullet_type == 'ice_spike' && bullet_name._currentframe < 30) { bullet_name.dx = 0; bullet_name.gotoAndStop('die'); input.HP -= 6 + 1.5 * Math.round(Math.pow(_root.player_power, 1.4)); input._brightness.gotoAndPlay(5); add_frozen_effect(input, 5, 3); add_poison_effect(input, 0, 0, 0); add_HP_leech_effect(_root.player_power * 5, 0, 0); add_energy_leech_effect(_root.player_power * 5, 0, 0); } else { if (bullet_type == 'esis_wing') { if (bullet_name._currentframe < 30) { bullet_name.dx = 0; bullet_name.gotoAndPlay(30); } input.HP -= 4 + 2 * Math.round(Math.pow(_root.player_power, 1.4)); input._brightness.gotoAndPlay(5); add_frozen_effect(input, 0, 0); add_poison_effect(input, 0, 0, 0); add_HP_leech_effect(_root.player_power * 5, 0, 0); add_energy_leech_effect(_root.player_power * 5, 0, 0); } else { if (bullet_type == 'ice_star' && bullet_name._currentframe < 30) { bullet_name.dx = 0; bullet_name.gotoAndStop('die'); input.HP -= _root.ice_star_damage; input._brightness.gotoAndPlay(5); add_auto_effect(bullet_name); add_frozen_effect(input, 1, 3); add_poison_effect(input, 0, 0, 0); add_HP_leech_effect(_root.ice_star_damage, 0, 0); add_energy_leech_effect(_root.ice_star_damage, 0, 0); } else { if (bullet_type == 'ice_slash') { input.HP -= _root.ice_slash_damage; input._brightness.gotoAndPlay(5); add_auto_effect(bullet_name); add_frozen_effect(input, 0, 0); add_poison_effect(input, 0, 0, 0); add_HP_leech_effect(_root.ice_star_damage, 0, 0); add_energy_leech_effect(_root.ice_star_damage, 0, 0); } else { if (bullet_type == 'thunder_bolt') { bullet_name.gotoAndStop('hit'); input.HP -= _root.thunder_bolt_damage; input._brightness.gotoAndPlay(5); add_auto_effect(bullet_name); add_frozen_effect(input, 0, 0); add_poison_effect(input, 0, 0, 0); add_HP_leech_effect(_root.ice_star_damage, 0, 0); add_energy_leech_effect(_root.ice_star_damage, 0, 0); } else { if (bullet_type == 'poison_bolt' && bullet_name._currentframe < 30) { bullet_name.dx = 0; bullet_name.gotoAndStop('die'); input.HP -= _root.poison_bolt_damage; input._brightness.gotoAndPlay(5); add_auto_effect(bullet_name); add_frozen_effect(input, 0, 0); add_poison_effect(input, 50, 5, Math.round(_root.player_power * 1.5)); add_HP_leech_effect(_root.poison_bolt_damage, 0, 0); add_energy_leech_effect(_root.poison_bolt_damage, 0, 0); } else { if (bullet_type == 'war_head') { bullet_name.dx = 0; bullet_name.gotoAndStop('die'); input.HP -= _root.war_head_damage; input._brightness.gotoAndPlay(5); add_auto_effect(bullet_name); add_frozen_effect(input, 0, 0); add_poison_effect(input, 0, 0, 0); add_HP_leech_effect(_root.war_head_damage, 0, 0); add_energy_leech_effect(_root.war_head_damage, 0, 0); } else { if (bullet_type == 'flame_orb') { input.HP -= _root.flame_orb_damage; input._brightness.gotoAndPlay(5); add_auto_effect(bullet_name); add_frozen_effect(input, 0, 0); add_poison_effect(input, 0, 0, 0); add_HP_leech_effect(_root.flame_orb_damage, 0, 0); add_energy_leech_effect(_root.flame_orb_damage, 0, 0); } else { if (bullet_type == 'freezing_nova') { input._brightness.gotoAndPlay(5); add_frozen_effect(input, 100, bullet_name._duration); add_poison_effect(input, 0, 0, 0); } else { if (bullet_type == 'judgment') { input._brightness.gotoAndPlay(5); input.HP -= (160 + _root.player_power * 5) * _root.player_beast_power; add_frozen_effect(input, 0, 0); add_poison_effect(input, 0, 0, 0); } else { if (bullet_type == 'grand_cosmos') { input._brightness.gotoAndPlay(5); input.HP -= 50 + _root.empathy * 2; add_frozen_effect(input, 0, 0); add_poison_effect(input, 0, 0, 0); } else { if (bullet_type == 'cosmos_blade') { input._brightness.gotoAndPlay(5); input.HP -= 40 + _root.player_power * 5; add_frozen_effect(input, 0, 0); add_poison_effect(input, 0, 0, 0); } else { if (bullet_type == 'explosive') { input._brightness.gotoAndPlay(5); input.HP -= 1 + _root.player_power; add_frozen_effect(input, 0, 0); add_poison_effect(input, 0, 0, 0); } else { if (bullet_type == 'time_lock') { input._brightness.gotoAndPlay(5); input._timelock = bullet_name._effect; } else { if (bullet_type == 'poison_screen') { input._brightness.gotoAndPlay(5); input._poison += 96; input.poison_power += bullet_name._effect; } else { if (bullet_type == 'violet_thunder' && bullet_name._currentframe < 30) { bullet_name.dx = 0; bullet_name.gotoAndStop('die'); input.HP -= 250 * _root.player_beast_power; input._brightness.gotoAndPlay(5); } else { if (bullet_type == 'dual_lightening') { input._brightness.gotoAndPlay(5); input.HP -= 60 * _root.player_beast_power; } else { if (bullet_type == 'fire_ball') { bullet_name.gotoAndStop('die'); bullet_name.dx = 0; input._brightness.gotoAndPlay(5); input.HP -= 15 * _root.player_beast_power; } else { if (bullet_type == 'violet_ball') { input._brightness.gotoAndPlay(5); input.HP -= 150 * _root.player_beast_power; } else { if (bullet_type == 'holy_fire') { bullet_name.gotoAndStop('hit'); bullet_name.dx *= 0.4; bullet_name.dy *= 0.4; input._brightness.gotoAndPlay(5); input.HP -= 10 * _root.player_beast_power; } else { if (bullet_type == 'scythe') { input._brightness.gotoAndPlay(5); input.HP -= 8 * _root.player_beast_power; } else { if (bullet_type == 'parasite' && bullet_name._currentframe < 30) { if (bullet_name._victim != input) { bullet_name._victim = input; } bullet_name.gotoAndPlay('hit'); input._brightness.gotoAndPlay(5); add_HP_leech_effect((20 + _root.player_empathy * 1) * _root.player_beast_power, 10, 10); input.HP -= 35 * _root.player_beast_power; } else { if (bullet_type == 'water_blast' && bullet_name._currentframe < 30) { bullet_name.gotoAndStop('die'); bullet_name.dx = 10; input._brightness.gotoAndPlay(5); input.HP -= 300 * _root.player_beast_power; } else { if (bullet_type == 'ice_prison') { if (bullet_name._currentframe < 30) { bullet_name.gotoAndPlay('hit'); input._frozen = Math.round(64 * input._frozen_resistance); } bullet_name.dx = 0; bullet_name.dy = 0; input._brightness.gotoAndPlay(5); input.HP -= 40 * _root.player_beast_power; } else { if (bullet_type == 'flame_blast') { input._brightness.gotoAndPlay(5); input.HP -= 100 * _root.player_beast_power; } else { if (bullet_type == 'piercing_wind' && bullet_name._currentframe < 30) { input._brightness.gotoAndPlay(5); bullet_name.gotoAndPlay('hit'); bullet_name.dx = 0; input.HP -= 350 * _root.player_beast_power; } else { if (bullet_type == 'diamond_cutter') { input._brightness.gotoAndPlay(5); input.HP -= 750 * _root.player_beast_power; if (input._frozen > 0) { input.HP -= 2250 * _root.player_beast_power; } } else { if (bullet_type == 'laser' && bullet_name._currentframe < 30) { input._brightness.gotoAndPlay(5); input.HP -= 75 * _root.player_beast_power; if (bullet_name._split > 0) { bullet_name.gotoAndPlay('hit'); } } else { if (bullet_type == 'defensive_grid') { input._brightness.gotoAndPlay(5); input.HP -= 100 * _root.player_beast_power; } else { if (bullet_type == 'shinning_beam') { input._brightness.gotoAndPlay(5); input.HP -= 65 * _root.player_beast_power; } else { if (bullet_type == 'wind_splitter') { input._brightness.gotoAndPlay(5); input.HP -= 30 * _root.player_beast_power; } else { if (bullet_type == 'chaos_thunder') { input._brightness.gotoAndPlay(5); input.HP -= 90 * _root.player_beast_power; } else { if (bullet_type == 'illumination' && bullet_name._currentframe < 30) { bullet_name.gotoAndPlay('hit'); bullet_name.dx = 0; input._brightness.gotoAndPlay(5); input.HP -= _root.player_HP * 4 * _root.player_beast_power; } else { if (bullet_type == 'soul_void') { bullet_name.dx = 0; input._brightness.gotoAndPlay(5); input.HP -= (_root.player_max_HP - _root.player_HP) * 1.5 * _root.player_beast_power; } else { if (bullet_type == 'venom' && bullet_name._currentframe < 30) { bullet_name.dx = 0; bullet_name.gotoAndStop('die'); input.HP -= 600 * _root.player_beast_power; input._poison += 64; input.poison_power += 8; input._brightness.gotoAndPlay(5); } else { if (bullet_type == 'malicious_swarm' && bullet_name._currentframe < 30 && input._poison > 0) { if (bullet_name._victim != input) { bullet_name._victim = input; } bullet_name.gotoAndPlay('hit'); input._brightness.gotoAndPlay(5); add_HP_leech_effect(30, 10, 10); input.HP -= 75 * _root.player_beast_power; } else { if (bullet_type == 'diamond_destroyer') { input._brightness.gotoAndPlay(5); input.HP -= 30 * _root.player_beast_power; if (input._frozen > 0) { input.HP -= 90 * _root.player_beast_power; } } else { if (bullet_type == 'ice_comet' && bullet_name._currentframe < 30) { input._brightness.gotoAndPlay(5); if (bullet_name._currentframe == 1) { bullet_name.gotoAndPlay('die1'); } else { if (bullet_name._currentframe == 2) { bullet_name.gotoAndPlay('die2'); } else { if (bullet_name._currentframe >= 3) { bullet_name.gotoAndPlay('die3'); } } } bullet_name.dx = 0; bullet_name.dy = 0; input.HP -= 600 * _root.player_beast_power; input._frozen += 16; } else { if (bullet_type == 'mark_of_fire' && bullet_name._currentframe < 30) { if (bullet_name._victim != input && bullet_name._currentframe < 20) { bullet_name._victim = input; } bullet_name.dx = 0; bullet_name.dy = 0; bullet_name.gotoAndPlay('hit'); input._brightness.gotoAndPlay(5); input.HP -= 150 * _root.player_beast_power; } else { if (bullet_type == 'blazing_wing') { input._brightness.gotoAndPlay(5); input.HP -= 50 * _root.player_beast_power; } else { if (bullet_type == 'chrono_vortex') { bullet_name.dx = 0; bullet_name.dy = 0; input._brightness.gotoAndPlay(5); input.HP -= 40 * _root.player_beast_power; input._timelock = 3; } else { if (bullet_type == 'obliterate_bolt' && bullet_name._currentframe == 1) { bullet_name.gotoAndPlay(30); bullet_name.dx *= 0.4; bullet_name.dy *= 0.4; input._brightness.gotoAndPlay(5); input.HP -= 700 * _root.player_beast_power; } else { if (bullet_type == 'splitting_thunder' && bullet_name._currentframe < 30) { bullet_name.gotoAndPlay(30); bullet_name.dx = 0; bullet_name.dy = 0; input._brightness.gotoAndPlay(5); input.HP -= 800 * _root.player_beast_power; } else { if (bullet_type == 'lightning_bolt') { input._brightness.gotoAndPlay(5); input.HP -= 25 * _root.player_beast_power; } else { if (bullet_type == 'soul_festival') { input._brightness.gotoAndPlay(5); input.HP -= (100 + _root.player_HP * 1.8) * _root.player_beast_power; } else { if (bullet_type == 'soul_scatter' && bullet_name._currentframe < 30) { bullet_name.dx = 0; bullet_name.gotoAndPlay(30); input.HP -= 350 * _root.player_beast_power; input._brightness.gotoAndPlay(5); add_auto_effect(bullet_name); add_frozen_effect(input, 0, 0); add_poison_effect(input, 0, 0, 0); add_HP_leech_effect(350 * _root.player_beast_power, 0, 0); add_energy_leech_effect(350 * _root.player_beast_power, 0, 0); } else { if (bullet_type == 'solar_eclipse') { input._brightness.gotoAndPlay(5); input.HP -= 120 * _root.player_beast_power; } else { if (bullet_type == 'ultimate_wing') { input._brightness.gotoAndPlay(5); input.HP -= 400 * _root.player_beast_power; } else { if (bullet_type == 'cresent_moon') { input._brightness.gotoAndPlay(5); input.HP -= 300 * _root.player_beast_power; } else { if (bullet_type == 'fly_swarm' && bullet_name._currentframe < 30) { bullet_name.dx = 0; bullet_name.gotoAndPlay(30); input.HP -= 1600 * _root.player_beast_power; input._brightness.gotoAndPlay(5); } else { if (bullet_type == 'imperial_swarm' && bullet_name._currentframe < 30) { bullet_name.dx = 0; bullet_name.gotoAndPlay(30); input.HP -= 2000 * _root.player_beast_power; input._frozen = 96; input._brightness.gotoAndPlay(5); } else { if (bullet_type == 'swarm_heart') { input._brightness.gotoAndPlay(5); input.HP -= 250 * _root.player_beast_power; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } if (bullet_type == 'apple_attack' && bullet_name._currentframe < 30) { bullet_name.dx = 0; bullet_name.gotoAndStop('die'); input.HP = Math.round(input.HP * 0.75); input.HP -= _root.player_lvl * 50; input._brightness.gotoAndPlay(5); } }; } frame 1 { do { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { for (;;) { this.createEmptyMovieClip('bullet_layer', 100); bullet_count = 5; bullet_max = 60; check_bullet_hit = function (bullet_name, bullet_type) { if (bullet_name.hitTest(boss_layer.boss_1.boss.hit_area)) { bullet_damage_function(boss_layer.boss_1, bullet_name, bullet_type); } if (bullet_name.hitTest(boss_layer.boss_2.boss.hit_area)) { bullet_damage_function(boss_layer.boss_2, bullet_name, bullet_type); } var i = 0; while (i < 21) { var enm = 'monster_' + i; if (bullet_name.hitTest(monster_layer[enm].hit_area_1)) { bullet_damage_function(monster_layer[enm], bullet_name, bullet_type); } ++i; } }; } } } } } } } } } } } } } } } while (function (type, x, y, dx, dy) { ++bullet_count; bullet_count %= bullet_max; cnm = 'bullet_' + bullet_count; bullet_layer.attachMovie(type, cnm, bullet_count); bullet_layer[cnm].pausing = false; if (type != 'ice_star') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm]._state = 1 + Math.round(Math.random() * 3); bullet_layer[cnm].gotoAndStop(bullet_layer[cnm]._state); bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'ice_star'); } }; if (type != 'ice_spike') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].yline = y; bullet_layer[cnm].t = 3.28; bullet_layer[cnm]._state = 1 + Math.round(Math.random() * 3); bullet_layer[cnm].gotoAndStop(bullet_layer[cnm]._state); bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { this._x += this.dx; this._y = this.yline + Math.sin(this.t) * 8; this.t += 0.6; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'ice_spike'); } }; if (type != 'ice_slash_2') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { this._x += this.dx; this._y += this.dy; this._alpha -= 10; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this._alpha < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'ice_slash'); } }; if (type != 'fire_ball') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'fire_ball'); } }; if (type != 'esis_wing') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (pausing != true && this.pausing == false) { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'esis_wing'); } }; if (type != 'holy_fire') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'holy_fire'); } }; if (type != 'violet_ball') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (pausing != true && this.pausing == false) { ++this.dx; this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'violet_ball'); } }; if (type != 'thunder_bolt') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (pausing != true && this.pausing == false) { ++this.dx; this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'thunder_bolt'); } }; if (type != 'poison_bolt') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm]._state = 1; bullet_layer[cnm].gotoAndStop(bullet_layer[cnm]._state); bullet_layer[cnm].onEnterFrame = function () { if (pausing != true && this.pausing == false) { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'poison_bolt'); } }; if (type != 'war_head') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm]._state = 1; bullet_layer[cnm].gotoAndStop(bullet_layer[cnm]._state); bullet_layer[cnm].onEnterFrame = function () { if (pausing != true && this.pausing == false) { ++this.dx; this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'war_head'); } }; if (type != 'flame_orb') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 80; bullet_layer[cnm]._state = 1 + Math.round(Math.random() * 3); bullet_layer[cnm].gotoAndStop(bullet_layer[cnm]._state); bullet_layer[cnm].onEnterFrame = function () { if (pausing != true && this.pausing == false) { --this.countdown; this._x -= stage_speed; if (this.countdown <= 0) { this.gotoAndStop('start'); this._x += this.dx; this._y += this.dy; } if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'flame_orb'); } }; if (type != 'freezing_nova') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm]._duration = dx; bullet_layer[cnm]._xscale = dy; bullet_layer[cnm]._yscale = dy; bullet_layer[cnm].countdown = 8; ++nova_number; bullet_layer[cnm].onEnterFrame = function () { if (pausing != true && this.pausing == false) { --this.countdown; if (this.countdown <= 0) { --nova_number; this.removeMovieClip(); } check_bullet_hit(this, 'freezing_nova'); } }; if (type != 'judgment') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== true) { } else { check_bullet_hit(this, 'judgment'); } }; if (type != 'grand_cosmos') break; bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 240; ++grand_cosmos_present; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += 2; --this.countdown; if (this.countdown <= 0 && this._currentframe < 30) { this.gotoAndPlay('die'); --grand_cosmos_present; } } }; if (type == 'cosmos_blade') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._dir = dx; bullet_layer[cnm]._rotation = bullet_layer[cnm]._dir * 45; bullet_layer[cnm]._speed = 30; switch (bullet_layer[cnm]._dir) { case 0: bullet_layer[cnm].dx = 0 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -1 * bullet_layer[cnm]._speed; break; case 1: bullet_layer[cnm].dx = 0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.7 * bullet_layer[cnm]._speed; break; case 2: bullet_layer[cnm].dx = 1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 3: bullet_layer[cnm].dx = 0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.7 * bullet_layer[cnm]._speed; break; case 4: bullet_layer[cnm].dx = 0 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 1 * bullet_layer[cnm]._speed; break; case 5: bullet_layer[cnm].dx = -0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.7 * bullet_layer[cnm]._speed; break; case 6: bullet_layer[cnm].dx = -1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 7: bullet_layer[cnm].dx = -0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.7 * bullet_layer[cnm]._speed; } bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this._x < 0 or this._y < 0 or this._y > 500) { this.removeMovieClip(); } check_bullet_hit(this, 'cosmos_blade'); } }; } else { if (type == 'water_blast') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._dir = dx; bullet_layer[cnm]._rotation = bullet_layer[cnm]._dir * 45; bullet_layer[cnm]._speed = 20; switch (bullet_layer[cnm]._dir) { case 0: bullet_layer[cnm].dx = 0 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -1 * bullet_layer[cnm]._speed; break; case 1: bullet_layer[cnm].dx = 0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.7 * bullet_layer[cnm]._speed; break; case 2: bullet_layer[cnm].dx = 1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 3: bullet_layer[cnm].dx = 0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.7 * bullet_layer[cnm]._speed; break; case 4: bullet_layer[cnm].dx = 0 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 1 * bullet_layer[cnm]._speed; break; case 5: bullet_layer[cnm].dx = -0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.7 * bullet_layer[cnm]._speed; break; case 6: bullet_layer[cnm].dx = -1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 7: bullet_layer[cnm].dx = -0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.7 * bullet_layer[cnm]._speed; } bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this._x < 0 or this._y < 0 or this._y > 500) { this.removeMovieClip(); } check_bullet_hit(this, 'water_blast'); } }; } else { if (type == 'flame_blast') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._dir = dx; bullet_layer[cnm]._rotation = bullet_layer[cnm]._dir * 15; bullet_layer[cnm]._speed = 20; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this._x < 0 or this._y < 0 or this._y > 500) { this.removeMovieClip(); } check_bullet_hit(this, 'flame_blast'); } }; } else { if (type == 'laser') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._dir = dx; bullet_layer[cnm]._split = dy; bullet_layer[cnm]._rotation = bullet_layer[cnm]._dir * 45; bullet_layer[cnm]._speed = 25; switch (bullet_layer[cnm]._dir) { case 0: bullet_layer[cnm].dx = 0 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -1 * bullet_layer[cnm]._speed; break; case 1: bullet_layer[cnm].dx = 0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.7 * bullet_layer[cnm]._speed; break; case 2: bullet_layer[cnm].dx = 1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 3: bullet_layer[cnm].dx = 0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.7 * bullet_layer[cnm]._speed; break; case 4: bullet_layer[cnm].dx = 0 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 1 * bullet_layer[cnm]._speed; break; case 5: bullet_layer[cnm].dx = -0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.7 * bullet_layer[cnm]._speed; break; case 6: bullet_layer[cnm].dx = -1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 7: bullet_layer[cnm].dx = -0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.7 * bullet_layer[cnm]._speed; } bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this._x < 0 or this._y < 0 or this._y > 500) { this.removeMovieClip(); } check_bullet_hit(this, 'laser'); } }; } else { if (type == 'flame_heart') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } } }; } else { if (type == 'shinning_beam') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = player._x + x; bullet_layer[cnm]._y = player._y + y; bullet_layer[cnm].offset_y = y; bullet_layer[cnm].offset_x = x; bullet_layer[cnm]._dir = dx; bullet_layer[cnm]._rotation = bullet_layer[cnm]._dir * 15; bullet_layer[cnm]._speed = 20; bullet_layer[cnm].countdown = 16; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this.countdown; this._x = player._x + this.offset_x; this._y = player._y + this.offset_y; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this.countdown < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'shinning_beam'); } }; } else { if (type == 'shinning_rain') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._dir = dx; bullet_layer[cnm]._rotation = bullet_layer[cnm]._dir * 15; bullet_layer[cnm]._speed = 20; bullet_layer[cnm].countdown = 16; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this.countdown; if (this.countdown < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'shinning_beam'); } }; } else { if (type == 'explosive') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 8; ++explosive_number; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this.countdown; if (this.countdown <= 0) { --explosive_number; this.removeMovieClip(); } check_bullet_hit(this, 'explosive'); } }; } else { if (type == 'crimson_up') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = Math.round(3840 * _root.item_effectiveness_rate); ++crimson_up_number; drop_effect = 'crimson'; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x = player._x + 20; --this.countdown; this._ydistance = Math.abs(this._y - player._y); if (this._ydistance > 10) { if (this._y < player._y) { this._y += 5; } if (this._y > player._y) { this._y -= 5; } } if (this.countdown <= 0 && this._currentframe < 30) { this.removeMovieClip(); --crimson_up_number; drop_effect = 'none'; } } }; } else { if (type == 'azure_up') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = Math.round(3840 * _root.item_effectiveness_rate); ++azure_up_number; drop_effect = 'azure'; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x = player._x + 20; --this.countdown; this._ydistance = Math.abs(this._y - player._y); if (this._ydistance > 10) { if (this._y < player._y) { this._y += 5; } if (this._y > player._y) { this._y -= 5; } } if (this.countdown <= 0 && this._currentframe < 30) { this.removeMovieClip(); --azure_up_number; drop_effect = 'none'; } } }; } else { if (type == 'frozen_egg' or type == 'forest_egg' or type == 'flame_egg') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = Math.round(32 * dx * _root.item_effectiveness_rate); ++spirit_number; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x = player._x - 60; --this.countdown; this._ydistance = Math.abs(this._y - player._y); if (this._ydistance > 20) { if (this._y < player._y) { this._y += 5; } if (this._y > player._y) { this._y -= 5; } } if (this.countdown <= 0 && this._currentframe < 30) { this.gotoAndPlay('die'); --spirit_number; drop_effect = 'none'; } } }; } else { if (type == 'time_lock') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = 0; bullet_layer[cnm]._y = 0; bullet_layer[cnm]._effect = dx * 32; bullet_layer[cnm].onEnterFrame = function () { check_bullet_hit(this, 'time_lock'); }; } else { if (type == 'white_screen') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = 0; bullet_layer[cnm]._y = 0; bullet_layer[cnm]._effect = dx * 32; bullet_layer[cnm].onEnterFrame = function () {}; } else { if (type == 'poison_screen' or type == 'poison_line') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._effect = dx; bullet_layer[cnm].onEnterFrame = function () { check_bullet_hit(this, 'poison_screen'); }; } else { if (type == 'circle') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x + Math.random() * 6 - 4; bullet_layer[cnm]._y = y + Math.random() * 6 - 3; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; } else { if (type == 'blast') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; } else { if (type == 'ice_slash') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x + Math.random() * 6 - 4; bullet_layer[cnm]._y = y + Math.random() * 6 - 3; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'ice_slash'); } }; } else { if (type == 'violet_thunder') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'violet_thunder'); } }; } else { if (type == 'dual_lightening') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 75; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this.countdown; this._x = player._x + 30; this._y = player._y + 25; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this.countdown <= 0) { this.removeMovieClip(); } check_bullet_hit(this, 'dual_lightening'); } }; } else { if (type == 'scythe') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this.dx -= 0.5; this._y += this.dy; if (this._x > 800 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'scythe'); } }; } else { if (type == 'parasite') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 160; bullet_layer[cnm]._victim = 'none'; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._victim == 'none' or this._currentframe < 20) { this.dx = 5; this.dy = 0; } else { this.dx = -this._victim.dx; this.dy = this._victim.dy; } --this.countdown; if (this.countdown <= 0 && this._currentframe < 30 or this._x > 710) { this.gotoAndPlay('die'); } check_bullet_hit(this, 'parasite'); } }; } else { if (type == 'ice_prison') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'ice_prison'); } }; } else { if (type == 'piercing_wind' or type == 'piercing_wind_2') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing == false) { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'piercing_wind'); } }; } else { if (type == 'defensive_grid') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm]._countdown = dx; ++defensive_object; _root.player_defense -= 0.2; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this._countdown; this._x = player._x; this._y = player._y; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this._countdown <= 0) { this.removeMovieClip(); --defensive_object; _root.player_defense += 0.2; } check_bullet_hit(this, 'defensive_grid'); } }; } else { if (type == 'defensive_shell') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm]._countdown = dx; ++defensive_object_2; _root.player_defense -= 0.3; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this._countdown; this._x = player._x; this._y = player._y; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this._countdown <= 0) { this.removeMovieClip(); --defensive_object_2; _root.player_defense += 0.3; } } }; } else { if (type == 'light_source') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].xcenter = player._x; bullet_layer[cnm].ycenter = player._y; bullet_layer[cnm].radius = 50; bullet_layer[cnm].speed = 10; bullet_layer[cnm].degree = 0; bullet_layer[cnm].radian = 0; bullet_layer[cnm]._countdown = 640; ++light_source; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this._countdown; this.xcenter = player._x; this.ycenter = player._y; this.degree += this.speed; this.radian = (this.degree / 180) * Math.PI; this._x = this.xcenter + Math.cos(this.radian) * this.radius; this._y = this.ycenter + Math.sin(this.radian) * this.radius; if (this._countdown <= 0) { this.removeMovieClip(); --light_source; } } }; } else { if (type == 'wind_splitter') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._dir = dx; bullet_layer[cnm]._rotation = bullet_layer[cnm]._dir * 15; bullet_layer[cnm]._speed = 20; switch (bullet_layer[cnm]._dir) { case 4: bullet_layer[cnm].dx = 0.86 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.5 * bullet_layer[cnm]._speed; break; case 5: bullet_layer[cnm].dx = 0.95 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.25 * bullet_layer[cnm]._speed; break; case 6: bullet_layer[cnm].dx = 1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 7: bullet_layer[cnm].dx = 0.95 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.25 * bullet_layer[cnm]._speed; break; case 8: bullet_layer[cnm].dx = 0.86 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.5 * bullet_layer[cnm]._speed; } bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'wind_splitter'); } }; } else { if (type == 'chaos_thunder') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 96; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this.countdown; this._x = player._x + dx; this._y = player._y + dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this.countdown <= 0) { this.removeMovieClip(); } check_bullet_hit(this, 'chaos_thunder'); } }; } else { if (type == 'enrage') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 320; ++enrage_number; _root.player_beast_power += 0.2; _root.player_beast_empathy += 30; var c = new Color(player.beast); var trans = {'ra': '100', 'rb': '120', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0'}; c.setTransform(trans); bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x = player._x - 60; this._y = player._y; --this.countdown; if (this.countdown <= 0 && this._currentframe < 30) { this.removeMovieClip(); --enrage_number; _root.player_beast_power -= 0.2; _root.player_beast_empathy -= 30; var c = new Color(player.beast); var trans = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0'}; c.setTransform(trans); } } }; } else { if (type == 'illumination') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'illumination'); } }; } else { if (type == 'soul_void') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'soul_void'); } }; } else { if (type == 'venom') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm]._state = 1; bullet_layer[cnm].gotoAndStop(bullet_layer[cnm]._state); bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'venom'); } }; } else { if (type == 'venom_source') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].xcenter = player._x; bullet_layer[cnm].ycenter = player._y; bullet_layer[cnm].radius = 50; bullet_layer[cnm].speed = 10; bullet_layer[cnm].degree = 0; bullet_layer[cnm].radian = 0; bullet_layer[cnm]._countdown = 960; ++venom_source; _root.player_poison_chance += 5; _root.player_poison_power += _root.player_power; _root.player_poison_duration += 64; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this._countdown; this.xcenter = player._x; this.ycenter = player._y; this.degree += this.speed; this.radian = (this.degree / 180) * Math.PI; this._x = this.xcenter + Math.cos(this.radian) * this.radius; this._y = this.ycenter + Math.sin(this.radian) * this.radius; if (this._countdown <= 0) { this.removeMovieClip(); --venom_source; _root.player_poison_chance -= 5; _root.player_poison_power -= 12; _root.player_poison_duration -= 64; } } }; } else { if (type == 'malicious_swarm') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 160; bullet_layer[cnm]._victim = 'none'; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._victim == 'none' or this._currentframe < 20) { this.dx = dx; this.dy = dy; } else { this.dx = -this._victim.dx; this.dy = this._victim.dy; } --this.countdown; if (this.countdown <= 0 && this._currentframe < 30 or this._x > 710) { this.gotoAndPlay('die'); } check_bullet_hit(this, 'malicious_swarm'); } }; } else { if (type == 'diamond_destroyer') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 46; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this.countdown; this._x = player._x + dx; this._y = player._y + dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this.countdown <= 0) { this.removeMovieClip(); } check_bullet_hit(this, 'diamond_destroyer'); } }; } else { if (type == 'ice_comet') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._dir = dx; bullet_layer[cnm]._rotation = bullet_layer[cnm]._dir * 45; bullet_layer[cnm]._speed = Math.random() * 5 + 15; bullet_layer[cnm]._alpha = 70 + Math.random() * 30; bullet_layer[cnm].gotoAndStop(Math.round(Math.random() * 3 + 1)); switch (bullet_layer[cnm]._dir) { case 0: bullet_layer[cnm].dx = 0 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -1 * bullet_layer[cnm]._speed; break; case 1: bullet_layer[cnm].dx = 0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.7 * bullet_layer[cnm]._speed; break; case 2: bullet_layer[cnm].dx = 1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 3: bullet_layer[cnm].dx = 0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.7 * bullet_layer[cnm]._speed; break; case 4: bullet_layer[cnm].dx = 0 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 1 * bullet_layer[cnm]._speed; break; case 5: bullet_layer[cnm].dx = -0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.7 * bullet_layer[cnm]._speed; break; case 6: bullet_layer[cnm].dx = -1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 7: bullet_layer[cnm].dx = -0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.7 * bullet_layer[cnm]._speed; } bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < -200) { this.removeMovieClip(); } check_bullet_hit(this, 'ice_comet'); } }; } else { if (type == 'blazing_wing') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._dir = dx; bullet_layer[cnm]._rotation = bullet_layer[cnm]._dir * 15; bullet_layer[cnm]._speed = 25; switch (bullet_layer[cnm]._dir) { case 4: bullet_layer[cnm].dx = 0.86 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.5 * bullet_layer[cnm]._speed; break; case 5: bullet_layer[cnm].dx = 0.95 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.25 * bullet_layer[cnm]._speed; break; case 6: bullet_layer[cnm].dx = 1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 7: bullet_layer[cnm].dx = 0.95 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.25 * bullet_layer[cnm]._speed; break; case 8: bullet_layer[cnm].dx = 0.86 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.5 * bullet_layer[cnm]._speed; } bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'blazing_wing'); } }; } else { if (type == 'mark_of_fire') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 240; bullet_layer[cnm]._victim = 'none'; ++mark_number; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._victim == 'none' or this._currentframe < 20) { this.dx = dx; this.dy = dy; } else { this.dx = -this._victim.dx; this.dy = this._victim.dy; } --this.countdown; if (this.countdown <= 0 && this._currentframe < 30 or this._x > 710) { if (spirit_number == 0) { temp_value = Math.random() * 100; if (temp_value <= 34) { create_bullet('flame_egg', player._x, player._y, 30, 0); } else { if (temp_value <= 66) { create_bullet('frozen_egg', player._x, player._y, 30, 0); } else { create_bullet('flame_egg', player._x, player._y, 30, 0); } } } --mark_number; this.removeMovieClip(); } check_bullet_hit(this, 'mark_of_fire'); } }; } else { if (type == 'rebirth') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 96; bullet_layer[cnm].onEnterFrame = function () { --this.countdown; this._x = player._x + dx; this._y = player._y + dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this.countdown <= 0) { this.removeMovieClip(); } }; } else { if (type == 'chrono_vortex') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].countdown = 160; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this.countdown; this._x += this.dx; this._y += this.dy; if (this.countdown <= 0 or this._x > 710) { this.removeMovieClip(); } check_bullet_hit(this, 'chrono_vortex'); } }; } else { if (type == 'obliterate_bolt') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'obliterate_bolt'); } }; } else { if (type == 'splitting_thunder') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'splitting_thunder'); } }; } else { if (type == 'lightning_bolt') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._dir = dx; bullet_layer[cnm]._rotation = bullet_layer[cnm]._dir * 45; bullet_layer[cnm]._speed = 30; switch (bullet_layer[cnm]._dir) { case 0: bullet_layer[cnm].dx = 0 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -1 * bullet_layer[cnm]._speed; break; case 1: bullet_layer[cnm].dx = 0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.7 * bullet_layer[cnm]._speed; break; case 2: bullet_layer[cnm].dx = 1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 3: bullet_layer[cnm].dx = 0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.7 * bullet_layer[cnm]._speed; break; case 4: bullet_layer[cnm].dx = 0 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 1 * bullet_layer[cnm]._speed; break; case 5: bullet_layer[cnm].dx = -0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0.7 * bullet_layer[cnm]._speed; break; case 6: bullet_layer[cnm].dx = -1 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = 0 * bullet_layer[cnm]._speed; break; case 7: bullet_layer[cnm].dx = -0.7 * bullet_layer[cnm]._speed; bullet_layer[cnm].dy = -0.7 * bullet_layer[cnm]._speed; } bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0 or this._x < 0 or this._y < 0 or this._y > 500) { this.removeMovieClip(); } check_bullet_hit(this, 'lightning_bolt'); } }; } else { if (type == 'soul_fragment') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].xcenter = player._x; bullet_layer[cnm].ycenter = player._y; bullet_layer[cnm].radius = 50; bullet_layer[cnm].speed = 10; bullet_layer[cnm].degree = 0; bullet_layer[cnm].radian = 0; bullet_layer[cnm]._countdown = 640; ++soul_fragment; _root.player_HP_leech_chance += 4; _root.player_HP_leech_percentage += 5; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this._countdown; this.xcenter = player._x; this.ycenter = player._y; this.degree += this.speed; this.radian = (this.degree / 180) * Math.PI; this._x = this.xcenter + Math.cos(this.radian) * this.radius; this._y = this.ycenter + Math.sin(this.radian) * this.radius; if (this._countdown <= 0) { this.removeMovieClip(); --soul_fragment; _root.player_HP_leech_chance -= 4; _root.player_HP_leech_percentage -= 5; } } }; } else { if (type == 'soul_festival') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { check_bullet_hit(this, 'soul_festival'); } }; } else { if (type == 'soul_scatter') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'soul_scatter'); } }; } else { if (type == 'solar_eclipse') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._effect = dx; bullet_layer[cnm]._recovery = Math.round(_root.player_max_HP / 100); bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { if (_root.player_energy > 2) { _root.player_energy -= 1; if (_root.player_HP < _root.player_max_HP) { _root.player_HP += this._recovery; } check_bullet_hit(this, 'solar_eclipse'); } else { _root.player_energy = 0; this.removeMovieClip(); } } }; } else { if (type == 'ultimate_wing') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm]._effect = dx; bullet_layer[cnm]._recovery = Math.round(_root.player_max_HP / 100); bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { if (_root.player_energy > 2) { _root.player_energy -= 2; _root.invisibility = 16; check_bullet_hit(this, 'ultimate_wing'); } else { _root.player_energy = 0; this.removeMovieClip(); } } }; } else { if (type == 'cresent_moon') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm]._state = 1; bullet_layer[cnm].gotoAndStop(bullet_layer[cnm]._state); bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; this._y += this.dy; this._xscale += 12; this._yscale += 24; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'cresent_moon'); } }; } else { if (type == 'fly_swarm') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].yline = y; bullet_layer[cnm].t = 3.28; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; ++this.dx; this._y = this.yline + Math.sin(this.t) * 8; this.t += 0.6; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'fly_swarm'); } }; } else { if (type == 'imperial_swarm') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].yline = y; bullet_layer[cnm].t = 3.28; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { this._x += this.dx; ++this.dx; this._y = this.yline + Math.sin(this.t) * 8; this.t += 0.6; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'imperial_swarm'); } }; } else { if (type == 'swarm_heart') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].xcenter = player._x; bullet_layer[cnm].ycenter = player._y; bullet_layer[cnm].radius = 100; bullet_layer[cnm].speed = 5; bullet_layer[cnm].degree = 0; bullet_layer[cnm].radian = 0; bullet_layer[cnm]._countdown = 640; ++swarm_heart_number; bullet_layer[cnm].onEnterFrame = function () { if (this.pausing !== false) { } else { --this._countdown; this.xcenter = player._x; this.ycenter = player._y; this.degree += this.speed; this.radian = (this.degree / 180) * Math.PI; this._x = this.xcenter + Math.cos(this.radian) * this.radius; this._y = this.ycenter + Math.sin(this.radian) * this.radius; if (this._countdown <= 0) { this.removeMovieClip(); --swarm_heart_number; } check_bullet_hit(this, 'swarm_heart'); } }; } else { if (type == 'apple_attack') { bullet_layer[cnm].id = bullet_count; bullet_layer[cnm]._x = x; bullet_layer[cnm]._y = y; bullet_layer[cnm].dx = dx; bullet_layer[cnm].dy = dy; bullet_layer[cnm].onEnterFrame = function () { this._x += this.dx; this._y += this.dy; if (this._x > 700 or this._y > 500 or this._x < 0 or this._y < 0) { this.removeMovieClip(); } check_bullet_hit(this, 'apple_attack'); }; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }); // An attempt to read a value from empty stack eval(undefined) = 'create_bullet'; } frame 1 { punishment_attack = function (input) { if (_root.player_beast == 'simurgh') { create_bullet('holy_fire', input._x + 100 - Math.random() * 200, 0, 0, 15); create_bullet('holy_fire', input._x + 100 - Math.random() * 200, 0, 0, 15); } }; } frame 1 { reset_summon = function () { grand_cosmos_present = 0; crimson_up_number = 0; azure_up_number = 0; spirit_number = 0; defensive_object = 0; defensive_object_2 = 0; light_source = 0; venom_source = 0; soul_fragment = 0; enrage_number = 0; mark_number = 0; swarm_heart_number = 0; libra_curse_number = 0; zodiac_curse_number = 0; }; reset_summon(); auto_cast = function () { var randomness = Math.random() * 100; if (_root.grand_cosmos_chance > Math.random() * 100) { if (grand_cosmos_present == 0) { create_bullet('grand_cosmos', player._x, player._y, 5, 5); } } if (_root.esis_feature == 1) { if (grand_cosmos_present == 0) { create_bullet('grand_cosmos', player._x, player._y, 5, 5); } } if (_root.judgment_chance > Math.random() * 100) { create_bullet('judgment', player._x, player._y, 0, 0); create_bullet('judgment', player._x + Math.random() * 50 + 100, player._y, 0, 0); create_bullet('judgment', player._x + Math.random() * 50 + 150, player._y, 0, 0); } if (_root.freezing_nova_chance > Math.random() * 100) { create_bullet('freezing_nova', player._x, player._y, 3, 100); } if (_root.player_beast == 'pegasus') { _root.invisibility = 96; } if (_root.player_beast == 'gargoyle' && defensive_object == 0) { create_bullet('defensive_grid', player._x, player._y, 320, 0); } if (_root.player_character == 'gely' && defensive_object_2 == 0) { create_bullet('defensive_shell', player._x, player._y, 96 + _root.player_lvl * 12, 0); } if (_root.player_beast == 'chimera' && enrage_number == 0) { create_bullet('enrage', player._x, player._y, 320, 0); } if (_root.player_beast == 'hydra' && venom_source < 3) { create_bullet('venom_source', player._x, player._y, 3, 100); } if (_root.player_beast == 'tiamat' && soul_fragment < 4) { create_bullet('soul_fragment', player._x, player._y, 3, 100); } if (_root.player_beast == 'nidhogg') { add_energy_leech_effect(_root.player_max_energy, 100, 5); } if (_root.player_beast == 'beelzebub') { create_bullet('imperial_swarm', 0, player._y, 5, 0); create_bullet('imperial_swarm', 0, player._y + 50, 5, 0); } }; auto_cast_dodged = function () { if (_root.player_beast == 'naga') { add_energy_leech_effect(_root.player_max_energy, 100, 25); } if (_root.player_beast == 'leviathan') { create_bullet('time_lock', player._x, player._y, 1.5, 0); } if (_root.player_beast == 'unicorn' && light_source < 3) { create_bullet('light_source', player._x, player._y, 3, 100); } if (_root.player_beast == 'beelzebub') { create_bullet('imperial_swarm', 0, player._y, 5, 0); create_bullet('imperial_swarm', 0, player._y + 50, 5, 0); } }; auto_cast_die = function () { if (_root.player_beast == 'phoenix' && spirit_number > 0) { _root.player_HP += Math.round(_root.player_max_HP); control_remain_bullet(bullet_layer, 'remove'); create_bullet('rebirth', player._x, player._y, 0, 20); reset_summon(); player.rider.gotoAndStop(1); } }; } frame 1 { function count_clips(mc) { var count = 0; for (i in mc) { if (typeof mc[i] == 'movieclip') { ++count; } } return count; } function check_remain_monster(mc, new_id) { for (i in mc) { if (typeof mc[i] == 'movieclip') { if (mc[i].id == new_id) { return false; } } } } function check_remain_bullet(mc, new_id) { for (i in mc) { if (typeof mc[i] == 'movieclip') { if (mc[i].id == new_id) { return false; } } } } function control_remain_bullet(mc, action) { for (i in mc) { if (typeof mc[i] == 'movieclip') { if (action == 'remove') { mc[i].removeMovieClip(); } } } } function pausing_stuff(mc, action) { for (i in mc) { if (typeof mc[i] == 'movieclip') { if (action == 'pause') { mc[i].pausing = true; } else { if (action == 'unpause') { mc[i].pausing = false; } } } } } var count_timer = 0; } frame 1 { gotoAndStop(_root.current_map); } frame 1 { bg_scrolling_function = function () { if (_root.current_map == 'level_1' or _root.current_map == 'level_2' or _root.current_map == 'level_7' or _root.current_map == 'level_15' or _root.current_map == 'level_16') { fg1._x -= stage_speed * 2 + 6; fg2._x -= stage_speed * 2 + 6; bg1._x -= stage_speed / 2 + 3; bg2._x -= stage_speed / 2 + 3; } else { if (_root.current_map == 'level_3' or _root.current_map == 'level_5' or _root.current_map == 'level_9' or _root.current_map == 'level_12' or _root.current_map == 'level_13' or _root.current_map == 'level_14' or _root.current_map == 'level_17' or _root.current_map == 'level_18' or _root.current_map == 'level_19' or _root.current_map == 'level_20') { fg1._x -= stage_speed * 2; fg2._x -= stage_speed * 2; bg1._x -= stage_speed / 2; bg2._x -= stage_speed / 2; } else { if (_root.current_map == 'level_6' or _root.current_map == 'level_4' or _root.current_map == 'level_8' or _root.current_map == 'level_10' or _root.current_map == 'level_11') { fg1._x -= stage_speed; fg2._x -= stage_speed; bg1._x -= stage_speed / 2 + 3; bg2._x -= stage_speed / 2 + 3; } } } if (fg1._x <= -695) { fg1._x = 695; } if (fg2._x <= -695) { fg2._x = 695; } if (bg1._x <= -698) { bg1._x = 698; } if (bg2._x <= -698) { bg2._x = 698; } }; } frame 1 { recovery_tick = 0; poison_tick = 0; enemy_poison_power = 0; recovery_function = function () { ++recovery_tick; recovery_tick %= 96; ++poison_tick; poison_tick %= 17; if (_root.player_poison > 0) { --_root.player_poison; if (poison_tick == 16) { _root.player_HP -= Math.round(3 + difficulty * 1.2); } } if (_root.invisibility > 0) { --_root.invisibility; } if (_root.player_frozen > 0) { --_root.player_frozen; } if (_root.player_silence > 0) { --_root.player_silence; } if (_root.player_disable > 0) { --_root.player_disable; } if (_root.player_immobile > 0) { --_root.player_immobile; } if (_root.player_HP <= 0) { player.rider.gotoAndStop('die'); } if (recovery_tick == 1 && _root.player_poison == 0) { _root.player_HP += _root._root.player_HP_recovery; if (_root.player_HP > _root.player_max_HP) { _root.player_HP = _root.player_max_HP; } _root.player_energy += _root._root.player_energy_recovery; if (_root.player_energy > _root.player_max_energy) { _root.player_energy = _root.player_max_energy; } } }; } frame 1 { use_item = function (which_slot, return_slot) { _root.harp_chord_short.start(0, 1); if (which_slot == 'healing_vial') { _root.player_HP += Math.round(_root.player_max_HP * (0.3 * _root.item_effectiveness_rate)); if (_root.player_HP > _root.player_max_HP) { _root.player_HP = _root.player_max_HP; } _root['player_item_' + return_slot] = 'none'; player.rider.hp_heal_indicator.gotoAndPlay(5); UI.HP_hl_2.gotoAndPlay(5); UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'energy_vial') { _root.player_energy += Math.round(_root.player_max_energy * (0.4 * _root.item_effectiveness_rate)); if (_root.player_energy > _root.player_max_energy) { _root.player_energy = _root.player_max_energy; } _root['player_item_' + return_slot] = 'none'; player.rider.energy_heal_indicator.gotoAndPlay(5); UI.energy_hl.gotoAndPlay(5); UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'refresher') { _root.player_energy += Math.round(_root.player_max_energy * (0.4 * _root.item_effectiveness_rate)); if (_root.player_energy > _root.player_max_energy) { _root.player_energy = _root.player_max_energy; } _root.player_HP += Math.round(_root.player_max_HP * (0.4 * _root.item_effectiveness_rate)); if (_root.player_HP > _root.player_max_HP) { _root.player_HP = _root.player_max_HP; } _root['player_item_' + return_slot] = 'none'; player.rider.hp_heal_indicator.gotoAndPlay(5); player.rider.energy_heal_indicator.gotoAndPlay(5); UI.highlight_UI.gotoAndPlay(5); UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'soul_refresher') { _root.player_energy += Math.round(_root.player_max_energy); if (_root.player_energy > _root.player_max_energy) { _root.player_energy = _root.player_max_energy; } _root.player_HP += Math.round(_root.player_max_HP); if (_root.player_HP > _root.player_max_HP) { _root.player_HP = _root.player_max_HP; } if (_root.player_gear_1 == 'alchemist_stone') { _root.invisibility += 160; } if (_root.player_gear_2 == 'alchemist_stone') { _root.invisibility += 160; } _root['player_item_' + return_slot] = 'none'; player.rider.hp_heal_indicator.gotoAndPlay(5); player.rider.energy_heal_indicator.gotoAndPlay(5); UI.highlight_UI.gotoAndPlay(5); UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'azure_breeze' && crimson_up_number == 0 && azure_up_number == 0) { create_bullet('azure_up', player._x, player._y, 0, 0); _root['player_item_' + return_slot] = 'none'; UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'crimson_gust' && crimson_up_number == 0 && azure_up_number == 0) { create_bullet('crimson_up', player._x, player._y, 0, 0); _root['player_item_' + return_slot] = 'none'; UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'fairy_dust' && spirit_number == 0) { create_bullet('frozen_egg', player._x, player._y, 60, 0); _root['player_item_' + return_slot] = 'none'; UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'wild_talisman' && spirit_number == 0) { create_bullet('forest_egg', player._x, player._y, 60, 0); _root['player_item_' + return_slot] = 'none'; UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'adrenaline_rush' && spirit_number == 0) { create_bullet('flame_egg', player._x, player._y, 60, 0); _root['player_item_' + return_slot] = 'none'; UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'chrono_matter') { create_bullet('time_lock', player._x, player._y, 10 * _root.item_effectiveness_rate, 0); _root['player_item_' + return_slot] = 'none'; UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'life_stream') { _root.invisibility = 320 * _root.item_effectiveness_rate; _root['player_item_' + return_slot] = 'none'; UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } if (which_slot == 'golden_apple') { create_bullet('apple_attack', player._x, player._y, 16, 0); _root['player_item_' + return_slot] = 'none'; UI['item_' + return_slot + '_hl'].gotoAndPlay(5); UI['item_' + return_slot + '_use'].gotoAndStop(1); } }; } frame 1 { player_dx = 0; player_dy = 0; firing_counter = 1; blue_fish_timer = 0; special_attacking = false; firing = false; pausing = false; my_listener = new Object(); my_listener.onKeyDown = function () { if (Key.getCode() == 32) { if (pausing == false && event_mv._currentframe == 1) { pause_timer = 0; pausing_stuff(loot_layer, 'pause'); pausing_stuff(bullet_layer, 'pause'); pausing_stuff(enemy_bullet_layer, 'pause'); player.beast.beast.stop(); pausing = true; event_mv.gotoAndStop(600); } else { if (event_mv._currentframe == 600) { pausing_stuff(loot_layer, 'unpause'); pausing_stuff(bullet_layer, 'unpause'); pausing_stuff(enemy_bullet_layer, 'unpause'); player.beast.beast.play(); pausing = false; event_mv.gotoAndStop(1); } } } if (Key.getCode() == 49) { if (_root.player_character == 'nera') { if (_root.player_bullet == 'ice_star') { _root.player_bullet = 'ice_slash'; } else { if (_root.player_bullet == 'ice_slash') { _root.player_bullet = 'ice_star'; } } } if (_root.player_character == 'gely') { if (_root.player_bullet == 'thunder_bolt') { _root.player_bullet = 'poison_bolt'; } else { if (_root.player_bullet == 'poison_bolt') { _root.player_bullet = 'thunder_bolt'; } } } if (_root.player_character == 'sisi') { if (_root.player_bullet == 'war_head') { _root.player_bullet = 'flame_orb'; } else { if (_root.player_bullet == 'flame_orb') { _root.player_bullet = 'war_head'; } } } UI.highlight_1.gotoAndPlay(5); _root.harp_chord_short.start(0, 1); } if (_root.player_silence == 0) { if (Key.getCode() == 50 && special_attacking == false && player.beast._currentframe < 10) { if (_root.player_energy >= _root.player_skill2_cost && _root.esis_feature == 0) { UI.highlight_2.gotoAndPlay(5); special_attacking = true; _root.player_energy -= _root.player_skill2_cost; _root.roar_sound.start(0, 1); player.beast.gotoAndStop('attack2'); } else { if (_root.esis_feature == 1 && _root.player_energy >= 30) { UI.highlight_2.gotoAndPlay(5); special_attacking = true; _root.roar_sound.start(0, 1); player.beast.gotoAndStop('attack2'); } } } } if (Key.getCode() == 51) { use_item(_root.player_item_1, 1); } if (Key.getCode() == 52) { use_item(_root.player_item_2, 2); } if (Key.getCode() == 53) { use_item(_root.player_item_3, 3); } if (Key.getCode() == 54) { use_item(_root.player_item_4, 4); } }; Key.addListener(my_listener); mouse_control = function () { if (_root.player_frozen == 0) { if (_root.player_frozen == 0 && _root.player_immobile == 0) { mouse_distance_x = Math.abs(player._x - _xmouse); if (mouse_distance_x > _root.move_speed) { if (_xmouse > player._x) { player._x += _root.move_speed; } else { if (_xmouse < player._x) { player._x -= _root.move_speed; } } } else { player._x = _xmouse; } mouse_distance_y = Math.abs(player._y - _ymouse); if (mouse_distance_y > _root.move_speed) { if (_ymouse > player._y) { player._y += _root.move_speed; } else { if (_ymouse < player._y) { player._y -= _root.move_speed; } } } else { player._y = _ymouse; } if (player._y > 380) { player._y = 380; } else { if (player._y < 40) { player._y = 40; } } if (player._x < 45) { player._x = 45; } else { if (player._x > 650) { player._x = 650; } } } onMouseDown = function () { firing = true; }; onMouseUp = function () { firing = false; firing_counter = _root[_root.player_bullet + '_firing_delay']; }; if (firing == false && firing_counter > 0) { --firing_counter; } if (firing == true && player.rider._currentframe < 25) { if (_root.player_disable == 0) { if (_root.esis_feature == 1) { player.rider.gotoAndStop('attack1'); ++firing_counter; firing_counter %= _root.thunder_bolt_firing_delay; if (firing_counter == 1 && _root.player_energy >= 4) { _root.player_energy -= 4; create_bullet('esis_wing', player._x + 30, player._y, 20, Math.random() * 4 - 2); _root.glass_break.start(0, 1); } } else { if (_root.player_character == 'nera') { if (_root.player_bullet == 'ice_star') { player.rider.gotoAndStop('attack1'); ++firing_counter; firing_counter %= _root.ice_star_firing_delay; if (firing_counter == 1) { create_bullet('ice_star', player._x + 30, player._y, 20, Math.random() * 4 - 2); create_bullet('ice_star', player._x + 30, player._y - 5, 20, Math.random() * 4 - 2); create_bullet('circle', player._x + 40, player._y, 0, 0); _root.glass_break.start(0, 1); } } if (_root.player_bullet == 'ice_slash') { ++firing_counter; firing_counter %= _root.ice_slash_firing_delay; if (firing_counter == 1) { player.rider.gotoAndStop('attack2'); create_bullet('ice_slash', player._x, player._y + 25, 25, Math.random() * 0.5 - 0.25); _root.sword_slash.start(0, 1); } } } else { if (_root.player_character == 'gely') { player.rider.gotoAndStop('attack1'); if (_root.player_bullet == 'thunder_bolt') { ++firing_counter; firing_counter %= _root.thunder_bolt_firing_delay; if (firing_counter == 1) { create_bullet('thunder_bolt', player._x + 30, player._y - 10, 20, 0); create_bullet('blast', player._x + 30, player._y - 10, 0, 0); _root.rifle_shot.start(0, 1); } } if (_root.player_bullet == 'poison_bolt') { ++firing_counter; firing_counter %= _root.poison_bolt_firing_delay; if (firing_counter == 1) { create_bullet('poison_bolt', player._x + 30, player._y, 20, 0); create_bullet('poison_bolt', player._x, player._y, 20, 0); create_bullet('poison_bolt', player._x + 60, player._y, 20, 0); _root.water_shot.start(0, 1); } } } else { if (_root.player_character == 'sisi') { player.rider.gotoAndStop('attack1'); if (_root.player_bullet == 'war_head') { ++firing_counter; firing_counter %= _root.war_head_firing_delay; if (firing_counter == 1) { create_bullet('blast', player._x + 20, player._y - 23, 0, 0); create_bullet('war_head', player._x + 60 + Math.random() * 20, player._y - 20, 2, 0); create_bullet('war_head', player._x + 60 + Math.random() * 20, player._y - 15, 2, 2); create_bullet('war_head', player._x + 60 + Math.random() * 20, player._y - 25, 2, -2); _root.gun_shot.start(0, 1); } } if (_root.player_bullet == 'flame_orb') { ++firing_counter; firing_counter %= _root.flame_orb_firing_delay; if (firing_counter == 1) { create_bullet('flame_orb', player._x + 80, player._y - 20, 20, 0); create_bullet('blast', player._x + 20, player._y - 23, 0, 0); _root.rifle_shot.start(0, 1); } } } } } } } beast_attack1_chance = Math.random() * 100; if (_root.player_silence == 0) { if (_root.beast_attack_counter == 0 && beast_attack1_chance < _root.player_beast_empathy && player.beast._currentframe < 10 && _root.player_energy >= _root.player_skill1_cost) { _root.player_energy -= _root.player_skill1_cost; if (Math.random() * 100 <= 10 + _root.player_lvl && _root.player_character == 'sisi') { create_bullet('shinning_beam', 17, -17, 6, 0); } player.beast.gotoAndStop('attack1'); _root.explosion_sound.start(0, 1); } } } ++_root.beast_attack_counter; _root.beast_attack_counter %= 20; } }; keyboard_control = function () { if (_root.player_frozen == 0) { if (_root.player_frozen == 0 && _root.player_immobile == 0) { player._x += player_dx; player._y += player_dy; if (Key.isDown(38)) { player_dy -= _root.move_speed / 3; if (player_dy < -_root.move_speed) { player_dy = -_root.move_speed; } } else { if (Key.isDown(40)) { player_dy += _root.move_speed / 3; if (player_dy > _root.move_speed) { player_dy = _root.move_speed; } } else { player_dy = 0; } } if (Key.isDown(37)) { player_dx -= _root.move_speed / 3; if (player_dx < -_root.move_speed) { player_dx = -_root.move_speed; } } else { if (Key.isDown(39)) { player_dx += _root.move_speed / 3; if (player_dx > _root.move_speed) { player_dx = _root.move_speed; } } else { player_dx = 0; } } if (player._y > 380) { player._y = 380; } else { if (player._y < 40) { player._y = 40; } } if (player._x < 40) { player._x = 40; } else { if (player._x > 650) { player._x = 650; } } } if (Key.isDown(32)) { firing = true; } else { firing = false; } if (firing == false && firing_counter > 0) { --firing_counter; } if (firing == true && player.rider._currentframe < 25) { if (_root.player_disable == 0) { if (_root.player_character == 'nera') { if (_root.player_bullet == 'ice_star') { player.rider.gotoAndStop('attack1'); ++firing_counter; firing_counter %= _root.ice_star_firing_delay; if (firing_counter == 1) { create_bullet('ice_star', player._x + 30, player._y, 20, Math.random() * 4 - 2); create_bullet('ice_star', player._x + 30, player._y - 5, 20, Math.random() * 4 - 2); create_bullet('circle', player._x + 40, player._y, 0, 0); } } if (_root.player_bullet == 'ice_slash') { ++firing_counter; firing_counter %= _root.ice_slash_firing_delay; if (firing_counter == 1) { player.rider.gotoAndStop('attack2'); create_bullet('ice_slash', player._x, player._y + 25, 25, Math.random() * 0.5 - 0.25); } } } if (_root.player_character == 'gely') { player.rider.gotoAndStop('attack1'); if (_root.player_bullet == 'thunder_bolt') { ++firing_counter; firing_counter %= _root.thunder_bolt_firing_delay; if (firing_counter == 1) { create_bullet('thunder_bolt', player._x + 30, player._y - 10, 20, 0); create_bullet('blast', player._x + 30, player._y - 10, 0, 0); } } if (_root.player_bullet == 'poison_bolt') { ++firing_counter; firing_counter %= _root.poison_bolt_firing_delay; if (firing_counter == 1) { create_bullet('poison_bolt', player._x + 20, player._y - 10, 20, 0); create_bullet('poison_bolt', player._x, player._y - 10, 20, -Math.random() * 1.5); create_bullet('poison_bolt', player._x + 40, player._y, 20, Math.random() * 1.5); create_bullet('poison_bolt', player._x + 40, player._y - 10, 20, -3 * Math.random()); create_bullet('poison_bolt', player._x + 20, player._y - 20, 20, 3 * Math.random()); } } } if (_root.player_character == 'sisi') { player.rider.gotoAndStop('attack1'); if (_root.player_bullet == 'war_head') { ++firing_counter; firing_counter %= _root.war_head_firing_delay; if (firing_counter == 1) { create_bullet('blast', player._x + 20, player._y - 23, 0, 0); create_bullet('war_head', player._x + 60 + Math.random() * 20, player._y - 20, 2, 0); create_bullet('war_head', player._x + 60 + Math.random() * 20, player._y - 15, 2, 2); create_bullet('war_head', player._x + 60 + Math.random() * 20, player._y - 25, 2, -2); } } if (_root.player_bullet == 'flame_orb') { ++firing_counter; firing_counter %= _root.flame_orb_firing_delay; if (firing_counter == 1) { create_bullet('flame_orb', player._x + 80, player._y - 20, 20, 0); create_bullet('blast', player._x + 20, player._y - 23, 0, 0); } } } } beast_attack1_chance = Math.random() * 100; if (_root.player_silence == 0) { if (_root.beast_attack_counter == 0 && beast_attack1_chance < _root.player_beast_empathy && player.beast._currentframe < 10 && _root.player_energy >= _root.player_skill1_cost) { _root.player_energy -= _root.player_skill1_cost; if (Math.random() * 100 <= 10 + _root.player_lvl && _root.player_character == 'sisi') { create_bullet('shinning_beam', 17, -17, 6, 0); } player.beast.gotoAndStop('attack1'); } } } ++_root.beast_attack_counter; _root.beast_attack_counter %= 20; } }; } frame 1 { function level_20_monsters() { if (timeline == 80) { if (timeline_running == true) { create_boss('pices', difficulty, 'boss_1', 800, 500); create_boss('pices', difficulty, 'boss_2', 850, 450); timeline_running = false; } } if (timeline == 110 && _root.difficulty == 2) { if (timeline_running == true) { timeline_running = false; create_boss('giant', difficulty, 'boss_1', 800, 500); } } if (timeline == 140) { if (timeline_running == true) { timeline_running = false; create_boss('aquarius', difficulty, 'boss_1', 800, 300); } } if (timeline == 170 && _root.difficulty == 2) { if (timeline_running == true) { timeline_running = false; create_boss('virgo', difficulty, 'boss_1', 800, 300); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_boss('aries', difficulty, 'boss_1', 800, 500); } } if (timeline == 230 && _root.difficulty == 2) { if (timeline_running == true) { timeline_running = false; create_boss('scorpio', difficulty, 'boss_1', 800, 500); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_boss('cancer', difficulty, 'boss_1', 800, 500); } } if (timeline == 290) { if (timeline_running == true && _root.difficulty == 2) { timeline_running = false; create_boss('libra', difficulty, 'boss_1', 800, 300); } } if (timeline == 320) { if (timeline_running == true) { create_boss('leo', difficulty, 'boss_1', 800, 500); timeline_running = false; } } if (timeline == 325) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 330) { if (timeline_running == true) { timeline_running = false; create_boss('zodiac_memory', difficulty, 'boss_1', 800, 450); } } if (timeline == 400) { _root.kongregateStats.submit('zodiac_master', 1); if (timeline_running == true) { win_medal(6000, 10000); } } } } frame 1 { function level_19_monsters() { if (timeline == 265) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 280) { if (timeline_running == true) { create_boss('leo', difficulty, 'boss_1', 800, 500); timeline_running = false; } } if (timeline == 283) { second_bg.gotoAndPlay('time_bg'); } if (_root.event_12_happened != true) { if (timeline == 285) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndStop('event_12_1'); } } } if (timeline == 290) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 320) { if (timeline_running == true) { create_boss('creator_boss', difficulty, 'boss_1', 800, 300); timeline_running = false; } } if (timeline == 350) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('ending'); gotoAndStop('ending'); } } if (timeline == 400) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_18_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 1); create_enemy_pack('green_fish', 3); } } if (timeline == 120) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 4); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 2); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('scarab_lord', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 4); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 4); } } if (timeline == 210) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('big_turtle', 3); } } if (timeline == 230) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 3); } } if (timeline == 240) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('rock_golem', 1); create_enemy_pack('wraith', 2); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 2); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('tengu', 4); } } if (timeline == 290) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('beholder', 1); create_enemy_pack('chrono_worm', 1); } } if (timeline == 295) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 300) { if (timeline_running == true) { timeline_running = false; create_boss('libra', difficulty, 'boss_1', 800, 300); } } if (timeline == 400) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_17_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 1); } } if (timeline == 120) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 1); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('beholder', 1); create_enemy_pack('wind_mouse', 2); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 1); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 3); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); } } if (timeline == 210) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('beholder', 1); create_enemy_pack('chrono_worm', 1); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 2); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 1); } } if (timeline == 240) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 3); create_enemy_pack('wind_mouse', 1); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 1); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 2); create_enemy_pack('green_fish', 1); } } if (timeline == 290) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('beholder', 1); create_enemy_pack('wind_mouse', 2); } } if (_root.event_6_happened != true) { if (timeline == 395) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndStop('event_6_1'); } } } if (timeline == 400) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_16_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); create_enemy_pack('big_turtle', 1); create_enemy_pack('sea_serpent', 1); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 1); create_enemy_pack('big_turtle', 2); } } if (timeline == 130) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 1); } } if (timeline == 140) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 3); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 3); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('sea_serpent', 1); create_enemy_pack('big_turtle', 2); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); create_enemy_pack('big_turtle', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 2); create_enemy_pack('big_turtle', 1); } } if (timeline == 210) { auto_enemy(96, 'pack_2', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 1); create_enemy_pack('turtle', 1); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); create_enemy_pack('big_turtle', 2); } } if (timeline == 240) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 2); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 4); create_enemy_pack('big_turtle', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('sea_serpent', 1); create_enemy_pack('wraith', 1); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 1); create_enemy_pack('turtle', 2); } } if (timeline == 290) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 1); create_enemy_pack('big_turtle', 2); } } if (timeline == 295) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 300) { if (timeline_running == true) { timeline_running = false; create_boss('cancer', difficulty, 'boss_1', 800, 500); } } if (timeline == 400) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_15_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); create_enemy_pack('big_turtle', 2); } } if (timeline == 130) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 1); } } if (timeline == 140) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 3); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 3); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('beholder', 1); create_enemy_pack('big_turtle', 1); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 4); create_enemy_pack('big_turtle', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); } } if (timeline == 200) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 1); create_enemy_pack('big_turtle', 1); } } if (timeline == 210) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); create_enemy_pack('big_turtle', 3); } } if (timeline == 240) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 2); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 4); create_enemy_pack('big_turtle', 1); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('beholder', 1); create_enemy_pack('blue_fish', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); create_enemy_pack('blue_fish', 2); } } if (timeline == 290) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 1); } } if (timeline == 310) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_14_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); create_enemy_pack('cloud_hopper', 3); } } if (timeline == 130) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 1); } } if (timeline == 140) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 3); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 3); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('rock_golem', 1); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 4); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 1); create_enemy_pack('cloud_hopper', 1); } } if (timeline == 210) { auto_enemy(96, 'pack_2', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 240) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 2); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 4); create_enemy_pack('cloud_hopper', 3); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('rock_golem', 1); create_enemy_pack('volcano_beast', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); create_enemy_pack('volcano_beast', 2); } } if (timeline == 290) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 4); } } if (timeline == 295) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 300) { if (timeline_running == true) { timeline_running = false; create_boss('scorpio', difficulty, 'boss_1', 800, 500); } } if (timeline == 400) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_13_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); create_enemy_pack('cloud_hopper', 1); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 1); create_enemy_pack('cloud_hopper', 3); } } if (timeline == 130) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); } } if (timeline == 140) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 3); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 3); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 1); create_enemy_pack('cloud_hopper', 1); } } if (timeline == 210) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 1); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 240) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 2); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); create_enemy_pack('cloud_hopper', 3); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('green_fish', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 1); create_enemy_pack('green_fish', 2); } } if (timeline == 290) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 1); create_enemy_pack('dyrad', 1); } } if (_root.event_10_happened != true && _root.player_character == 'gely') { if (timeline == 295) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('event_10_1'); } } } if (timeline == 310) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_12_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); create_enemy_pack('cloud_hopper', 1); } } if (timeline == 130) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 1); } } if (timeline == 140) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 3); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 3); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('rock_golem', 1); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 1); create_enemy_pack('cloud_hopper', 1); } } if (timeline == 210) { auto_enemy(96, 'pack_2', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 240) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 2); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 4); create_enemy_pack('cloud_hopper', 3); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('rock_golem', 1); create_enemy_pack('volcano_beast', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); create_enemy_pack('volcano_beast', 2); } } if (timeline == 290) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 1); create_enemy_pack('cloud_hopper', 3); } } if (timeline == 295) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 300) { if (timeline_running == true) { timeline_running = false; create_boss('aries', difficulty, 'boss_1', 800, 500); } } if (timeline == 400) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_11_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 4); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); create_enemy_pack('wind_mouse', 1); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 3); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 1); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 3); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('rock_golem', 1); create_enemy_pack('volcano_beast', 1); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 4); create_enemy_pack('wind_mouse', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); } } if (timeline == 210) { auto_enemy(96, 'pack_2', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('rock_golem', 1); create_enemy_pack('volcano_beast', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 2); create_enemy_pack('wind_mouse', 2); } } if (timeline == 240) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 2); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 4); create_enemy_pack('wind_mouse', 3); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('volcano_beast', 1); create_enemy_pack('volcano_beast', 2); } } if (timeline == 290) { auto_enemy(96, 'pack_1', 'volcano_beast'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wraith', 1); } } if (_root.event_8_happened != true && _root.player_character == 'nera') { if (timeline == 300) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('event_8_1'); } } } if (timeline == 310) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_10_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 4); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); create_enemy_pack('harpy_hag', 1); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 3); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('big_turtle', 1); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 3); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('sea_serpent', 1); create_enemy_pack('harpy', 1); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 4); create_enemy_pack('harpy_hag', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 2); } } if (timeline == 210) { auto_enemy(96, 'pack_2', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('sea_serpent', 1); create_enemy_pack('harpy', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 2); create_enemy_pack('harpy_hag', 2); } } if (timeline == 240) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('big_turtle', 2); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 4); create_enemy_pack('harpy_hag', 3); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); create_enemy_pack('harpy', 2); } } if (timeline == 290) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('big_turtle', 1); } } if (timeline == 295) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 300) { if (timeline_running == true) { timeline_running = false; create_boss('aquarius', difficulty, 'boss_1', 800, 300); } } if (timeline == 410) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_9_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 1); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('harpy', 1); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 210) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('green_fish', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 2); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 1); } } if (timeline == 240) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 1); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); create_enemy_pack('harpy', 2); } } if (timeline == 290) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('chrono_worm', 1); } } if (timeline == 295) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 300) { if (timeline_running == true) { timeline_running = false; create_boss('virgo', difficulty, 'boss_1', 800, 300); } } if (timeline == 410) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_8_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 1); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('sea_serpent', 1); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('sea_serpent', 1); create_enemy_pack('harpy_hag', 1); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 210) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 1); create_enemy_pack('blue_fish', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 2); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); } } if (timeline == 240) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('sea_serpent', 1); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); create_enemy_pack('harpy', 1); } } if (timeline == 290) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 1); } } if (_root.event_9_happened != true && _root.player_character == 'sisi') { if (timeline == 295) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('event_9_1'); } } } if (timeline == 300) { if (timeline_running == true) { } } if (timeline == 310) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_7_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 1); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 1); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('beholder', 1); create_enemy_pack('harpy_hag', 1); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 210) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 1); create_enemy_pack('blue_fish', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); } } if (timeline == 240) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('beholder', 1); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 1); create_enemy_pack('blue_fish', 1); } } if (timeline == 290) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 1); } } if (timeline == 300) { if (timeline_running == true) { } } if (timeline == 310) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_6_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 1); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 1); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 1); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('scarab_lord', 1); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 210) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 1); create_enemy_pack('turtle', 2); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 2); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 1); } } if (timeline == 240) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('turtle', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 2); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 1); create_enemy_pack('turtle', 1); } } if (timeline == 290) { auto_enemy(96, 'pack_1', 'turtle'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('scarab_lord', 1); create_enemy_pack('dyrad', 1); } } if (timeline == 300) { if (timeline_running == true) { } } if (timeline == 310) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_5_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 1); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 2); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 4); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('tengu', 1); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 2); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('harpy_hag', 1); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('tengu', 4); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 4); } } if (timeline == 210) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 2); create_enemy_pack('harpy', 4); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('tengu', 3); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 1); } } if (timeline == 240) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 4); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 3); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('tengu', 3); create_enemy_pack('harpy', 1); } } if (timeline == 290) { auto_enemy(96, 'pack_1', 'harpy'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('harpy_hag', 2); } } if (timeline == 295) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 300) { if (timeline_running == true) { create_boss('giant', difficulty, 'boss_1', 800, 500); timeline_running = false; } } if (_root.event_5_happened != true) { if (timeline == 395) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndStop('event_5_1'); } } } if (timeline == 400) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_4_monsters() { if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 1); } } if (timeline == 120) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('tengu', 2); create_enemy_pack('green_fish', 2); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('tengu', 1); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('tengu', 2); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('wind_mouse', 1); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('tengu', 3); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); } } if (timeline == 210) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('wind_mouse', 1); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('tengu', 2); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 1); } } if (timeline == 240) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 3); create_enemy_pack('tengu', 1); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 1); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('tengu', 2); create_enemy_pack('green_fish', 1); } } if (timeline == 290) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('tengu', 2); } } if (timeline == 310) { if (timeline_running == true) { win_medal(2000, 3000); } } } } frame 1 { function level_3_monsters() { if (_root.event_4_happened != true) { if (timeline == 100) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndStop('event_4_1'); } } } if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 1); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 3); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 3); create_enemy_pack('cloud_hopper', 3); } } if (timeline == 160) { auto_enemy(128, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 3); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 4); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); } } if (timeline == 210) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 240) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 4); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 3); create_enemy_pack('cloud_hopper', 1); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('green_fish', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); create_enemy_pack('green_fish', 1); } } if (timeline == 290) { auto_enemy(96, 'pack_2', 'green_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('dyrad', 1); } } if (timeline == 310) { if (timeline_running == true) { win_medal(2000, 3000); } } } } frame 1 { function level_2_monsters() { if (_root.event_2_happened != true) { if (timeline == 100) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndStop('event_2_1'); } } } if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); create_enemy_pack('cloud_hopper', 1); } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 3); create_enemy_pack('cloud_hopper', 2); } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('wind_mouse', 1); create_enemy_pack('blue_fish', 4); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); create_enemy_pack('cloud_hopper', 3); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); create_enemy_pack('wind_mouse', 1); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 4); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('big_turtle', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 3); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); create_enemy_pack('sea_serpent', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 4); } } if (timeline == 210) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 2); create_enemy_pack('wind_mouse', 1); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); create_enemy_pack('blue_fish', 4); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); create_enemy_pack('blue_fish', 1); } } if (timeline == 240) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 3); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); create_enemy_pack('wind_mouse', 1); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 2); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); create_enemy_pack('blue_fish', 4); } } if (timeline == 290) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); create_enemy_pack('wind_mouse', 1); } } if (timeline == 295) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndPlay('danger'); } } if (timeline == 300) { if (timeline_running == true) { create_enemy_pack('blue_fish', 3); create_enemy_pack('blue_fish', 2); create_boss('pices', difficulty, 'boss_1', 800, 500); create_boss('pices', difficulty, 'boss_2', 850, 450); timeline_running = false; } } if (_root.event_3_happened != true) { if (timeline == 395) { _root.kongregateStats.submit('dream_fisher', 1); if (timeline_running == true) { timeline_running = false; event_mv.gotoAndStop('event_3_1'); } } } if (timeline == 400) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function level_1_monsters() { if (_root.event_1_happened != true) { if (timeline == 100) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndStop('event_1_1'); } } } if (timeline == 110) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); } } if (_root.event_1_happened != true) { if (timeline == 115) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndStop('event_1_2'); } } } if (timeline == 120) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); create_enemy_pack('cloud_hopper', 2); } } if (_root.event_1_happened != true) { if (timeline == 125) { if (timeline_running == true) { timeline_running = false; event_mv.gotoAndStop('event_1_3'); } } } if (timeline == 130) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 4); } } if (timeline == 140) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); create_enemy_pack('cloud_hopper', 3); } } if (timeline == 150) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); create_enemy_pack('big_turtle', 1); } } if (timeline == 160) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('sea_serpent', 1); } } if (timeline == 170) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 180) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 3); } } if (timeline == 190) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 1); create_enemy_pack('sea_serpent', 1); } } if (timeline == 200) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 4); } } if (timeline == 210) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 4); create_enemy_pack('big_turtle', 1); } } if (timeline == 220) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); create_enemy_pack('blue_fish', 4); } } if (timeline == 230) { auto_enemy(96, 'pack_1', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); create_enemy_pack('big_turtle', 1); } } if (timeline == 240) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 3); } } if (timeline == 250) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 3); create_enemy_pack('blue_fish', 2); } } if (timeline == 260) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('blue_fish', 2); } } if (timeline == 270) { auto_enemy(96, 'pack_2', 'blue_fish'); if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); } } if (timeline == 280) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); create_enemy_pack('blue_fish', 4); } } if (timeline == 290) { if (timeline_running == true) { timeline_running = false; create_enemy_pack('cloud_hopper', 3); create_enemy_pack('big_turtle', 1); } } if (timeline == 300) { if (timeline_running == true) { create_enemy_pack('cloud_hopper', 3); create_enemy_pack('sea_serpent', 1); timeline_running = false; } } if (timeline == 400) { if (timeline_running == true) { win_medal(2500, 3500); } } } } frame 1 { function create_enemy_pack(unit_name, pack_type) { if (unit_name == 'blue_fish' or unit_name == 'green_fish' or unit_name == 'volcano_beast' or unit_name == 'turtle' or unit_name == 'harpy') { if (pack_type == 1) { create_monster(unit_name, difficulty, 740, 150, 9, 0); create_monster(unit_name, difficulty, 760, 200, 9, 0); create_monster(unit_name, difficulty, 780, 250, 9, 0); create_monster(unit_name, difficulty, 800, 300, 9, 0); } else { if (pack_type == 2) { create_monster(unit_name, difficulty, 720, 100, 9, 0); create_monster(unit_name, difficulty, 740, 150, 9, 0); create_monster(unit_name, difficulty, 760, 200, 9, 0); create_monster(unit_name, difficulty, 780, 250, 9, 0); create_monster(unit_name, difficulty, 800, 300, 9, 0); create_monster(unit_name, difficulty, 820, 350, 9, 0); } else { if (pack_type == 4) { create_monster(unit_name, difficulty, 740, 150, 9, 0); create_monster(unit_name, difficulty, 760, 200, 9, 0); create_monster(unit_name, difficulty, 780, 250, 9, 0); create_monster(unit_name, difficulty, 800, 300, 9, 0); create_monster(unit_name, difficulty, 820, 350, 9, 0); create_monster(unit_name, difficulty, 740, 400, 9, 0); create_monster(unit_name, difficulty, 760, 350, 9, 0); create_monster(unit_name, difficulty, 780, 300, 9, 0); create_monster(unit_name, difficulty, 800, 250, 9, 0); create_monster(unit_name, difficulty, 820, 200, 9, 0); } else { if (pack_type == 3) { create_monster(unit_name, difficulty, 700, player._y, 9, 0); create_monster(unit_name, difficulty, 720, player._y + 40, 9, 0); create_monster(unit_name, difficulty, 720, player._y - 40, 9, 0); create_monster(unit_name, difficulty, 740, player._y + 60, 9, 0); create_monster(unit_name, difficulty, 740, player._y - 60, 9, 0); create_monster(unit_name, difficulty, 760, player._y + 80, 9, 0); create_monster(unit_name, difficulty, 760, player._y - 80, 9, 0); } } } } } else { if (unit_name == 'cloud_hopper' or unit_name == 'tengu' or unit_name == 'harpy_hag' or unit_name == 'big_turtle' or unit_name == 'wind_mouse' or unit_name == 'chrono_worm' or unit_name == 'wraith' or unit_name == 'scarab_lord') { if (pack_type == 1) { create_monster(unit_name, difficulty, 750 + Math.random() * 100, 300, 9, 0); } else { if (pack_type == 2) { create_monster(unit_name, difficulty, 750 + Math.random() * 100, player._y - Math.random() * 80 + 40, 9, 0); create_monster(unit_name, difficulty, 750 + Math.random() * 100, player._y - Math.random() * 80 + 80, 9, 0); } else { if (pack_type == 3) { create_monster(unit_name, difficulty, 750 + Math.random() * 100, player._y - Math.random() * 80 + 40, 8, 0); create_monster(unit_name, difficulty, 750 + Math.random() * 100, player._y - Math.random() * 80 + 40, 8, 0); create_monster(unit_name, difficulty, 750 + Math.random() * 100, player._y - Math.random() * 80 + 80, 8, 0); } else { if (pack_type == 4) { create_monster(unit_name, difficulty, 750 + Math.random() * 100, player._y - Math.random() * 80 + 40, 9, 0); create_monster(unit_name, difficulty, 750 + Math.random() * 100, player._y - Math.random() * 80 + 80, 9, 0); create_monster(unit_name, difficulty, 750 + Math.random() * 100, player._y - Math.random() * 80 + 40, 9, 0); create_monster(unit_name, difficulty, 750 + Math.random() * 100, player._y - Math.random() * 80 + 80, 9, 0); } } } } } else { if (unit_name == 'dyrad' or unit_name == 'beholder' or unit_name == 'rock_golem' or unit_name == 'sea_serpent') { if (pack_type == 1) { create_monster(unit_name, difficulty, 760, 500, 9, 0); } else { if (pack_type == 2) { } } } } } } function win_medal(input_1, input_2) { if (timespent <= input_1) { _root[_root.current_map + '_medal'] = 4; } else { if (timespent <= input_2) { _root[_root.current_map + '_medal'] = 3; } else { if (timespent > input_2) { _root[_root.current_map + '_medal'] = 2; } } } stage_clear_mv.gotoAndPlay(5); timeline_running = false; Mouse.show(); } } frame 1 { function auto_enemy(fequency, type, unit_name) { ++auto_enemy_timer; auto_enemy_timer %= fequency; if (auto_enemy_timer == 2) { if (type == 'pack_1') { create_monster(unit_name, difficulty, 700, player._y, 9, 0); create_monster(unit_name, difficulty, 720, player._y + 40, 9, 0); create_monster(unit_name, difficulty, 740, player._y - 40, 9, 0); } else { if (type == 'pack_2') { create_monster(unit_name, difficulty, 720, player._y + 40, 9, 0); create_monster(unit_name, difficulty, 720, player._y - 40, 9, 0); create_monster(unit_name, difficulty, 740, player._y + 60, 9, 0); create_monster(unit_name, difficulty, 740, player._y - 60, 9, 0); create_monster(unit_name, difficulty, 760, player._y + 80, 9, 0); } } } } function win_lose(condition) { if (condition == 'win') { Key.removeListener(my_listener); gotoAndStop(1); _parent.gotoAndStop('main_UI'); } if (condition == 'lose') { stage_clear_mv.gotoAndPlay(25); timeline_running = false; Mouse.show(); } } function event_manager() { ++count_timer; count_timer %= 3; if (count_timer == 2) { temp = count_clips(monster_layer) + count_clips(boss_layer); if (temp == 0 && event_mv._currentframe == 1) { stage_speed = 2; timeline_running = true; } } if (timeline_running == true) { ++timeline; } else { if (event_mv._currentframe == 1) { ++timespent; } } this[_root.current_map + '_monsters'](); } auto_enemy_timer = 0; timeline_running = true; timeline = 0; timespent = 0; _root.player_crimson_stone_temp = _root.player_crimson_stone; _root.player_azure_stone_temp = _root.player_azure_stone; } frame 1 { trace_btn.onRelease = function () { for (i in monster_layer) { if (typeof monster_layer[i] == 'movieclip') { trace(monster_layer[i]); trace('HP:' + monster_layer[i].HP); trace('ID:' + monster_layer[i].id); trace('X:' + monster_layer[i]._x); trace('Y:' + monster_layer[i]._y); trace('Frozen:' + monster_layer[i]._frozen); trace('==================='); } } }; fg1.swapDepths(201); fg2.swapDepths(200); UI.swapDepths(300); stage_clear_mv.swapDepths(301); event_mv.swapDepths(302); player.swapDepths(99); pause_timer = 0; stage_speed = 2; if (_root.esis_feature == 1) { this.attachMovie('esis', 'player', 50); } else { this.attachMovie(_root.player_character, 'player', 50); } player.gotoAndStop(_root.player_beast); exp_gained = 0; player._x = 400; player._y = 200; allow_control = true; player.onEnterFrame = function () { if (pausing == false) { event_manager(); if (allow_control == true) { mouse_control(); recovery_function(); } bg_scrolling_function(); } else { ++pause_timer; pause_timer %= 8; if (pause_timer == 5) { pausing_stuff(loot_layer, 'pause'); pausing_stuff(bullet_layer, 'pause'); pausing_stuff(enemy_bullet_layer, 'pause'); } } }; _root.play_music(_root.battle_music_1); } frame 5 { level_difficulty = _root.level_1_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 6 { level_difficulty = _root.level_2_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 7 { level_difficulty = _root.level_3_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 8 { level_difficulty = _root.level_4_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 9 { level_difficulty = _root.level_5_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 15 { level_difficulty = _root.level_6_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 16 { level_difficulty = _root.level_7_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 17 { level_difficulty = _root.level_8_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 18 { level_difficulty = _root.level_9_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 19 { level_difficulty = _root.level_10_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 25 { level_difficulty = _root.level_11_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 26 { level_difficulty = _root.level_12_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 27 { level_difficulty = _root.level_13_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 28 { level_difficulty = _root.level_14_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 29 { level_difficulty = _root.level_15_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 39 { level_difficulty = _root.level_16_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 40 { level_difficulty = _root.level_17_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 41 { level_difficulty = _root.level_18_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 42 { level_difficulty = _root.level_19_difficulty; difficulty = _root.difficulty * level_difficulty; } frame 43 { level_difficulty = _root.level_19_difficulty; difficulty = _root.difficulty * level_difficulty; } } frame 17 { if (_root._quality == 'LOW') { current_quality = 'LOW'; } else { if (_root._quality == 'MEDIUM') { current_quality = 'MEDIUM'; } else { if (_root._quality == 'HIGH') { current_quality = 'HIGH'; } } } Key.addListener(option_key_listener); } frame 17 { skip_btn.onRelease = function () { opening_mv.gotoAndPlay('opening_end'); }; } movieClip 5005 { } movieClip 5007 { } movieClip 5008 { } movieClip 5009 { } movieClip 5010 { } movieClip 5011 { } movieClip 5012 { } movieClip 5014 { } movieClip 5019 { } movieClip 5021 { } // unknown tag 88 length 213 movieClip 5032 { } movieClip 5033 { frame 896 { _root.play_music(_root.tittle_music); } frame 1783 { _root.gotoAndStop('pre_UI'); } } movieClip 5035 { } movieClip 5036 { } frame 18 { _root.play_music(_root.tittle_music); Mouse.show(); temp_beast = 'none'; temp_beast = player_lvl1_beast; if (_root.difficulty == 2) { transfer_btn._visible = false; } transfer_btn.onRelease = function () { if (_root.difficulty == 0.7) { _root.difficulty = 1; } if (_root.difficulty == 1) { _root.difficulty = 2; } player_beast = temp_beast; _root.set_char_stat(_root.player_character, true); player_lvl1_beast = temp_beast; if (player_beast == 'salamander') { player_alignment_red = 1; player_alignment_blue = 0; } if (player_beast == 'ladon') { player_alignment_red = 0; player_alignment_blue = 1; } _root.cal_equip('equip', _root.player_gear_1); _root.cal_equip('equip', _root.player_gear_2); _root.calculate_player_stat(true); if (record_mv.dis_rank == 'Fabled Dreamer' or record_mv.dis_rank == 'Legendary Dreamer') { _root.player_pts += 2; } _root.player_pts += 2; level_1_medal = 1; level_2_medal = 1; level_3_medal = 1; level_4_medal = 1; level_5_medal = 1; level_6_medal = 1; level_7_medal = 1; level_8_medal = 1; level_9_medal = 1; level_10_medal = 1; level_11_medal = 1; level_12_medal = 1; level_13_medal = 1; level_14_medal = 1; level_15_medal = 1; level_16_medal = 1; level_17_medal = 1; level_18_medal = 1; level_19_medal = 1; level_20_medal = 1; event_1_happened = false; event_2_happened = false; event_3_happened = false; event_4_happened = false; event_5_happened = false; event_6_happened = false; event_7_happened = false; event_8_happened = false; event_9_happened = false; event_10_happened = false; event_11_happened = false; event_12_happened = false; event_13_happened = false; event_14_happened = false; event_15_happened = false; event_16_happened = false; event_17_happened = false; event_18_happened = false; event_19_happened = false; event_20_happened = false; _root.current_day = 1; _root.gotoAndStop('main_UI'); }; } movieClip 5044 { } movieClip 5047 { } movieClip 5048 { frame 47 { gotoAndPlay(20); } } movieClip 5050 { } movieClip 5058 { frame 1 { if (_root.player_character == 'nera') { dis_name = 'Neraine'; } else { if (_root.player_character == 'gely') { dis_name = 'Gelyan'; } else { if (_root.player_character == 'sisi') { dis_name = 'Sisily'; } } } if (_root.difficulty == 0.7) { dis_mode = 'Pleasant Dream'; } else { if (_root.difficulty == 1) { dis_mode = 'Lucid Dream'; } else { if (_root.difficulty == 2) { dis_mode = 'Nightmare'; } } } if (_root.level_20_medal >= 1) { dis_infinity_space = 'Cleared!'; bonus_day = 10; } else { dis_infinity_space = 'Not completed'; bonus_day = 0; } dis_beast = _root.player_beast; score = _root.current_day - bonus_day; if (_root.difficulty == 2) { _root.kongregateStats.submit('epic_dreamer', 1); dis_rank = 'Epic Dreamer'; } else { if (_root.difficulty == 1) { if (score <= 40) { _root.kongregateStats.submit('legendary_dreamer', 1); dis_rank = 'Legendary Dreamer'; } else { dis_rank = 'Dream Slayer'; } } else { if (_root.difficulty == 0.7) { if (score <= 40) { _root.kongregateStats.submit('fabled_dreamer', 1); dis_rank = 'Fabled Dreamer'; } else { dis_rank = 'Dream Breaker'; } } } } } }




http://swfchan.com/18/89286/info.shtml
Created: 29/3 -2019 01:53:38 Last modified: 29/3 -2019 01:53:38 Server time: 28/04 -2024 05:09:49