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

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

ELEMENTAR.swf

This is the info page for
Flash #172826

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


ActionScript [AS1/AS2]
Combined Code
movieClip 25 { } movieClip 30 { } movieClip 31 { } movieClip 32 enFIRE { instance _mc of movieClip 31 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 60; SHOT = 'FIRE'; POWER = 16; XsizeL = -19; XsizeR = 20; YsizeU = -20; YsizeD = 19; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((_global.bcHPMAX == 0 || _global.bcHP > 0) && TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_fire'; } _global.pcDAME = 60; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { TIME = 0; } HTx += (HTx == -19) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { TIME = 0; } HTy += (HTy == -20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); _parent.removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 34 { } movieClip 36 { } movieClip 37 { } movieClip 38 { } movieClip 39 enTHUNDERmp { instance _mc of movieClip 38 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 30; SHOT = 'THUNDER'; POWER = 16; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((_global.bcHPMAX == 0 || _global.bcHP > 0) && TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { if (random(2) == 0) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x; (eval('_parent._parent.mn_mc' + i))._y = 400; break; } ++i; } } _parent.removeMovieClip(); } ppy = _parent._y + _parent._parent._y; ppx = _parent._x + _parent._parent._x; if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.THUNDERhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { } _global.pcDAME = 60; } if (TIME > 0) { TIME -= 1; } } } } movieClip 40 enTHUNDER { instance _mc of movieClip 38 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 30; SHOT = 'THUNDER'; POWER = 16; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((_global.bcHPMAX == 0 || _global.bcHP > 0) && TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { _parent.removeMovieClip(); } ppy = _parent._y + _parent._parent._y; ppx = _parent._x + _parent._parent._x; if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.THUNDERhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { } _global.pcDAME = 60; } if (TIME > 0) { TIME -= 1; } } } } movieClip 42 { } movieClip 43 { } movieClip 44 enICERAIN { instance _mc of movieClip 43 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; dx = 0; dy = 0; dxy = 17; TIME = 300; SHOT = 'ICE'; POWER = 12; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0 || TIME <= 0) { _parent.removeMovieClip(); } dx = int(dxy * Math.cos(Math.PI * _parent._rotation / 180)); dy = int(dxy * Math.sin(Math.PI * _parent._rotation / 180)); if (TIME < 300 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.ICEhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_ice'; } _global.pcDAME = 60; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (_parent._parent.map_mc.hitTest(ppx + dx, ppy + dy, true)) { TIME = 0; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); _parent.removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 46 { } movieClip 47 { } movieClip 48 { } movieClip 49 enICE { instance _mc of movieClip 48 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 40; SHOT = 'ICE'; POWER = 12; XsizeL = -9; XsizeR = 10; YsizeU = -10; YsizeD = 9; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((_global.bcHPMAX == 0 || _global.bcHP > 0) && TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.ICEhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_ice'; } _global.pcDAME = 60; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { TIME = 0; } HTx += (HTx == -9) ? 19 : 20; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { TIME = 0; } HTy += (HTy == -10) ? 19 : 20; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); _parent.removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 54 { frame 19 { _parent.TIME = 0; } } movieClip 55 { } movieClip 56 enEARTHmp { instance _mc of movieClip 55 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; for (;;) { if (!(!_parent._parent.map_mc.hitTest(ppx, ppy, true) && ppy < 720)) break; _parent._y += 1; ppy = _parent._y + _parent._parent._y; if (720 < ppy) { _parent.removeMovieClip(); } } TIME = 20; SHOT = 'EARTH'; POWER = 20; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((_global.bcHPMAX == 0 || _global.bcHP > 0) && TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { if (random(2) == 0) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x + ((_parent._xscale == 100) ? 140 : -140); (eval('_parent._parent.mn_mc' + i))._y = 400; break; } ++i; } } _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.EARTHhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { } _global.pcDAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 57 enEARTH { instance _mc of movieClip 55 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; for (;;) { if (!(!_parent._parent.map_mc.hitTest(ppx, ppy, true) && ppy < 720)) break; _parent._y += 1; ppy = _parent._y + _parent._parent._y; if (720 < ppy) { _parent.removeMovieClip(); } } TIME = 20; SHOT = 'EARTH'; POWER = 20; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((_global.bcHPMAX == 0 || _global.bcHP > 0) && TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.EARTHhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { } _global.pcDAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 58 pcFIRE { instance _mc of movieClip 31 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 60; SHOT = 'FIRE'; POWER = 16; XsizeL = -19; XsizeR = 20; YsizeU = -20; YsizeD = 19; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { _parent.removeMovieClip(); } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { TIME = 0; } HTx += (HTx == -19) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { TIME = 0; } HTy += (HTy == -20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (TIME > 0) { TIME -= 1; } } } } movieClip 59 pcTHUNDER { instance _mc of movieClip 38 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 30; SHOT = 'THUNDER'; POWER = 8; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { _parent.removeMovieClip(); } ppy = _parent._y + _parent._parent._y; ppx = _parent._x + _parent._parent._x; if (TIME > 0) { TIME -= 1; } } } } movieClip 60 pcICE { instance _mc of movieClip 43 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 40; SHOT = 'ICE'; POWER = 12; XsizeL = -9; XsizeR = 10; YsizeU = -10; YsizeD = 9; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { _parent.removeMovieClip(); } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { TIME = 0; } HTx += (HTx == -9) ? 19 : 20; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { TIME = 0; } HTy += (HTy == -10) ? 19 : 20; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (TIME > 0) { TIME -= 1; } } } } movieClip 61 { frame 19 { _parent._parent.removeMovieClip(); } } movieClip 62 { } movieClip 63 pcEARTH { instance _mc of movieClip 62 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; for (;;) { if (!(!_parent._parent.map_mc.hitTest(ppx, ppy, true) && ppy < 720)) break; _parent._y += 1; ppy = _parent._y + _parent._parent._y; if (720 < ppy) { _parent.removeMovieClip(); } } TIME = 20; SHOT = 'EARTH'; POWER = 20; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { _parent.removeMovieClip(); } if (TIME > 0) { TIME -= 1; } } } } movieClip 65 { } movieClip 67 { } movieClip 70 { } movieClip 72 { } movieClip 74 { } movieClip 76 { } movieClip 78 { frame 201 { _parent.removeMovieClip(); } } movieClip 79 CORE { } movieClip 80 { } movieClip 81 { frame 61 { gotoAndPlay(1); } } movieClip 88 { } movieClip 89 { } movieClip 94 { } movieClip 102 { frame 15 { stop(); } } movieClip 110 { frame 15 { stop(); } } movieClip 118 { frame 15 { stop(); } } movieClip 126 { frame 15 { stop(); } } movieClip 134 { frame 15 { stop(); } } movieClip 135 { frame 1 { stop(); } } movieClip 136 { } movieClip 137 { frame 151 { stop(); } } movieClip 138 { } movieClip 139 { frame 61 { gotoAndPlay(1); } } movieClip 140 { } movieClip 141 { frame 61 { gotoAndPlay(1); } } movieClip 142 { } movieClip 143 { frame 61 { gotoAndPlay(1); } } movieClip 144 { } movieClip 145 { frame 61 { gotoAndPlay(1); } } movieClip 146 { } movieClip 147 enBOLL { instance _mc of movieClip 146 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; dx = 0; dy = 0; dxy = 0; dxy2 = 20; RYONA = false; rx = 0; ry = 0; gotoAndStop(SHOT); switch (SHOT) { case 'DARK': TIME = 150; break; case 'FIRE': _parent._xscale = 300; _parent._yscale = 300; TIME = 340; break; case 'ICE': _parent._xscale = 300; _parent._yscale = 300; TIME = 340; break; case 'THUNDER': _parent._xscale = 300; _parent._yscale = 300; TIME = 181; break; case 'EARTH': _parent._xscale = 300; _parent._yscale = 300; TIME = 600; } } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0 || TIME <= 0) { _parent.removeMovieClip(); } switch (SHOT) { case 'DARK': if (_global.pcHP > 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _global.pcHP = 0; _global.pcDAME = 60; if (TIME < 15) { TIME = 15; } rx = _parent._parent.pc_mc._x; ry = _parent._parent.pc_mc._y; RYONA = true; if (_parent._rotation == 0) { _parent._parent.pc_mc._visible = false; _mc.laser_mc.pc_mc.gotoAndStop('up'); if (_parent._parent.pc_mc._mc.MIGI) { _mc.laser_mc.pc_mc._xscale = 100; } else { _mc.laser_mc.pc_mc._xscale = -100; } _mc.laser_mc.pc_mc._x = 0; _mc.laser_mc.pc_mc._y = ry - _parent._y; } else { if (_parent._parent.pc_mc._y < 380) { _parent._parent.pc_mc._visible = false; if (_parent._parent.pc_mc._mc.MIGI && _parent._yscale == 100 || !_parent._parent.pc_mc._mc.MIGI && _parent._yscale == -100) { _mc.laser_mc.pc_mc.gotoAndStop('sideAtrue'); } else { _mc.laser_mc.pc_mc.gotoAndStop('sideAfalse'); } _mc.laser_mc.pc_mc._x = 15; _mc.laser_mc.pc_mc._y = Math.abs(rx - _parent._x); } else { _global.MISS = 'miss_laser'; if (_parent._parent.pc_mc._mc.MIGI && _parent._yscale == 100 || !_parent._parent.pc_mc._mc.MIGI && _parent._yscale == -100) { _mc.laser_mc.pc_mc.gotoAndStop('sideBtrue'); } else { _mc.laser_mc.pc_mc.gotoAndStop('sideBfalse'); } _mc.laser_mc.pc_mc._x = 100; _mc.laser_mc.pc_mc._y = Math.abs(rx - _parent._x); } } } if (RYONA) { _parent._parent.pc_mc._x = rx; _parent._parent.pc_mc._y = ry; _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._mc.dy = 0; } break; case 'FIRE': if (TIME > 300) { dy = -5; } else { if (TIME == 300 || TIME == 270 || TIME == 240) { dy = 0; _root.FIRE_se.start(); tmc = _parent._parent.attachMovie('enFLAMESHOTnomp', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._x; tmc._y = _parent._y; tmc._rotation = Math.round(180 * Math.atan((440 - _parent._y) / (_parent._parent.pc_mc._x - _parent._x)) / Math.PI); if (_parent._parent.pc_mc._x < _parent._x) { tmc._rotation += 180; } _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } else { if (TIME < 240) { _parent._visible = false; } } } break; case 'ICE': if (TIME > 300) { dy = -5; } else { if (TIME == 300 || TIME == 280 || TIME == 260 || TIME == 240 || TIME == 220 || TIME == 200) { dy = 0; _root.ICE_se.start(); if (TIME == 300 || TIME == 260 || TIME == 220) { i = 1; while (i <= 5) { tmc = _parent._parent.attachMovie('enICERAIN', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._x; tmc._y = _parent._y; tmc._rotation = 30 * i; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } ++i; } } else { if (TIME == 280 || TIME == 240 || TIME == 200) { i = 1; while (i <= 6) { tmc = _parent._parent.attachMovie('enICERAIN', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._x; tmc._y = _parent._y; tmc._rotation = -15 + 30 * i; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } ++i; } } } } else { if (TIME < 200) { _parent._visible = false; } } } break; case 'THUNDER': if (_parent._x < _parent._parent.pc_mc._x) { dx += 1; if (dx > 15) { dx = 15; } } else { if (_parent._x > _parent._parent.pc_mc._x) { dx += -1; if (dx < -15) { dx = -15; } } } if (TIME == 151 || TIME == 121 || TIME == 91 || TIME == 61 || TIME == 31 || TIME == 1) { _root.THUNDER_se.start(); tmc = _parent._parent.attachMovie('enTHUNDER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._x; tmc._y = _parent._y; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } break; case 'EARTH': if (TIME > 300) { dy = 5; } else { if (TIME == 300 || TIME == 291 || TIME == 282) { tmc = _parent._parent.attachMovie('enEARTH', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._x + ((300 - TIME) / 9) * 180; tmc._y = 440; tmc._xscale = 100; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent.attachMovie('enEARTH', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._x - ((300 - TIME) / 9) * 180; tmc._y = 440; tmc._xscale = -100; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } else { dy = 0; _parent._visible = false; } } } _parent._y += dy; if (SHOT == 'EARTH' && _parent._y >= 440 && TIME > 301) { _parent._y = 440; TIME = 301; } ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (TIME > 0) { TIME -= 1; } } } } movieClip 149 { } movieClip 151 { } movieClip 152 { } movieClip 154 { } movieClip 156 { } movieClip 157 { } movieClip 159 { } movieClip 161 { } movieClip 162 { } movieClip 164 { } movieClip 166 { } movieClip 167 { } movieClip 169 { } movieClip 171 { } movieClip 172 { } movieClip 173 { } movieClip 174 enSWORD { instance _mc of movieClip 173 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; dx = 0; dy = 0; dxy = 0; dxy2 = 20; POWER = 20; COUNT = 0; COUNT2 = 1; _parent._rotation = Math.round(180 * Math.atan((_parent._parent.pc_mc._y - _parent._y) / (_parent._parent.pc_mc._x - _parent._x)) / Math.PI); if (_parent._parent.pc_mc._x < _parent._x) { _parent._rotation += 180; } gotoAndStop(SHOT); } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0 || TIME <= 0) { _parent.removeMovieClip(); } if (TIME > 300) { _parent._rotation = Math.round(180 * Math.atan((_parent._parent.pc_mc._y - _parent._y) / (_parent._parent.pc_mc._x - _parent._x)) / Math.PI); if (_parent._parent.pc_mc._x < _parent._x) { _parent._rotation += 180; } dxy = 0; COUNT = 0; if (SHOT == 'DARK') { POWER = 20; dxy2 = 20; COUNT2 = 2; } else { if (SHOT == 'FIRE') { POWER = 20; dxy2 = 20; COUNT2 = 1; } else { if (SHOT == 'ICE') { POWER = 16; dxy2 = 20; COUNT2 = 0; } else { if (SHOT == 'THUNDER') { POWER = 16; dxy2 = 40; COUNT2 = 0; } else { if (SHOT == 'EARTH') { POWER = 24; dxy2 = 20; COUNT2 = 4; } } } } } } else { dx = int(dxy * Math.cos(Math.PI * _parent._rotation / 180)); dy = int(dxy * Math.sin(Math.PI * _parent._rotation / 180)); } if (TIME < 300 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { if (45 < Math.abs(_parent._rotation) && Math.abs(_parent._rotation) < 135) { _global.MISS = 'miss_ryoudann'; } else { _global.MISS = 'miss_zyougebunndann'; } } _global.pcDAME = 60; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (TIME > 0) { TIME -= 1; } if (++COUNT >= COUNT2) { COUNT = 0; if (dxy < dxy2) { dxy += 1; } } } } } movieClip 178 { } movieClip 179 { } movieClip 180 enFLAMESHOTnomp { instance _mc of movieClip 179 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; dx = 0; dy = 0; dxy = 15; TIME = 300; SHOT = 'FIRE'; POWER = 30; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0) { _parent.removeMovieClip(); } if (TIME == 300) { dx = int(dxy * Math.cos(Math.PI * _parent._rotation / 180)); dy = int(dxy * Math.sin(Math.PI * _parent._rotation / 180)); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_fire'; } _global.pcDAME = 60; } if (_parent._parent.map_mc.hitTest(int(80 * Math.cos(Math.PI * _parent._rotation / 180)) + ppx + dx, int(80 * Math.sin(Math.PI * _parent._rotation / 180)) + ppy + dy, true)) { TIME = 0; tmc = _parent._parent.attachMovie('enFIREWALLnomp', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = int(80 * Math.cos(Math.PI * _parent._rotation / 180)) + _parent._x + dx; tmc._y = 440; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } _parent.removeMovieClip(); } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 181 enFLAMESHOT { instance _mc of movieClip 179 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; dx = 0; dy = 0; dxy = 15; TIME = 300; SHOT = 'FIRE'; POWER = 30; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0) { _parent.removeMovieClip(); } if (TIME == 300) { dx = int(dxy * Math.cos(Math.PI * _parent._rotation / 180)); dy = int(dxy * Math.sin(Math.PI * _parent._rotation / 180)); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_fire'; } _global.pcDAME = 60; } if (_parent._parent.map_mc.hitTest(int(80 * Math.cos(Math.PI * _parent._rotation / 180)) + ppx + dx, int(80 * Math.sin(Math.PI * _parent._rotation / 180)) + ppy + dy, true)) { TIME = 0; tmc = _parent._parent.attachMovie('enFIREWALL', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = int(80 * Math.cos(Math.PI * _parent._rotation / 180)) + _parent._x + dx; tmc._y = 440; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } _parent.removeMovieClip(); } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 184 { } movieClip 185 { } movieClip 186 enAIRCUTTER { instance _mc of movieClip 185 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; dx = 0; dy = 0; dxy = 0; dxy2 = 20; TIME = 300; SHOT = 'NORMAL'; POWER = 20; COUNT = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0 || TIME <= 0) { _parent.removeMovieClip(); } dx = int(dxy * Math.cos(Math.PI * _parent._rotation / 180)); dy = int(dxy * Math.sin(Math.PI * _parent._rotation / 180)); if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_ryoudann'; } _global.pcDAME = 60; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } if (++COUNT >= 1) { COUNT = 0; if (dxy < dxy2) { dxy += 1; } } } } } movieClip 195 { frame 91 { _parent.ATTACK = 0; } } movieClip 196 { } movieClip 197 enFIREWALLnomp { instance _mc of movieClip 196 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 1; SHOT = 'FIRE'; POWER = 30; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0) { _parent.removeMovieClip(); } else { if (ATTACK > 0) { } else { _parent.removeMovieClip(); } } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_fire'; } _global.pcDAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 198 enFIREWALL { instance _mc of movieClip 196 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 1; SHOT = 'FIRE'; POWER = 30; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0) { _parent.removeMovieClip(); } else { if (ATTACK > 0) { } else { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x; (eval('_parent._parent.mn_mc' + i))._y = _parent._y - 20; break; } ++i; } _parent.removeMovieClip(); } } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_fire'; } _global.pcDAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 201 { } movieClip 204 { frame 21 { _parent.ATTACK = 0; } } movieClip 206 { } movieClip 207 { } movieClip 213 { instance of movieClip 207 { onClipEvent (load) { if (_parent._parent._xscale == -100) { _xscale = -100; } } } frame 145 { gotoAndPlay(97); } } movieClip 214 { frame 1 { stop(); } } movieClip 215 enBLOCK { instance _mc of movieClip 214 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 1; SHOT = 'EARTH'; POWER = 24; pcx = 0; pcy = 0; i = 1; while (i <= 5) { if (!(eval('_parent._parent.sd_mc' + i))._visible) { SD = '_parent._parent.sd_mc' + i; (eval('_parent._parent.sd_mc' + i))._visible = true; (eval('_parent._parent.sd_mc' + i))._x = _parent._x; (eval('_parent._parent.sd_mc' + i))._y = 440; break; } ++i; } } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((_global.bcHPMAX == 0 || _global.bcHP > 0) && ATTACK > 0 && !_global.BLACK) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.EARTHhit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _parent._parent.pc_mc._visible = false; ATTACK = 2; pcx = _parent._parent.pc_mc._x; pcy = _parent._parent.pc_mc._y; } _global.pcDAME = 60; } if (ATTACK == 2) { _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._mc.dy = 0; _parent._parent.pc_mc._x = pcx; _parent._parent.pc_mc._y = pcy; } if (_parent._parent.map_mc.hitTest(ppx, ppy + dy, true)) { for (;;) { if (!(dy != 0 && _parent._parent.map_mc.hitTest(ppx, ppy + dy, true))) break; dy += dy > 0 ? -1 : 1; } dx = 0; if (ATTACK == 2) { if (!_parent._parent.pc_mc._mc.MIGI) { _xscale = -100; } gotoAndStop('ryona'); } else { (eval(SD))._visible = false; gotoAndStop('break'); } } pcy += dy; _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; } } } movieClip 216 enBIGFIRE { instance _mc of movieClip 31 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 200; SHOT = 'FIRE'; POWER = 16; XsizeL = -29; XsizeR = 30; YsizeU = -30; YsizeD = 29; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((_global.bcHPMAX == 0 || _global.bcHP > 0) && TIME > 0 && !_global.BLACK) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_fire'; } _global.pcDAME = 60; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 219 { } movieClip 220 { } movieClip 221 enENERGYSHOT { instance _mc of movieClip 220 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; dx = 0; dy = 0; dxy = 15; TIME = 300; SHOT = 'NORMAL'; POWER = 12; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0 || TIME <= 0) { _parent.removeMovieClip(); } if (TIME == 300) { dx = int(dxy * Math.cos(Math.PI * _parent._rotation / 180)); dy = int(dxy * Math.sin(Math.PI * _parent._rotation / 180)); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { } _global.pcDAME = 60; } if (_parent._parent.map_mc.hitTest(ppx + dx, ppy + dy, true)) { TIME = 0; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); _parent.removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 233 { frame 15 { stop(); } } movieClip 234 enUDE { instance _mc of movieClip 233 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK) { _parent.removeMovieClip(); } if (_parent._parent.map_mc.hitTest(ppx, ppy + dy, true)) { for (;;) { if (!(dy != 0 && _parent._parent.map_mc.hitTest(ppx, ppy + dy, true))) break; dy += dy > 0 ? -1 : 1; } } if (dy == 0) { dx = 0; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; } } } movieClip 236 { } movieClip 237 { } movieClip 238 enSTONE { instance _mc of movieClip 237 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 60; SHOT = 'EARTH'; POWER = 16; XsizeL = -19; XsizeR = 20; YsizeU = -10; YsizeD = 9; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (TIME > 0 && !_global.BLACK && _global.bcHP > 0) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= POWER; _global.pcDAME = 60; } if (_parent._parent.map_mc.hitTest(ppx + dx, ppy + dy, true)) { TIME = 0; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); _parent.removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 241 { } movieClip 242 { } movieClip 243 enPOISONB { instance _mc of movieClip 242 { onClipEvent (load) { dx = 0; dy = 2; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 1; SHOT = 'POISON'; POWER = 12; XsizeL = -7; XsizeR = 8; YsizeU = -8; YsizeD = 7; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.WATERhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_hukutoke'; } _global.pcDAME = 60; } if (dy < 12) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { TIME = 0; } HTx += (HTx == -7) ? 15 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { TIME = 0; } HTy += (HTy == -8) ? 15 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); _parent.removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } } } } movieClip 249 { } movieClip 250 { } movieClip 251 enSTONESHOT { instance _mc of movieClip 250 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 200; SHOT = 'EARTH'; POWER = 16; XsizeL = -29; XsizeR = 30; YsizeU = -30; YsizeD = 29; dxy = 10; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0) { _parent.removeMovieClip(); } else { if (TIME > 0) { } else { if (random(4) == 0) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x + ((_parent._xscale == 100) ? -20 : 20); (eval('_parent._parent.mn_mc' + i))._y = _parent._y - 20; break; } ++i; } } _parent.removeMovieClip(); } } if (TIME > 190) { } else { if (TIME > 150) { dx = 0; dy = 0; } else { if (TIME == 150) { max = _parent._parent.pc_mc._x - _parent._x; may = _parent._parent.pc_mc._y - _parent._y; maz = Math.sqrt(max * max + may * may); dx = int(dxy * max / maz); dy = int(dxy * may / maz); } } } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.STONEhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_sekika'; } _global.pcDAME = 60; } if (_parent._parent.map_mc.hitTest(ppx + dx, ppy + dy, true)) { TIME = 0; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); _parent.removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 261 { } movieClip 262 { frame 86 { _parent.ATTACK = 0; } } movieClip 263 { } movieClip 264 enWATER { instance _mc of movieClip 263 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 1; SHOT = 'ICE'; POWER = 20; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (ATTACK > 0 && !_global.BLACK && _global.bcHP > 0) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.WATERhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { } _global.pcDAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 266 { } movieClip 267 { } movieClip 268 enYASI { instance _mc of movieClip 267 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 60; SHOT = 'EARTH'; POWER = 16; XsizeL = -14; XsizeR = 15; YsizeU = -25; YsizeD = 24; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (TIME > 0 && !_global.BLACK && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.EARTHhit_se.start(); _global.pcHP -= POWER; _global.pcDAME = 60; } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { TIME = 0; } HTx += (HTx == -14) ? 29 : 30; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { TIME = 0; } HTy += (HTy == 0) ? 24 : 25; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); _parent.removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 270 { } movieClip 271 { } movieClip 272 { } movieClip 273 enKNIFE2 { instance _mc of movieClip 272 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 60; SHOT = 'SLASH'; POWER = 12; XsizeL = -14; XsizeR = 15; YsizeU = -5; YsizeD = 4; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.BLACK || !_global.bcHP > 0) { _parent.removeMovieClip(); } else { if (TIME > 0) { } else { if (random(2) == 0) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x; (eval('_parent._parent.mn_mc' + i))._y = _parent._y; break; } ++i; } } _parent.removeMovieClip(); } } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= POWER; _global.pcDAME = 60; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { TIME = 0; } HTx += (HTx == -14) ? 29 : 30; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { TIME = 0; } HTy += (HTy == -5) ? 9 : 10; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); _parent.removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 274 enKNIFE { instance _mc of movieClip 272 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 60; SHOT = 'SLASH'; POWER = 12; XsizeL = -14; XsizeR = 15; YsizeU = -5; YsizeD = 4; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (TIME > 0 && !_global.BLACK && _global.bcHP > 0) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= POWER; _global.pcDAME = 60; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { TIME = 0; } HTx += (HTx == -14) ? 29 : 30; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { TIME = 0; } HTy += (HTy == -5) ? 9 : 10; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); _parent.removeMovieClip(); } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _parent.removeMovieClip(); } } } ++i; } if (TIME > 0) { TIME -= 1; } } } } movieClip 278 { frame 27 { stop(); } } movieClip 279 { } movieClip 280 enPOISON { instance _mc of movieClip 279 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 90; SHOT = 'POISON'; POWER = 16; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (TIME > 0 && !_global.BLACK && _global.bcHP > 0) { } else { _parent.removeMovieClip(); } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.WATERhit_se.start(); _global.pcHP -= POWER; if (_global.pcHP <= 0) { _global.MISS = 'miss_hukutoke'; } _global.pcDAME = 60; } if (dy < 17) { dy += 1; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (TIME > 0) { TIME -= 1; } } } } movieClip 287 { frame 1 { stop(); _global.BLACK = false; } frame 2 { _global.BLACK = true; _global.bcHPMAX = 0; _root.CLEAROVER_mc.gotoAndStop(1); } frame 5 { _global.BLACK = false; } frame 11 { gotoAndStop(1); } frame 17 { _global.BLACK = true; _global.bcHPMAX = 0; _root.CLEAROVER_mc.gotoAndStop(1); } frame 20 { _global.BLACK = false; } frame 26 { gotoAndStop(1); } } instance BLACK_mc of movieClip 287 { onClipEvent (load) { _global.KeyLE = 37; _global.KeyRI = 39; _global.KeyUP = 38; _global.KeyDO = 40; _global.KeyZ = 90; _global.KeyX = 88; _global.KeyC = 67; _global.KeyV = 86; _global.KeyR = 82; _global.KeyQ = 81; _global.pcHP = 100; _global.pcHPMAX = 100; _global.pcMP = 100; _global.pcMPMAX = 100; _global.pcSHOT = 0; _global.enSHOT = 0; _global.bcHP = 0; _global.bcHPMAX = 0; _global.bcMP = 0; _global.bcMPMAX = 0; _global.BOSSBATTLE = false; _global.BOSSFINISH = true; _global.SAFE = false; _global.DIFFICULTY = 'normal'; _global.EyeMove = 0; _global.RetryCount = -1; _root.RetryCountString = ''; _global.SOKUSI = false; time_count = 0; old_timer = getTimer(); Stage.scaleMode = 'noScale'; _root.BGM = new Sound(_root.BLACK_mc); _root.MENU_se = new Sound(); _root.MENU_se.attachSound('kachi04.wav'); _root.MENUz_se = new Sound(); _root.MENUz_se.attachSound('kachi42.wav'); _root.ITEM_se = new Sound(); _root.ITEM_se.attachSound('pi30.wav'); _root.NORMALhit_se = new Sound(); _root.NORMALhit_se.attachSound('hit_p04.wav'); _root.FIRE_se = new Sound(); _root.FIRE_se.attachSound('fire00.wav'); _root.FIREhit_se = new Sound(); _root.FIREhit_se.attachSound('fire01.wav'); _root.ICE_se = new Sound(); _root.ICE_se.attachSound('freeze10.wav'); _root.ICEhit_se = new Sound(); _root.ICEhit_se.attachSound('crash25.wav'); _root.THUNDER_se = new Sound(); _root.THUNDER_se.attachSound('hit14.wav'); _root.THUNDERhit_se = new Sound(); _root.THUNDERhit_se.attachSound('don13_d.wav'); _root.EARTHhit_se = new Sound(); _root.EARTHhit_se.attachSound('hit01.wav'); _root.EAThit_se = new Sound(); _root.EAThit_se.attachSound('hit_s13.wav'); _root.SLASHhit_se = new Sound(); _root.SLASHhit_se.attachSound('hit_s07_a.wav'); _root.WATERhit_se = new Sound(); _root.WATERhit_se.attachSound('mizu05.wav'); _root.STONEhit_se = new Sound(); _root.STONEhit_se.attachSound('crash18_c.wav'); _root.GUARD_se = new Sound(); _root.GUARD_se.attachSound('metal27_a.wav'); _root.BGM.onSoundComplete = function () { this.start(); }; _global.SaveName = 'ELEMENTAR_save'; _global.FlushMemory = 100; var so = SharedObject.getLocal(_global.SaveName, '/'); if (so) { var save = so.data; if (!save.flag) { save.flag = true; save.difficulty = 'normal'; save.easy1 = 0; save.easy2 = 0; save.easy3 = 0; save.easy4 = 0; save.easy5 = 0; save.normal1 = 0; save.normal2 = 0; save.normal3 = 0; save.normal4 = 0; save.normal5 = 0; save.hard1 = 0; save.hard2 = 0; save.hard3 = 0; save.hard4 = 0; save.hard5 = 0; save.KeyLE = 37; save.KeyRI = 39; save.KeyUP = 38; save.KeyDO = 40; save.KeyZ = 90; save.KeyX = 88; save.KeyC = 67; save.KeyV = 86; save.KeyR = 82; save.KeyQ = 81; trace('初期化'); so.flush(_global.FlushMemory); } else { _global.DIFFICULTY = save.difficulty; if (_global.DIFFICULTY == 'normal') { _global.pcHP = 100; _global.pcHPMAX = 100; _global.pcMP = 100; _global.pcMPMAX = 100; } else { if (_global.DIFFICULTY == 'easy') { _global.pcHP = 150; _global.pcHPMAX = 150; _global.pcMP = 100; _global.pcMPMAX = 100; } else { if (_global.DIFFICULTY == 'hard') { _global.pcHP = 50; _global.pcHPMAX = 50; _global.pcMP = 50; _global.pcMPMAX = 50; } } } _global.KeyLE = save.KeyLE; _global.KeyRI = save.KeyRI; _global.KeyUP = save.KeyUP; _global.KeyDO = save.KeyDO; _global.KeyZ = save.KeyZ; _global.KeyX = save.KeyX; _global.KeyC = save.KeyC; _global.KeyV = save.KeyV; _global.KeyR = save.KeyR; _global.KeyQ = save.KeyQ; } } } onClipEvent (enterFrame) { time_count += 1; if ((getTimer() - old_timer) / 1000 >= 2) { fps = time_count / 2; old_timer = getTimer(); time_count = 0; } _root.debag = 'fps:' + int(fps) + '/30'; _root.RetryCountString = 'Retry:' + _global.RetryCount; if (!_global.GAMESTART || _global.RetryCount < 0) { _root.RetryCountString = ''; } } } frame 2 { stop(); } movieClip 291 { } movieClip 294 { } movieClip 296 { } movieClip 302 { frame 1 { stop(); } } movieClip 307 { frame 1 { stop(); } } movieClip 312 { frame 1 { stop(); } } movieClip 317 { frame 1 { stop(); } } movieClip 322 { frame 1 { stop(); } } movieClip 324 { frame 1 { stop(); } } movieClip 328 { } movieClip 332 { } movieClip 335 { } movieClip 337 { frame 1 { stop(); } } movieClip 341 { frame 1 { if (_global.DIFFICULTY == 'easy') { gotoAndStop(2); } else { if (_global.DIFFICULTY == 'hard') { gotoAndStop(3); } else { gotoAndStop(1); } } } } // unknown tag 88 length 80 movieClip 355 { frame 2 { gotoAndPlay(1); } } movieClip 356 { frame 1 { stop(); _global.GAMESTART = false; _global.pcHP = _global.pcHPMAX; _global.pcMP = _global.pcMPMAX; _global.pcSHOT = 0; _global.enSHOT = 0; _global.bcHP = 0; _global.bcHPMAX = 0; _global.NEXTx = 140; _global.NEXTy = 380; } instance of movieClip 296 { onClipEvent (load) { key = true; } onClipEvent (enterFrame) { if (Key.isDown(38)) { if (!key && _y != 302) { _root.MENU_se.start(); _y = _y - 47; } key = true; } else { if (Key.isDown(40)) { if (!key && _y != 396) { _root.MENU_se.start(); _y = _y + 47; } key = true; } else { if (Key.isDown(90)) { if (!key && _y == 302) { _global.RetryCount = 0; _root.BLACK_mc.gotoAndPlay('BLACK'); _global.GAMESTART = true; _parent._parent.play(); } else { if (!key && _y == 349) { _root.MENUz_se.start(); _parent.gotoAndStop(2); } else { if (!key && _y == 396) { _root.MENUz_se.start(); _parent.gotoAndStop(3); } } } key = true; } else { key = false; } } } } } instance of movieClip 324 { onClipEvent (load) { key = true; select1 = 3; select2 = 3; select3 = 3; select4 = 3; select5 = 3; NowStage1 = 1; NowStage2 = 1; NowStage3 = 1; NowStage4 = 1; NowStage5 = 1; var so = SharedObject.getLocal(_global.SaveName, '/'); if (so) { var save = so.data; select1 = 1; select2 = save.easy1 > 0 ? 1 : 0; select3 = save.easy2 > 0 ? 1 : 0; select4 = save.easy3 > 0 ? 1 : 0; select5 = save.easy4 > 0 ? 1 : 0; if (save.hard1 > 0) { select1 = 3; } else { if (save.normal1 > 0) { select1 = 2; } } if (save.hard2 > 0) { select2 = 3; } else { if (save.normal2 > 0) { select2 = 2; } } if (save.hard3 > 0) { select3 = 3; } else { if (save.normal3 > 0) { select3 = 2; } } if (save.hard4 > 0) { select4 = 3; } else { if (save.normal4 > 0) { select4 = 2; } } if (save.hard5 > 0) { select5 = 3; } else { if (save.normal5 > 0) { select5 = 2; } } if (select2 == 0) { _parent.stage2_mc._visible = false; } if (select3 == 0) { _parent.stage3_mc._visible = false; } if (select4 == 0) { _parent.stage4_mc._visible = false; } if (select5 == 0) { _parent.stage5_mc._visible = false; } _parent.e1_mc.gotoAndStop(save.easy1 % 3 + 1); _parent.e2_mc.gotoAndStop(save.easy2 % 3 + 1); _parent.e3_mc.gotoAndStop(save.easy3 % 3 + 1); _parent.e4_mc.gotoAndStop(save.easy4 % 3 + 1); _parent.e5_mc.gotoAndStop(save.easy5 % 3 + 1); _parent.n1_mc.gotoAndStop(save.normal1 % 3 + 1); _parent.n2_mc.gotoAndStop(save.normal2 % 3 + 1); _parent.n3_mc.gotoAndStop(save.normal3 % 3 + 1); _parent.n4_mc.gotoAndStop(save.normal4 % 3 + 1); _parent.n5_mc.gotoAndStop(save.normal5 % 3 + 1); _parent.h1_mc.gotoAndStop(save.hard1 % 3 + 1); _parent.h2_mc.gotoAndStop(save.hard2 % 3 + 1); _parent.h3_mc.gotoAndStop(save.hard3 % 3 + 1); _parent.h4_mc.gotoAndStop(save.hard4 % 3 + 1); _parent.h5_mc.gotoAndStop(save.hard5 % 3 + 1); } SelectCount = (select1 > 0 ? 1 : 0) + (select2 > 0 ? 1 : 0) + (select3 > 0 ? 1 : 0) + (select4 > 0 ? 1 : 0) + (select5 > 0 ? 1 : 0); if (_y == 256) { if (select1 > 1) { gotoAndStop(1); } else { gotoAndStop(2); } } } onClipEvent (enterFrame) { if (Key.isDown(38)) { if (!key && _y != 256) { _root.MENU_se.start(); _y = _y - 47; } key = true; } else { if (Key.isDown(40)) { if (!key && _y != 256 + 47 * (SelectCount - 1)) { _root.MENU_se.start(); _y = _y + 47; } key = true; } else { if (Key.isDown(37)) { if (!key && _y == 256 && select1 > 1) { _root.MENU_se.start(); NowStage1 -= (select1 == 2) ? 2 : 1; } else { if (!key && _y == 303 && select2 > 1) { _root.MENU_se.start(); NowStage2 -= (select2 == 2) ? 2 : 1; } else { if (!key && _y == 350 && select3 > 1) { _root.MENU_se.start(); NowStage3 -= (select3 == 2) ? 2 : 1; } else { if (!key && _y == 397 && select4 > 1) { _root.MENU_se.start(); NowStage4 -= (select4 == 2) ? 2 : 1; } else { if (!key && _y == 444 && select5 > 1) { _root.MENU_se.start(); NowStage5 -= (select5 == 2) ? 2 : 1; } } } } } key = true; } else { if (Key.isDown(39)) { if (!key && _y == 256 && select1 > 1) { _root.MENU_se.start(); NowStage1 += (select1 == 2) ? 2 : 1; } else { if (!key && _y == 303 && select2 > 1) { _root.MENU_se.start(); NowStage2 += (select2 == 2) ? 2 : 1; } else { if (!key && _y == 350 && select3 > 1) { _root.MENU_se.start(); NowStage3 += (select3 == 2) ? 2 : 1; } else { if (!key && _y == 397 && select4 > 1) { _root.MENU_se.start(); NowStage4 += (select4 == 2) ? 2 : 1; } else { if (!key && _y == 444 && select5 > 1) { _root.MENU_se.start(); NowStage5 += (select5 == 2) ? 2 : 1; } } } } } key = true; } else { if (Key.isDown(90)) { if (!key) { _global.RetryCount = -1; } if (!key && _y == 256) { _root.BLACK_mc.gotoAndPlay('BLACK'); _global.GAMESTART = true; if (NowStage1 == 1) { _global.RetryCount = 0; _root.BGM.stop(); _root.BGM.attachSound('fang.mp3'); _root.BGM.start(); _parent._parent.gotoAndStop('stage1-1'); } else { if (NowStage1 == 2) { _parent._parent.gotoAndStop('stage1-mboss'); } else { if (NowStage1 == 3) { _root.BGM.stop(); _root.BGM.attachSound('fang.mp3'); _root.BGM.start(); _parent._parent.gotoAndStop('stage1-4'); } else { if (NowStage1 == 4) { _parent._parent.gotoAndStop('stage1-boss'); } } } } } else { if (!key && _y == 303) { _root.BLACK_mc.gotoAndPlay('BLACK'); _global.GAMESTART = true; if (NowStage2 == 1) { _global.RetryCount = 0; _root.BGM.stop(); _root.BGM.attachSound('gokiyoro.mp3'); _root.BGM.start(); _parent._parent.gotoAndStop('stage2-1'); } else { if (NowStage2 == 2) { _global.NEXTy = 300; _parent._parent.gotoAndStop('stage2-mboss'); } else { if (NowStage2 == 3) { _root.BGM.stop(); _root.BGM.attachSound('gokiyoro.mp3'); _root.BGM.start(); _global.NEXTy = 300; _parent._parent.gotoAndStop('stage2-4'); } else { if (NowStage2 == 4) { _global.NEXTy = 300; _parent._parent.gotoAndStop('stage2-boss'); } } } } } else { if (!key && _y == 350) { _root.BLACK_mc.gotoAndPlay('BLACK'); _global.GAMESTART = true; if (NowStage3 == 1) { _global.RetryCount = 0; _root.BGM.stop(); _root.BGM.attachSound('t-kamen.mp3'); _root.BGM.start(); _parent._parent.gotoAndStop('stage3-1'); } else { if (NowStage3 == 2) { _parent._parent.gotoAndStop('stage3-mboss'); } else { if (NowStage3 == 3) { _root.BGM.stop(); _root.BGM.attachSound('t-kamen.mp3'); _root.BGM.start(); _parent._parent.gotoAndStop('stage3-4'); } else { if (NowStage3 == 4) { _global.NEXTy = 340; _parent._parent.gotoAndStop('stage3-boss'); } } } } } else { if (!key && _y == 397) { _root.BLACK_mc.gotoAndPlay('BLACK'); _global.GAMESTART = true; if (NowStage4 == 1) { _global.RetryCount = 0; _root.BGM.stop(); _root.BGM.attachSound('Ancient salvage!!.mp3'); _root.BGM.start(); _parent._parent.gotoAndStop('stage4-1'); } else { if (NowStage4 == 2) { _parent._parent.gotoAndStop('stage4-mboss'); } else { if (NowStage4 == 3) { _root.BGM.stop(); _root.BGM.attachSound('Ancient salvage!!.mp3'); _root.BGM.start(); _parent._parent.gotoAndStop('stage4-4'); } else { if (NowStage4 == 4) { _parent._parent.gotoAndStop('stage4-boss'); } } } } } else { if (!key && _y == 444) { _root.BLACK_mc.gotoAndPlay('BLACK'); _global.GAMESTART = true; if (NowStage5 == 1) { _global.RetryCount = 0; _root.BGM.stop(); _root.BGM.attachSound('track011_break_a_cult.mp3'); _root.BGM.start(); _parent._parent.gotoAndStop('stage5-1'); } else { if (NowStage5 == 2) { _parent._parent.gotoAndStop('stage5-mboss'); } else { if (NowStage5 == 3) { _root.BGM.stop(); _root.BGM.attachSound('track011_break_a_cult.mp3'); _root.BGM.start(); _parent._parent.gotoAndStop('stage5-4'); } else { if (NowStage5 == 4) { _parent._parent.gotoAndStop('stage5-boss'); } } } } } } } } } key = true; } else { if (Key.isDown(88)) { if (!key) { _root.MENUz_se.start(); _parent.gotoAndStop(1); } key = true; } else { key = false; } } } } } } NowStage1 <= 0 ? 3 : (NowStage1 >= 5 ? 1 : 0); NowStage2 <= 0 ? 3 : (NowStage2 >= 5 ? 1 : 0); NowStage3 <= 0 ? 3 : (NowStage3 >= 5 ? 1 : 0); NowStage4 <= 0 ? 3 : (NowStage4 >= 5 ? 1 : 0); NowStage5 <= 0 ? 3 : (NowStage5 >= 5 ? 1 : 0); _parent.stage1_mc.gotoAndStop(NowStage1); _parent.stage2_mc.gotoAndStop(NowStage2); _parent.stage3_mc.gotoAndStop(NowStage3); _parent.stage4_mc.gotoAndStop(NowStage4); _parent.stage5_mc.gotoAndStop(NowStage5); if (_y == 256) { if (select1 > 1) { gotoAndStop(1); } else { gotoAndStop(2); } } else { if (_y == 303) { if (select2 > 1) { gotoAndStop(1); } else { gotoAndStop(2); } } else { if (_y == 350) { if (select3 > 1) { gotoAndStop(1); } else { gotoAndStop(2); } } else { if (_y == 397) { if (select4 > 1) { gotoAndStop(1); } else { gotoAndStop(2); } } else { if (_y == 444) { if (select5 > 1) { gotoAndStop(1); } else { gotoAndStop(2); } } } } } } } } instance of movieClip 341 { onClipEvent (enterFrame) { if (_global.DIFFICULTY == 'easy') { gotoAndStop(2); } else { if (_global.DIFFICULTY == 'hard') { gotoAndStop(3); } else { gotoAndStop(1); } } } } instance of movieClip 296 { onClipEvent (load) { key = true; difficulty = _global.DIFFICULTY; } onClipEvent (enterFrame) { if (Key.isDown(38)) { if (!key && _y != 349) { _root.MENU_se.start(); _y = _y - 47; } key = true; } else { if (Key.isDown(40)) { if (!key && _y != 396) { _root.MENU_se.start(); _y = _y + 47; } key = true; } else { if (Key.isDown(37)) { if (!key && _y == 349) { if (_global.DIFFICULTY == 'normal') { _global.DIFFICULTY = 'easy'; } else { if (_global.DIFFICULTY == 'hard') { _global.DIFFICULTY = 'normal'; } } } key = true; } else { if (Key.isDown(39)) { if (!key && _y == 349) { if (_global.DIFFICULTY == 'normal') { _global.DIFFICULTY = 'hard'; } else { if (_global.DIFFICULTY == 'easy') { _global.DIFFICULTY = 'normal'; } } } key = true; } else { if (Key.isDown(90)) { if (!key && _y == 349) { } else { if (!key && _y == 396) { _root.MENUz_se.start(); _parent.gotoAndStop(4); } } key = true; } else { if (Key.isDown(88)) { if (!key) { _root.MENUz_se.start(); _parent.gotoAndStop(1); } key = true; } else { key = false; } } } } } } if (difficulty != _global.DIFFICULTY) { difficulty = _global.DIFFICULTY; _root.MENUz_se.start(); if (_global.DIFFICULTY == 'hard') { _global.pcHP = 50; _global.pcHPMAX = 50; _global.pcMP = 50; _global.pcMPMAX = 50; } else { if (_global.DIFFICULTY == 'normal') { _global.pcHP = 100; _global.pcHPMAX = 100; _global.pcMP = 100; _global.pcMPMAX = 100; } else { _global.pcHP = 150; _global.pcHPMAX = 150; _global.pcMP = 100; _global.pcMPMAX = 100; } } var so = SharedObject.getLocal(_global.SaveName, '/'); if (so) { var save = so.data; save.difficulty = _global.DIFFICULTY; so.flush(_global.FlushMemory); } } } } instance of movieClip 296 { onClipEvent (load) { key = true; CHANGE = false; } onClipEvent (enterFrame) { if (CHANGE) { return undefined; } if (Key.isDown(37)) { if (!key && _x != 218) { _root.MENU_se.start(); _x = _x - 220; } key = true; } else { if (Key.isDown(39)) { if (!key && _x != 438) { _root.MENU_se.start(); _x = _x + 220; } key = true; } else { if (Key.isDown(90)) { if (!key && _x == 218) { _root.MENUz_se.start(); _x = 198; _y = 255; CHANGE = true; } else { if (!key && _x == 438) { _root.MENUz_se.start(); _global.KeyLE = 37; _global.KeyRI = 39; _global.KeyUP = 38; _global.KeyDO = 40; _global.KeyZ = 90; _global.KeyX = 88; _global.KeyC = 67; _global.KeyV = 86; _global.KeyR = 82; _global.KeyQ = 81; var so = SharedObject.getLocal('ELEMENTAR_save', '/'); if (so) { var save = so.data; save.KeyLE = _global.KeyLE; save.KeyRI = _global.KeyRI; save.KeyUP = _global.KeyUP; save.KeyDO = _global.KeyDO; save.KeyZ = _global.KeyZ; save.KeyX = _global.KeyX; save.KeyC = _global.KeyC; save.KeyV = _global.KeyV; save.KeyR = _global.KeyR; save.KeyQ = _global.KeyQ; so.flush(_global.FlushMemory); } } } key = true; } else { if (Key.isDown(88)) { if (!key) { _root.MENUz_se.start(); _parent.gotoAndStop(3); } key = true; } else { key = false; } } } } } onClipEvent (keyDown) { if (!CHANGE) { return undefined; } _root.MENUz_se.start(); if (_x == 198 && _y == 255) { _global.KeyLE = Key.getCode(); _y = _y + 47; } else { if (_x == 198 && _y == 302) { _global.KeyRI = Key.getCode(); _y = _y + 47; } else { if (_x == 198 && _y == 349) { _global.KeyUP = Key.getCode(); _y = _y + 47; } else { if (_x == 198 && _y == 396) { _global.KeyDO = Key.getCode(); _x = _x + 170; _y = _y - 141; } else { if (_x == 368 && _y == 255) { _global.KeyZ = Key.getCode(); _y = _y + 47; } else { if (_x == 368 && _y == 302) { _global.KeyX = Key.getCode(); _y = _y + 47; } else { if (_x == 368 && _y == 349) { _global.KeyC = Key.getCode(); _y = _y + 47; } else { if (_x == 368 && _y == 396) { _global.KeyV = Key.getCode(); _x = _x + 170; _y = _y - 141; } else { if (_x == 538 && _y == 255) { _global.KeyR = Key.getCode(); _y = _y + 47; } else { if (_x == 538 && _y == 302) { _global.KeyQ = Key.getCode(); _x = 218; _y = 443; CHANGE = false; var so = SharedObject.getLocal(_global.SaveName, '/'); if (so) { var save = so.data; save.KeyLE = _global.KeyLE; save.KeyRI = _global.KeyRI; save.KeyUP = _global.KeyUP; save.KeyDO = _global.KeyDO; save.KeyZ = _global.KeyZ; save.KeyX = _global.KeyX; save.KeyC = _global.KeyC; save.KeyV = _global.KeyV; save.KeyR = _global.KeyR; save.KeyQ = _global.KeyQ; so.flush(_global.FlushMemory); } } } } } } } } } } } } } } movieClip 359 { } movieClip 370 { } movieClip 371 { } movieClip 372 { } movieClip 373 { instance _mc of movieClip 372 { onClipEvent (enterFrame) { if (_global.pcHP > 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(this)) { _global.NEXTx = NEXTx; _global.NEXTy = NEXTy; _root.BLACK_mc.gotoAndPlay('BLACK'); _parent._parent.gotoAndPlay(NEXT); } } } } movieClip 376 { } movieClip 379 { } movieClip 381 { } movieClip 394 { frame 46 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 398 { } movieClip 399 { } movieClip 400 { instance _mc of movieClip 399 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 28; XsizeL = -39; XsizeR = 40; YsizeU = -60; YsizeD = 79; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 1) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 110 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 50 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 110 + 20 && _parent._y - 50 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_kubinasi'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { gotoAndStop('stand'); } } if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 402 { } movieClip 404 { } movieClip 405 { } movieClip 406 { instance _mc of movieClip 405 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 12; XsizeL = -39; XsizeR = 40; YsizeU = -60; YsizeD = 79; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 1) ? 39 : 40; } if (HP > 0) { } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { gotoAndStop('stand'); } } if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 409 { } movieClip 411 { } movieClip 412 { } movieClip 417 { } movieClip 424 { frame 22 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 426 { } movieClip 427 { } movieClip 428 { instance _mc of movieClip 427 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 36; XsizeL = -59; XsizeR = 60; YsizeU = -30; YsizeD = 29; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 21) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 70 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 70 + 20 && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == 0) ? 29 : 30; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + YsizeD + 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } if (!MIGI && dx > -3) { dx += -3; } if (MIGI && dx < 3) { dx += 3; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_hannbunn'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 21) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 0) ? 29 : 30; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 430 { } movieClip 431 { } movieClip 432 { } movieClip 433 { instance _mc of movieClip 432 { onClipEvent (load) { flag = true; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (flag && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_global.pcHP > 0 && _global.pcDAME < 50 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(this)) { _root.ITEM_se.start(); _global.pcHP += 25; flag = false; } } } } movieClip 435 { } movieClip 436 { } movieClip 437 { } movieClip 438 { instance _mc of movieClip 437 { onClipEvent (load) { flag = true; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (flag && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_global.pcHP > 0 && _global.pcDAME < 50 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(this)) { _root.ITEM_se.start(); _global.pcMP += 10; flag = false; } } } } movieClip 441 { } movieClip 443 { } movieClip 446 { } movieClip 449 { } movieClip 453 { } movieClip 455 { } movieClip 460 { } movieClip 468 { } movieClip 487 { } movieClip 495 { } movieClip 517 { } movieClip 526 { frame 10 { gotoAndPlay(4); } } movieClip 538 { frame 13 { gotoAndPlay(7); } } movieClip 559 { frame 16 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 568 { frame 7 { (eval('_root.' + _parent.TYPE + '_se')).start(); if (_parent.TYPE == 'FIRE') { _global.pcMP -= 4; tmc = _parent._parent._parent.attachMovie('pcFIRE', 'pcSHOT_mc' + _global.pcSHOT, _global.pcSHOT + 0); tmc._x = _parent._parent._x + (_parent.MIGI ? 64 : -64); tmc._y = _parent._parent._y - 13; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 15 : -15; tmc._mc.dy = 0; _global.pcSHOT += 1; if (_global.pcSHOT > 9) { _global.pcSHOT = 0; } } else { if (_parent.TYPE == 'ICE') { _global.pcMP -= 6; i = 0; while (i < 3) { tmc = _parent._parent._parent.attachMovie('pcICE', 'pcSHOT_mc' + _global.pcSHOT, _global.pcSHOT + 0); tmc._x = _parent._parent._x + (_parent.MIGI ? 64 : -64); tmc._y = _parent._parent._y - 13; tmc._xscale = _parent.MIGI ? 100 : -100; if (i == 0) { tmc._mc.dx = _parent.MIGI ? 20 : -20; tmc._mc.dy = 0; } else { if (i == 1) { tmc._mc.dx = _parent.MIGI ? 17 : -17; tmc._mc.dy = 10; } else { if (i == 2) { tmc._mc.dx = _parent.MIGI ? 17 : -17; tmc._mc.dy = -10; } } } _global.pcSHOT += 1; if (_global.pcSHOT > 9) { _global.pcSHOT = 0; } i += 1; } } else { if (_parent.TYPE == 'THUNDER') { _global.pcMP -= 8; tmc = _parent._parent._parent.attachMovie('pcTHUNDER', 'pcSHOT_mc' + _global.pcSHOT, _global.pcSHOT + 0); tmc._x = _parent._parent._x + (_parent.MIGI ? 104 : -104); tmc._y = _parent._parent._y - 13; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.pcSHOT += 1; if (_global.pcSHOT > 9) { _global.pcSHOT = 0; } } else { if (_parent.TYPE == 'EARTH') { _global.pcMP -= 10; tmc = _parent._parent._parent.attachMovie('pcEARTH', 'pcSHOT_mc' + _global.pcSHOT, _global.pcSHOT + 0); tmc._x = _parent._parent._x + (_parent.MIGI ? 104 : -104); tmc._y = _parent._parent._y + 60; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.pcSHOT += 1; if (_global.pcSHOT > 9) { _global.pcSHOT = 0; } } } } } } frame 16 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 575 { } movieClip 594 { frame 193 { gotoAndPlay(31); } } movieClip 640 { frame 88 { gotoAndPlay(64); } } movieClip 644 { } movieClip 647 { } movieClip 649 { } movieClip 652 { } movieClip 690 { frame 82 { gotoAndPlay(58); } } movieClip 693 { } movieClip 700 { } movieClip 717 { frame 88 { gotoAndPlay(64); } } movieClip 720 { } movieClip 740 { frame 64 { gotoAndPlay(40); } } movieClip 765 { frame 211 { gotoAndPlay(58); } } movieClip 786 { } movieClip 820 { frame 238 { gotoAndPlay(94); } } movieClip 823 { } movieClip 827 { } movieClip 845 { frame 127 { gotoAndPlay(103); } } movieClip 851 { } movieClip 854 { } movieClip 857 { } movieClip 859 { } movieClip 902 { frame 1 { gotoAndPlay(2); } frame 61 { gotoAndPlay(37); } } movieClip 905 { } movieClip 948 { frame 58 { gotoAndPlay(46); } } movieClip 952 { } movieClip 954 { } movieClip 957 { } movieClip 964 { frame 48 { stop(); } } movieClip 969 { } movieClip 971 { } movieClip 973 { } movieClip 1002 { } movieClip 1012 { } movieClip 1029 { frame 58 { gotoAndPlay(46); } } movieClip 1032 { } movieClip 1034 { } movieClip 1036 { } movieClip 1038 { } movieClip 1085 { frame 85 { gotoAndPlay(37); } } movieClip 1102 { frame 106 { gotoAndPlay(76); } } movieClip 1111 { frame 25 { stop(); } } movieClip 1118 { frame 64 { gotoAndPlay(3); } } movieClip 1139 { frame 43 { stop(); } } movieClip 1214 { frame 1 { COUNT = 0; } frame 129 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 129 { _global.pcHP -= 4; _global.pcMP -= 4; } frame 169 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 209 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 249 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 289 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 329 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 369 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 409 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 449 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 489 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 529 { if (COUNT > 0) { COUNT -= 1; } if (_global.pcHP <= 0 && COUNT <= 0) { COUNT = 9; } else { gotoAndPlay('loop'); } } frame 669 { gotoAndPlay('loop'); } } movieClip 1215 { } movieClip 1216 { instance _mc of movieClip 1215 { onClipEvent (load) { _parent._x = _global.NEXTx; _parent._y = _global.NEXTy; dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; _global.pcDAME = 0; _global.MISS = 'miss'; MIGI = true; SIT = false; mustSIT = false; TYPE = 'NORMAL'; keyZ = true; keyX = true; keyR = true; XsizeL = -19; XsizeR = 20; YsizeU = -60; YsizeD = 59; ONANY = false; _global.SOKUSI = false; my_color = new Color(this); _global.pcFLOOR = false; _global.FLOORtime = -1; _global.blSWITCHr = false; _global.blSWITCHg = false; _global.blSWITCHb = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (JUMP == 0) { JUMP = 1; } mustSIT = false; HTx = XsizeL; while (HTx <= XsizeR) { if (_global.pcFLOOR || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } if (SIT && _parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeU, true)) { mustSIT = true; } HTx += (HTx == -19) ? 39 : 40; } if (_global.pcHP > 0 && _global.pcDAME < 50 && ATTACK == 0) { if (Key.isDown(_global.KeyDO) && JUMP == 0 || mustSIT) { SIT = true; } else { SIT = false; } if (SIT) { if (Key.isDown(_global.KeyLE) && dx > -3) { dx += -3; } if (Key.isDown(_global.KeyRI) && dx < 3) { dx += 3; } } else { if (Key.isDown(_global.KeyLE)) { if (JUMP != 0) { dx += -2; } else { dx += -6; } } if (Key.isDown(_global.KeyRI)) { if (JUMP != 0) { dx += 2; } else { dx += 6; } } if (dx < -6) { dx = -6; } if (dx > 6) { dx = 6; } } if (dx > 0) { MIGI = true; } else { if (dx < 0) { MIGI = false; } } if (!Key.isDown(_global.KeyZ)) { keyZ = false; } if (!keyZ && Key.isDown(_global.KeyZ)) { keyZ = true; if (JUMP == 0 && !mustSIT) { JUMP = 2; SIT = false; dy = -17; } } if (!Key.isDown(_global.KeyX)) { keyX = false; } if (!keyX && Key.isDown(_global.KeyX)) { keyX = true; if (!mustSIT) { SIT = false; ATTACK = 1; if (_global.pcTYPE == 'FIRE' && _global.pcMP >= 4) { TYPE = 'FIRE'; gotoAndStop('attackB'); } else { if (_global.pcTYPE == 'ICE' && _global.pcMP >= 6) { TYPE = 'ICE'; gotoAndStop('attackB'); } else { if (_global.pcTYPE == 'THUNDER' && _global.pcMP >= 8) { TYPE = 'THUNDER'; gotoAndStop('attackB'); } else { if (_global.pcTYPE == 'EARTH' && _global.pcMP >= 10) { TYPE = 'EARTH'; gotoAndStop('attackB'); } else { TYPE = 'NORMAL'; gotoAndStop('attackA'); } } } } } } } if (MIGI) { _xscale = 100; } else { _xscale = -100; } if (_global.pcDAME == 60) { my_color.setRGB(16777215); } else { if (_global.pcDAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.pcHP <= 0) { if (!_global.STAGECLEAR) { _root.CLEAROVER_mc.gotoAndStop('GAMEOVER'); } if (_global.SAFE) { gotoAndStop('miss'); } else { if (!ONANY) { gotoAndStop(_global.MISS); } } ATTACK = 0; my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } else { if (_global.pcDAME >= 50) { gotoAndStop('damage'); ATTACK = 0; } else { if (ATTACK == 0) { if (SIT && dx != 0) { gotoAndStop('sitwalk'); } else { if (SIT) { gotoAndStop('sit'); } else { if (JUMP >= 1 && dy < 0) { gotoAndStop('jumpA'); } else { if (JUMP >= 1) { gotoAndStop('jumpB'); } else { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } } } } } } if (JUMP == 2 && dy < -1 && !Key.isDown(_global.KeyZ)) { dy += 2; } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + (SIT ? 0 : YsizeU), true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + (SIT ? 0 : YsizeU), true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == -19) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = SIT ? 0 : YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 30) ? 29 : 30; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (_global.pcDAME > 0) { _global.pcDAME -= 1; } if (!Key.isDown(_global.KeyR)) { keyR = false; } if (!keyR && Key.isDown(_global.KeyR)) { keyR = true; if (RetryCount >= 0) { _global.RetryCount += 1; } _global.pcHP = _global.pcHPMAX; _global.pcMP = _global.pcMPMAX; _global.pcSHOT = 0; _global.enSHOT = 0; _root.BLACK_mc.gotoAndPlay('BLACK'); _root.BGM.stop(); _root.BGM.start(); _parent._parent.prevFrame(); } if (Key.isDown(_global.KeyQ)) { _root.BLACK_mc.gotoAndPlay('BLACK'); _root.BGM.stop(); _root.play(); } if (Key.isDown(_global.KeyZ) && _global.STAGECLEAR) { _root.BLACK_mc.gotoAndPlay('BLACK'); if (_global.BOSSBATTLE == true) { _global.pcHP = _global.pcHPMAX; _global.pcMP = _global.pcMPMAX; _global.BOSSBATTLE = false; } _parent._parent.play(); } _global.pcFLOOR = false; if (++_global.FLOORtime >= 600) { _global.FLOORtime = 0; } _global.blSWITCHr = false; _global.blSWITCHg = false; _global.blSWITCHb = false; } } } movieClip 1221 { } movieClip 1223 { } movieClip 1224 { } movieClip 1225 { instance _mc of movieClip 1224 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.EAThit_se.start(); _global.pcHP = 0; _global.pcDAME = 60; _parent._parent.pc_mc._visible = false; _global.SOKUSI = true; } } } } movieClip 1227 { } movieClip 1230 { } movieClip 1232 { } movieClip 1234 { } movieClip 1242 { } movieClip 1248 { frame 10 { tmc = _parent._parent._parent.attachMovie('enFIRE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 55 : -55); tmc._y = _parent._parent._y + 2; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 10 : -10; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 43 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 1251 { } movieClip 1252 { } movieClip 1253 { instance _mc of movieClip 1252 { onClipEvent (load) { dx = 0; dy = -2; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 20; XsizeL = -19; XsizeR = 20; YsizeU = -30; YsizeD = 29; UP = true; startY = _parent._y; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 21) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { MIGI = true; } if (_global.pcHP > 0 && _parent._x - 500 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 500 && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } else { if (UP && _parent._y - startY < -200 || !UP && _parent._y - startY > 0) { if (UP) { UP = false; } else { UP = true; } } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + (UP ? YsizeU - 1 : YsizeD + 1), true)) { if (UP) { UP = false; } else { UP = true; } } HTx += (HTx == -19) ? 39 : 40; } if (UP) { dy = -2; } if (!UP) { dy = 2; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _global.pcHP -= 20; _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); dx = 0; dy = 0; ATTACK = 0; } else { if (ATTACK == 0) { gotoAndStop('fly'); } } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == -19) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 0) ? 29 : 30; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 1255 { } movieClip 1256 { } movieClip 1257 { } movieClip 1258 { instance _mc of movieClip 1257 { onClipEvent (load) { flag = true; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (flag && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_global.pcHP > 0 && _global.pcDAME < 50 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(this)) { _root.ITEM_se.start(); _global.pcMP += 25; flag = false; } } } } movieClip 1262 { } movieClip 1263 { frame 1 { stop(); } frame 3 { stop(); } } movieClip 1264 { instance _mc of movieClip 1263 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._parent._x; ppy = _parent._y + _parent._parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); play(); } i = 0; while (i < 10) { if ((eval('_parent._parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { (eval('_root.' + (eval('_parent._parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); play(); } ++i; } } } } movieClip 1265 { } movieClip 1267 { } movieClip 1269 { } movieClip 1277 { } movieClip 1282 { } movieClip 1285 { } movieClip 1289 { } movieClip 1290 { frame 41 { _parent.nextFrame(); } } movieClip 1291 { } movieClip 1308 { } movieClip 1313 { } movieClip 1329 { frame 13 { tmc = _parent._parent._parent.attachMovie('enKNIFE2', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 66 : -66); tmc._y = _parent._parent._y - 16; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 15 : -15; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 19 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 1347 { frame 10 { tmc = _parent._parent._parent.attachMovie('enKNIFE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 12 : -12); tmc._y = _parent._parent._y + 5; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._rotation = _parent.MIGI ? 30 : -30; tmc._mc.dx = _parent.MIGI ? 12 : -12; tmc._mc.dy = 7; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enKNIFE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 12 : -12); tmc._y = _parent._parent._y + 5; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._rotation = _parent.MIGI ? 60 : -60; tmc._mc.dx = _parent.MIGI ? 7 : -7; tmc._mc.dy = 12; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enKNIFE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 12 : -12); tmc._y = _parent._parent._y + 5; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._rotation = _parent.MIGI ? 90 : -90; tmc._mc.dx = 0; tmc._mc.dy = 15; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 22 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 1355 { frame 19 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 1368 { frame 46 { gotoAndPlay(22); } } movieClip 1369 { } movieClip 1370 { instance _mc of movieClip 1369 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; _global.bcHP = 120; _global.bcHPMAX = 120; XsizeL = -19; XsizeR = 20; YsizeU = -60; YsizeD = 59; PATTERN = 0; TIME = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { if (ATTACK != 2) { dx = 0; } JUMP = 0; } HTx += (HTx == -19) ? 39 : 40; } if (_global.pcHP > 0 && _global.bcHP > 0 && ATTACK == 0 && JUMP == 0) { if (PATTERN == 0) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } ATTACK = 1; PATTERN = 1; gotoAndStop('attackA'); } else { if (PATTERN == 1) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } ATTACK = 1; PATTERN = 2; dy = -24; gotoAndStop('attackB'); } else { if (PATTERN == 2) { if (_parent._x - 120 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x) { MIGI = false; ATTACK = 2; PATTERN = 0; dx = -10; gotoAndStop('attackC'); } else { if (_parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 120) { MIGI = true; ATTACK = 2; PATTERN = 0; dx = 10; gotoAndStop('attackC'); } else { if (_parent._parent.pc_mc._x < _parent._x + 40) { MIGI = false; } else { if (_parent._x - 40 < _parent._parent.pc_mc._x) { MIGI = true; } } if (!MIGI && dx > -10) { dx += -10; } if (MIGI && dx < 10) { dx += 10; } HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 10 : XsizeL - 10), ppy + HTy, true)) { if (MIGI && dx > 0) { dx = 0; } else { if (!MIGI && dx < 0) { dx = 0; } } PATTERN = 0; } HTy += (HTy == 20) ? 39 : 40; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 10 : XsizeL - 10), ppy + YsizeD + 1, true)) { if (MIGI) { dx = 0; } else { if (!MIGI && dx < 0) { dx = 0; } } PATTERN = 0; } } } } } } } if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_kubihane'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (JUMP != 0) { gotoAndStop('jumpB'); } else { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == -19) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (TIME > 0) { TIME -= 1; } if (_global.bcHP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.bcHP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (_global.bcHP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 1371 { instance _mc of movieClip 437 { onClipEvent (load) { flag = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (flag && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_global.pcHP > 0 && _global.pcDAME < 50 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(this)) { _root.ITEM_se.start(); _global.pcMP += 10; flag = false; } if (_parent._x <= 0) { _parent._x = 1; ppx = _parent._x + _parent._parent._x; } else { if (_parent._x > _global.MAPx) { _parent._x = _global.MAPx; ppx = _parent._x + _parent._parent._x; } } if (!_parent._parent.map_mc.hitTest(ppx, ppy + 40, true)) { _parent._y += 1; } } } } movieClip 1373 { } movieClip 1375 { } movieClip 1378 { } movieClip 1384 { } movieClip 1388 { } movieClip 1416 { frame 7 { _global.pcHP -= 2; } frame 25 { _global.pcHP -= 2; } frame 43 { _global.pcHP -= 2; } frame 61 { _global.pcHP -= 8; } frame 67 { _global.pcHP -= 8; } frame 72 { if (_global.pcHP <= 0 && !_global.SAFE) { _parent.gotoAndStop('bind_miss'); } } } movieClip 1419 { } movieClip 1421 { instance of movieClip 1419 { onClipEvent (enterFrame) { if (_global.pcHP <= 0) { _parent._visible = false; } if (_parent._parent.MIGI) { _parent._xscale = -100; } else { _parent._xscale = 100; } _xscale = int(100 * (_parent._parent.BIND / _parent._parent.BINDMAX)); } } } movieClip 1444 { frame 94 { gotoAndPlay(82); } } movieClip 1447 { } movieClip 1448 { } movieClip 1449 { instance _mc of movieClip 1448 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 40; PATTERN = 0; XsizeL = -149; XsizeR = 150; YsizeU = -40; YsizeD = 19; BIND = 0; BINDMAX = 1000; keyUP = false; keyDOWN = false; keyLEFT = false; keyRIGHT = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 131) ? 29 : 30; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 400 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 400 && _parent._y - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y) { PATTERN = 1; } else { PATTERN = 0; } if (PATTERN == 0) { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 2 : XsizeL - 2), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 2 - 30 : XsizeL - 2 + 30), ppy + YsizeD + 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == -10) ? 29 : 30; } if (!MIGI && dx > -2) { dx += -2; } if (MIGI && dx < 2) { dx += 2; } } else { if (PATTERN == 1) { if (_parent._x + 50 < _parent._parent.pc_mc._x) { MIGI = true; } else { if (_parent._parent.pc_mc._x < _parent._x - 50) { MIGI = false; } } if (!MIGI && dx > -4) { dx += -4; } if (MIGI && dx < 4) { dx += 4; } HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 4 : XsizeL - 4), ppy + HTy, true)) { dx = 0; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 4 - 30 : XsizeL - 4 + 30), ppy + YsizeD + 1, true)) { dx = 0; } HTy += (HTy == -10) ? 29 : 30; } } } } if (ATTACK == 0 && HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { ATTACK = 1; BIND = 1000; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; } if (ATTACK == 1) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; _parent._parent.pc_mc._x = _parent._x; _parent._parent.pc_mc._y = _parent._y - 40; if (Key.isDown(_global.KeyUP)) { if (!keyUP) { BIND -= _global.pcHP; keyUP = true; } } else { keyUP = false; } if (Key.isDown(_global.KeyDO)) { if (!keyDOWN) { BIND -= _global.pcHP; keyDOWN = true; } } else { keyDOWN = false; } if (Key.isDown(_global.KeyLE)) { if (!keyLEFT) { BIND -= _global.pcHP; keyLEFT = true; } } else { keyLEFT = false; } if (Key.isDown(_global.KeyRI)) { if (!keyRIGHT) { BIND -= _global.pcHP; keyRIGHT = true; } } else { keyRIGHT = false; } if (BIND <= 0 || _global.SOKUSI) { BIND = 0; ATTACK = -1; } } if (ATTACK == -1) { ATTACK = 0; _parent._parent.pc_mc._mc.ATTACK = 0; _parent._parent.pc_mc._visible = true; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (PATTERN == 1) { gotoAndStop('walk'); } else { if (dx != 0) { gotoAndStop('slow'); } else { gotoAndStop('stand'); } } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 131) ? 29 : 30; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == -10) ? 29 : 30; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 1451 { } movieClip 1453 { } movieClip 1455 { } movieClip 1458 { } movieClip 1460 { } movieClip 1462 { } movieClip 1467 { frame 191 { _parent.nextFrame(); } } movieClip 1474 { } movieClip 1481 { frame 43 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 1487 { frame 76 { tmc = _parent._parent._parent.attachMovie('enPOISON', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 100 : -100); tmc._y = _parent._parent._y - 100; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 9 : -9; tmc._mc.dy = -17; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 85 { tmc = _parent._parent._parent.attachMovie('enPOISON', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 100 : -100); tmc._y = _parent._parent._y - 100; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 6 : -6; tmc._mc.dy = -17; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 94 { tmc = _parent._parent._parent.attachMovie('enPOISON', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 100 : -100); tmc._y = _parent._parent._y - 100; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 3 : -3; tmc._mc.dy = -17; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 112 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 1488 { frame 76 { _parent._parent._parent.en_mc1._mc.HP = 36; _parent._parent._parent.en_mc1._x = _parent._parent._x + (_parent.MIGI ? 100 : -100); _parent._parent._parent.en_mc1._y = _parent._parent._y - 100; _parent._parent._parent.en_mc1._mc.MIGI = _parent.MIGI ? true : false; _parent._parent._parent.en_mc1._mc.dx = _parent.MIGI ? 9 : -9; _parent._parent._parent.en_mc1._mc.dy = -17; } frame 85 { _parent._parent._parent.en_mc2._mc.HP = 36; _parent._parent._parent.en_mc2._x = _parent._parent._x + (_parent.MIGI ? 100 : -100); _parent._parent._parent.en_mc2._y = _parent._parent._y - 100; _parent._parent._parent.en_mc2._mc.MIGI = _parent.MIGI ? true : false; _parent._parent._parent.en_mc2._mc.dx = _parent.MIGI ? 6 : -6; _parent._parent._parent.en_mc2._mc.dy = -17; } frame 94 { _parent._parent._parent.en_mc3._mc.HP = 36; _parent._parent._parent.en_mc3._x = _parent._parent._x + (_parent.MIGI ? 100 : -100); _parent._parent._parent.en_mc3._y = _parent._parent._y - 100; _parent._parent._parent.en_mc3._mc.MIGI = _parent.MIGI ? true : false; _parent._parent._parent.en_mc3._mc.dx = _parent.MIGI ? 3 : -3; _parent._parent._parent.en_mc3._mc.dy = -17; } frame 112 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 1491 { } movieClip 1492 { } movieClip 1493 { instance _mc of movieClip 1492 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; _global.bcHP = 300; _global.bcHPMAX = 300; XsizeL = -179; XsizeR = 180; YsizeU = 29; YsizeD = 29; TIME = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { _parent._visible = false; return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 141) ? 39 : 40; } if (_global.bcHP > 0 && ATTACK == 0) { if (TIME == 0 && _global.pcHP > 0 && _parent._x - 700 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 270 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 90 + 60) { MIGI = false; ATTACK = 1; TIME = 300; if (_parent._parent.en_mc1._mc.HP <= 0 && _parent._parent.en_mc2._mc.HP <= 0 && _parent._parent.en_mc3._mc.HP <= 0) { gotoAndStop('attackC'); } else { gotoAndStop('attackB'); } } else { if (TIME == 0 && _global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 700 && _parent._y - 270 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 90 + 60) { MIGI = true; ATTACK = 1; TIME = 300; if (_parent._parent.en_mc1._mc.HP <= 0 && _parent._parent.en_mc2._mc.HP <= 0 && _parent._parent.en_mc3._mc.HP <= 0) { gotoAndStop('attackC'); } else { gotoAndStop('attackB'); } } else { if (_global.pcHP > 0 && _parent._x - 210 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x - 10 && _parent._y - 270 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 90 + 60) { MIGI = false; ATTACK = 1; gotoAndStop('attackA'); } else { if (_global.pcHP > 0 && _parent._x + 10 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 210 + 20 && _parent._y - 270 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 90 + 60) { MIGI = true; ATTACK = 1; gotoAndStop('attackA'); } else { if (_global.pcHP > 0) { if (_parent._parent.pc_mc._x < _parent._x - 10) { MIGI = false; } else { if (_parent._x + 10 < _parent._parent.pc_mc._x) { MIGI = true; } } if (!MIGI && dx > -2) { dx += -2; } if (MIGI && dx < 2) { dx += 2; } } HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 2 : XsizeL - 2), ppy + HTy, true)) { if (MIGI && dx > 0) { dx = 0; } else { if (!MIGI && dx < 0) { dx = 0; } } } HTy += (HTy == -10) ? 39 : 40; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 2 : XsizeL - 2), ppy + YsizeD + 1, true)) { if (MIGI) { dx = 0; } else { if (!MIGI && dx < 0) { dx = 0; } } } } } } } } if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 30; if (_global.pcHP <= 0) { _global.MISS = 'miss_marukaziri'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 141) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == -10) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (TIME > 0) { TIME -= 1; } if (_global.bcHP > 0 && DAME < 50 && (_parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc2) || _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc3))) { _root.NORMALhit_se.start(); _global.bcHP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc2) || (eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc3)) { if (_global.bcHP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { _global.bcHP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 1494 { instance _mc of movieClip 427 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 0; XsizeL = -59; XsizeR = 60; YsizeU = -30; YsizeD = 29; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && _global.bcHP > 0) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 21) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 70 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 70 + 20 && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == 0) ? 29 : 30; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + YsizeD + 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } if (!MIGI && dx > -3) { dx += -3; } if (MIGI && dx < 3) { dx += 3; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_hannbunn'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 21) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 0) ? 29 : 30; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } if (HP <= 0 && DAME == 0) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x; (eval('_parent._parent.mn_mc' + i))._y = _parent._y; break; } ++i; } } } } } movieClip 1497 { } movieClip 1508 { } movieClip 1512 { instance _mc of movieClip 1224 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _global.pcHP = 0; _global.pcDAME = 60; if (_parent._parent.map_mc.hitTest(_parent._parent.pc_mc._mc.ppx - 50, _parent._parent.pc_mc._mc.ppy, true)) { while (_parent._parent.map_mc.hitTest(_parent._parent.pc_mc._mc.ppx - 50, _parent._parent.pc_mc._mc.ppy, true)) { _parent._parent.pc_mc._mc._x += 1; _parent._parent.pc_mc._mc.ppx += 1; } } if (_parent._parent.map_mc.hitTest(_parent._parent.pc_mc._mc.ppx + 50, _parent._parent.pc_mc._mc.ppy, true)) { while (_parent._parent.map_mc.hitTest(_parent._parent.pc_mc._mc.ppx + 50, _parent._parent.pc_mc._mc.ppy, true)) { _parent._parent.pc_mc._mc._x -= 1; _parent._parent.pc_mc._mc.ppx -= 1; } } _global.MISS = 'miss_anna_pirania'; _global.SOKUSI = true; } } } } movieClip 1514 { } movieClip 1516 { } movieClip 1517 { } movieClip 1518 { instance _mc of movieClip 1517 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 12; HP2 = 12; HP3 = 12; XsizeL = -39; XsizeR = 40; YsizeU = -180; YsizeD = 179; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 1) ? 39 : 40; } if (_global.pcHP > 0 && !(_parent._x - 60 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 60 + 20 && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 120 + 60)) { ATTACK = 0; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 60 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 120 + 60) { ATTACK = 1; if (random(2) == 0 && HP2 > 0 || HP3 <= 0) { if (HP2 > 0) { _mc.c_mc2._visible = false; HP2 = 0; tmc = _parent._parent.attachMovie('enYASI', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._x + (MIGI ? 12.5 : -12.5); tmc._y = _parent._y - 95; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } } else { if (HP3 > 0) { _mc.c_mc3._visible = false; HP3 = 0; tmc = _parent._parent.attachMovie('enYASI', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._x + (MIGI ? -12.5 : 12.5); tmc._y = _parent._y - 95; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } } } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 60 + 20 && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 120 + 60) { ATTACK = 1; if (random(2) == 0 && HP2 > 0 || HP3 <= 0) { if (HP2 > 0) { _mc.c_mc2._visible = false; HP2 = 0; tmc = _parent._parent.attachMovie('enYASI', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._x + (MIGI ? 12.5 : -12.5); tmc._y = _parent._y - 95; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } } else { if (HP3 > 0) { _mc.c_mc3._visible = false; HP3 = 0; tmc = _parent._parent.attachMovie('enYASI', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._x + (MIGI ? -12.5 : 12.5); tmc._y = _parent._y - 95; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } } } } } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP2 <= 0 && DAME == 60) { _mc.c_mc2._visible = false; } if (HP3 <= 0 && DAME == 60) { _mc.c_mc3._visible = false; } if (DAME > 0) { DAME -= 1; } if (HP2 > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc2)) { _root.NORMALhit_se.start(); HP2 -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc2)) { if (HP2 > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP2 -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP2 -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if (HP2 > 0) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } } ++i; } if (HP3 > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc3)) { _root.NORMALhit_se.start(); HP3 -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc3)) { if (HP3 > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP3 -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP3 -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if (HP3 > 0) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } } ++i; } } } } movieClip 1520 { } movieClip 1523 { } movieClip 1532 { } movieClip 1537 { frame 10 { i = 0; while (i < 3) { tmc = _parent._parent._parent.attachMovie('enICE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 55 : -55); tmc._y = _parent._parent._y + 2; tmc._xscale = _parent.MIGI ? 100 : -100; if (i == 0) { tmc._mc.dx = _parent.MIGI ? 14 : -14; tmc._mc.dy = 0; } else { if (i == 1) { tmc._mc.dx = _parent.MIGI ? 12 : -12; tmc._mc.dy = 7; } else { if (i == 2) { tmc._mc.dx = _parent.MIGI ? 12 : -12; tmc._mc.dy = -7; } } } _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } i += 1; } } frame 43 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 1539 { } movieClip 1540 { } movieClip 1541 { instance _mc of movieClip 1540 { onClipEvent (load) { dx = 0; dy = -2; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 20; XsizeL = -19; XsizeR = 20; YsizeU = -30; YsizeD = 29; UP = true; startY = _parent._y; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 21) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { MIGI = true; } if (_global.pcHP > 0 && _parent._x - 500 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 500 && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } else { if (UP && _parent._y - startY < -200 || !UP && _parent._y - startY > 0) { if (UP) { UP = false; } else { UP = true; } } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + (UP ? YsizeU - 1 : YsizeD + 1), true)) { if (UP) { UP = false; } else { UP = true; } } HTx += (HTx == -19) ? 39 : 40; } if (UP) { dy = -2; } if (!UP) { dy = 2; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _global.pcHP -= 20; _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); dx = 0; dy = 0; ATTACK = 0; } else { if (ATTACK == 0) { gotoAndStop('fly'); } } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == -19) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 0) ? 29 : 30; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { HP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 1543 { } movieClip 1548 { } movieClip 1563 { frame 37 { gotoAndPlay(1); } } movieClip 1564 { frame 37 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 1566 { } movieClip 1567 { } movieClip 1568 { instance _mc of movieClip 1567 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; ATTACK2 = 0; DAME = 0; MIGI = false; HP = 16; XsizeL = -29; XsizeR = 30; YsizeU = -20; YsizeD = 19; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 1) ? 29 : 30; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 70 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = false; dx = -3; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 70 + 20 && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = true; dx = 3; ATTACK = 1; gotoAndStop('attack'); } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == -20) ? 39 : 40; } if (!MIGI && dx > -3) { dx = -3; } if (MIGI && dx < 3) { dx = 3; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_udekamare'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { dx = 0; dy = 0; if (ATTACK == 1) { _mc.stop(); _mc._mc.gotoAndStop('miss'); ATTACK2 = 1; } else { if (ATTACK2 == 0) { gotoAndStop('miss'); } } ATTACK = 0; } else { if (ATTACK == 0) { ATTACK2 = 0; if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 1) ? 29 : 30; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == -20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if (!(HP <= 0 && DAME < 60) && ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE')) { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 1573 { } movieClip 1574 { frame 1 { stop(); } frame 3 { stop(); } } movieClip 1575 { instance _mc of movieClip 1574 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._parent._x; ppy = _parent._y + _parent._parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } i = 0; while (i < 10) { if ((eval('_parent._parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc) && (eval('_parent._parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { (eval('_root.' + (eval('_parent._parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); play(); } ++i; } } } } movieClip 1576 { } movieClip 1578 { } movieClip 1581 { } movieClip 1583 { } movieClip 1594 { frame 13 { tmc = _parent._parent._parent.attachMovie('enFIRE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 80 : -80); tmc._y = _parent._parent._y + 5; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 10 : -10; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 31 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 1621 { frame 19 { _global.pcHP -= 3; if (_global.pcHP <= 0 && !_global.SAFE) { _parent.gotoAndStop('bind_miss'); } } frame 37 { _global.pcHP -= 3; } frame 43 { gotoAndPlay(7); } } movieClip 1650 { frame 72 { stop(); } } movieClip 1652 { } movieClip 1653 { } movieClip 1654 { instance _mc of movieClip 1653 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 40; XsizeL = -69; XsizeR = 70; YsizeU = -40; YsizeD = 39; BIND = 0; BINDMAX = 1500; keyUP = false; keyDOWN = false; keyLEFT = false; keyRIGHT = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 36) ? 34 : 35; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 500 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 500 && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } } } if (ATTACK != 2 && HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { ATTACK = 2; BIND = 1500; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; } if (ATTACK == 2) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; _parent._parent.pc_mc._x = _parent._x; _parent._parent.pc_mc._y = _parent._y - 40; if (Key.isDown(_global.KeyUP)) { if (!keyUP) { BIND -= _global.pcHP; keyUP = true; } } else { keyUP = false; } if (Key.isDown(_global.KeyDO)) { if (!keyDOWN) { BIND -= _global.pcHP; keyDOWN = true; } } else { keyDOWN = false; } if (Key.isDown(_global.KeyLE)) { if (!keyLEFT) { BIND -= _global.pcHP; keyLEFT = true; } } else { keyLEFT = false; } if (Key.isDown(_global.KeyRI)) { if (!keyRIGHT) { BIND -= _global.pcHP; keyRIGHT = true; } } else { keyRIGHT = false; } if (BIND <= 0 || _global.SOKUSI) { BIND = 0; ATTACK = -1; } } if (ATTACK == -1) { ATTACK = 0; _parent._parent.pc_mc._mc.ATTACK = 0; _parent._parent.pc_mc._visible = true; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { gotoAndStop('stand'); } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 36) ? 34 : 35; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 0) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 1664 { } movieClip 1675 { } movieClip 1715 { frame 7 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 25 { _global.pcHP -= 2; _global.pcMP -= 4; if (_global.pcHP <= 0 && !_global.SAFE) { _parent.gotoAndStop('bind_miss'); } } } movieClip 1761 { frame 88 { gotoAndPlay(58); } } movieClip 1763 { } movieClip 1764 { } movieClip 1765 { instance _mc of movieClip 1764 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 80; PATTERN = 0; XsizeL = -59; XsizeR = 60; YsizeU = -60; YsizeD = 59; BIND = 0; BINDMAX = 2000; keyUP = false; keyDOWN = false; keyLEFT = false; keyRIGHT = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 21) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 400 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 400 && _parent._y - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 60) { PATTERN = 1; } else { PATTERN = 0; } if (PATTERN == 0) { dx = 0; } else { if (PATTERN == 1) { if (_parent._x + 50 < _parent._parent.pc_mc._x) { MIGI = true; } else { if (_parent._parent.pc_mc._x < _parent._x - 50) { MIGI = false; } } if (!MIGI && dx > -2) { dx += -2; } if (MIGI && dx < 2) { dx += 2; } HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 2 : XsizeL - 2), ppy + HTy, true)) { dx = 0; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 2 + 5 : XsizeL - 2 - 5), ppy + YsizeD + 1, true)) { dx = 0; } HTy += (HTy == 20) ? 39 : 40; } } } } if (ATTACK == 0 && HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { ATTACK = 1; BIND = 2000; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; } if (ATTACK == 1) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; _parent._parent.pc_mc._x = _parent._x; _parent._parent.pc_mc._y = _parent._y - 40; if (Key.isDown(_global.KeyUP)) { if (!keyUP) { BIND -= _global.pcHP; keyUP = true; } } else { keyUP = false; } if (Key.isDown(_global.KeyDO)) { if (!keyDOWN) { BIND -= _global.pcHP; keyDOWN = true; } } else { keyDOWN = false; } if (Key.isDown(_global.KeyLE)) { if (!keyLEFT) { BIND -= _global.pcHP; keyLEFT = true; } } else { keyLEFT = false; } if (Key.isDown(_global.KeyRI)) { if (!keyRIGHT) { BIND -= _global.pcHP; keyRIGHT = true; } } else { keyRIGHT = false; } if (BIND <= 0 || _global.SOKUSI) { BIND = 0; ATTACK = -1; } } if (ATTACK == -1) { ATTACK = 0; _parent._parent.pc_mc._mc.ATTACK = 0; _parent._parent.pc_mc._visible = true; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (PATTERN == 1) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 21) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 1770 { } movieClip 1771 { frame 1 { stop(); } frame 3 { stop(); } } movieClip 1772 { instance _mc of movieClip 1771 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._parent._x; ppy = _parent._y + _parent._parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } i = 0; while (i < 10) { if ((eval('_parent._parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc) && (eval('_parent._parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { (eval('_root.' + (eval('_parent._parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); play(); } ++i; } } } } movieClip 1773 { } movieClip 1776 { } movieClip 1780 { } movieClip 1782 { } movieClip 1785 { } movieClip 1788 { } movieClip 1790 { } movieClip 1792 { } movieClip 1795 { } movieClip 1798 { } movieClip 1800 { } movieClip 1812 { frame 55 { _parent.nextFrame(); } } movieClip 1814 { } movieClip 1818 { } movieClip 1832 { frame 1 { if (_parent.MIGI) { _parent.dx = 8; } else { _parent.dx = -8; } } frame 13 { if (_parent.MIGI) { _parent.dx = 4; } else { _parent.dx = -4; } } frame 19 { if (_parent.MIGI) { _parent.dx = 2; } else { _parent.dx = -2; } } frame 22 { if (_parent.MIGI) { _parent.dx = 0; } else { _parent.dx = 0; } _parent.ATTACK = 0; } } movieClip 1855 { frame 24 { _parent.ATTACK = 0; } } movieClip 1870 { frame 22 { tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + 70; tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x - 70; tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 31 { tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + 70 + 90; tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x - 70 - 90; tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 40 { tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + 70 + 90 + 90; tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x - 70 - 90 - 90; tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 49 { _parent.ATTACK = 0; } } movieClip 1874 { frame 22 { tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 70 : -70); tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 31 { tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 210 : -210); tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 40 { tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 350 : -350); tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 49 { tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 490 : -490); tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 58 { tmc = _parent._parent._parent.attachMovie('enWATER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 630 : -630); tmc._y = 480; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 67 { _parent.ATTACK = 0; } } movieClip 1884 { frame 7 { if (_parent.MIGI) { _parent.dx = 1; } else { _parent.dx = -1; } count = 0; } frame 28 { if (_parent.MIGI) { _parent.dx = 12; } else { _parent.dx = -12; } } frame 40 { count += 1; if (count <= 3) { gotoAndPlay('loop'); return undefined; } if (_parent.MIGI) { _parent.dx = 1; } else { _parent.dx = -1; } } frame 61 { _parent.dx = 0; } frame 66 { _parent.ATTACK = 0; } } movieClip 1923 { frame 16 { if (40 < _parent._parent._x + (_parent.MIGI ? 150 : -150) && _parent._parent._x + (_parent.MIGI ? 150 : -150) < _global.MAPx - 40) { i = 1; while (i <= 3) { if (!(eval('_parent._parent._parent.en_mc' + i))._visible) { (eval('_parent._parent._parent.en_mc' + i))._visible = true; (eval('_parent._parent._parent.en_mc' + i))._mc.HP = 16; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + (_parent.MIGI ? 150 : -150); (eval('_parent._parent._parent.en_mc' + i))._y = 500; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = _parent.MIGI ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.CALL = true; break; } ++i; } } if (40 < _parent._parent._x && _parent._parent._x < _global.MAPx - 40) { i = 1; while (i <= 3) { if (!(eval('_parent._parent._parent.en_mc' + i))._visible) { (eval('_parent._parent._parent.en_mc' + i))._visible = true; (eval('_parent._parent._parent.en_mc' + i))._mc.HP = 16; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x; (eval('_parent._parent._parent.en_mc' + i))._y = 500; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = _parent.MIGI ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.CALL = true; break; } ++i; } } if (40 < _parent._parent._x + (_parent.MIGI ? -150 : 150) && _parent._parent._x + (_parent.MIGI ? -150 : 150) < _global.MAPx - 40) { i = 1; while (i <= 3) { if (!(eval('_parent._parent._parent.en_mc' + i))._visible) { (eval('_parent._parent._parent.en_mc' + i))._visible = true; (eval('_parent._parent._parent.en_mc' + i))._mc.HP = 16; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + (_parent.MIGI ? -150 : 150); (eval('_parent._parent._parent.en_mc' + i))._y = 500; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = _parent.MIGI ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.CALL = true; break; } ++i; } } } frame 46 { _parent.ATTACK = 0; } } movieClip 1942 { frame 28 { if (_parent.MIGI) { _parent.dx = 1; } else { _parent.dx = -1; } count = 0; } frame 175 { gotoAndPlay(151); } } movieClip 1946 { } movieClip 1951 { } movieClip 1984 { frame 31 { stop(); } } movieClip 1985 { } movieClip 1986 { instance _mc of movieClip 1985 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; _global.bcHP = 160; _global.bcHPMAX = 160; XsizeL = -19; XsizeR = 20; YsizeU = -60; YsizeD = 59; PATTERN = 1; TIME = 0; COUNT = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { if (ATTACK != 2) { dx = 0; } JUMP = 0; } HTx += (HTx == -19) ? 39 : 40; } if (_global.bcHP > 0 && ATTACK == 0 && JUMP == 0) { if (_global.pcHP <= 0) { gotoAndStop('stand'); } else { if (PATTERN == 1) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } PATTERN = 2; if (!_parent._parent.en_mc1._visible || !_parent._parent.en_mc2._visible || !_parent._parent.en_mc3._visible) { ATTACK = 1; gotoAndStop('whistle'); } } else { if (PATTERN == 2) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } ATTACK = 1; PATTERN = 3; gotoAndStop('attackB'); } else { if (PATTERN == 3) { if (_parent._parent.pc_mc._mc._mc.a_mc.hitTest(s_mc)) { if (_parent._parent.pc_mc._x < _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } ATTACK = 1; COUNT = 0; PATTERN = 4; gotoAndStop('attackA'); } else { if (COUNT <= 2) { if (_parent._parent.pc_mc._x < _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } gotoAndStop('move'); ATTACK = 2; COUNT += 1; } else { COUNT = 0; PATTERN = 4; } } } else { if (PATTERN == 4) { if (_parent._x - 200 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x) { if (_parent._x < 560) { MIGI = true; } else { MIGI = false; } ATTACK = 2; PATTERN = 5; gotoAndStop('swim'); } else { if (_parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 200) { if (1120 < _parent._x) { MIGI = false; } else { MIGI = true; } ATTACK = 2; PATTERN = 5; gotoAndStop('swim'); } else { PATTERN = 1; } } } else { if (PATTERN == 5) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } ATTACK = 1; PATTERN = 3; gotoAndStop('attackC'); } } } } } } } if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= 24; if (_global.pcHP <= 0 && !_global.SAFE) { _parent._parent.pc_mc._visible = false; gotoAndStop('attackA_miss'); } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0) { gotoAndStop('miss'); ATTACK = 0; } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == -19) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (TIME > 0) { TIME -= 1; } if (_global.bcHP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.bcHP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (_global.bcHP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { _global.bcHP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { _global.bcHP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 1987 { instance _mc of movieClip 1567 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; ATTACK2 = 0; DAME = 0; MIGI = false; HP = 0; XsizeL = -29; XsizeR = 30; YsizeU = -20; YsizeD = 19; CALL = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && _global.bcHP > 0) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 1) ? 29 : 30; } if (CALL) { if (MIGI) { dx = 2; } else { dx = -2; } dy = -2; if (_parent._y <= 440) { dy = 0; CALL = false; } } else { if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 70 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = false; dx = -3; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 70 + 20 && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = true; dx = 3; ATTACK = 1; gotoAndStop('attack'); } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == -20) ? 39 : 40; } if (!MIGI && dx > -3) { dx = -3; } if (MIGI && dx < 3) { dx = 3; } } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_udekamare'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { dx = 0; dy = 0; if (ATTACK == 1) { _mc.stop(); _mc._mc.gotoAndStop('miss'); ATTACK2 = 1; } else { if (ATTACK2 == 0) { gotoAndStop('miss'); } } ATTACK = 0; } else { if (ATTACK == 0) { ATTACK2 = 0; if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 1) ? 29 : 30; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == -20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if (!(HP <= 0 && DAME < 60) && ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE')) { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } if (HP <= 0 && DAME == 0) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x; (eval('_parent._parent.mn_mc' + i))._y = 340; break; } ++i; } } } } } movieClip 1989 { } movieClip 1992 { } movieClip 1995 { } movieClip 2000 { } movieClip 2003 { } movieClip 2006 { } movieClip 2008 { } movieClip 2010 { } movieClip 2012 { } movieClip 2013 { } movieClip 2017 { frame 49 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 2018 { frame 191 { _parent.nextFrame(); } } movieClip 2019 { } movieClip 2020 { } movieClip 2024 { } movieClip 2025 { frame 19 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 2026 { } movieClip 2027 { frame 7 { _parent.dx = _parent.MIGI ? 5 : -5; } frame 10 { _parent.dx = _parent.MIGI ? 15 : -15; } frame 19 { _parent.dx = _parent.MIGI ? 5 : -5; } frame 22 { _parent.dx = _parent.MIGI ? 0; } frame 37 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 2028 { frame 25 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 2030 { } movieClip 2031 { frame 106 { gotoAndPlay(40); } } movieClip 2033 { } movieClip 2034 { frame 1 { _parent.dx = _parent.MIGI ? 8 : -8; } frame 25 { _parent.dx = 0; } frame 130 { gotoAndPlay(64); } } movieClip 2035 { frame 1 { WATER = true; } frame 2 { WATER = true; } frame 3 { WATER = true; } frame 4 { WATER = false; } frame 5 { WATER = false; } frame 6 { WATER = false; } frame 7 { WATER = true; } frame 8 { WATER = true; } frame 9 { WATER = false; } } movieClip 2036 { instance _mc of movieClip 2035 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; _global.bcHP = 240; _global.bcHPMAX = 240; XsizeL = -399; XsizeR = 400; YsizeU = -80; YsizeD = 79; TIME = 0; PATTERN = 1; CHEAK = 0; WATER = true; stop(); } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { return undefined; } if (_global.bcHP > 0 && ATTACK == 0 && TIME == 0) { if (PATTERN == 1 && CHEAK == 2) { PATTERN = 2; CHEAK = 0; if (_global.pcHP <= 0) { PATTERN = 1; CHEAK = 3; } } else { if (PATTERN == 2 && CHEAK == 5) { PATTERN = 3; CHEAK = 0; if (_global.pcHP <= 0) { PATTERN = 1; CHEAK = 3; } } else { if (PATTERN == 3 && CHEAK == 7) { PATTERN = 1; CHEAK = 0; if (_global.pcHP <= 0) { PATTERN = 1; CHEAK = 3; } } } } if (PATTERN == 1) { if (CHEAK == 0) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } if (MIGI) { dx = 10; } else { dx = -10; } CHEAK = 1; gotoAndStop('water_move'); } else { if (CHEAK == 1) { gotoAndStop('water_move'); if (!MIGI && _parent._x + 1000 <= _parent._parent.pc_mc._x || MIGI && _parent._parent.pc_mc._x < _parent._x - 1000) { CHEAK = 2; } } } } else { if (PATTERN == 2) { if (CHEAK == 0) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } if (MIGI) { dx = 10; } else { dx = -10; } CHEAK = 1; gotoAndStop('water_move'); } else { if (CHEAK == 1) { if (!MIGI && _parent._x - 900 < _parent._parent.pc_mc._x || MIGI && _parent._parent.pc_mc._x <= _parent._x + 900) { CHEAK = 2; TIME = 44; if (MIGI) { dx = 8; } else { dx = -8; } dy = 5; gotoAndStop('water_move'); } } else { if (CHEAK == 2) { CHEAK = 3; ATTACK = 1; dy = 0; _parent._y = 480; ppy = _parent._y + _parent._parent._y; gotoAndStop('water_attack'); } else { if (CHEAK == 3) { CHEAK = 4; TIME = 44; if (MIGI) { dx = 8; } else { dx = -8; } dy = -5; _parent._y = 700; ppy = _parent._y + _parent._parent._y; gotoAndStop('water_move'); } else { if (CHEAK == 4) { dy = 0; _parent._y = 480; ppy = _parent._y + _parent._parent._y; if (MIGI) { dx = 10; } else { dx = -10; } gotoAndStop('water_move'); if (!MIGI && _parent._x + 1000 <= _parent._parent.pc_mc._x || MIGI && _parent._parent.pc_mc._x < _parent._x - 1000) { CHEAK = 5; } } } } } } } else { if (PATTERN == 3) { if (CHEAK == 0) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } if (MIGI) { dx = 10; } else { dx = -10; } CHEAK = 1; gotoAndStop('water_move'); } else { if (CHEAK == 1) { if (!MIGI && _parent._x - 900 < _parent._parent.pc_mc._x || MIGI && _parent._parent.pc_mc._x <= _parent._x + 900) { CHEAK = 2; TIME = 44; if (MIGI) { dx = 8; } else { dx = -8; } dy = 5; gotoAndStop('water_move'); } } else { if (CHEAK == 2) { CHEAK = 3; ATTACK = 1; dy = 0; _parent._y = 480; ppy = _parent._y + _parent._parent._y; gotoAndStop('water_toland'); } else { if (CHEAK == 3) { CHEAK = 4; ATTACK = 1; dx = 0; gotoAndStop('land_attack'); } else { if (CHEAK == 4) { CHEAK = 5; ATTACK = 1; if (MIGI) { dx = 8; } else { dx = -8; } gotoAndStop('land_towater'); } else { if (CHEAK == 5) { CHEAK = 6; TIME = 44; dy = -5; _parent._y = 700; ppy = _parent._y + _parent._parent._y; gotoAndStop('water_move'); } else { if (CHEAK == 6) { dy = 0; _parent._y = 480; ppy = _parent._y + _parent._parent._y; if (MIGI) { dx = 10; } else { dx = -10; } gotoAndStop('water_move'); if (!MIGI && _parent._x + 1000 <= _parent._parent.pc_mc._x || MIGI && _parent._parent.pc_mc._x < _parent._x - 1000) { CHEAK = 7; } } } } } } } } } } } } if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_ryoudann'; } _global.pcDAME = 60; } else { if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc2)) { _root.EAThit_se.start(); _global.pcHP -= 30; if (_global.pcHP <= 0) { _global.MISS = 'miss_uekaziri'; } _global.pcDAME = 60; } } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0 && ATTACK == 0) { if (WATER) { dx = 0; dy = 0; _parent._y = 480; ppy = _parent._y + _parent._parent._y; gotoAndStop('water_miss'); } else { gotoAndStop('land_miss'); } } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (TIME > 0) { TIME -= 1; } if (_global.bcHP > 0 && DAME < 50 && (_parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc2) || _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc3))) { _root.NORMALhit_se.start(); _global.bcHP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc2) || (eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc3)) { if (_global.bcHP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _global.bcHP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { _global.bcHP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 2037 { } movieClip 2038 { frame 31 { i = 1; while (i <= 3) { if (!(eval('_parent._parent._parent.en_mc' + i))._visible) { (eval('_parent._parent._parent.en_mc' + i))._visible = true; (eval('_parent._parent._parent.en_mc' + i))._mc.HP = 16; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x; (eval('_parent._parent._parent.en_mc' + i))._y = 500; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = _parent.MIGI ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.CALL = true; break; } ++i; } _parent.gotoAndStop('stop'); } } movieClip 2039 { frame 1 { stop(); } } movieClip 2040 { instance of movieClip 2039 { onClipEvent (load) { MIGI = _parent.MIGI; if (MIGI) { _xscale = -100; } TIME = 150; en = 0; } onClipEvent (enterFrame) { if (_global.bcHP <= 0) { return undefined; } if (TIME == 0) { en = 0; i = 1; while (i <= 3) { if ((eval('_parent._parent.en_mc' + i))._visible) { en += 1; } ++i; } if (en < 2) { gotoAndStop('play'); } TIME = 150; } if (TIME > 0) { TIME -= 1; } } } } movieClip 2043 { } movieClip 2058 { } movieClip 2060 { } movieClip 2062 { } movieClip 2068 { } movieClip 2070 { } movieClip 2073 { } movieClip 2080 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 2087 { } movieClip 2092 { } movieClip 2095 { } movieClip 2097 { frame 70 { stop(); } } movieClip 2099 { } movieClip 2101 { } movieClip 2104 { } movieClip 2106 { } movieClip 2108 { } movieClip 2110 { } movieClip 2112 { } movieClip 2120 { frame 85 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 2121 { } movieClip 2122 { instance _mc of movieClip 2121 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 32; XsizeL = -29; XsizeR = 30; YsizeU = 0; YsizeD = 74; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 1) ? 29 : 30; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 50 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x + 50 + 20 && _parent._y - 75 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 75 + 60) { ATTACK = 1; gotoAndStop('attack'); } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { gotoAndStop('ryona'); MIGI = !_parent._parent.pc_mc._mc.MIGI; _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._visible = false; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { gotoAndStop('stand'); } } if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP <= 0 && _parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP <= 0 && _parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } ++i; } } } } movieClip 2123 { instance _mc of movieClip 427 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 36; SAKASA = true; XsizeL = -59; XsizeR = 60; YsizeU = -30; YsizeD = 29; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (!SAKASA && _parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } if (SAKASA && _parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeU - 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 21) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (SAKASA && _global.pcHP > 0 && _parent._x - 70 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 30 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 90 + 60) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (SAKASA && _global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 70 + 20 && _parent._y - 30 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 90 + 60) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } else { if (!SAKASA && _global.pcHP > 0 && _parent._x - 70 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (!SAKASA && _global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 70 + 20 && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == 0) ? 29 : 30; } if (SAKASA) { if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 60 + 3 : XsizeL - 60 - 3), ppy + YsizeU - 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } } else { if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + YsizeD + 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } } if (!MIGI && dx > -3) { dx += -3; } if (MIGI && dx < 3) { dx += 3; } } } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_hannbunn'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (SAKASA) { _yscale = 100; } else { _yscale = -100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } if (JUMP != 0 && dy < 17) { SAKASA = false; dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 21) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 0) ? 29 : 30; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; SAKASA = false; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } SAKASA = false; } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 2126 { } movieClip 2128 { } movieClip 2130 { } movieClip 2132 { } movieClip 2141 { } movieClip 2145 { instance of movieClip 2141 { onClipEvent (load) { gotoAndPlay(13); } } instance of movieClip 2141 { onClipEvent (load) { gotoAndPlay(13); } } instance of movieClip 2141 { onClipEvent (load) { gotoAndPlay(13); } } frame 38 { gotoAndPlay(1); } } movieClip 2156 { frame 24 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 2158 { } movieClip 2159 { } movieClip 2166 { } movieClip 2169 { } movieClip 2198 { frame 133 { gotoAndPlay(37); } } movieClip 2201 { } movieClip 2202 { } movieClip 2203 { instance _mc of movieClip 2202 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 40; XsizeL = -119; XsizeR = 120; YsizeU = -60; YsizeD = 59; pcx = 0; pcy = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 81) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 170 - 20 + 10 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x - 80 && _parent._y - 80 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 40 + 60) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x + 80 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 170 + 20 - 10 && _parent._y - 80 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 40 + 60) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == 20) ? 39 : 40; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 - 50 : XsizeL - 3 + 50), ppy + YsizeD + 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } if (!MIGI && dx > -2) { dx += -2; } if (MIGI && dx < 2) { dx += 2; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.WATERhit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { gotoAndStop('ryona'); _parent._parent.pc_mc._visible = false; ATTACK = 2; pcx = _parent._parent.pc_mc._x; pcy = _parent._parent.pc_mc._y; } _global.pcDAME = 60; } if (ATTACK == 2) { _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._mc.dy = 0; _parent._parent.pc_mc._x = pcx; _parent._parent.pc_mc._y = pcy; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 81) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && (_parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc) || _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc2))) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc) || (eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc2)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 2205 { } movieClip 2208 { } movieClip 2214 { } movieClip 2218 { } movieClip 2242 { frame 7 { _global.pcHP -= 2; } frame 25 { _global.pcHP -= 2; } frame 43 { _global.pcHP -= 2; } frame 61 { _global.pcHP -= 8; } frame 67 { _global.pcHP -= 8; } frame 73 { _global.pcHP -= 8; } frame 79 { _global.pcHP -= 8; } frame 84 { if (_global.pcHP <= 0 && !_global.SAFE) { _parent.gotoAndStop('bind_miss'); } } } movieClip 2252 { frame 94 { gotoAndPlay(82); } } movieClip 2255 { } movieClip 2256 { } movieClip 2257 { instance _mc of movieClip 2256 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 30; PATTERN = 0; XsizeL = -149; XsizeR = 150; YsizeU = -40; YsizeD = 19; BIND = 0; BINDMAX = 750; keyUP = false; keyDOWN = false; keyLEFT = false; keyRIGHT = false; sx = _parent._x; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 131) ? 29 : 30; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 600 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 600 && _parent._y - 240 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y) { PATTERN = 1; } else { PATTERN = 0; } if (PATTERN == 0) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { if (_parent._parent.pc_mc._x < _parent._x) { MIGI = false; } } dx = 0; if (sx < _parent._x - 10 && dx > -2) { MIGI = false; dx += -2; } else { if (_parent._x + 10 < sx && dx < 2) { MIGI = true; dx += 2; } } } else { if (PATTERN == 1) { if (_parent._x + 50 < _parent._parent.pc_mc._x) { MIGI = true; } else { if (_parent._parent.pc_mc._x < _parent._x - 50) { MIGI = false; } } if (!MIGI && dx > -5) { dx += -5; } if (MIGI && dx < 5) { dx += 5; } HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 4 : XsizeL - 4), ppy + HTy, true)) { dx = 0; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 4 - 30 : XsizeL - 4 + 30), ppy + YsizeD + 1, true)) { dx = 0; } HTy += (HTy == -10) ? 29 : 30; } } } } if (ATTACK == 0 && HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { ATTACK = 1; BIND = 750; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; } if (ATTACK == 1) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; _parent._parent.pc_mc._x = _parent._x; _parent._parent.pc_mc._y = _parent._y - 40; if (Key.isDown(_global.KeyUP)) { if (!keyUP) { BIND -= _global.pcHP; keyUP = true; } } else { keyUP = false; } if (Key.isDown(_global.KeyDO)) { if (!keyDOWN) { BIND -= _global.pcHP; keyDOWN = true; } } else { keyDOWN = false; } if (Key.isDown(_global.KeyLE)) { if (!keyLEFT) { BIND -= _global.pcHP; keyLEFT = true; } } else { keyLEFT = false; } if (Key.isDown(_global.KeyRI)) { if (!keyRIGHT) { BIND -= _global.pcHP; keyRIGHT = true; } } else { keyRIGHT = false; } if (BIND <= 0 || _global.SOKUSI) { BIND = 0; ATTACK = -1; } } if (ATTACK == -1) { ATTACK = 0; _parent._parent.pc_mc._mc.ATTACK = 0; _parent._parent.pc_mc._visible = true; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (PATTERN == 1) { gotoAndStop('walk'); } else { if (dx != 0) { gotoAndStop('slow'); } else { gotoAndStop('stand'); } } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 131) ? 29 : 30; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == -10) ? 29 : 30; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 2260 { } movieClip 2270 { frame 121 { gotoAndPlay(1); } } movieClip 2276 { frame 121 { gotoAndPlay(1); } } movieClip 2281 { } movieClip 2294 { } movieClip 2296 { } movieClip 2302 { frame 22 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 2305 { } movieClip 2307 { } movieClip 2317 { } movieClip 2319 { } movieClip 2324 { } movieClip 2326 { } movieClip 2328 { } movieClip 2331 { } movieClip 2332 { } movieClip 2333 { frame 31 { _global.pcHP -= 4; _global.pcMP -= 6; } frame 51 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 71 { _global.pcHP -= 2; _global.pcMP -= 4; if (_global.pcHP <= 0 && !_global.SAFE) { _parent.gotoAndStop('ryona'); } } frame 91 { gotoAndPlay('loop'); } } movieClip 2336 { } movieClip 2338 { } movieClip 2343 { } movieClip 2354 { } movieClip 2356 { } movieClip 2358 { } movieClip 2362 { } movieClip 2373 { } movieClip 2375 { } movieClip 2379 { } movieClip 2382 { } movieClip 2389 { frame 1 { _global.pcHP -= 2; _global.pcMP -= 4; if (_global.pcHP <= 0 && !_global.SAFE) { _parent.gotoAndStop('bind_miss'); } } frame 191 { gotoAndPlay('loop'); } } movieClip 2390 { } movieClip 2391 { } movieClip 2392 { instance _mc of movieClip 2391 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 80; BIND = 0; BINDMAX = 2000; SAKASA = true; XsizeL = -59; XsizeR = 60; YsizeU = -20; YsizeD = 19; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && _parent._y < 600 && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (!SAKASA && _parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } if (SAKASA && _parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeU - 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 21) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (SAKASA && _global.pcHP > 0 && _parent._x - 80 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 500 + 60) { SAKASA = false; JUMP = 1; _parent._y += 20; } else { if (SAKASA && _global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 80 + 20 && _parent._y - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 500 + 60) { SAKASA = false; JUMP = 1; _parent._y += 20; } else { if (!SAKASA && JUMP == 0 && _global.pcHP > 0 && _parent._x - 180 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 70 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y - 10 + 60) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (!SAKASA && JUMP == 0 && _global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 180 + 20 && _parent._y - 70 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y - 10 + 60) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == -20) ? 39 : 40; } if (SAKASA) { if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 60 + 3 : XsizeL - 60 - 3), ppy + YsizeU - 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } } else { if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + YsizeD + 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } } } } } } } if (ATTACK != 2 && HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { SAKASA = false; ATTACK = 2; BIND = 2000; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; } else { if (ATTACK != 2 && HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { SAKASA = false; ATTACK = 2; BIND = 2000; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; } } if (ATTACK == 2) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; _parent._parent.pc_mc._x = _parent._x; _parent._parent.pc_mc._y = _parent._y - 40; if (Key.isDown(_global.KeyUP)) { if (!keyUP) { BIND -= _global.pcHP; keyUP = true; } } else { keyUP = false; } if (Key.isDown(_global.KeyDO)) { if (!keyDOWN) { BIND -= _global.pcHP; keyDOWN = true; } } else { keyDOWN = false; } if (Key.isDown(_global.KeyLE)) { if (!keyLEFT) { BIND -= _global.pcHP; keyLEFT = true; } } else { keyLEFT = false; } if (Key.isDown(_global.KeyRI)) { if (!keyRIGHT) { BIND -= _global.pcHP; keyRIGHT = true; } } else { keyRIGHT = false; } if (BIND <= 0 || _global.SOKUSI) { BIND = 0; ATTACK = -1; } } if (ATTACK == -1) { ATTACK = 0; _parent._parent.pc_mc._mc.ATTACK = 0; _parent._parent.pc_mc._visible = true; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (JUMP == 1) { gotoAndStop('fall'); } else { if (SAKASA) { gotoAndStop('sakasa'); } else { gotoAndStop('stand'); } } } } if (JUMP != 0 && dy < 17) { SAKASA = false; dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 21) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == -20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; SAKASA = false; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } SAKASA = false; } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 2395 { } movieClip 2397 { } movieClip 2399 { } movieClip 2400 { frame 1 { stop(); } frame 31 { stop(); } } movieClip 2401 { instance _mc of movieClip 2400 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._parent._x; ppy = _parent._y + _parent._parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent._parent.pc_mc._visible && _parent._parent._parent.pc_mc._mc.dy >= 0) { if (_mc.a_mc.hitTest(_parent._parent._parent.pc_mc._mc.ppx - 19, _parent._parent._parent.pc_mc._mc.ppy + 60, false) || _mc.a_mc.hitTest(_parent._parent._parent.pc_mc._mc.ppx + 20, _parent._parent._parent.pc_mc._mc.ppy + 60, false)) { play(); } } } } } movieClip 2402 { } movieClip 2404 { } movieClip 2410 { } movieClip 2416 { frame 32 { tmc = _parent._parent._parent.attachMovie('enPOISONB', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x - 36; tmc._y = _parent._parent._y + 30; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 61 { gotoAndPlay(1); } } movieClip 2418 { } movieClip 2419 { } movieClip 2420 { instance _mc of movieClip 2419 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 0; DAME = 0; PATTERN = 0; MIGI = false; HP = 32; XsizeL = -39; XsizeR = 40; YsizeU = -30; YsizeD = 29; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } if (HP > 0) { if (_global.pcHP > 0 && _parent._x - 200 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 200 && _parent._y < _parent._parent.pc_mc._y) { PATTERN = 1; } else { PATTERN = 0; } if (PATTERN == 0) { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == 0) ? 29 : 30; } if (!MIGI) { dx = -3; } if (MIGI) { dx = 3; } } else { if (PATTERN == 1) { if (_parent._x - 60 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x - 10) { dx = 0; } else { if (_parent._x - 60 < _parent._parent.pc_mc._x) { MIGI = true; dx = 3; } else { if (_parent._parent.pc_mc._x < _parent._x - 10) { MIGI = false; dx = -3; } else { dx = 0; } } } } } HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 2 : XsizeL - 2), ppy + HTy, true)) { dx = 0; } HTy += (HTy == 0) ? 29 : 30; } } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { dx = 0; dy = 0; gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { gotoAndStop('move'); } } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 2426 { } movieClip 2444 { frame 19 { tmc = _parent._parent._parent.attachMovie('enFIRE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 60 : -60); tmc._y = _parent._parent._y + 17; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 10 : -10; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 2446 { } movieClip 2447 { } movieClip 2448 { instance _mc of movieClip 2447 { onClipEvent (load) { dx = 0; dy = 0; px = _parent._x; py = _parent._y; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 0; DAME = 0; PATTERN = 0; MIGI = false; HP = 16; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } if (HP > 0) { if (!_global.BLACK && -40 < ppx && ppx < 880 && -40 < ppy && ppy < 520) { PATTERN = 1; } if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { MIGI = true; } if (PATTERN == 1) { if (_parent._parent.pc_mc._x <= _parent._x) { if (dx >= -2) { dx += -0.1; } } else { if (dx <= 2) { dx += 0.1; } } if (_parent._parent.pc_mc._y - 30 <= _parent._y) { if (dy >= -2) { dy += -0.1; } } else { if (dy <= 2) { dy += 0.1; } } } if (ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 500 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 500 && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP -= 16; if (_global.pcHP <= 0) { _global.MISS = 'miss_fire'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { dx = 0; dy = 0; gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0 || dy != 0) { gotoAndStop('move'); } else { gotoAndStop('stand'); } } } py += dy; _parent._y = int(py); ppy = _parent._y + _parent._parent._y; px += dx; _parent._x = int(px); ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 2450 { } movieClip 2452 { } movieClip 2454 { } movieClip 2456 { } movieClip 2458 { } movieClip 2460 { } movieClip 2462 { } movieClip 2464 { } movieClip 2466 { } movieClip 2468 { } movieClip 2470 { } movieClip 2472 { } movieClip 2474 { } movieClip 2476 { } movieClip 2478 { } movieClip 2482 { } movieClip 2484 { } movieClip 2486 { } movieClip 2490 { } movieClip 2492 { } movieClip 2494 { } movieClip 2495 { frame 100 { _parent.nextFrame(); } } movieClip 2496 { } movieClip 2498 { } movieClip 2500 { } movieClip 2502 { } movieClip 2504 { } movieClip 2506 { } movieClip 2508 { } movieClip 2510 { } movieClip 2512 { } movieClip 2514 { } movieClip 2516 { } movieClip 2517 { frame 10 { _parent.dy = -24; if (!_parent.MIGI) { _parent.dx = -12; } if (_parent.MIGI) { _parent.dx = 12; } } frame 19 { _parent.ATTACK = 0; gotoAndPlay('loop'); } } movieClip 2519 { } movieClip 2520 { frame 13 { gotoAndPlay('loop'); } } movieClip 2522 { } movieClip 2524 { } movieClip 2525 { frame 10 { _parent.dy = -24; if (!_parent.MIGI) { _parent.dx = 12; } if (_parent.MIGI) { _parent.dx = -12; } } frame 19 { _parent.ATTACK = 0; gotoAndPlay('loop'); } } movieClip 2526 { frame 13 { gotoAndPlay('loop'); } } movieClip 2528 { } movieClip 2530 { } movieClip 2532 { } movieClip 2556 { frame 22 { tmc = _parent._parent._parent.attachMovie('enSTONESHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? -5 : 5); tmc._y = _parent._parent._y - 195; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 4 : -4; tmc._mc.dy = -9; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSTONESHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 60 : -60); tmc._y = _parent._parent._y - 125; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 9 : -9; tmc._mc.dy = -4; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 34 { tmc = _parent._parent._parent.attachMovie('enSTONESHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 30 : -30); tmc._y = _parent._parent._y - 185; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 7 : -7; tmc._mc.dy = -7; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSTONESHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 95 : -95); tmc._y = _parent._parent._y - 95; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 10 : -10; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 46 { tmc = _parent._parent._parent.attachMovie('enSTONESHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 55 : -55); tmc._y = _parent._parent._y - 175; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 9 : -9; tmc._mc.dy = -4; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSTONESHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 110 : -110); tmc._y = _parent._parent._y - 50; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 9 : -9; tmc._mc.dy = 4; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 120 { _parent.ATTACK = 0; } } movieClip 2557 { } movieClip 2559 { } movieClip 2561 { } movieClip 2562 { frame 33 { _parent.ATTACK = 0; } } movieClip 2564 { } movieClip 2566 { } movieClip 2569 { } movieClip 2571 { } movieClip 2574 { } movieClip 2576 { } movieClip 2580 { } movieClip 2584 { } movieClip 2587 { } movieClip 2589 { } movieClip 2597 { frame 42 { _parent.ATTACK = 0; } } movieClip 2598 { } movieClip 2600 { } movieClip 2605 { } movieClip 2607 { } movieClip 2612 { } movieClip 2620 { frame 167 { gotoAndPlay('loop'); } } movieClip 2622 { } movieClip 2624 { } movieClip 2626 { } movieClip 2631 { } movieClip 2633 { } movieClip 2638 { } movieClip 2639 { frame 40 { stop(); } } movieClip 2640 { } movieClip 2641 { instance _mc of movieClip 2640 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; _global.bcHP = 200; _global.bcHPMAX = 200; XsizeL = -19; XsizeR = 20; YsizeU = -60; YsizeD = 59; PATTERN = 1; TIME = 0; COUNT = 0; pcAREA = 0; bcAREA = 1; MODE = 2; StoneRandom = 0; JumpRandom = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { if (_global.bcHP > 0 && ATTACK != 2) { dx = 0; } JUMP = 0; } HTx += (HTx == -19) ? 39 : 40; } if (_global.pcHP > 0 && _global.bcHP > 0 && ATTACK == 0 && JUMP == 0) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } pcAREA = int(_parent._parent.pc_mc._x / 560); bcAREA = int(_parent._x / 560); if (pcAREA == bcAREA) { MODE = 1; } else { MODE = 2; } if (_parent._x - 200 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x - 60 || _parent._x + 60 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x + 200) { if (COUNT > 1) { MODE = 0; } } if (MODE == 0) { PATTERN = 2; COUNT %= 2; } else { if (MODE == 1) { if (COUNT % 2 == 0) { PATTERN = 3; if (StoneRandom == 3) { PATTERN = 1; StoneRandom = 0; } else { StoneRandom += 1; } } else { if (bcAREA == 0 && MIGI) { PATTERN = 4; } else { if (bcAREA == 2 && !MIGI) { PATTERN = 4; } else { PATTERN = 5; } } } COUNT += 1; } else { if (MODE == 2) { if (COUNT % 2 == 0) { PATTERN = 1; } else { PATTERN = 4; } COUNT += 1; } } } if (_global.pcHP <= 0) { gotoAndStop('stand'); } else { if (PATTERN == 1) { ATTACK = 1; gotoAndStop('attackA'); } else { if (PATTERN == 2) { ATTACK = 1; gotoAndStop('attackB'); } else { if (PATTERN == 3) { if (!MIGI && dx > -8) { dx += -8; } if (MIGI && dx < 8) { dx += 8; } ATTACK = 2; gotoAndStop('attackC'); } else { if (PATTERN == 4) { ATTACK = 2; gotoAndStop('jump_fU'); } else { if (PATTERN == 5) { ATTACK = 2; gotoAndStop('jump_bU'); } } } } } } } if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 30; if (_global.pcHP <= 0 && !_global.SAFE) { _parent._parent.pc_mc._visible = false; gotoAndStop('ryona'); } _global.pcDAME = 60; } else { if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.c_mc)) { _root.NORMALhit_se.start(); _global.pcHP -= 20; _global.pcDAME = 60; } } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0) { gotoAndStop('miss'); ATTACK = 0; if (JUMP == 0) { if (MIGI) { dx = -3; } else { dx = 3; } } } else { if (ATTACK == 0) { if (JUMP != 0) { if (PATTERN == 4) { if (!MIGI && dx > -12) { dx += -12; } if (MIGI && dx < 12) { dx += 12; } if (dy < 0) { gotoAndStop('jump_fU'); } else { gotoAndStop('jump_fD'); } } else { if (PATTERN == 5) { if (!MIGI && dx < 12) { dx += 12; } if (MIGI && dx > -12) { dx += -12; } if (dy < 0) { gotoAndStop('jump_bU'); } else { gotoAndStop('jump_bD'); } } } } else { gotoAndStop('stand'); } } } if (dy < 17) { dy += 1; } if (_global.bcHP > 0) { HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == -19) ? 39 : 40; } } _parent._y += dy; if (_global.bcHP <= 0 && 380 < _parent._y) { _parent._y = 380; dx = 0; } ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0) { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 20) ? 39 : 40; } } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (TIME > 0) { TIME -= 1; } if (_global.bcHP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.bcHP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.c_mc)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { _root.GUARD_se.start(); (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (_global.bcHP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { _global.bcHP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 2645 { } movieClip 2646 { frame 1 { stop(); } frame 3 { stop(); } } movieClip 2647 { instance _mc of movieClip 2646 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._parent._x; ppy = _parent._y + _parent._parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } i = 0; while (i < 10) { if ((eval('_parent._parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc) && (eval('_parent._parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_root.' + (eval('_parent._parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); play(); } ++i; } } } } movieClip 2648 { } movieClip 2650 { } movieClip 2684 { frame 118 { gotoAndPlay(70); } } movieClip 2685 { } movieClip 2703 { frame 118 { gotoAndPlay(70); } } movieClip 2704 { } movieClip 2705 { frame 1 { stop(); } } movieClip 2706 { instance _mc of movieClip 2705 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._visible && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.EAThit_se.start(); _global.pcHP = 0; _global.pcDAME = 60; _parent._parent.pc_mc._mc.dx = 0; if (_parent._parent.pc_mc._mc.MIGI) { gotoAndStop('ryona'); } else { gotoAndStop('ryonaB'); } _parent._parent.pc_mc._visible = false; _global.SOKUSI = true; } } } } movieClip 2710 { } movieClip 2711 { frame 1 { stop(); } frame 3 { stop(); } } movieClip 2712 { instance _mc of movieClip 2711 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._parent._x; ppy = _parent._y + _parent._parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } i = 0; while (i < 10) { if ((eval('_parent._parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc) && (eval('_parent._parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { (eval('_root.' + (eval('_parent._parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); play(); } ++i; } } } } movieClip 2713 { } movieClip 2715 { } movieClip 2717 { } movieClip 2720 { } movieClip 2722 { } movieClip 2724 { } movieClip 2727 { } movieClip 2731 { } movieClip 2733 { } movieClip 2734 { } movieClip 2736 { frame 191 { _parent.nextFrame(); } } movieClip 2737 { } movieClip 2738 { frame 1 { _parent.Mend = 1; } frame 49 { _parent.Mend = 0; } } movieClip 2739 { frame 1 { _parent.Mend = 1; } frame 21 { _parent.Mend = 0; } } movieClip 2741 { } movieClip 2743 { } movieClip 2744 { frame 1 { _parent.Mend = 1; } frame 51 { _parent.Mend = 0; } } movieClip 2745 { frame 1 { _parent.Mend = 1; } frame 51 { _parent.Mend = 0; } } movieClip 2746 { frame 1 { _parent.Mend = 1; } frame 31 { tmc = _parent._parent._parent.attachMovie('enSTONE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 200 : -200); tmc._y = _parent._parent._y - 130; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._rotation = _parent.MIGI ? 30 : -30; tmc._mc.dx = _parent.MIGI ? 13 : -13; tmc._mc.dy = 8; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 41 { tmc = _parent._parent._parent.attachMovie('enSTONE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 195 : -195); tmc._y = _parent._parent._y - 170; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._rotation = _parent.MIGI ? 20 : -20; tmc._mc.dx = _parent.MIGI ? 14 : -14; tmc._mc.dy = 5; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 51 { tmc = _parent._parent._parent.attachMovie('enSTONE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 225 : -225); tmc._y = _parent._parent._y - 185; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._rotation = _parent.MIGI ? 10 : -10; tmc._mc.dx = _parent.MIGI ? 15 : -15; tmc._mc.dy = 3; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 61 { _parent.Mend = 0; } } movieClip 2749 { } movieClip 2750 { } movieClip 2751 { frame 71 { stop(); } } movieClip 2752 { } movieClip 2753 { instance _mc of movieClip 2752 { onClipEvent (load) { stop(); dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; Mend = 0; DAME = 0; MIGI = false; _global.bcHP = 360; _global.bcHPMAX = 360; TIME = 0; UP = true; COUNT = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { return undefined; } if (_global.bcHP > 0 && Mend == 0) { if (UP) { if (_global.pcHP > 0) { if (MIGI && _parent._parent.pc_mc._x <= _parent._x + 90 - 20) { COUNT = 4; } else { if (!MIGI && _parent._x - 90 + 20 <= _parent._parent.pc_mc._x) { COUNT = 4; } } switch (COUNT) { case 0: if (!MIGI && _parent._x - 240 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x) { Mend = 1; gotoAndStop('attackA'); } else { if (MIGI && _parent._x <= _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 240 + 20) { Mend = 1; gotoAndStop('attackA'); } else { if (!MIGI && _parent._x - 390 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x) { Mend = 1; gotoAndStop('attackB'); } else { if (MIGI && _parent._x <= _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 390 + 20) { Mend = 1; gotoAndStop('attackB'); } } } } COUNT += 1; break; case 1: Mend = 1; gotoAndStop('attackC'); COUNT += 1; TIME = 120; break; case 2: if (!MIGI && _parent._x - 240 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x) { Mend = 1; gotoAndStop('attackA'); COUNT += 1; } else { if (MIGI && _parent._x <= _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 240 + 20) { Mend = 1; gotoAndStop('attackA'); COUNT += 1; } else { if (!MIGI && _parent._x - 390 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x) { Mend = 1; gotoAndStop('attackB'); COUNT += 1; } else { if (MIGI && _parent._x <= _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 390 + 20) { Mend = 1; gotoAndStop('attackB'); COUNT += 1; } } } } if (TIME <= 0) { COUNT += 1; } break; default: Mend = 1; gotoAndStop('down'); UP = false; } } } else { COUNT = 0; ran = random(2); if (_parent._x == 320) { if (ran == 0) { _parent._x = 840; _parent._y = 360; } else { if (ran == 1) { _parent._x = 1360; _parent._y = 440; } } } else { if (_parent._x == 840) { if (ran == 0) { _parent._x = 320; _parent._y = 440; } else { if (ran == 1) { _parent._x = 1360; _parent._y = 440; } } } else { if (_parent._x == 1360) { if (ran == 0) { _parent._x = 320; _parent._y = 440; } else { if (ran == 1) { _parent._x = 840; _parent._y = 360; } } } } } if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } Mend = 1; gotoAndStop('up'); UP = true; } } if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 30; if (_global.pcHP <= 0) { _global.MISS = 'miss_zyougebunndann'; } _global.pcDAME = 60; } else { if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc2)) { _root.SLASHhit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_ryoudann'; } _global.pcDAME = 60; } } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0) { gotoAndStop('miss'); Mend = 0; } else { if (Mend == 0) { if (UP) { gotoAndStop('stand'); } } } if (DAME > 0) { DAME -= 1; } if (TIME > 0) { TIME -= 1; } if (_global.bcHP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.bcHP -= 8; DAME = 60; TIME = 0; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (_global.bcHP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { _global.bcHP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; TIME = 0; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; TIME = 0; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc2) || (eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc3) || (eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc4)) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 2754 { instance of movieClip 25 { onClipEvent (load) { TIME = 300; } onClipEvent (enterFrame) { if (_global.pcHP <= 0 || _global.bcHP <= 0) { return undefined; } if (TIME == 0) { i = random(6) + 1; if (!(eval('_parent._parent.en_mc' + i))._visible) { (eval('_parent._parent.en_mc' + i))._visible = true; (eval('_parent._parent.en_mc' + i))._mc.HP = 32; (eval('_parent._parent.en_mc' + i))._mc.ATTACK = 1; (eval('_parent._parent.en_mc' + i))._mc.MIGI = false; (eval('_parent._parent.en_mc' + i))._mc.gotoAndStop('up'); } TIME = 200; } if (TIME > 0) { TIME -= 1; } } } } movieClip 2755 { instance _mc of movieClip 2121 { onClipEvent (load) { _parent._visible = false; dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 0; XsizeL = -29; XsizeR = 30; YsizeU = 0; YsizeD = 74; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && _global.bcHP > 0) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 1) ? 29 : 30; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 50 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x + 50 + 20 && _parent._y - 75 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 75 + 60) { ATTACK = 1; gotoAndStop('attack'); } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { gotoAndStop('ryona'); MIGI = !_parent._parent.pc_mc._mc.MIGI; _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._visible = false; _parent._parent.RyonaSeane_mc.play(); } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { gotoAndStop('stand'); } } if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP <= 0 && _parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP <= 0 && _parent._x < _parent._parent.pc_mc._x) { MIGI = true; } } ++i; } if (HP <= 0 && DAME == 0) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x; (eval('_parent._parent.mn_mc' + i))._y = _parent._y + 40; break; } ++i; } } } } } movieClip 2758 { } movieClip 2764 { } movieClip 2767 { } movieClip 2769 { } movieClip 2774 { } movieClip 2778 { } movieClip 2783 { } movieClip 2792 { } movieClip 2836 { frame 1 { stop(); } frame 1528 { gotoAndPlay('loop'); } } movieClip 2839 { } movieClip 2843 { } movieClip 2845 { } movieClip 2846 { } movieClip 2848 { frame 1 { gotoAndStop(2); } instance _mc of movieClip 2846 { onClipEvent (enterFrame) { if (_parent._parent.pc_mc._mc.dy > 0 && (_mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x - 13, _parent._parent.pc_mc._y + _parent._parent._y + 60, false) || _mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x + 12, _parent._parent.pc_mc._y + _parent._parent._y + 60, false))) { _parent._parent.pc_mc._y = _parent._y - 60 + (_global.FLOORtime % 200 < 100 ? -3 : 3); _parent._parent.pc_mc._mc.dy = 0; _global.pcFLOOR = true; } if (_global.FLOORtime % 200 < 100) { _parent._y -= 3; } else { _parent._y += 3; } } } } movieClip 2849 { frame 1 { gotoAndStop(2); } instance _mc of movieClip 2846 { onClipEvent (enterFrame) { if (_parent._parent.pc_mc._mc.dy > 0 && (_mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x - 13, _parent._parent.pc_mc._y + _parent._parent._y + 60, false) || _mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x + 12, _parent._parent.pc_mc._y + _parent._parent._y + 60, false))) { _parent._parent.pc_mc._y = _parent._y - 60 + (_global.FLOORtime % 200 < 100 ? 3 : -3); _parent._parent.pc_mc._mc.dy = 0; _global.pcFLOOR = true; } if (_global.FLOORtime % 200 < 100) { _parent._y += 3; } else { _parent._y -= 3; } } } } movieClip 2851 { } movieClip 2852 { } movieClip 2854 { frame 1 { gotoAndStop(2); } instance _mc of movieClip 2852 { onClipEvent (enterFrame) { if (_parent._parent.pc_mc._mc.dy > 0 && (_mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x - 13, _parent._parent.pc_mc._y + _parent._parent._y + 60, false) || _mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x + 12, _parent._parent.pc_mc._y + _parent._parent._y + 60, false))) { _parent._parent.pc_mc._y = _parent._y - 60; if (_global.FLOORtime % 200 < 100) { _parent._parent.pc_mc._x += 3; } else { _parent._parent.pc_mc._x -= 3; } _parent._parent.pc_mc._mc.dy = 0; _global.pcFLOOR = true; } if (_global.FLOORtime % 200 < 100) { _parent._x += 3; } else { _parent._x -= 3; } } } } movieClip 2857 { } movieClip 2859 { } movieClip 2861 { } movieClip 2863 { } movieClip 2864 { } movieClip 2866 { } movieClip 2868 { } movieClip 2870 { } movieClip 2872 { } movieClip 2873 { } movieClip 2874 { } movieClip 2875 { } movieClip 2876 { instance _mc of movieClip 2875 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 80; PATTERN = 0; XsizeL = -49; XsizeR = 50; YsizeU = -120; YsizeD = 119; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 31) ? 19 : 40; } if (HP > 0 && ATTACK == 0) { if (PATTERN == 0) { if (_global.pcHP > 0 && _parent._x - 140 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 120 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 120) { MIGI = false; PATTERN = 1; } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 140 && _parent._y - 120 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 120) { MIGI = true; PATTERN = 1; } } } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 9 : XsizeL - 9), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == 0) ? 29 : 30; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 9 : XsizeL - 9), ppy + YsizeD + 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } if (!MIGI && dx > -9) { dx += -9; } if (MIGI && dx < 9) { dx += 9; } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= 30; if (_global.pcHP <= 0) { _global.MISS = 'miss_barabara'; } _global.pcDAME = 60; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (dx != 0) { gotoAndStop('move'); } else { gotoAndStop('stand'); } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 21) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 0) ? 29 : 30; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } if (HP > 0 && PATTERN == 0 && DAME == 60) { PATTERN = 1; if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } } } movieClip 2882 { } movieClip 2883 { frame 61 { gotoAndPlay(1); } } movieClip 2896 { } movieClip 2899 { } movieClip 2900 { frame 8 { _global.pcHP -= 2; _global.pcMP -= 4; if (_global.pcHP <= 0 && !_global.SAFE) { _parent.gotoAndStop('ryona'); } } frame 31 { _global.pcHP -= 2; _global.pcMP -= 4; } frame 51 { gotoAndPlay(1); } } movieClip 2901 { } movieClip 2903 { } movieClip 2910 { } movieClip 2911 { frame 31 { PISTON = 0; } frame 238 { PISTON += 1; if (PISTON >= 10) { gotoAndPlay('insert'); } } frame 281 { gotoAndPlay('loop'); } frame 321 { gotoAndPlay('fire'); } } movieClip 2912 { } movieClip 2913 { } movieClip 2914 { instance _mc of movieClip 2913 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 36; XsizeL = -19; XsizeR = 20; YsizeU = -70; YsizeD = 69; BIND = 0; BINDMAX = 1500; keyUP = false; keyDOWN = false; keyLEFT = false; keyRIGHT = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == -19) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 200 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x - 40 && _parent._y - 200 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 200) { MIGI = false; } else { if (_global.pcHP > 0 && _parent._x + 40 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 200 && _parent._y - 200 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 200) { MIGI = true; } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 2 : XsizeL - 2), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == 50) ? 19 : 40; } } } if (!MIGI && dx > -2) { dx += -2; } if (MIGI && dx < 2) { dx += 2; } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { ATTACK = 1; BIND = 1500; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; } if (ATTACK == 1) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; _parent._parent.pc_mc._x = _parent._x; _parent._parent.pc_mc._y = _parent._y + 10; if (Key.isDown(_global.KeyUP)) { if (!keyUP) { BIND -= _global.pcHP; keyUP = true; } } else { keyUP = false; } if (Key.isDown(_global.KeyDO)) { if (!keyDOWN) { BIND -= _global.pcHP; keyDOWN = true; } } else { keyDOWN = false; } if (Key.isDown(_global.KeyLE)) { if (!keyLEFT) { BIND -= _global.pcHP; keyLEFT = true; } } else { keyLEFT = false; } if (Key.isDown(_global.KeyRI)) { if (!keyRIGHT) { BIND -= _global.pcHP; keyRIGHT = true; } } else { keyRIGHT = false; } if (BIND <= 0 || _global.SOKUSI) { BIND = 0; ATTACK = -1; } } if (ATTACK == -1) { ATTACK = 0; _parent._parent.pc_mc._mc.ATTACK = 0; _parent._parent.pc_mc._visible = true; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == -19) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 50) ? 19 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 2916 { } movieClip 2924 { } movieClip 2955 { frame 10 { _global.pcHP -= 2; _global.pcMP -= 2; if (_global.pcHP <= 0 && !_global.SAFE) { _parent.gotoAndStop('ryona'); } } frame 22 { _global.pcHP -= 2; _global.pcMP -= 2; if (_global.pcHP <= 0 && !_global.SAFE) { _parent.gotoAndStop('ryona'); } } } movieClip 2984 { frame 476 { gotoAndPlay('loop'); } } movieClip 2986 { } movieClip 2987 { } movieClip 2988 { instance _mc of movieClip 2987 { onClipEvent (load) { dx = 0; dy = 0; px = _parent._x; py = _parent._y; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 0; DAME = 0; PATTERN = 0; MIGI = false; HP = 12; BIND = 0; BINDMAX = 750; keyUP = false; keyDOWN = false; keyLEFT = false; keyRIGHT = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } if (HP > 0 && ATTACK == 0) { if (!_global.BLACK && -40 < ppx && ppx < 880 && -40 < ppy && ppy < 520) { PATTERN = 1; } if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { MIGI = true; } if (PATTERN == 1) { if (_parent._parent.pc_mc._x <= _parent._x) { if (dx >= -6) { dx += -0.1; } } else { if (dx <= 6) { dx += 0.1; } } if (_parent._parent.pc_mc._y <= _parent._y) { if (dy >= -6) { dy += -0.1; } } else { if (dy <= 6) { dy += 0.1; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { ATTACK = 1; BIND = 750; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; _global.pcDAME = 60; } if (ATTACK == 1) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; px = _parent._parent.pc_mc._x; py = _parent._parent.pc_mc._y; dx = 0; dy = 0; MIGI = _parent._parent.pc_mc._mc.MIGI; if (Key.isDown(_global.KeyUP)) { if (!keyUP) { BIND -= _global.pcHP; keyUP = true; } } else { keyUP = false; } if (Key.isDown(_global.KeyDO)) { if (!keyDOWN) { BIND -= _global.pcHP; keyDOWN = true; } } else { keyDOWN = false; } if (Key.isDown(_global.KeyLE)) { if (!keyLEFT) { BIND -= _global.pcHP; keyLEFT = true; } } else { keyLEFT = false; } if (Key.isDown(_global.KeyRI)) { if (!keyRIGHT) { BIND -= _global.pcHP; keyRIGHT = true; } } else { keyRIGHT = false; } if (BIND <= 0 || _global.SOKUSI) { BIND = 0; ATTACK = -1; } } if (ATTACK == -1) { ATTACK = 0; _parent._parent.pc_mc._mc.ATTACK = 0; _parent._parent.pc_mc._visible = true; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { dx = 0; dy = 0; gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0 || dy != 0) { gotoAndStop('move'); } else { gotoAndStop('stand'); } } } py += dy; _parent._y = int(py); ppy = _parent._y + _parent._parent._y; px += dx; _parent._x = int(px); ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 2990 { } movieClip 2993 { } movieClip 2994 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 2995 { instance _mc of movieClip 2994 { onClipEvent (enterFrame) { if (_global.blSWITCHb) { play(); } } } } movieClip 2996 { } movieClip 2997 { frame 1 { gotoAndStop(2); } instance _mc of movieClip 2852 { onClipEvent (enterFrame) { if (_parent._parent.pc_mc._mc.dy > 0 && (_mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x - 13, _parent._parent.pc_mc._y + _parent._parent._y + 60, false) || _mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x + 12, _parent._parent.pc_mc._y + _parent._parent._y + 60, false))) { _parent._parent.pc_mc._y = _parent._y - 60; if (_global.FLOORtime % 200 < 100) { _parent._parent.pc_mc._x -= 3; } else { _parent._parent.pc_mc._x += 3; } _parent._parent.pc_mc._mc.dy = 0; _global.pcFLOOR = true; } if (_global.FLOORtime % 200 < 100) { _parent._x -= 3; } else { _parent._x += 3; } } } } movieClip 2999 { } movieClip 3001 { } movieClip 3002 { frame 1 { stop(); } } movieClip 3003 { instance _mc of movieClip 3002 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.blSWITCHb = true; play(); } } } } movieClip 3007 { frame 1 { gotoAndStop(2); } instance _mc of movieClip 2994 { onClipEvent (load) { nextFrame(); } onClipEvent (enterFrame) { if (_global.blSWITCHb) { play(); } } } } movieClip 3008 { } movieClip 3010 { } movieClip 3011 { frame 301 { gotoAndPlay(1); } } movieClip 3012 { } movieClip 3013 { instance _mc of movieClip 3012 { onClipEvent (load) { ATTACK = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP = 0; _global.pcDAME = 60; if (_global.pcHP <= 0) { _global.MISS = 'miss_magma'; } ATTACK = 1; _global.SOKUSI = true; } if (ATTACK == 1) { _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._y = _parent._y - 80; } } } } movieClip 3015 { } movieClip 3018 { } movieClip 3020 { } movieClip 3026 { } movieClip 3041 { frame 37 { gotoAndPlay(1); } } movieClip 3042 { frame 37 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3045 { } movieClip 3046 { } movieClip 3047 { instance _mc of movieClip 3046 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; ATTACK2 = 0; DAME = 0; MIGI = false; HP = 24; XsizeL = -29; XsizeR = 30; YsizeU = -20; YsizeD = 19; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 1) ? 29 : 30; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 70 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = false; dx = -3; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 70 + 20 && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = true; dx = 3; ATTACK = 1; gotoAndStop('attack'); } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == -20) ? 39 : 40; } if (!MIGI && dx > -3) { dx = -3; } if (MIGI && dx < 3) { dx = 3; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_udekamare'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { dx = 0; dy = 0; if (ATTACK == 1) { _mc.stop(); _mc._mc.gotoAndStop('miss'); ATTACK2 = 1; } else { if (ATTACK2 == 0) { gotoAndStop('miss'); } } ATTACK = 0; } else { if (ATTACK == 0) { ATTACK2 = 0; if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 1) ? 29 : 30; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == -20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if (!(HP <= 0 && DAME < 60) && ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE')) { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 3049 { } movieClip 3072 { frame 19 { tmc = _parent._parent._parent.attachMovie('enENERGYSHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 80 : -80); tmc._y = _parent._parent._y - 9; tmc._rotation = _parent.MIGI ? 0 : 180; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 25 { tmc = _parent._parent._parent.attachMovie('enENERGYSHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 80 : -80); tmc._y = _parent._parent._y - 9; tmc._rotation = _parent.MIGI ? 0 : 180; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 31 { tmc = _parent._parent._parent.attachMovie('enENERGYSHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 80 : -80); tmc._y = _parent._parent._y - 9; tmc._rotation = _parent.MIGI ? 0 : 180; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 58 { _parent.ATTACK = 0; } } movieClip 3073 { } movieClip 3074 { } movieClip 3075 { frame 76 { _parent.nextFrame(); } } movieClip 3076 { } movieClip 3078 { } movieClip 3079 { frame 26 { _parent._parent._parent.en_mc1._mc.HP = 16; _parent._parent._parent.en_mc1._x = _parent._parent._x + (_parent.MIGI ? 90 : -90); _parent._parent._parent.en_mc1._y = _parent._parent._y - 8; _parent._parent._parent.en_mc1._mc.MIGI = _parent.MIGI ? true : false; _parent._parent._parent.en_mc1._mc.dx = 0; _parent._parent._parent.en_mc1._mc.dy = 0; _parent._parent._parent.en_mc1._mc.COUNT = 0; _parent._parent._parent.en_mc1._mc.WEIT = 150; _parent._parent._parent.en_mc2._mc.HP = 16; _parent._parent._parent.en_mc2._x = _parent._parent._x + (_parent.MIGI ? -90 : 90); _parent._parent._parent.en_mc2._y = _parent._parent._y - 8; _parent._parent._parent.en_mc2._mc.MIGI = _parent.MIGI ? true : false; _parent._parent._parent.en_mc2._mc.dx = 0; _parent._parent._parent.en_mc2._mc.dy = 0; _parent._parent._parent.en_mc2._mc.COUNT = 180; _parent._parent._parent.en_mc2._mc.WEIT = 300; } frame 43 { _parent.ATTACK = 0; } } movieClip 3083 { frame 26 { _parent._parent._parent.en_mc3._mc.HP = 32; _parent._parent._parent.en_mc3._x = _parent._parent._x + (_parent.MIGI ? 120 : -120); _parent._parent._parent.en_mc3._y = _parent._parent._y - 8; _parent._parent._parent.en_mc3._mc.MIGI = _parent.MIGI ? true : false; _parent._parent._parent.en_mc3._mc.dx = 0; _parent._parent._parent.en_mc3._mc.dy = 0; _parent._parent._parent.en_mc3._mc.COUNT = 0; _parent._parent._parent.en_mc4._mc.HP = 32; _parent._parent._parent.en_mc4._x = _parent._parent._x + (_parent.MIGI ? -120 : 120); _parent._parent._parent.en_mc4._y = _parent._parent._y - 8; _parent._parent._parent.en_mc4._mc.MIGI = _parent.MIGI ? true : false; _parent._parent._parent.en_mc4._mc.dx = 0; _parent._parent._parent.en_mc4._mc.dy = 0; _parent._parent._parent.en_mc4._mc.COUNT = 180; } frame 43 { _parent.ATTACK = 0; } } movieClip 3084 { frame 13 { if (_parent._parent._parent.en_mc1._mc.COMMANDO == 0) { _parent._parent._parent.en_mc1._mc.COMMANDO = 1; } if (_parent._parent._parent.en_mc2._mc.COMMANDO == 0) { _parent._parent._parent.en_mc2._mc.COMMANDO = 1; } } frame 52 { _parent.ATTACK = 0; } } movieClip 3085 { frame 13 { if (_parent._parent._parent.en_mc3._mc.COMMANDO == -1) { _parent._parent._parent.en_mc3._mc.COMMANDO = 200; } } frame 33 { if (_parent._parent._parent.en_mc4._mc.COMMANDO == -1) { _parent._parent._parent.en_mc4._mc.COMMANDO = 200; } } frame 52 { _parent.ATTACK = 0; } } movieClip 3086 { frame 16 { tmc = _parent._parent._parent.attachMovie('enENERGYSHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 57 : -57); tmc._y = _parent._parent._y + 41; tmc._rotation = _parent.MIGI ? 45 : 135; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 25 { tmc = _parent._parent._parent.attachMovie('enENERGYSHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 68 : -68); tmc._y = _parent._parent._y + 27; tmc._rotation = _parent.MIGI ? 30 : 150; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 34 { tmc = _parent._parent._parent.attachMovie('enENERGYSHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 43 : -43); tmc._y = _parent._parent._y + 51; tmc._rotation = _parent.MIGI ? 60 : 120; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 49 { _parent.ATTACK = 0; } } movieClip 3087 { frame 19 { gotoAndPlay(7); } } movieClip 3094 { } movieClip 3096 { } movieClip 3097 { } movieClip 3106 { } movieClip 3134 { frame 6 { _parent.dy = 1; } frame 16 { _parent.dy = -30; } frame 46 { _parent._parent._parent.en_mc1._mc.HP = 0; _parent._parent._parent.en_mc2._mc.HP = 0; if (_parent._parent._parent.en_mc3._mc.COMMANDO == -1) { _parent._parent._parent.en_mc3._mc.HP = 0; } if (_parent._parent._parent.en_mc4._mc.COMMANDO == -1) { _parent._parent._parent.en_mc4._mc.HP = 0; } _parent.dy = 0; _parent._parent._y = 200; } frame 53 { _global.pcHP = 0; } frame 89 { gotoAndPlay(65); } } movieClip 3137 { } movieClip 3138 { frame 1 { tmc = _parent._parent._parent.attachMovie('enUDE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? -41 : 41); tmc._y = _parent._parent._y + 24; tmc._mc.dx = _parent.MIGI ? -3 : 3; tmc._mc.dy = 15; tmc._xscale = _parent.MIGI ? -100 : 100; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 39 { stop(); } } movieClip 3139 { } movieClip 3140 { instance _mc of movieClip 3139 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; PATTERN = 0; PATTERN2 = 0; ATTACK = 0; DAME = 0; TIME = 0; MIGI = false; _global.bcHP = 200; _global.bcHPMAX = 200; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { return undefined; } if (_global.pcHP > 0 && _global.bcHP > 0 && ATTACK == 0 && TIME == 0) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { MIGI = true; } if (PATTERN == 0) { dx = 0; dy = 0; if (_parent._parent.en_mc1._mc.HP > 0 || _parent._parent.en_mc2._mc.HP > 0) { gotoAndStop('attack_commando1'); } else { if (_parent._parent.en_mc3._mc.HP > 0 && _parent._parent.en_mc3._mc.COMMANDO == -1 || _parent._parent.en_mc4._mc.HP > 0 && _parent._parent.en_mc4._mc.COMMANDO == -1) { gotoAndStop('attack_commando2'); } else { if (PATTERN2 == 0) { gotoAndStop('attack_call1'); PATTERN2 = 1; } else { gotoAndStop('attack_call2'); PATTERN2 = 0; } } } ATTACK = 1; PATTERN += 1; } else { if (PATTERN == 1) { dx = 0; dy = 0; if (!MIGI && _parent._parent.pc_mc._x - _parent._x < -300) { dx = -10; gotoAndStop('move_front'); } else { if (!MIGI && -280 < _parent._parent.pc_mc._x - _parent._x) { dx = 10; gotoAndStop('move_back'); } else { if (MIGI && _parent._parent.pc_mc._x - _parent._x < 280) { dx = -10; gotoAndStop('move_back'); } else { if (MIGI && 300 < _parent._parent.pc_mc._x - _parent._x) { dx = 10; gotoAndStop('move_front'); } else { gotoAndStop('attack_shot2'); ATTACK = 1; PATTERN += 1; } } } } if (!MIGI && 1280 < _parent._x) { PATTERN = 5; } else { if (MIGI && _parent._x < 400) { PATTERN = 5; } } } else { if (PATTERN == 2) { if (MIGI) { dx = -10; } else { dx = 10; } dy = 10; gotoAndStop('move_back'); TIME = 15; PATTERN += 1; } else { if (PATTERN == 3) { dx = 0; dy = 0; gotoAndStop('attack_shot1'); ATTACK = 1; PATTERN += 1; } else { if (PATTERN == 4) { if (MIGI) { dx = -10; } else { dx = 10; } dy = -10; gotoAndStop('move_back'); TIME = 15; PATTERN = 0; } else { if (PATTERN == 5) { dx = 0; dy = 0; if (_parent._parent.en_mc3._mc.HP > 0 && _parent._parent.en_mc3._mc.COMMANDO == -1 || _parent._parent.en_mc4._mc.HP > 0 && _parent._parent.en_mc4._mc.COMMANDO == -1) { gotoAndStop('attack_commando2'); ATTACK = 1; } else { TIME = 70; PATTERN += 1; } } } } } } } } if (_global.bcHP > 0 && _global.pcHP > 0 && PATTERN == 6) { if (TIME > 60) { gotoAndStop('move_back'); if (MIGI) { dx = -2; } else { dx = 2; } dy = -2; } else { if (TIME > 50) { gotoAndStop('wait'); if (MIGI) { dx = -1; } else { dx = 1; } dy = -1; } else { if (TIME > 40) { gotoAndStop('attack_bind'); if (MIGI) { dx = 15; } else { dx = -15; } dy = 10; } else { if (TIME > 30) { dy = 5; } else { if (TIME > 20) { dy = 0; } else { if (TIME > 10) { dy = -5; } else { if (TIME > 0) { dy = -7; PATTERN = 0; } } } } } } } } if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { if (_global.pcHP <= 30) { dx = 0; dy = 0; ATTACK = 2; PATTERN = 0; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; } else { _root.EARTHhit_se.start(); _global.pcHP -= 16; _global.pcDAME = 60; } } if (ATTACK == 2) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._mc.dy = 0; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0) { dx = 0; dy = 0; gotoAndStop('miss'); } else { if (ATTACK == 0 && _global.pcHP <= 0) { dx = 0; dy = 0; gotoAndStop('wait'); ATTACK = 1; } } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (TIME > 0) { TIME -= 1; } if (_global.bcHP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.bcHP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (_global.bcHP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { _global.bcHP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 3144 { frame 6 { tmc = _parent._parent._parent.attachMovie('enENERGYSHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + int(60 * Math.cos(Math.PI * _parent._parent._rotation / 180)); tmc._y = _parent._parent._y + int(60 * Math.sin(Math.PI * _parent._parent._rotation / 180)); tmc._rotation = _parent._parent._rotation; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 11 { _parent.ATTACK = 0; } } movieClip 3145 { frame 6 { tmc = _parent._parent._parent.attachMovie('enENERGYSHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + int(60 * Math.cos(Math.PI * _parent._parent._rotation / 180)); tmc._y = _parent._parent._y + int(60 * Math.sin(Math.PI * _parent._parent._rotation / 180)); tmc._rotation = _parent._parent._rotation; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 10 { tmc = _parent._parent._parent.attachMovie('enENERGYSHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + int(60 * Math.cos(Math.PI * _parent._parent._rotation / 180)); tmc._y = _parent._parent._y + int(60 * Math.sin(Math.PI * _parent._parent._rotation / 180)); tmc._rotation = _parent._parent._rotation; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 14 { tmc = _parent._parent._parent.attachMovie('enENERGYSHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + int(60 * Math.cos(Math.PI * _parent._parent._rotation / 180)); tmc._y = _parent._parent._y + int(60 * Math.sin(Math.PI * _parent._parent._rotation / 180)); tmc._rotation = _parent._parent._rotation; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 21 { _parent.ATTACK = 0; } } movieClip 3147 { } movieClip 3148 { } movieClip 3149 { instance _mc of movieClip 3148 { onClipEvent (load) { sx = _parent._x; sy = _parent._y; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 0; DAME = 0; HP = 0; RANGE = 90; COMMANDO = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && _global.bcHP > 0) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; COMMANDO = 0; gotoAndStop('miss'); return undefined; } if (HP > 0) { _parent._x = _parent._parent.bc_mc._x + Math.round(RANGE * Math.cos(Math.PI * COUNT / 180)); _parent._y = _parent._parent.bc_mc._y - 8 + Math.round(RANGE * Math.sin(Math.PI * COUNT / 180)); _parent._rotation = Math.round(180 * Math.atan((_parent._parent.pc_mc._y - _parent._y) / (_parent._parent.pc_mc._x - _parent._x)) / Math.PI); if (_parent._parent.pc_mc._x < _parent._x) { _parent._rotation += 180; } if (ATTACK == 0) { if (COMMANDO == 1) { gotoAndStop('attack_commando'); COMMANDO = 0; ATTACK = 1; WEIT += 300; } else { if (WEIT <= 0) { WEIT += 300; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_ryoudann'; } _global.pcDAME = 60; } if (MIGI) { _yscale = 100; } else { _yscale = -100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0 || dy != 0) { gotoAndStop('move'); } else { gotoAndStop('stand'); } } } ppy = _parent._y + _parent._parent._y; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (WEIT > 0) { WEIT -= 1; } COUNT += 3; if (COUNT >= 360) { COUNT = 0; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } if (HP <= 0 && DAME == 0) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x; (eval('_parent._parent.mn_mc' + i))._y = _parent._y; if (_parent._y > 420) { (eval('_parent._parent.mn_mc' + i))._y = 420; } break; } ++i; } } } } } movieClip 3150 { frame 37 { gotoAndPlay(1); } } movieClip 3152 { } movieClip 3153 { } movieClip 3154 { instance _mc of movieClip 3153 { onClipEvent (load) { sx = _parent._x; sy = _parent._y; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; dx = 0; dy = 0; dxy = 15; ATTACK = 0; DAME = 0; HP = 0; RANGE = 120; COMMANDO = -1; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && _global.bcHP > 0) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; COMMANDO = -1; gotoAndStop('miss'); return undefined; } if (HP > 0) { if (COMMANDO == -1) { _parent._x = _parent._parent.bc_mc._x + Math.round(RANGE * Math.cos(Math.PI * COUNT / 180)); _parent._y = _parent._parent.bc_mc._y - 8 + Math.round(RANGE * Math.sin(Math.PI * COUNT / 180)); } if (COMMANDO == 200) { ROT = Math.round(180 * Math.atan((_parent._parent.pc_mc._y + 40 - _parent._y) / (_parent._parent.pc_mc._x - _parent._x)) / Math.PI); if (_parent._parent.pc_mc._x < _parent._x) { ROT += 180; } dx = int(dxy * Math.cos(Math.PI * ROT / 180)); dy = int(dxy * Math.sin(Math.PI * ROT / 180)); } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_ryoudann'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0 || dy != 0) { gotoAndStop('move'); } else { gotoAndStop('stand'); } } } if (COMMANDO != -1) { _parent._y += dy; } ppy = _parent._y + _parent._parent._y; if (COMMANDO != -1) { _parent._x += dx; } ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (COMMANDO >= 0) { COMMANDO -= 1; } if (COMMANDO == 0) { HP = 0; } COUNT += 3; if (COUNT >= 360) { COUNT = 0; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } if (HP <= 0 && DAME == 0) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x; (eval('_parent._parent.mn_mc' + i))._y = _parent._y; if (_parent._y > 420) { (eval('_parent._parent.mn_mc' + i))._y = 420; } break; } ++i; } } } } } movieClip 3156 { } movieClip 3158 { } movieClip 3161 { } movieClip 3162 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3163 { instance _mc of movieClip 3162 { onClipEvent (enterFrame) { if (_global.blSWITCHg) { play(); } } } } movieClip 3165 { } movieClip 3166 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 3167 { instance _mc of movieClip 3166 { onClipEvent (enterFrame) { if (_global.blSWITCHr) { play(); } } } } movieClip 3168 { frame 1 { gotoAndStop(2); } instance _mc of movieClip 3166 { onClipEvent (load) { nextFrame(); } onClipEvent (enterFrame) { if (_global.blSWITCHr) { play(); } } } } movieClip 3169 { frame 1 { gotoAndStop(2); } instance _mc of movieClip 3162 { onClipEvent (load) { nextFrame(); } onClipEvent (enterFrame) { if (_global.blSWITCHg) { play(); } } } } movieClip 3170 { } movieClip 3172 { } movieClip 3174 { } movieClip 3175 { frame 1 { stop(); } } movieClip 3176 { instance _mc of movieClip 3175 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.blSWITCHg = true; play(); } } } } movieClip 3178 { } movieClip 3180 { } movieClip 3181 { frame 1 { stop(); } } movieClip 3182 { instance _mc of movieClip 3181 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.blSWITCHr = true; play(); } } } } movieClip 3184 { } movieClip 3186 { } movieClip 3188 { } movieClip 3189 { frame 1 { stop(); } } movieClip 3190 { instance _mc of movieClip 3189 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.blSWITCHr = true; _global.blSWITCHg = true; play(); } } } } movieClip 3192 { } movieClip 3194 { } movieClip 3195 { frame 1 { stop(); } } movieClip 3196 { instance _mc of movieClip 3195 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.blSWITCHr = true; _global.blSWITCHb = true; play(); } } } } movieClip 3197 { frame 301 { gotoAndPlay(1); } } movieClip 3198 { } movieClip 3199 { instance _mc of movieClip 3198 { onClipEvent (load) { ATTACK = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP = 0; _global.pcDAME = 60; if (_global.pcHP <= 0) { _global.MISS = 'miss_magma'; } ATTACK = 1; } if (ATTACK == 1) { _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._y = _parent._y - 80; } } } } movieClip 3200 { instance _mc of movieClip 3153 { onClipEvent (load) { sx = _parent._x; sy = _parent._y; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 0; DAME = 0; MIGI = false; HP = 32; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } if (HP > 0) { } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_ryoudann'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0 || dy != 0) { gotoAndStop('move'); } else { gotoAndStop('stand'); } } } ppy = _parent._y + _parent._parent._y; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 3202 { } movieClip 3204 { } movieClip 3206 { } movieClip 3207 { frame 1 { stop(); } } movieClip 3208 { instance _mc of movieClip 3207 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.blSWITCHg = true; _global.blSWITCHb = true; play(); } } } } movieClip 3210 { frame 151 { gotoAndPlay(1); } } movieClip 3211 { } movieClip 3212 { } movieClip 3213 { instance _mc of movieClip 3212 { onClipEvent (enterFrame) { if (_parent._x < 3360) { if (_global.DIFFICULTY == 'easy') { _parent._x += 1; } else { if (_global.DIFFICULTY == 'normal') { _parent._x += 2; } else { if (_global.DIFFICULTY == 'hard') { _parent._x += 3; } } } } i = 1; while (i <= 8) { if (_parent._parent.pc_mc._mc._mc.a_mc.hitTest(eval('_mc.a_mc' + i))) { _root.FIREhit_se.start(); _global.pcHP = 0; _global.pcDAME = 60; if (_global.pcHP <= 0) { _global.MISS = 'miss_magma'; } _global.SOKUSI = true; } ++i; } } } } movieClip 3214 { } movieClip 3231 { frame 1 { nextFrame(); } frame 2 { play(); } frame 11 { stop(); } } movieClip 3232 { } movieClip 3238 { frame 221 { _parent.nextFrame(); } } movieClip 3240 { } movieClip 3241 { frame 121 { gotoAndPlay(1); _parent.ATTACK = 0; } } movieClip 3244 { frame 1 { nextFrame(); } frame 2 { play(); } frame 16 { stop(); } } movieClip 3245 { frame 61 { _parent.ATTACK = 0; } } movieClip 3246 { } movieClip 3247 { frame 46 { _parent.ATTACK = 0; } } movieClip 3252 { frame 55 { i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = 16; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + (_parent.MIGI ? 160 : -160); (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y - 300; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = _parent.MIGI ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = _parent.MIGI ? 3 : -3; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 4; (eval('_parent._parent._parent.en_mc' + i))._mc.px = (eval('_parent._parent._parent.en_mc' + i))._x; (eval('_parent._parent._parent.en_mc' + i))._mc.py = (eval('_parent._parent._parent.en_mc' + i))._y; break; } ++i; } } frame 71 { i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = 16; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + (_parent.MIGI ? 160 : -160); (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y - 300; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = _parent.MIGI ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = _parent.MIGI ? 5 : -5; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.px = (eval('_parent._parent._parent.en_mc' + i))._x; (eval('_parent._parent._parent.en_mc' + i))._mc.py = (eval('_parent._parent._parent.en_mc' + i))._y; break; } ++i; } } frame 91 { _parent.ATTACK = 0; } } movieClip 3253 { } movieClip 3257 { frame 1 { tmc = _parent._parent._parent.attachMovie('enBIGFIRE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 130 : -130); tmc._y = _parent._parent._y - 105; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 10 : -10; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 25 { tmc = _parent._parent._parent.attachMovie('enBIGFIRE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 190 : -190); tmc._y = _parent._parent._y - 195; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 10 : -10; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 49 { tmc = _parent._parent._parent.attachMovie('enBIGFIRE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 150 : -150); tmc._y = _parent._parent._y - 240; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 10 : -10; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 73 { tmc = _parent._parent._parent.attachMovie('enBIGFIRE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 185 : -185); tmc._y = _parent._parent._y - 130; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 10 : -10; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 97 { tmc = _parent._parent._parent.attachMovie('enBIGFIRE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 140 : -140); tmc._y = _parent._parent._y - 175; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 10 : -10; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 121 { _parent.ATTACK = 0; } } movieClip 3258 { } movieClip 3260 { } movieClip 3262 { } movieClip 3263 { frame 121 { tmc = _parent._parent._parent.attachMovie('enBLOCK', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._parent.pc_mc._x + 60 * (random(9) - 4); tmc._y = _parent._parent._y - 800; tmc._mc.dx = _parent.MIGI ? 0; tmc._mc.dy = 17; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 141 { tmc = _parent._parent._parent.attachMovie('enBLOCK', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._parent.pc_mc._x + 60 * (random(7) - 3); tmc._y = _parent._parent._y - 800; tmc._mc.dx = _parent.MIGI ? 0; tmc._mc.dy = 17; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 161 { tmc = _parent._parent._parent.attachMovie('enBLOCK', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._parent.pc_mc._x + 60 * (random(5) - 2); tmc._y = _parent._parent._y - 800; tmc._mc.dx = _parent.MIGI ? 0; tmc._mc.dy = 17; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 181 { tmc = _parent._parent._parent.attachMovie('enBLOCK', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._parent.pc_mc._x + 60 * (random(3) - 1); tmc._y = _parent._parent._y - 800; tmc._mc.dx = _parent.MIGI ? 0; tmc._mc.dy = 17; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 201 { tmc = _parent._parent._parent.attachMovie('enBLOCK', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._parent.pc_mc._x; tmc._y = _parent._parent._y - 800; tmc._mc.dx = _parent.MIGI ? 0; tmc._mc.dy = 17; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 211 { _parent.ATTACK = 0; } } movieClip 3265 { frame 61 { stop(); } } movieClip 3266 { } movieClip 3267 { instance _mc of movieClip 3266 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; PATTERN = 0; ATTACK = 0; DAME = 0; TIME = 0; MIGI = false; HitEye = 2; CountEnemy = 0; _global.bcHP = 360; _global.bcHPMAX = 360; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { return undefined; } dx = 0; if (_global.bcHP > 0 && _global.pcHP > 0 && ATTACK == 0) { CountEnemy = 0; i = 1; while (i <= 5) { if ((eval('_parent._parent.en_mc' + i))._mc.HP > 0) { CountEnemy += 1; } ++i; } if (PATTERN == 8) { if (!MIGI && _parent._parent.pc_mc._x < 560) { PATTERN = 4; } else { if (MIGI && 1120 < _parent._parent.pc_mc._x) { PATTERN = 4; } } } if (PATTERN == 11) { gotoAndStop('stand'); ATTACK = 1; if (HitEye == 3) { PATTERN = 8; if (!MIGI && _parent._parent.pc_mc._x < 560) { PATTERN = 4; } else { if (MIGI && 1120 < _parent._parent.pc_mc._x) { PATTERN = 4; } } } else { PATTERN = 0; } } else { if (PATTERN == 10) { gotoAndStop('dive_up'); ATTACK = 1; PATTERN = 0; HitEye = random(3) + 1; } else { if (PATTERN == 9) { gotoAndStop('dive_move'); if (!MIGI) { dx = -10; if (_parent._x <= 260) { MIGI = true; dx = 0; PATTERN += 1; } } else { if (MIGI) { dx = 10; if (1420 <= _parent._x) { MIGI = false; dx = 0; PATTERN += 1; } } } } else { if (PATTERN == 8) { gotoAndStop('dive_down'); ATTACK = 1; PATTERN += 1; } else { if (PATTERN % 4 == 0) { if (CountEnemy > 3) { gotoAndStop('attackB'); ATTACK = 1; PATTERN += 3; } else { gotoAndStop('attackA'); ATTACK = 1; PATTERN += 1; } } else { if (PATTERN % 4 == 1) { gotoAndStop('stand'); ATTACK = 1; PATTERN += 1; } else { if (PATTERN % 4 == 2) { gotoAndStop('attackB'); ATTACK = 1; PATTERN += 1; } else { if (PATTERN % 4 == 3) { gotoAndStop('attackC'); ATTACK = 1; PATTERN += 1; } } } } } } } } } if (_global.bcHP > 0) { i = 0; while (i <= 2) { if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(eval('_mc.c_mc' + i))) { _root.FIREhit_se.start(); _global.pcHP -= 30; if (_global.pcHP <= 0) { _global.MISS = 'miss_magma'; } _global.pcDAME = 60; } ++i; } i = 0; while (i <= 5) { if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(eval('_mc.b_mc' + i))) { _root.FIREhit_se.start(); _global.pcHP -= 16; if (_global.pcHP <= 0) { _global.MISS = 'miss_magma'; } _global.pcDAME = 60; } ++i; } } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0) { gotoAndStop('miss'); } else { if (PATTERN != 9 && PATTERN != 10 && ATTACK == 0 && _global.pcHP <= 0) { gotoAndStop('stand'); ATTACK = 1; } else { if ((PATTERN == 9 || PATTERN == 10) && ATTACK == 0 && _global.pcHP <= 0) { if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { MIGI = true; } gotoAndStop('dive_up'); ATTACK = 1; PATTERN = 0; } } } i = 1; while (i <= 3) { (eval('_mc.eye_mc' + i))._visible = false; ++i; } (eval('_mc.eye_mc' + HitEye))._visible = true; _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (TIME > 0) { TIME -= 1; } if (_global.bcHP > 0) { i = 1; while (i <= 3) { if (DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(eval('_mc.a_mc' + i)) && (eval('_mc.eye_mc' + i))._visible) { _root.NORMALhit_se.start(); _global.bcHP -= 8; DAME = 60; } ++i; } } i = 0; while (i < 10) { j = 1; while (j <= 3) { if (_global.bcHP > 0 && DAME < 50 && (eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(eval('_mc.a_mc' + j)) && (eval('_mc.eye_mc' + j))._visible) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { _global.bcHP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { _global.bcHP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++j; } j = 1; while (j <= 5) { if (_global.bcHP > 0 && (eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(eval('_mc.b_mc' + j))) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++j; } ++i; } } } } movieClip 3268 { instance _mc of movieClip 2447 { onClipEvent (load) { dx = 0; dy = 0; px = _parent._x; py = _parent._y; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 0; DAME = 0; PATTERN = 1; MIGI = false; HP = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && _global.bcHP > 0) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } if (HP > 0) { if (!_global.BLACK && -40 < ppx && ppx < 880 && -40 < ppy && ppy < 520) { PATTERN = 1; } if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { MIGI = true; } if (PATTERN == 1) { if (_parent._parent.pc_mc._x <= _parent._x) { if (dx >= -2) { dx += -0.1; } } else { if (dx <= 2) { dx += 0.1; } } if (_parent._parent.pc_mc._y - 30 <= _parent._y) { if (dy >= -2) { dy += -0.1; } } else { if (dy <= 2) { dy += 0.1; } } } if (ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 500 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 500 && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP -= 16; if (_global.pcHP <= 0) { _global.MISS = 'miss_fire'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { dx = 0; dy = 0; gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0 || dy != 0) { gotoAndStop('move'); } else { gotoAndStop('stand'); } } } py += dy; _parent._y = int(py); ppy = _parent._y + _parent._parent._y; px += dx; _parent._x = int(px); ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } if (HP <= 0 && DAME == 0) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x; (eval('_parent._parent.mn_mc' + i))._y = _parent._y; if (_parent._y > 420) { (eval('_parent._parent.mn_mc' + i))._y = 420; } break; } ++i; } } } } } movieClip 3329 { } movieClip 3330 { } movieClip 3344 { } movieClip 3346 { } movieClip 3349 { } movieClip 3351 { } movieClip 3353 { } movieClip 3355 { } movieClip 3356 { frame 201 { gotoAndPlay(1); } } movieClip 3357 { } movieClip 3358 { } movieClip 3359 { instance _mc of movieClip 3358 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 100; FLAG = false; COUNTENEMY = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { if (TIME == 0) { FLAG = true; } _parent._visible = true; } else { if (!FLAG) { _parent._visible = false; return undefined; } } if (TIME == 0) { COUNTENEMY = 0; i = 1; while (i <= 5) { if ((eval('_parent._parent.en_mc' + i))._mc.HP > 0) { if (++COUNTENEMY >= 1) { return undefined; } } ++i; } i = random(5) + 1; j = 0; while (j < 5) { if ((eval('_parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent.en_mc' + i))._x = _parent._x; (eval('_parent._parent.en_mc' + i))._y = _parent._y; (eval('_parent._parent.en_mc' + i))._mc.px = _parent._x; (eval('_parent._parent.en_mc' + i))._mc.py = _parent._y; (eval('_parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent.en_mc' + i))._mc.MIGI = _parent._x < _parent._parent.pc_mc._x ? true : false; if (++i > 5) { i = 1; } break; } ++j; } } if (--TIME < 0) { TIME = 100; } } } } movieClip 3361 { frame 1 { gotoAndStop(2); } instance _mc of movieClip 3153 { onClipEvent (load) { sx = _parent._x; sy = _parent._y; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 0; DAME = 0; MIGI = false; HP = 32; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } if (HP > 0) { if (int(_global.FLOORtime / 150) % 2 == 0) { _parent._x = sx - _global.FLOORtime % 150; } else { _parent._x = sx + _global.FLOORtime % 150 - 150; } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_ryoudann'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0 || dy != 0) { gotoAndStop('move'); } else { gotoAndStop('stand'); } } } ppy = _parent._y + _parent._parent._y; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 3362 { instance _mc of movieClip 427 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 0; HPMAX = 36; XsizeL = -59; XsizeR = 60; YsizeU = -30; YsizeD = 29; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 21) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 70 - 20 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 70 + 20 && _parent._y - 90 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30 + 60) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == 0) ? 29 : 30; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + YsizeD + 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } if (!MIGI && dx > -3) { dx += -3; } if (MIGI && dx < 3) { dx += 3; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.EAThit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { _global.MISS = 'miss_hannbunn'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 21) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 0) ? 29 : 30; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'THUNDER') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 3363 { instance _mc of movieClip 1764 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 0; HPMAX = 80; PATTERN = 0; XsizeL = -59; XsizeR = 60; YsizeU = -60; YsizeD = 59; BIND = 0; BINDMAX = 2000; keyUP = false; keyDOWN = false; keyLEFT = false; keyRIGHT = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 21) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 400 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 400 && _parent._y - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 60) { PATTERN = 1; } else { PATTERN = 0; } if (PATTERN == 0) { dx = 0; } else { if (PATTERN == 1) { if (_parent._x + 50 < _parent._parent.pc_mc._x) { MIGI = true; } else { if (_parent._parent.pc_mc._x < _parent._x - 50) { MIGI = false; } } if (!MIGI && dx > -2) { dx += -2; } if (MIGI && dx < 2) { dx += 2; } HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 2 : XsizeL - 2), ppy + HTy, true)) { dx = 0; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 2 + 5 : XsizeL - 2 - 5), ppy + YsizeD + 1, true)) { dx = 0; } HTy += (HTy == 20) ? 39 : 40; } } } } if (ATTACK == 0 && HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { ATTACK = 1; BIND = 2000; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; } if (ATTACK == 1) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; _parent._parent.pc_mc._x = _parent._x; _parent._parent.pc_mc._y = _parent._y - 40; if (Key.isDown(_global.KeyUP)) { if (!keyUP) { BIND -= _global.pcHP; keyUP = true; } } else { keyUP = false; } if (Key.isDown(_global.KeyDO)) { if (!keyDOWN) { BIND -= _global.pcHP; keyDOWN = true; } } else { keyDOWN = false; } if (Key.isDown(_global.KeyLE)) { if (!keyLEFT) { BIND -= _global.pcHP; keyLEFT = true; } } else { keyLEFT = false; } if (Key.isDown(_global.KeyRI)) { if (!keyRIGHT) { BIND -= _global.pcHP; keyRIGHT = true; } } else { keyRIGHT = false; } if (BIND <= 0 || _global.SOKUSI) { BIND = 0; ATTACK = -1; } } if (ATTACK == -1) { ATTACK = 0; _parent._parent.pc_mc._mc.ATTACK = 0; _parent._parent.pc_mc._visible = true; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (PATTERN == 1) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 21) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'EARTH') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 3364 { instance _mc of movieClip 2202 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 0; HPMAX = 40; XsizeL = -119; XsizeR = 120; YsizeU = -60; YsizeD = 59; pcx = 0; pcy = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { dx = 0; JUMP = 0; } HTx += (HTx == 81) ? 39 : 40; } if (HP > 0 && ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 170 - 20 + 10 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x - 80 && _parent._y - 80 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 40 + 60) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x + 80 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 170 + 20 - 10 && _parent._y - 80 - 60 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 40 + 60) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } else { HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 : XsizeL - 3), ppy + HTy, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } HTy += (HTy == 20) ? 39 : 40; } if (JUMP == 0 && !_parent._parent.map_mc.hitTest(ppx + (MIGI ? XsizeR + 3 - 50 : XsizeL - 3 + 50), ppy + YsizeD + 1, true)) { if (MIGI) { MIGI = false; } else { MIGI = true; } } if (!MIGI && dx > -2) { dx += -2; } if (MIGI && dx < 2) { dx += 2; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.WATERhit_se.start(); _global.pcHP -= 20; if (_global.pcHP <= 0) { gotoAndStop('ryona'); _parent._parent.pc_mc._visible = false; ATTACK = 2; pcx = _parent._parent.pc_mc._x; pcy = _parent._parent.pc_mc._y; } _global.pcDAME = 60; } if (ATTACK == 2) { _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._mc.dy = 0; _parent._parent.pc_mc._x = pcx; _parent._parent.pc_mc._y = pcy; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == 81) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && (_parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc) || _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc2))) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc) || (eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc2)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } if (HP > 0 && ATTACK == 0 && DAME == 60) { if (_parent._x < _parent._parent.pc_mc._x) { MIGI = true; } else { MIGI = false; } } } ++i; } } } } movieClip 3365 { instance _mc of movieClip 2447 { onClipEvent (load) { dx = 0; dy = 0; px = _parent._x; py = _parent._y; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 0; DAME = 0; PATTERN = 0; MIGI = false; HP = 0; HPMAX = 16; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } if (HP > 0) { if (!_global.BLACK && -40 < ppx && ppx < 880 && -40 < ppy && ppy < 520) { PATTERN = 1; } if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { MIGI = true; } if (PATTERN == 1) { if (_parent._parent.pc_mc._x <= _parent._x) { if (dx >= -2) { dx += -0.1; } } else { if (dx <= 2) { dx += 0.1; } } if (_parent._parent.pc_mc._y - 30 <= _parent._y) { if (dy >= -2) { dy += -0.1; } } else { if (dy <= 2) { dy += 0.1; } } } if (ATTACK == 0) { if (_global.pcHP > 0 && _parent._x - 500 < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x <= _parent._x && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = false; ATTACK = 1; gotoAndStop('attack'); } else { if (_global.pcHP > 0 && _parent._x < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 500 && _parent._y - 30 < _parent._parent.pc_mc._y && _parent._parent.pc_mc._y < _parent._y + 30) { MIGI = true; ATTACK = 1; gotoAndStop('attack'); } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.FIREhit_se.start(); _global.pcHP -= 16; if (_global.pcHP <= 0) { _global.MISS = 'miss_fire'; } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { dx = 0; dy = 0; gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0 || dy != 0) { gotoAndStop('move'); } else { gotoAndStop('stand'); } } } py += dy; _parent._y = int(py); ppy = _parent._y + _parent._parent._y; px += dx; _parent._x = int(px); ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { HP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { HP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 3366 { instance _mc of movieClip 2987 { onClipEvent (load) { dx = 0; dy = 0; px = _parent._x; py = _parent._y; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 0; DAME = 0; PATTERN = 0; MIGI = false; HP = 0; HPMAX = 12; BIND = 0; BINDMAX = 750; keyUP = false; keyDOWN = false; keyLEFT = false; keyRIGHT = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && -420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; gotoAndStop(1); return undefined; } if (HP > 0 && ATTACK == 0) { if (!_global.BLACK && -40 < ppx && ppx < 880 && -40 < ppy && ppy < 520) { PATTERN = 1; } if (_parent._parent.pc_mc._x <= _parent._x) { MIGI = false; } else { MIGI = true; } if (PATTERN == 1) { if (_parent._parent.pc_mc._x <= _parent._x) { if (dx >= -6) { dx += -0.1; } } else { if (dx <= 6) { dx += 0.1; } } if (_parent._parent.pc_mc._y <= _parent._y) { if (dy >= -6) { dy += -0.1; } } else { if (dy <= 6) { dy += 0.1; } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { ATTACK = 1; BIND = 750; gotoAndStop('bind'); _parent._parent.pc_mc._visible = false; _global.pcDAME = 60; } if (ATTACK == 1) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; px = _parent._parent.pc_mc._x; py = _parent._parent.pc_mc._y; dx = 0; dy = 0; MIGI = _parent._parent.pc_mc._mc.MIGI; if (Key.isDown(_global.KeyUP)) { if (!keyUP) { BIND -= _global.pcHP; keyUP = true; } } else { keyUP = false; } if (Key.isDown(_global.KeyDO)) { if (!keyDOWN) { BIND -= _global.pcHP; keyDOWN = true; } } else { keyDOWN = false; } if (Key.isDown(_global.KeyLE)) { if (!keyLEFT) { BIND -= _global.pcHP; keyLEFT = true; } } else { keyLEFT = false; } if (Key.isDown(_global.KeyRI)) { if (!keyRIGHT) { BIND -= _global.pcHP; keyRIGHT = true; } } else { keyRIGHT = false; } if (BIND <= 0 || _global.SOKUSI) { BIND = 0; ATTACK = -1; } } if (ATTACK == -1) { ATTACK = 0; _parent._parent.pc_mc._mc.ATTACK = 0; _parent._parent.pc_mc._visible = true; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { dx = 0; dy = 0; gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (dx != 0 || dy != 0) { gotoAndStop('move'); } else { gotoAndStop('stand'); } } } py += dy; _parent._y = int(py); ppy = _parent._y + _parent._parent._y; px += dx; _parent._x = int(px); ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 3369 { } movieClip 3371 { } movieClip 3373 { } movieClip 3374 { } movieClip 3375 { } movieClip 3376 { instance _mc of movieClip 3375 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._visible && _global.pcHP > 0 && _mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x, _parent._parent.pc_mc._y + _parent._parent._y + 60, false)) { _parent._parent.pc_mc._x = _parent._parent.gateB_mc._x; _parent._parent.pc_mc._y = _parent._parent.gateB_mc._y - 60; _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._mc.dy = 0; _root.BLACK_mc.gotoAndPlay('WHITE'); } } } } movieClip 3377 { } movieClip 3378 { } movieClip 3380 { } movieClip 3382 { } movieClip 3384 { } movieClip 3386 { } movieClip 3388 { } movieClip 3390 { } movieClip 3392 { } movieClip 3394 { } movieClip 3396 { } movieClip 3398 { } movieClip 3400 { } movieClip 3402 { } movieClip 3404 { } movieClip 3406 { } movieClip 3408 { } movieClip 3410 { } movieClip 3412 { } movieClip 3414 { } movieClip 3416 { } movieClip 3417 { frame 31 { _parent.MOTION = 0; gotoAndPlay(1); } } movieClip 3418 { frame 100 { _parent.nextFrame(); } } movieClip 3420 { } movieClip 3421 { frame 31 { _parent.MOTION = 0; gotoAndPlay(1); } } movieClip 3423 { } movieClip 3425 { } movieClip 3427 { } movieClip 3428 { frame 31 { _parent.MOTION = 0; } frame 61 { tmc = _parent._parent._parent.attachMovie('enFLAMESHOT', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (MIGI ? 15 : -15); tmc._y = _parent._parent._y - 15; tmc._rotation = Math.round(180 * Math.atan((440 - _parent._parent._y) / (_parent._parent._parent.pc_mc._x - _parent._parent._x)) / Math.PI); if (_parent._parent._parent.pc_mc._x < _parent._parent._x) { tmc._rotation += 180; } if (_parent.MIGI && Math.abs(tmc._rotation) > 90) { tmc._rotation = 90 * (tmc._rotation / Math.abs(tmc._rotation)); } else { if (!_parent.MIGI && Math.abs(tmc._rotation) < 90) { tmc._rotation = 90 * (tmc._rotation / Math.abs(tmc._rotation)); } } _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 91 { _parent.MOTION = 0; gotoAndPlay(1); } } movieClip 3431 { } movieClip 3433 { frame 31 { _parent.MOTION = 0; } frame 61 { _parent.MOTION = 0; gotoAndPlay('attack'); } frame 81 { if (_parent.MIGI) { _parent.dx = 3; } else { _parent.dx = -3; } } frame 111 { _parent.MOTION = 0; gotoAndPlay(1); } } movieClip 3438 { frame 10 { tmc = _parent._parent._parent.attachMovie('enAIRCUTTER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x; tmc._y = _parent._parent._y; tmc._rotation = Math.round(180 * Math.atan((_parent._parent._parent.pc_mc._y - _parent._parent._y) / (_parent._parent._parent.pc_mc._x - _parent._parent._x)) / Math.PI); if (_parent._parent._parent.pc_mc._x < _parent._parent._x) { tmc._rotation += 180; } if (_parent.MIGI && Math.abs(tmc._rotation) > 45) { tmc._rotation = 45 * (tmc._rotation / Math.abs(tmc._rotation)); } else { if (!_parent.MIGI && Math.abs(tmc._rotation) < 135) { tmc._rotation = 135 * (tmc._rotation / Math.abs(tmc._rotation)); } } _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 25 { _parent.MOTION = 0; gotoAndPlay(1); } } movieClip 3440 { } movieClip 3444 { } movieClip 3453 { frame 10 { stop(); } frame 17 { gotoAndPlay(21); } frame 45 { gotoAndPlay(21); } } movieClip 3454 { } movieClip 3455 { instance _mc of movieClip 3454 { onClipEvent (load) { dx = 0; dy = 0; ty = _parent._y; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; MOTION = 0; DAME = 0; MIGI = false; _global.bcHP = 240; _global.bcHPMAX = 240; XsizeL = -19; XsizeR = 20; YsizeU = -60; YsizeD = 59; PATTERN = 0; TIME = 300; COUNT = 0; COUNTy = 0; LastAttack = ''; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { return undefined; } ++TIME; if (COUNT != 0) { if (COUNT < 16) { COUNTy -= 1; } else { COUNTy += 1; } if (++COUNT > 30) { COUNT = 1; } } else { COUNTy = 0; } if (_global.pcHP > 0 && _global.bcHP > 0 && MOTION == 0) { if (_parent._parent.pc_mc._x <= _parent._x && _parent._x != 20) { MIGI = false; } else { MIGI = true; } if (PATTERN == 1) { PATTERN = 2; } if (PATTERN == 3) { PATTERN = 5; } if (PATTERN == 4) { PATTERN = 5; } dx = 0; dy = 0; if (PATTERN == 0) { if (TIME >= 300 && Math.abs(_parent._parent.pc_mc._x - _parent._x) > 100) { if (LastAttack != 'A') { PATTERN = 1; } else { PATTERN = 6; } } else { if (Math.abs(_parent._parent.pc_mc._x - _parent._x) < 100) { if (LastAttack != 'C') { PATTERN = 6; } else { if (ty > 260) { PATTERN = 3; } else { PATTERN = 4; } } } else { if (Math.abs(_parent._parent.pc_mc._x - _parent._x) < 400) { if (LastAttack != 'B') { if (ty > 260) { PATTERN = 3; } else { PATTERN = 4; } } else { PATTERN = 6; } } else { if (Math.abs(_parent._parent.pc_mc._x - _parent._x) > 600) { PATTERN = 7; } else { if (LastAttack != 'C') { PATTERN = 6; } else { PATTERN = 1; } } } } } } if (PATTERN == 1) { gotoAndStop('attackA'); MOTION = 1; COUNT = 1; if (ty < 260) { dy = 3; } else { dy = -3; } } else { if (PATTERN == 2) { LastAttack = 'A'; gotoAndStop('attackA'); _mc.gotoAndPlay('attack'); MOTION = 1; COUNT = 1; TIME = 0; PATTERN = 0; } else { if (PATTERN == 3) { gotoAndStop('attackB'); MOTION = 1; COUNT = 1; } else { if (PATTERN == 4) { gotoAndStop('attackB'); MOTION = 1; COUNT = 1; if (ty < 260) { dy = 6; } else { if (ty < _parent._parent.pc_mc._y) { dy = 3; } } } else { if (PATTERN == 5) { LastAttack = 'B'; gotoAndStop('attackB'); _mc.gotoAndPlay('attack'); MOTION = 1; COUNT = 0; PATTERN = 0; if (MIGI) { dx = 40; } else { dx = -40; } } else { if (PATTERN == 6) { LastAttack = 'C'; gotoAndStop('attackC'); MOTION = 1; COUNT = 0; PATTERN = 0; } else { if (PATTERN == 7) { LastAttack = ''; gotoAndStop('move'); MOTION = 1; COUNT = 1; PATTERN = 0; if (MIGI) { dx = 10; } else { dx = -10; } } } } } } } } } if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= 24; if (_global.pcHP <= 0) { _global.MISS = 'miss_kubihane'; } _global.pcDAME = 60; } else { if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.c_mc)) { _root.SLASHhit_se.start(); _global.pcHP -= 24; if (_global.pcHP <= 0) { _global.MISS = 'miss_ryoudann'; } _global.pcDAME = 60; } } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0) { gotoAndStop('miss'); dx = 0; COUNT = 0; if (_parent._y < 420) { if (dy < 17) { dy += 1; } } else { if (dy != 0) { _mc.gotoAndPlay(11); } ty = 420; COUNTy = 0; dy = 0; } } else { if (MOTION == 0) { gotoAndStop('wait'); dx = 0; dy = 0; COUNT = 1; MOTION = -1; } } ty += dy; _parent._y = ty + COUNTy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (_parent._x < 20) { _parent._x = 20; } else { if (_parent._x > 1660) { _parent._x = 1660; } } if (DAME > 0) { DAME -= 1; } if (_global.bcHP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.bcHP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (_global.bcHP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { _global.bcHP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE') { _global.bcHP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 3457 { } movieClip 3458 { instance _mc of movieClip 3358 { onClipEvent (load) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; TIME = 100; FLAG = false; COUNTENEMY = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { if (TIME == 0) { FLAG = true; } _parent._visible = true; } else { if (!FLAG) { _parent._visible = false; return undefined; } } if (TIME == 0) { COUNTENEMY = 0; i = 6; while (i <= 10) { if ((eval('_parent._parent.en_mc' + i))._mc.HP > 0) { if (++COUNTENEMY >= 1) { return undefined; } } ++i; } i = random(5) + 1 + 5; j = 0; while (j < 5) { if ((eval('_parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent.en_mc' + i))._x = _parent._x; (eval('_parent._parent.en_mc' + i))._y = _parent._y; (eval('_parent._parent.en_mc' + i))._mc.px = _parent._x; (eval('_parent._parent.en_mc' + i))._mc.py = _parent._y; (eval('_parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent.en_mc' + i))._mc.MIGI = _parent._x < _parent._parent.pc_mc._x ? true : false; if (++i > 10) { i = 6; } break; } ++j; } } if (--TIME < 0) { TIME = 100; } } } } movieClip 3461 { } movieClip 3463 { } movieClip 3464 { } movieClip 3465 { } movieClip 3466 { instance _mc of movieClip 3465 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._visible && _global.pcHP > 0 && _mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x, _parent._parent.pc_mc._y + _parent._parent._y + 60, false)) { _parent._parent.pc_mc._x = _parent._parent.gateR_mc._x; _parent._parent.pc_mc._y = _parent._parent.gateR_mc._y - 60; _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._mc.dy = 0; _root.BLACK_mc.gotoAndPlay('WHITE'); } } } } movieClip 3467 { } movieClip 3468 { } movieClip 3469 { } movieClip 3470 { } movieClip 3471 { } movieClip 3472 { } movieClip 3473 { instance _mc of movieClip 3472 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._visible && _global.pcHP > 0 && _mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x, _parent._parent.pc_mc._y + _parent._parent._y + 60, false)) { _parent._parent.pc_mc._x = _parent._parent.gateG_mc._x; _parent._parent.pc_mc._y = _parent._parent.gateG_mc._y - 60; _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._mc.dy = 0; _root.BLACK_mc.gotoAndPlay('WHITE'); } } } } movieClip 3474 { } movieClip 3475 { } movieClip 3476 { } movieClip 3477 { } movieClip 3478 { instance _mc of movieClip 3477 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._visible && _global.pcHP > 0 && _mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x, _parent._parent.pc_mc._y + _parent._parent._y + 60, false)) { _parent._parent.pc_mc._x = _parent._parent.gateY_mc._x; _parent._parent.pc_mc._y = _parent._parent.gateY_mc._y - 60; _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._mc.dy = 0; _root.BLACK_mc.gotoAndPlay('WHITE'); } } } } movieClip 3480 { } movieClip 3481 { } movieClip 3484 { } movieClip 3486 { } movieClip 3487 { frame 1 { stop(); } } movieClip 3488 { instance _mc of movieClip 3487 { onClipEvent (load) { ATTACK = 0; BIND = 0; BINDMAX = 5000; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-210 < ppx && ppx < 1050 && -120 < ppy && ppy < 600) { _parent._visible = true; if (ATTACK != 1) { gotoAndStop(2); } } else { _parent._visible = false; gotoAndStop(1); return undefined; } if (ATTACK == 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { ATTACK = 1; BIND = 5000; gotoAndStop(3); _parent._parent.pc_mc._mc.gotoAndStop('bind_onany'); } if (ATTACK == 1) { _global.pcDAME = 49; _parent._parent.pc_mc._mc.ATTACK = -1; _parent._parent.pc_mc._mc.SIT = true; _parent._parent.pc_mc._mc.ONANY = true; gauge_mc._x = _parent._parent.pc_mc._x - _parent._x; gauge_mc._y = _parent._parent.pc_mc._y - _parent._y - 100; if (Key.isDown(_global.KeyUP)) { if (!keyUP) { BIND -= _global.pcHP; keyUP = true; } } else { keyUP = false; } if (Key.isDown(_global.KeyDO)) { if (!keyDOWN) { BIND -= _global.pcHP; keyDOWN = true; } } else { keyDOWN = false; } if (Key.isDown(_global.KeyLE)) { if (!keyLEFT) { BIND -= _global.pcHP; keyLEFT = true; } } else { keyLEFT = false; } if (Key.isDown(_global.KeyRI)) { if (!keyRIGHT) { BIND -= _global.pcHP; keyRIGHT = true; } } else { keyRIGHT = false; } if (_global.pcHP <= 0) { gotoAndStop(2); } if (BIND <= 0 || _global.SOKUSI) { BIND = 0; ATTACK = -1; } } if (ATTACK == -1) { ATTACK = 0; _parent._parent.pc_mc._mc.ATTACK = 0; _parent._parent.pc_mc._mc.ONANY = false; } } } } movieClip 3490 { } movieClip 3491 { frame 136 { gotoAndPlay(1); } } movieClip 3492 { } movieClip 3493 { instance _mc of movieClip 3492 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } } } } movieClip 3495 { } movieClip 3496 { } movieClip 3498 { } movieClip 3499 { } movieClip 3500 { } movieClip 3501 { instance _mc of movieClip 3500 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._visible && _global.pcHP > 0 && _mc.a_mc.hitTest(_parent._parent.pc_mc._x + _parent._parent._x, _parent._parent.pc_mc._y + _parent._parent._y + 60, false)) { _global.NEXTx = NEXTx; _global.NEXTy = NEXTy; _root.BLACK_mc.gotoAndPlay('WHITE'); _parent._parent.gotoAndPlay(NEXT); } } } } movieClip 3502 { instance _mc of movieClip 1224 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } if (_parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _parent._parent.RyonaSeane_mc.play(); _global.pcHP = 0; _global.pcDAME = 60; _parent._parent.pc_mc._visible = false; _global.SOKUSI = true; } } } } movieClip 3508 { frame 1 { stop(); } frame 8 { stop(); } } movieClip 3511 { } movieClip 3515 { } movieClip 3516 { } movieClip 3517 { instance _mc of movieClip 3516 { onClipEvent (load) { PATTERN = 0; RANDOM = _parent._x % 9 - 4; if (_global.DIFFICULTY == 'easy') { RandomDY = int(0.5 * (6 + RANDOM)); } else { if (_global.DIFFICULTY == 'normal') { RandomDY = int(0.75 * (6 + RANDOM)); } else { if (_global.DIFFICULTY == 'hard') { RandomDY = 6 + RANDOM; } } } } onClipEvent (enterFrame) { switch (PATTERN) { case 0: gotoAndStop('normal'); if (_global.pcHP != 0 && _parent._x - 50 * (RANDOM + 6) < _parent._parent.pc_mc._x && _parent._parent.pc_mc._x < _parent._x + 50 * (RANDOM + 6)) { if (_parent._x < _parent._parent.pc_mc._x) { _parent._xscale = -100; } else { _parent._xscale = 100; } PATTERN = 1; } break; case 1: _parent._y -= RandomDY; if (_parent._y - 5 * RandomDY + 140 < _parent._parent.pc_mc._y) { _mc.play(); PATTERN = 2; } break; case 2: _parent._y += RandomDY; if (_parent._y >= 480) { _mc.play(); PATTERN = 0; } break; case 3: if (_parent._y < 480) { _parent._y += RandomDY; _parent._parent.pc_mc._mc.dx = 0; _parent._parent.pc_mc._mc.dy = 0; _parent._parent.pc_mc._y += RandomDY; } else { gotoAndStop('normal'); _parent._parent.RyonaSeane_mc.play(); } } if (_global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.a_mc)) { _root.EARTHhit_se.start(); _global.pcHP = 0; if (_global.pcHP <= 0) { PATTERN = 3; gotoAndStop('ryona'); _parent._parent.pc_mc._visible = false; } _global.pcDAME = 60; } } } } movieClip 3518 { frame 91 { gotoAndPlay(1); } } movieClip 3519 { } movieClip 3520 { instance _mc of movieClip 3519 { onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (-420 < ppx && ppx < 1260 && -240 < ppy && ppy < 720) { _parent._visible = true; } else { _parent._visible = false; return undefined; } } } } movieClip 3525 { } movieClip 3527 { } movieClip 3533 { } movieClip 3536 { } movieClip 3543 { } movieClip 3544 { } movieClip 3547 { } movieClip 3552 { } movieClip 3553 { frame 231 { gotoAndPlay('loop'); } } movieClip 3554 { frame 1 { stop(); } frame 441 { gotoAndPlay('loop'); } } movieClip 3555 { } movieClip 3556 { } movieClip 3557 { } movieClip 3560 { } movieClip 3561 { } movieClip 3563 { } movieClip 3572 { frame 24 { gotoAndPlay(18); } } movieClip 3574 { frame 13 { gotoAndPlay(7); } } movieClip 3575 { frame 24 { gotoAndPlay(18); } } movieClip 3584 { } movieClip 3588 { } movieClip 3589 { } movieClip 3590 { frame 171 { _parent.nextFrame(); } } movieClip 3599 { } movieClip 3600 { } movieClip 3601 { } movieClip 3604 { } movieClip 3605 { } movieClip 3606 { } movieClip 3608 { } movieClip 3609 { } movieClip 3610 { } movieClip 3612 { frame 10 { gotoAndPlay(4); } } movieClip 3613 { frame 10 { gotoAndPlay(4); } } movieClip 3614 { frame 10 { gotoAndPlay(4); } } movieClip 3616 { frame 13 { gotoAndPlay(7); } } movieClip 3617 { frame 13 { gotoAndPlay(7); } } movieClip 3623 { frame 16 { gotoAndPlay(1); } } movieClip 3624 { frame 16 { gotoAndPlay(1); } } movieClip 3625 { frame 16 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3631 { frame 16 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3632 { frame 16 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3633 { frame 7 { (eval('_root.' + _parent.TYPE + '_se')).start(); if (_parent.TYPE == 'FIRE') { _global.bcMP -= 4; tmc = _parent._parent._parent.attachMovie('enFIRE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 64 : -64); tmc._y = _parent._parent._y - 13; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 15 : -15; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } else { if (_parent.TYPE == 'ICE') { _global.bcMP -= 6; i = 0; while (i < 3) { tmc = _parent._parent._parent.attachMovie('enICE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 64 : -64); tmc._y = _parent._parent._y - 13; tmc._xscale = _parent.MIGI ? 100 : -100; if (i == 0) { tmc._mc.dx = _parent.MIGI ? 20 : -20; tmc._mc.dy = 0; } else { if (i == 1) { tmc._mc.dx = _parent.MIGI ? 17 : -17; tmc._mc.dy = 10; } else { if (i == 2) { tmc._mc.dx = _parent.MIGI ? 17 : -17; tmc._mc.dy = -10; } } } _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } i += 1; } } else { if (_parent.TYPE == 'THUNDER') { _global.bcMP -= 8; tmc = _parent._parent._parent.attachMovie('enTHUNDERmp', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 104 : -104); tmc._y = _parent._parent._y - 13; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } else { if (_parent.TYPE == 'EARTH') { _global.bcMP -= 10; tmc = _parent._parent._parent.attachMovie('enEARTHmp', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 104 : -104); tmc._y = _parent._parent._y + 60; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } } } } } frame 16 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3652 { } movieClip 3657 { } movieClip 3658 { frame 46 { _parent.ATTACK = 0; } } movieClip 3663 { frame 60 { stop(); } } movieClip 3667 { frame 60 { stop(); } } movieClip 3668 { frame 60 { stop(); } } movieClip 3688 { } movieClip 3694 { } movieClip 3697 { } movieClip 3700 { } movieClip 3704 { } movieClip 3705 { } movieClip 3709 { } movieClip 3726 { } movieClip 3736 { frame 113 { gotoAndPlay('loop'); } } movieClip 3737 { frame 26 { _parent.MIGI = _parent._parent._parent.pc_mc._mc.MIGI; _parent._parent._x = _parent._parent._parent.pc_mc._x; _parent._parent._parent.pc_mc._mc._visible = false; } frame 207 { gotoAndPlay('loop'); } } movieClip 3738 { } movieClip 3739 { instance _mc of movieClip 3738 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; _global.bcHP = 120; _global.bcHPMAX = 120; _global.bcMP = 120; _global.bcMPMAX = 120; XsizeL = -19; XsizeR = 20; YsizeU = -60; YsizeD = 59; TIME = 0; TYPE = ''; AttackTime = 30; MPtime = 30; COUNTER = false; COUNT = 0; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { if (ATTACK != 2) { dx = 0; } JUMP = 0; } HTx += (HTx == -19) ? 39 : 40; } if (ATTACK == 2 && TIME == 1) { if (_parent._parent.pc_mc._x < 840) { _parent._x = _parent._parent.pc_mc._x + 420; } else { _parent._x = _parent._parent.pc_mc._x - 420; } if (_parent._parent.pc_mc._x <= _parent._x && _parent._x != 20) { MIGI = false; } else { MIGI = true; } } if (_global.pcHP > 0 && _global.bcHP > 0 && ATTACK == 0) { if (TIME == 0) { COUNTER = false; if (JUMP == 0 && (_parent._x == 20 || _parent._x == 1660)) { if (_parent._parent.pc_mc._x <= _parent._x && _parent._x != 20) { MIGI = false; } else { MIGI = true; } if (_global.bcMP >= 4) { ATTACK = 2; TIME = 31; gotoAndStop('warp'); _global.bcMP -= 4; } else { dy = -17; if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } } } else { if (_global.MP >= 4 && _parent._parent.pc_mc._mc.ATTACK != 0 && (_parent._parent.pc_mc._mc.TYPE == 'FIRE' || _parent._parent.pc_mc._mc.TYPE == 'ICE')) { if (_parent._parent.pc_mc._y < _parent._y && JUMP == 0) { if (!MIGI) { dx = 6; MIGI = true; } else { dx = -6; MIGI = false; } dy = -17; } if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 264) { if (_global.MP >= 10) { TYPE = 'EARTH'; } else { TYPE = 'FIRE'; } } else { if (_global.MP >= 6) { TYPE = _parent._parent.pc_mc._mc.TYPE; } else { TYPE = 'FIRE'; } } COUNTER = true; } else { if (JUMP == 0) { if (_parent._parent.pc_mc._x <= _parent._x && _parent._x != 20) { MIGI = false; } else { MIGI = true; } if (_global.pcDAME != 0) { if (_global.bcMP >= 4 && Math.abs(_parent._x - _parent._parent.pc_mc._x) < 264) { ATTACK = 2; TIME = 31; gotoAndStop('warp'); _global.bcMP -= 4; } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 84) { dy = -17; if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } } else { if (_global.pcDAME > 45) { dy = -17; } if (!MIGI) { dx = 6; MIGI = true; } else { dx = -6; MIGI = false; } } } } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 84) { if (_parent._parent.pc_mc._y < _parent._y) { dy = -17; if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } TYPE = ''; } else { dy = -17; if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } TYPE = ''; } } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 144) { if (AttackTime != 0) { if (_global.bcMP < 10) { if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } } else { if (!MIGI) { dx = 6; MIGI = true; } else { dx = -6; MIGI = false; } } } else { if (_parent._parent.pc_mc._y < _parent._y) { TYPE = 'THUNDER'; } else { TYPE = 'THUNDER'; } } } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 264) { if (AttackTime != 0) { if (_global.bcMP < 10) { if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } } else { if (!MIGI) { dx = 6; MIGI = true; } else { dx = -6; MIGI = false; } } } else { if (_parent._parent.pc_mc._y < _parent._y) { TYPE = 'EARTH'; } else { TYPE = 'EARTH'; } } } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 420) { if (AttackTime != 0) { if (_global.bcMP < 4) { if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } } } else { if (_global.bcMP >= 6 && _parent._parent.pc_mc._y < _parent._y) { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } if (AttackTime == 0) { if (COUNT == 2) { dy = -10; TYPE = 'FIRE'; } else { if (COUNT == 5) { dy = -17; TYPE = 'ICE'; } else { if (COUNT == 8) { if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } dy = -17; TYPE = 'EARTH'; } } } } } else { if (_parent._parent.pc_mc._y < _parent._y) { if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } dy = -17; TYPE = 'ICE'; } else { if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } TYPE = 'FIRE'; } } } } } } } } } if (ATTACK == 0 && (COUNTER || AttackTime == 0 && _global.pcDAME == 0)) { AttackTime = 30; if (_parent._parent.pc_mc._x <= _parent._x && _parent._x != 20) { MIGI = false; } else { MIGI = true; } if (TYPE == 'FIRE' && _global.bcMP >= 4) { ATTACK = 1; gotoAndStop('attackB'); } else { if (TYPE == 'ICE' && _global.bcMP >= 6) { ATTACK = 1; gotoAndStop('attackB'); } else { if (TYPE == 'THUNDER' && _global.bcMP >= 8) { ATTACK = 1; gotoAndStop('attackB'); } else { if (TYPE == 'EARTH' && _global.bcMP >= 10) { ATTACK = 1; gotoAndStop('attackB'); } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 110) { ATTACK = 1; gotoAndStop('attackA'); } else { if (!MIGI) { dx = -6; } else { dx = 6; } } } } } } if (++COUNT >= 9) { COUNT = 0; } } } } if (_global.bcHP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.NORMALhit_se.start(); _global.pcHP -= 8; if (_global.pcHP <= 0) { _global.MISS = 'miss'; } _global.pcDAME = 60; } if (_global.pcHP <= 0 && _global.MISS == 'miss' && _global.bcHP > 0 && ATTACK == 0 && JUMP == 0) { ATTACK = 1; gotoAndStop('ryona'); } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (JUMP != 0) { if (dy < 0) { gotoAndStop('jumpA'); } else { gotoAndStop('jumpB'); } } else { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == -19) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (TIME > 0) { TIME -= 1; } if (AttackTime > 0) { AttackTime -= 1; } if (MPtime > 0) { MPtime -= 1; } else { if (MPtime == 0) { MPtime = 30; _global.bcMP += 1; } } if (_global.bcHP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.bcHP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (_global.bcHP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } } } } movieClip 3745 { frame 61 { stop(); } } movieClip 3746 { } movieClip 3748 { } movieClip 3751 { } movieClip 3753 { } movieClip 3755 { } movieClip 3757 { frame 1 { _x = _global.EyeMove; } frame 2 { gotoAndPlay(1); } } movieClip 3760 { } movieClip 3762 { } movieClip 3763 { } movieClip 3773 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3774 { frame 1 { _global.EyeMove = 0; } frame 301 { _global.EyeMove -= 0.5; } frame 302 { _global.EyeMove -= 0.5; } frame 303 { _global.EyeMove -= 0.5; } frame 304 { _global.EyeMove -= 0.5; } frame 305 { _global.EyeMove -= 0.5; } frame 306 { _global.EyeMove -= 0.5; } frame 307 { _global.EyeMove -= 0.5; } frame 308 { _global.EyeMove -= 0.5; } frame 309 { _global.EyeMove -= 0.5; } frame 310 { _global.EyeMove -= 0.5; } frame 361 { _parent.nextFrame(); } } movieClip 3776 { } movieClip 3778 { } movieClip 3779 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3781 { } movieClip 3783 { } movieClip 3784 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3786 { } movieClip 3788 { } movieClip 3789 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3791 { } movieClip 3793 { } movieClip 3794 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3795 { } movieClip 3797 { frame 81 { i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent._parent.en_mc' + i))._mc.MP = (eval('_parent._parent._parent.en_mc' + i))._mc.MPMAX; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + gate_mc1._x; (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y + gate_mc1._y; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = (eval('_parent._parent._parent.en_mc' + i))._x < _parent._parent._parent.pc_mc._x ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.MainType = ''; break; } ++i; } i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent._parent.en_mc' + i))._mc.MP = (eval('_parent._parent._parent.en_mc' + i))._mc.MPMAX; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + gate_mc2._x; (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y + gate_mc2._y; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = (eval('_parent._parent._parent.en_mc' + i))._x < _parent._parent._parent.pc_mc._x ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.MainType = ''; break; } ++i; } } frame 121 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3798 { } movieClip 3799 { frame 81 { i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent._parent.en_mc' + i))._mc.MP = (eval('_parent._parent._parent.en_mc' + i))._mc.MPMAX; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + gate_mc1._x; (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y + gate_mc1._y; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = (eval('_parent._parent._parent.en_mc' + i))._x < _parent._parent._parent.pc_mc._x ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.MainType = 'FIRE'; break; } ++i; } i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent._parent.en_mc' + i))._mc.MP = (eval('_parent._parent._parent.en_mc' + i))._mc.MPMAX; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + gate_mc2._x; (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y + gate_mc2._y; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = (eval('_parent._parent._parent.en_mc' + i))._x < _parent._parent._parent.pc_mc._x ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.MainType = 'FIRE'; break; } ++i; } } frame 121 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3800 { } movieClip 3801 { frame 81 { i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent._parent.en_mc' + i))._mc.MP = (eval('_parent._parent._parent.en_mc' + i))._mc.MPMAX; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + gate_mc1._x; (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y + gate_mc1._y; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = (eval('_parent._parent._parent.en_mc' + i))._x < _parent._parent._parent.pc_mc._x ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.MainType = 'ICE'; break; } ++i; } i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent._parent.en_mc' + i))._mc.MP = (eval('_parent._parent._parent.en_mc' + i))._mc.MPMAX; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + gate_mc2._x; (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y + gate_mc2._y; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = (eval('_parent._parent._parent.en_mc' + i))._x < _parent._parent._parent.pc_mc._x ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.MainType = 'ICE'; break; } ++i; } } frame 121 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3802 { } movieClip 3803 { frame 81 { i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent._parent.en_mc' + i))._mc.MP = (eval('_parent._parent._parent.en_mc' + i))._mc.MPMAX; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + gate_mc1._x; (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y + gate_mc1._y; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = (eval('_parent._parent._parent.en_mc' + i))._x < _parent._parent._parent.pc_mc._x ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.MainType = 'THUNDER'; break; } ++i; } i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent._parent.en_mc' + i))._mc.MP = (eval('_parent._parent._parent.en_mc' + i))._mc.MPMAX; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + gate_mc2._x; (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y + gate_mc2._y; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = (eval('_parent._parent._parent.en_mc' + i))._x < _parent._parent._parent.pc_mc._x ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.MainType = 'THUNDER'; break; } ++i; } } frame 121 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3804 { } movieClip 3805 { frame 81 { i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent._parent.en_mc' + i))._mc.MP = (eval('_parent._parent._parent.en_mc' + i))._mc.MPMAX; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + gate_mc1._x; (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y + gate_mc1._y; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = (eval('_parent._parent._parent.en_mc' + i))._x < _parent._parent._parent.pc_mc._x ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.MainType = 'EARTH'; break; } ++i; } i = 1; while (i <= 5) { if ((eval('_parent._parent._parent.en_mc' + i))._mc.HP <= 0 && (eval('_parent._parent._parent.en_mc' + i))._visible == false) { (eval('_parent._parent._parent.en_mc' + i))._mc.HP = (eval('_parent._parent._parent.en_mc' + i))._mc.HPMAX; (eval('_parent._parent._parent.en_mc' + i))._mc.MP = (eval('_parent._parent._parent.en_mc' + i))._mc.MPMAX; (eval('_parent._parent._parent.en_mc' + i))._x = _parent._parent._x + gate_mc2._x; (eval('_parent._parent._parent.en_mc' + i))._y = _parent._parent._y + gate_mc2._y; (eval('_parent._parent._parent.en_mc' + i))._mc.dx = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.dy = 0; (eval('_parent._parent._parent.en_mc' + i))._mc.MIGI = (eval('_parent._parent._parent.en_mc' + i))._x < _parent._parent._parent.pc_mc._x ? true : false; (eval('_parent._parent._parent.en_mc' + i))._mc.MainType = 'EARTH'; break; } ++i; } } frame 121 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3806 { frame 81 { tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc1._x; tmc._y = _parent._parent._y + sword_mc1._y; tmc._mc.TIME = 330; tmc._mc.SHOT = 'DARK'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc2._x; tmc._y = _parent._parent._y + sword_mc2._y; tmc._mc.TIME = 360; tmc._mc.SHOT = 'DARK'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc3._x; tmc._y = _parent._parent._y + sword_mc3._y; tmc._mc.TIME = 390; tmc._mc.SHOT = 'DARK'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc4._x; tmc._y = _parent._parent._y + sword_mc4._y; tmc._mc.TIME = 420; tmc._mc.SHOT = 'DARK'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 121 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3807 { frame 81 { tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc1._x; tmc._y = _parent._parent._y + sword_mc1._y; tmc._mc.TIME = 330; tmc._mc.SHOT = 'FIRE'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc2._x; tmc._y = _parent._parent._y + sword_mc2._y; tmc._mc.TIME = 360; tmc._mc.SHOT = 'FIRE'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc4._x; tmc._y = _parent._parent._y + sword_mc4._y; tmc._mc.TIME = 390; tmc._mc.SHOT = 'FIRE'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc3._x; tmc._y = _parent._parent._y + sword_mc3._y; tmc._mc.TIME = 420; tmc._mc.SHOT = 'FIRE'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 121 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3808 { frame 81 { tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc2._x; tmc._y = _parent._parent._y + sword_mc2._y; tmc._mc.TIME = 330; tmc._mc.SHOT = 'ICE'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc4._x; tmc._y = _parent._parent._y + sword_mc4._y; tmc._mc.TIME = 360; tmc._mc.SHOT = 'ICE'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc3._x; tmc._y = _parent._parent._y + sword_mc3._y; tmc._mc.TIME = 390; tmc._mc.SHOT = 'ICE'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc1._x; tmc._y = _parent._parent._y + sword_mc1._y; tmc._mc.TIME = 420; tmc._mc.SHOT = 'ICE'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 121 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3809 { frame 81 { tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc4._x; tmc._y = _parent._parent._y + sword_mc4._y; tmc._mc.TIME = 330; tmc._mc.SHOT = 'THUNDER'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc3._x; tmc._y = _parent._parent._y + sword_mc3._y; tmc._mc.TIME = 360; tmc._mc.SHOT = 'THUNDER'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc1._x; tmc._y = _parent._parent._y + sword_mc1._y; tmc._mc.TIME = 390; tmc._mc.SHOT = 'THUNDER'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc2._x; tmc._y = _parent._parent._y + sword_mc2._y; tmc._mc.TIME = 420; tmc._mc.SHOT = 'THUNDER'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 121 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3810 { frame 81 { tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc3._x; tmc._y = _parent._parent._y + sword_mc3._y; tmc._mc.TIME = 330; tmc._mc.SHOT = 'EARTH'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc1._x; tmc._y = _parent._parent._y + sword_mc1._y; tmc._mc.TIME = 360; tmc._mc.SHOT = 'EARTH'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc2._x; tmc._y = _parent._parent._y + sword_mc2._y; tmc._mc.TIME = 390; tmc._mc.SHOT = 'EARTH'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } tmc = _parent._parent._parent.attachMovie('enSWORD', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + sword_mc4._x; tmc._y = _parent._parent._y + sword_mc4._y; tmc._mc.TIME = 420; tmc._mc.SHOT = 'EARTH'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 121 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3822 { frame 241 { tmc = _parent._parent._parent.attachMovie('enBOLL', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + boll_mc._x; tmc._y = _parent._parent._y + boll_mc._y; if (_parent._parent._y < 240 || _parent._parent._parent.pc_mc._x - 80 < _parent._parent._x && _parent._parent._parent.pc_mc._x + 80 > _parent._parent._x) { tmc._rotation = 0; } else { tmc._rotation = 90; tmc._yscale = _parent._parent._parent.pc_mc._x < _parent._parent._x ? 100 : -100; } tmc._mc.SHOT = 'DARK'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 421 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3823 { frame 181 { tmc = _parent._parent._parent.attachMovie('enBOLL', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + boll_mc._x; tmc._y = _parent._parent._y + boll_mc._y; tmc._mc.SHOT = 'FIRE'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 241 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3824 { frame 181 { tmc = _parent._parent._parent.attachMovie('enBOLL', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + boll_mc._x; tmc._y = _parent._parent._y + boll_mc._y; tmc._mc.SHOT = 'ICE'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 241 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3825 { frame 181 { tmc = _parent._parent._parent.attachMovie('enBOLL', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + boll_mc._x; tmc._y = _parent._parent._y + boll_mc._y; tmc._mc.SHOT = 'THUNDER'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 241 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3826 { frame 181 { tmc = _parent._parent._parent.attachMovie('enBOLL', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + boll_mc._x; tmc._y = _parent._parent._y + boll_mc._y; tmc._mc.SHOT = 'EARTH'; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } frame 241 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3827 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3828 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3829 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3830 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3831 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3832 { frame 61 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3833 { } movieClip 3834 { } movieClip 3835 { } movieClip 3836 { } movieClip 3837 { } movieClip 3838 { frame 201 { _global.BOSSFINISH = true; stop(); } } movieClip 3839 { } movieClip 3840 { instance _mc of movieClip 3839 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; ATTACK = 0; DAME = 0; MIGI = false; _global.bcHP = 800; _global.bcHPMAX = 800; TIME = 0; COUNT = 0; PATTERN = 0; TYPE = 'D'; WEAK = 'DARK'; CountEnemy = 0; NextType = 'D'; gotoAndStop(TYPE + 'wait'); Ddamage = 0; Fdamage = 0; Idamage = 0; Tdamage = 0; Edamage = 0; AIpattern = 0; _global.EyeMove = -5; DarkMagic = random(2); } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if (_global.bcHP > 0 || DAME != 0) { _parent._visible = true; } else { return undefined; } if (_global.bcHP > 0) { if (this[NextType + 'damage'] >= 160) { ATTACK = 0; AIpattern = 9; } if (ATTACK == 0) { ATTACK = 1; AIpattern += 1; switch (AIpattern) { case 11: AIpattern = 0; PATTERN = 6; break; case 10: PATTERN = 5; if ((Ddamage >= 160 ? 0 : 1) + (Fdamage >= 160 ? 0 : 1) + (Idamage >= 160 ? 0 : 1) + (Tdamage >= 160 ? 0 : 1) + (Edamage >= 160 ? 0 : 1) + (this[NextType + 'damage'] >= 160 ? 1 : 0) <= 1) { AIpattern = 0; PATTERN = 6; } break; case 9: if (TYPE == 'D' || _global.bcHP <= 400) { AIpattern = 10; PATTERN = 5; if ((Ddamage >= 160 ? 0 : 1) + (Fdamage >= 160 ? 0 : 1) + (Idamage >= 160 ? 0 : 1) + (Tdamage >= 160 ? 0 : 1) + (Edamage >= 160 ? 0 : 1) + (this[NextType + 'damage'] >= 160 ? 1 : 0) <= 1) { AIpattern = 0; PATTERN = 6; } } else { PATTERN = 1; } break; case 8: if (TYPE == 'D' || _global.bcHP <= 400) { AIpattern = 10; PATTERN = 5; if ((Ddamage >= 160 ? 0 : 1) + (Fdamage >= 160 ? 0 : 1) + (Idamage >= 160 ? 0 : 1) + (Tdamage >= 160 ? 0 : 1) + (Edamage >= 160 ? 0 : 1) + (this[NextType + 'damage'] >= 160 ? 1 : 0) <= 1) { AIpattern = 0; PATTERN = 6; } } else { PATTERN = 1; } break; case 7: if (TYPE == 'D' && !(_global.bcHP <= 400 || Ddamage >= 80)) { AIpattern = 10; PATTERN = 5; } else { PATTERN = 4; } break; case 6: if (TYPE == 'D' && !(_global.bcHP <= 400 || Ddamage >= 80)) { AIpattern = 10; PATTERN = 5; } else { PATTERN = 6; } break; case 5: if (_global.bcHP <= 400) { AIpattern = 6; PATTERN = 6; } else { PATTERN = 1; } break; case 4: if (_global.bcHP <= 400) { AIpattern = 6; PATTERN = 6; } else { PATTERN = 1; } break; case 3: PATTERN = 3; break; case 2: if (_global.bcHP <= 400) { AIpattern = 3; PATTERN = 3; } else { PATTERN = 1; } break; case 1: CountEnemy = 0; i = 1; while (i <= 5) { if ((eval('_parent._parent.en_mc' + i))._mc.HP > 0) { CountEnemy += 1; } ++i; } if (CountEnemy > 3) { AIpattern = 3; PATTERN = 3; } else { PATTERN = 2; } } if (_global.pcHP <= 0) { PATTERN = 1; } switch (PATTERN) { case 6: TIME = 60; gotoAndStop(TYPE + 'warp'); break; case 5: TIME = 60; gotoAndStop(TYPE + 'change'); break; case 4: TIME = 240; if (TYPE == 'D') { TIME = 420; } gotoAndStop(TYPE + 'magic'); break; case 3: TIME = 120; gotoAndStop(TYPE + 'sword'); break; case 2: TIME = 120; gotoAndStop(TYPE + 'call'); break; case 1: TIME = 60; gotoAndStop(TYPE + 'wait'); } } if (TIME > 0) { TIME -= 1; } if (!(PATTERN == 4 && TYPE == 'D' && TIME >= 180)) { dx = 0; } dy = 0; if (ATTACK != 0) { switch (PATTERN) { case 6: if (AIpattern == 6 && TYPE == 'D' && TIME == 9) { if (DarkMagic == 0) { _parent._x = _parent._parent.pc_mc._x; _parent._y = 120; } else { _parent._x = 480 + 180 * random(5); _parent._y = 240; } } else { if (TIME == 49 || TIME == 29 || TIME == 9) { _parent._x = 480 + 180 * random(5); _parent._y = 180 + 60 * random(4); } } break; case 5: if (TIME == 59) { NextType = TYPE; do { switch (NextType) { case 'D': NextType = 'F'; break; case 'F': NextType = 'I'; break; case 'I': NextType = 'T'; break; case 'T': NextType = 'E'; break; case 'E': NextType = 'D'; continue; } } while (this[NextType + 'damage'] >= 160); _mc.D_mc._visible = false; _mc.D_mc2._visible = false; _mc.F_mc._visible = false; _mc.F_mc2._visible = false; _mc.I_mc._visible = false; _mc.I_mc2._visible = false; _mc.T_mc._visible = false; _mc.T_mc2._visible = false; _mc.E_mc._visible = false; _mc.E_mc2._visible = false; (eval('_mc.' + TYPE + '_mc'))._visible = true; (eval('_mc.' + NextType + '_mc2'))._visible = true; } else { if (TIME == 29) { (eval('_mc.' + TYPE + '_mc'))._visible = false; (eval('_mc.' + NextType + '_mc'))._visible = true; TYPE = NextType; } } if (TIME % 60 >= 30) { dy = -1; } else { dy = 1; } break; case 4: if (DarkMagic == 0 && TYPE == 'D' && TIME >= 180) { dx += _parent._parent.pc_mc._x < _parent._x ? -1 : (_parent._parent.pc_mc._x > _parent._x ? 1 : 0); if (dx < -7) { dx = -7; } else { if (7 < dx) { dx = 7; } } } else { if (TYPE == 'D' && TIME == 179) { dx = 0; DarkMagic = (DarkMagic == 0) ? 1 : 0; } } if (TIME % 60 >= 30) { dy = -1; } else { dy = 1; } break; case 3: if (TIME % 60 >= 30) { dy = -1; } else { dy = 1; } break; case 2: if (TIME % 60 >= 30) { dy = -1; } else { dy = 1; } break; case 1: if (TIME % 60 >= 30) { dy = -1; } else { dy = 1; } } } } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (_global.bcHP <= 0 && DAME == 60) { _root.BGM.stop(); gotoAndStop(TYPE + 'miss'); dx = 0; dy = 0; ATTACK = 0; _mc.D_mc._visible = false; _mc.F_mc._visible = false; _mc.I_mc._visible = false; _mc.T_mc._visible = false; _mc.E_mc._visible = false; (eval('_mc.' + TYPE + '_mc'))._visible = true; tmc = _parent._parent.attachMovie('CORE', 'CORE_mc', 1000); tmc._x = _parent._x; tmc._y = _parent._y; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } switch (TYPE) { case 'D': WEAK = 'DARK'; break; case 'F': WEAK = 'ICE'; break; case 'I': WEAK = 'THUNDER'; break; case 'T': WEAK = 'EARTH'; break; case 'E': WEAK = 'FIRE'; } if (_global.bcHP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); _global.bcHP -= 8; this[TYPE + 'damage'] += 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (_global.bcHP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == WEAK) { _global.bcHP -= 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; this[TYPE + 'damage'] += 2 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } else { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { _global.bcHP -= 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; this[TYPE + 'damage'] += 0.5 * (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } if (_global.bcHP > 0) { _global.EyeMove = (_parent._parent.pc_mc._x - _parent._x) / 40; if (_global.EyeMove < -5) { _global.EyeMove = -5; } else { if (_global.EyeMove > 5) { _global.EyeMove = 5; } } } } } } movieClip 3841 { } movieClip 3842 { } movieClip 3843 { } movieClip 3844 { } movieClip 3845 { } movieClip 3846 { } movieClip 3847 { frame 10 { gotoAndPlay(4); } } movieClip 3848 { frame 13 { gotoAndPlay(7); } } movieClip 3849 { frame 16 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3850 { frame 7 { (eval('_root.' + _parent.TYPE + '_se')).start(); if (_parent.TYPE == 'FIRE') { _parent.MP -= 4; tmc = _parent._parent._parent.attachMovie('enFIRE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 64 : -64); tmc._y = _parent._parent._y - 13; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = _parent.MIGI ? 15 : -15; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } else { if (_parent.TYPE == 'ICE') { _parent.MP -= 6; i = 0; while (i < 3) { tmc = _parent._parent._parent.attachMovie('enICE', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 64 : -64); tmc._y = _parent._parent._y - 13; tmc._xscale = _parent.MIGI ? 100 : -100; if (i == 0) { tmc._mc.dx = _parent.MIGI ? 20 : -20; tmc._mc.dy = 0; } else { if (i == 1) { tmc._mc.dx = _parent.MIGI ? 17 : -17; tmc._mc.dy = 10; } else { if (i == 2) { tmc._mc.dx = _parent.MIGI ? 17 : -17; tmc._mc.dy = -10; } } } _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } i += 1; } } else { if (_parent.TYPE == 'THUNDER') { _parent.MP -= 8; tmc = _parent._parent._parent.attachMovie('enTHUNDER', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 104 : -104); tmc._y = _parent._parent._y - 13; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } else { if (_parent.TYPE == 'EARTH') { _parent.MP -= 10; tmc = _parent._parent._parent.attachMovie('enEARTH', 'enSHOT_mc' + _global.enSHOT, _global.enSHOT + 100); tmc._x = _parent._parent._x + (_parent.MIGI ? 104 : -104); tmc._y = _parent._parent._y + 60; tmc._xscale = _parent.MIGI ? 100 : -100; tmc._mc.dx = 0; tmc._mc.dy = 0; _global.enSHOT += 1; if (_global.enSHOT > 99) { _global.enSHOT = 0; } } } } } } frame 16 { _parent.ATTACK = 0; gotoAndPlay(1); } } movieClip 3851 { frame 46 { _parent.ATTACK = 0; } } movieClip 3854 { frame 41 { stop(); } } movieClip 3867 { frame 34 { stop(); } } movieClip 3869 { } movieClip 3870 { frame 41 { stop(); } } movieClip 3871 { } movieClip 3872 { instance _mc of movieClip 3871 { onClipEvent (load) { dx = 0; dy = 0; ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; JUMP = 0; ATTACK = 0; DAME = 0; MIGI = false; HP = 0; HPMAX = 1; MP = 0; MPMAX = 10; XsizeL = -19; XsizeR = 20; YsizeU = -60; YsizeD = 59; TIME = 0; TYPE = ''; MainType = ''; AttackTime = 30; MPtime = 30; COUNTER = false; } onClipEvent (enterFrame) { ppx = _parent._x + _parent._parent._x; ppy = _parent._y + _parent._parent._y; if ((HP > 0 || DAME != 0) && _global.bcHP > 0) { _parent._visible = true; } else { _parent._visible = false; ATTACK = 0; TIME = 0; TYPE = ''; AttackTime = 30; MPtime = 30; COUNTER = false; gotoAndStop(1); return undefined; } JUMP = 1; HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + YsizeD + 1, true)) { if (ATTACK != 2) { dx = 0; } JUMP = 0; } HTx += (HTx == -19) ? 39 : 40; } if (ATTACK == 2 && TIME == 1) { if (_parent._parent.pc_mc._x < 840) { _parent._x = _parent._parent.pc_mc._x + 420; } else { _parent._x = _parent._parent.pc_mc._x - 420; } if (_parent._parent.pc_mc._x <= _parent._x && _parent._x != 20) { MIGI = false; } else { MIGI = true; } } if (_global.pcHP > 0 && HP > 0 && ATTACK == 0) { if (TIME == 0) { COUNTER = false; if (JUMP == 0 && (_parent._x == 20 || _parent._x == 1660)) { if (_parent._parent.pc_mc._x <= _parent._x && _parent._x != 20) { MIGI = false; } else { MIGI = true; } if (MP >= 4) { ATTACK = 2; TIME = 31; gotoAndStop('warp'); MP -= 4; } else { dy = -17; if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } } } else { if ((Math.abs(_parent._x - _parent._parent.pc_mc._x) < 264 && MainType == 'EARTH' && MP >= 10 || MainType == 'ICE' && MP >= 6 || MainType == 'FIRE' && MP >= 4) && _parent._parent.pc_mc._mc.ATTACK != 0 && (_parent._parent.pc_mc._mc.TYPE == 'FIRE' || _parent._parent.pc_mc._mc.TYPE == 'ICE')) { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 264) { if (_parent._parent.pc_mc._y < _parent._y && JUMP == 0) { if (!MIGI) { dx = 6; MIGI = true; } else { dx = -6; MIGI = false; } dy = -17; } if (MainType == 'EARTH') { TYPE = 'EARTH'; } else { if (MainType == 'ICE') { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } } else { if (MainType == 'ICE') { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } COUNTER = true; } else { if (JUMP == 0) { if (_parent._parent.pc_mc._x <= _parent._x && _parent._x != 20) { MIGI = false; } else { MIGI = true; } if (_global.pcDAME != 0) { if (MP >= 4 && Math.abs(_parent._x - _parent._parent.pc_mc._x) < 264) { ATTACK = 2; TIME = 31; gotoAndStop('warp'); MP -= 4; } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 84) { dy = -17; if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } } else { if (_global.pcDAME > 45) { dy = -17; } if (!MIGI) { dx = 6; MIGI = true; } else { dx = -6; MIGI = false; } } } } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 84) { if (_parent._parent.pc_mc._y < _parent._y) { dy = -17; if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } if (MainType == 'THUNDER') { TYPE = 'THUNDER'; } else { if (MainType == 'EARTH') { TYPE = 'EARTH'; } else { if (MainType == 'ICE') { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } } } else { if (MainType == 'THUNDER') { TYPE = 'THUNDER'; } else { if (MainType == 'EARTH') { TYPE = 'EARTH'; } else { if (MainType == 'ICE') { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } } } } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 144) { if (AttackTime != 0) { if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } } else { if (_parent._parent.pc_mc._y < _parent._y) { dy = -17; if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } if (MainType == 'THUNDER') { TYPE = 'THUNDER'; } else { if (MainType == 'EARTH') { TYPE = 'EARTH'; } else { if (MainType == 'ICE') { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } } } else { if (MainType == 'THUNDER') { TYPE = 'THUNDER'; } else { if (MainType == 'EARTH') { TYPE = 'EARTH'; } else { if (MainType == 'ICE') { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } } } } } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 264) { if (AttackTime != 0) { if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } } else { if (_parent._parent.pc_mc._y < _parent._y) { dy = -17; if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } if (MainType == 'EARTH') { TYPE = 'EARTH'; } else { if (MainType == 'ICE') { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } } else { if (MainType == 'EARTH') { TYPE = 'EARTH'; } else { if (MainType == 'ICE') { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } } } } else { if (AttackTime != 0) { if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } } else { if (_parent._parent.pc_mc._y < _parent._y) { dy = -17; if (!MIGI && dx > -6) { dx = -6; } if (MIGI && dx < 6) { dx = 6; } if (MainType == 'ICE') { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } else { if (MainType == 'ICE') { TYPE = 'ICE'; } else { TYPE = 'FIRE'; } } } } } } } } } } if (ATTACK == 0 && (COUNTER || AttackTime == 0 && _global.pcDAME == 0)) { AttackTime = 30; if (_parent._parent.pc_mc._x <= _parent._x && _parent._x != 20) { MIGI = false; } else { MIGI = true; } if (MainType == 'FIRE' && TYPE == 'FIRE' && MP >= 4) { ATTACK = 1; gotoAndStop('attackB'); } else { if (MainType == 'ICE' && TYPE == 'ICE' && MP >= 6) { ATTACK = 1; gotoAndStop('attackB'); } else { if (MainType == 'THUNDER' && TYPE == 'THUNDER' && MP >= 8) { ATTACK = 1; gotoAndStop('attackB'); } else { if (MainType == 'EARTH' && TYPE == 'EARTH' && MP >= 10) { ATTACK = 1; gotoAndStop('attackB'); } else { if (Math.abs(_parent._x - _parent._parent.pc_mc._x) < 110) { ATTACK = 1; gotoAndStop('attackA'); } else { if (!MIGI) { dx = -6; } else { dx = 6; } } } } } } } } } if (HP > 0 && _global.pcDAME == 0 && _parent._parent.pc_mc._mc._mc.a_mc.hitTest(_mc.b_mc)) { _root.NORMALhit_se.start(); _global.pcHP -= 8; if (_global.pcHP <= 0) { } _global.pcDAME = 60; } if (MIGI) { _xscale = -100; } else { _xscale = 100; } if (DAME == 60) { my_color = new Color(this); my_color.setRGB(16777215); } else { if (DAME == 59) { my_color.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } if (HP <= 0) { gotoAndStop('miss'); ATTACK = 0; } else { if (ATTACK == 0) { if (JUMP != 0) { if (dy < 0) { gotoAndStop('jumpA'); } else { gotoAndStop('jumpB'); } } else { if (dx != 0) { gotoAndStop('walk'); } else { gotoAndStop('stand'); } } } } if (dy < 17) { dy += 1; } HTx = XsizeL; while (HTx <= XsizeR) { if (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)) { for (;;) { if (!(dy != 0 && (_parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeU, true) || _parent._parent.map_mc.hitTest(ppx + HTx, ppy + dy + YsizeD, true)))) break; dy += dy > 0 ? -1 : 1; } } HTx += (HTx == -19) ? 39 : 40; } _parent._y += dy; ppy = _parent._y + _parent._parent._y; HTy = YsizeU; while (HTy <= YsizeD) { if (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)) { for (;;) { if (!(dx != 0 && (_parent._parent.map_mc.hitTest(ppx + dx + XsizeL, ppy + HTy, true) || _parent._parent.map_mc.hitTest(ppx + dx + XsizeR, ppy + HTy, true)))) break; dx += dx > 0 ? -1 : 1; } } HTy += (HTy == 20) ? 39 : 40; } _parent._x += dx; ppx = _parent._x + _parent._parent._x; if (DAME > 0) { DAME -= 1; } if (TIME > 0) { TIME -= 1; } if (AttackTime > 0) { AttackTime -= 1; } if (MPtime > 0) { MPtime -= 1; } else { if (MPtime == 0) { MPtime = 30; MP += 1; } } if (HP > 0 && DAME < 50 && _parent._parent.pc_mc._mc._mc.b_mc.hitTest(_mc.a_mc)) { _root.NORMALhit_se.start(); HP -= 8; DAME = 60; } i = 0; while (i < 10) { if ((eval('_parent._parent.pcSHOT_mc' + i))._mc._mc.a_mc.hitTest(_mc.a_mc)) { if (HP > 0 && DAME < 50) { (eval('_root.' + (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT + 'hit_se')).start(); if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT != null) { HP -= (eval('_parent._parent.pcSHOT_mc' + i))._mc.POWER; DAME = 60; } } if ((eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'FIRE' || (eval('_parent._parent.pcSHOT_mc' + i))._mc.SHOT == 'ICE') { (eval('_parent._parent.pcSHOT_mc' + i)).removeMovieClip(); } } ++i; } if (HP <= 0 && DAME == 45) { i = 1; while (i <= 5) { if (!(eval('_parent._parent.mn_mc' + i))._mc.flag) { (eval('_parent._parent.mn_mc' + i))._mc.flag = true; (eval('_parent._parent.mn_mc' + i))._x = _parent._x; (eval('_parent._parent.mn_mc' + i))._y = _parent._y; break; } ++i; } } } } } movieClip 3875 { } movieClip 3876 { } movieClip 3878 { } movieClip 3880 { } movieClip 3882 { } movieClip 3884 { } movieClip 3887 { } movieClip 3890 { } movieClip 3894 { } movieClip 3896 { } movieClip 3899 { } movieClip 3900 { frame 61 { gotoAndPlay(1); } } movieClip 3902 { } movieClip 3904 { } movieClip 3907 { } movieClip 3934 { } movieClip 3935 { frame 121 { gotoAndPlay(1); _parent.ATTACK = 0; } } movieClip 3937 { } movieClip 3939 { } movieClip 3941 { } movieClip 3946 { } movieClip 3951 { frame 25 { gotoAndPlay('loop'); } } movieClip 3952 { frame 1 { _global.GAMESTART = false; _global.EyeMove = 0; } instance of movieClip 2141 { onClipEvent (load) { gotoAndPlay(13); } } instance of movieClip 2141 { onClipEvent (load) { gotoAndPlay(13); } } instance of movieClip 2141 { onClipEvent (load) { gotoAndPlay(13); } } frame 5485 { _root.BLACK_mc.gotoAndPlay('BLACK'); _parent.play(); } } movieClip 3953 { frame 1 { _root.BGM.stop(); nextFrame(); } frame 2 { stop(); } frame 3 { _root.BGM.stop(); _root.BGM.attachSound('fang.mp3'); _root.BGM.start(); nextFrame(); } frame 4 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-2'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 5 { nextFrame(); } frame 6 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-1'; _mc.NEXTx = 3200; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-3'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 7 { nextFrame(); } frame 8 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-2'; _mc.NEXTx = 3200; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-mboss'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 9 { nextFrame(); } frame 10 { stop(); } frame 11 { _root.BGM.stop(); _root.BGM.attachSound('solid_infinity.mp3'); _root.BGM.start(); nextFrame(); } frame 12 { nextFrame(); } frame 13 { stop(); _global.MAPx = 1680; _global.MAPy = 1440; _global.BOSSBATTLE = false; _global.BOSSFINISH = true; } frame 14 { _root.BGM.stop(); _root.BGM.attachSound('fang.mp3'); _root.BGM.start(); nextFrame(); } frame 15 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-5'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-5'; _mc.NEXTx = 140; _mc.NEXTy = 60; } } frame 16 { nextFrame(); } frame 17 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-4'; _mc.NEXTx = 3200; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-4'; _mc.NEXTx = 3200; _mc.NEXTy = 60; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-6'; _mc.NEXTx = 140; _mc.NEXTy = 140; } } frame 18 { nextFrame(); } frame 19 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-5'; _mc.NEXTx = 3200; _mc.NEXTy = 140; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-boss'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-boss'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 20 { nextFrame(); } frame 21 { stop(); } instance pc_mc of movieClip 1291 { onClipEvent (load) { TIME = 0; } onClipEvent (enterFrame) { if (TIME < 60) { _x = _x + 10; } else { if (TIME < 120) { } else { if (TIME < 180) { _x = _x - 10; } } } TIME += 1; } } frame 22 { _root.BGM.stop(); _root.BGM.attachSound('solid_infinity.mp3'); _root.BGM.start(); nextFrame(); } frame 23 { nextFrame(); } frame 24 { stop(); _global.MAPx = 2520; _global.MAPy = 1440; _global.BOSSBATTLE = true; _global.BOSSFINISH = true; } frame 25 { _global.RetryCount = 0; _global.NEXTx = 140; _global.NEXTy = 380; nextFrame(); } frame 26 { _root.BGM.stop(); _root.BGM.attachSound('gokiyoro.mp3'); _root.BGM.start(); nextFrame(); } frame 27 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-2'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 28 { nextFrame(); } frame 29 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-1'; _mc.NEXTx = 3200; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-3'; _mc.NEXTx = 140; _mc.NEXTy = -60; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-3'; _mc.NEXTx = 220; _mc.NEXTy = 380; } } frame 30 { nextFrame(); } frame 31 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-mboss'; _mc.NEXTx = 140; _mc.NEXTy = 300; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-2'; _mc.NEXTx = 3200; _mc.NEXTy = -60; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-2'; _mc.NEXTx = 3200; _mc.NEXTy = 380; } } frame 32 { nextFrame(); } frame 33 { stop(); } frame 34 { _root.BGM.stop(); _root.BGM.attachSound('solid_infinity.mp3'); _root.BGM.start(); nextFrame(); } frame 35 { nextFrame(); } frame 36 { stop(); _global.MAPx = 1680; _global.MAPy = 1440; _global.BOSSBATTLE = false; _global.BOSSFINISH = true; } frame 37 { _root.BGM.stop(); _root.BGM.attachSound('gokiyoro.mp3'); _root.BGM.start(); nextFrame(); } frame 38 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-5'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-5'; _mc.NEXTx = 140; _mc.NEXTy = -140; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-5'; _mc.NEXTx = 140; _mc.NEXTy = 300; } } frame 39 { nextFrame(); } frame 40 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-4'; _mc.NEXTx = 3200; _mc.NEXTy = -140; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-4'; _mc.NEXTx = 3200; _mc.NEXTy = 300; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-6'; _mc.NEXTx = 140; _mc.NEXTy = 260; } } frame 41 { nextFrame(); } frame 42 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-5'; _mc.NEXTx = 3200; _mc.NEXTy = 260; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-boss'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage2-boss'; _mc.NEXTx = 140; _mc.NEXTy = 300; } } frame 43 { nextFrame(); } frame 44 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance pc_mc of movieClip 1291 { onClipEvent (load) { TIME = 0; } onClipEvent (enterFrame) { if (TIME < 50) { _x = int(_parent.movie_mc._mc._x * (TIME / 50)); } else { if (TIME < 150) { _x = _parent.movie_mc._mc._x; } else { if (TIME < 190) { _x = int(_parent.movie_mc._mc._x * ((190 - TIME) / 40)); } } } TIME += 1; } } frame 45 { _root.BGM.stop(); _root.BGM.attachSound('solid_infinity.mp3'); _root.BGM.start(); nextFrame(); } frame 46 { nextFrame(); } frame 47 { stop(); _global.MAPx = 1680; _global.MAPy = 1440; _global.BOSSBATTLE = true; _global.BOSSFINISH = true; } instance of movieClip 2040 { onClipEvent (load) { MIGI = true; } } instance of movieClip 2040 { onClipEvent (load) { MIGI = false; } } frame 48 { _global.RetryCount = 0; _global.NEXTx = 140; _global.NEXTy = 380; nextFrame(); } frame 49 { _root.BGM.stop(); _root.BGM.attachSound('t-kamen.mp3'); _root.BGM.start(); nextFrame(); } frame 50 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-2'; _mc.NEXTx = 140; _mc.NEXTy = -20; } } frame 51 { nextFrame(); } frame 52 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-1'; _mc.NEXTx = 3200; _mc.NEXTy = -20; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-3'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 53 { nextFrame(); } frame 54 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-2'; _mc.NEXTx = 3200; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-mboss'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 55 { nextFrame(); } frame 56 { stop(); } frame 57 { _root.BGM.stop(); _root.BGM.attachSound('solid_infinity.mp3'); _root.BGM.start(); nextFrame(); } frame 58 { nextFrame(); } frame 59 { stop(); _global.MAPx = 1680; _global.MAPy = 1440; _global.BOSSBATTLE = false; _global.BOSSFINISH = true; } frame 60 { _root.BGM.stop(); _root.BGM.attachSound('t-kamen.mp3'); _root.BGM.start(); nextFrame(); } frame 61 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-5'; _mc.NEXTx = 140; _mc.NEXTy = -220; } } frame 62 { nextFrame(); } frame 63 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-4'; _mc.NEXTx = 3200; _mc.NEXTy = -220; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-6'; _mc.NEXTx = 140; _mc.NEXTy = -180; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-6'; _mc.NEXTx = 140; _mc.NEXTy = -740; } } frame 64 { nextFrame(); } frame 65 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-5'; _mc.NEXTx = 3200; _mc.NEXTy = -180; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-5'; _mc.NEXTx = 3200; _mc.NEXTy = -740; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage3-boss'; _mc.NEXTx = 140; _mc.NEXTy = 340; } } frame 66 { nextFrame(); } frame 67 { stop(); } instance pc_mc of movieClip 1291 { onClipEvent (load) { TIME = 0; } onClipEvent (enterFrame) { if (TIME < 56) { _x = _x + 15; } else { if (TIME < 120) { } else { if (TIME < 176) { _x = _x - 15; } } } TIME += 1; } } frame 68 { _root.BGM.stop(); _root.BGM.attachSound('solid_infinity.mp3'); _root.BGM.start(); nextFrame(); } frame 69 { nextFrame(); } frame 70 { stop(); _global.MAPx = 1680; _global.MAPy = 1440; _global.BOSSBATTLE = true; _global.BOSSFINISH = true; } frame 71 { _global.RetryCount = 0; _global.NEXTx = 140; _global.NEXTy = 380; nextFrame(); } frame 72 { _root.BGM.stop(); _root.BGM.attachSound('Ancient salvage!!.mp3'); _root.BGM.start(); nextFrame(); } frame 73 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage4-2'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 74 { nextFrame(); } frame 75 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage4-3'; _mc.NEXTx = 140; _mc.NEXTy = 340; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage4-1'; _mc.NEXTx = 3200; _mc.NEXTy = 380; } } frame 76 { nextFrame(); } frame 77 { stop(); _global.MAPx = 1680; _global.MAPy = 1680; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage4-mboss'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage4-2'; _mc.NEXTx = 3200; _mc.NEXTy = 340; } } frame 78 { nextFrame(); } frame 79 { stop(); } frame 80 { _root.BGM.stop(); _root.BGM.attachSound('solid_infinity.mp3'); _root.BGM.start(); nextFrame(); } frame 81 { nextFrame(); } frame 82 { stop(); _global.MAPx = 1680; _global.MAPy = 1440; _global.BOSSBATTLE = false; _global.BOSSFINISH = true; } frame 83 { _root.BGM.stop(); _root.BGM.attachSound('Ancient salvage!!.mp3'); _root.BGM.start(); nextFrame(); } frame 84 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage4-5'; _mc.NEXTx = 140; _mc.NEXTy = -140; } } frame 85 { nextFrame(); } frame 86 { stop(); _global.MAPx = 2480; _global.MAPy = 1680; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage4-6'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage4-4'; _mc.NEXTx = 3200; _mc.NEXTy = -60; } } frame 87 { nextFrame(); } frame 88 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage4-boss'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 89 { nextFrame(); } frame 90 { stop(); } instance pc_mc of movieClip 1291 { onClipEvent (load) { TIME = 0; } onClipEvent (enterFrame) { if (TIME < 84) { _x = _x + 10; } else { if (TIME < 130) { } else { if (TIME < 214) { _x = _x - 10; } } } TIME += 1; } } frame 91 { _root.BGM.stop(); _root.BGM.attachSound('solid_infinity.mp3'); _root.BGM.start(); nextFrame(); } frame 92 { nextFrame(); } frame 93 { stop(); _global.MAPx = 1680; _global.MAPy = 1440; _global.BOSSBATTLE = true; _global.BOSSFINISH = true; } instance sd_mc1 of movieClip 3240 { onClipEvent (load) { _visible = false; } } instance sd_mc2 of movieClip 3240 { onClipEvent (load) { _visible = false; } } instance sd_mc3 of movieClip 3240 { onClipEvent (load) { _visible = false; } } instance sd_mc4 of movieClip 3240 { onClipEvent (load) { _visible = false; } } instance sd_mc5 of movieClip 3240 { onClipEvent (load) { _visible = false; } } frame 94 { _global.RetryCount = 0; _global.NEXTx = 140; _global.NEXTy = 380; nextFrame(); } frame 95 { _root.BGM.stop(); _root.BGM.attachSound('track011_break_a_cult.mp3'); _root.BGM.start(); nextFrame(); } frame 96 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-2'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 97 { nextFrame(); } frame 98 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-1'; _mc.NEXTx = 3200; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-3'; _mc.NEXTx = 140; _mc.NEXTy = 300; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-3'; _mc.NEXTx = 140; _mc.NEXTy = -300; } } frame 99 { nextFrame(); } frame 100 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-mboss'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-2'; _mc.NEXTx = 3200; _mc.NEXTy = 300; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-2'; _mc.NEXTx = 3200; _mc.NEXTy = -300; } } frame 101 { nextFrame(); } frame 102 { stop(); } frame 103 { _root.BGM.stop(); _root.BGM.attachSound('solid_infinity.mp3'); _root.BGM.start(); nextFrame(); } frame 104 { nextFrame(); } frame 105 { stop(); _global.MAPx = 1680; _global.MAPy = 1440; _global.BOSSBATTLE = false; _global.BOSSFINISH = true; } frame 106 { _root.BGM.stop(); _root.BGM.attachSound('track011_break_a_cult.mp3'); _root.BGM.start(); nextFrame(); } frame 107 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-5'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-5'; _mc.NEXTx = 140; _mc.NEXTy = -300; } } frame 108 { nextFrame(); } frame 109 { stop(); _global.MAPx = 3360; _global.MAPy = 1680; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-6'; _mc.NEXTx = 140; _mc.NEXTy = -300; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-4'; _mc.NEXTx = 3200; _mc.NEXTy = -300; } } frame 110 { nextFrame(); } frame 111 { stop(); _global.MAPx = 3360; _global.MAPy = 1440; } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage1-boss'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } instance of movieClip 373 { onClipEvent (load) { _mc.NEXT = 'stage5-5'; _mc.NEXTx = 3200; _mc.NEXTy = -300; } } instance of movieClip 3501 { onClipEvent (load) { _mc.NEXT = 'stage5-boss'; _mc.NEXTx = 140; _mc.NEXTy = 380; } } frame 112 { nextFrame(); } frame 113 { stop(); } frame 114 { _root.BGM.stop(); _root.BGM.attachSound('solid_infinity.mp3'); _root.BGM.start(); nextFrame(); } frame 115 { nextFrame(); } frame 116 { stop(); _global.MAPx = 1680; _global.MAPy = 1440; _global.BOSSBATTLE = false; _global.BOSSFINISH = true; } frame 117 { _root.BGM.stop(); nextFrame(); } frame 118 { stop(); } frame 119 { _root.BGM.stop(); _root.BGM.attachSound('the_reaper_named_phoenix.mp3'); _root.BGM.start(); nextFrame(); } frame 120 { nextFrame(); } frame 121 { stop(); _global.MAPx = 1680; _global.MAPy = 1440; _global.BOSSBATTLE = true; _global.BOSSFINISH = false; } frame 122 { _root.BGM.stop(); nextFrame(); } frame 123 { stop(); } } instance SCROLL_mc of movieClip 3953 { onClipEvent (enterFrame) { if (_global.GAMESTART) { _x = pc_mc._x < 420 ? 0 : (pc_mc._x > _global.MAPx - 420 ? -(_global.MAPx - 840) : 420 - pc_mc._x); _y = pc_mc._y > 240 ? 0 : (pc_mc._y < -(_global.MAPy - 480) ? _global.MAPy - 240 : 240 - pc_mc._y); } else { _x = 0; _y = 0; } back_mc._x = int(-0.9 * _x); back_mc._y = int(-0.9 * _y); if (RyonaSeane_mc != null) { RyonaSeane_mc._x = -_x; RyonaSeane_mc._y = -_y; } } } movieClip 3954 { } movieClip 3956 { } movieClip 3958 { } movieClip 3960 { } movieClip 3966 { frame 1 { stop(); } frame 2 { gotoAndStop(7); } frame 3 { stop(); _global.pcTYPE = 'NORMAL'; } frame 4 { stop(); _global.pcTYPE = 'FIRE'; } frame 5 { stop(); _global.pcTYPE = 'ICE'; } frame 6 { stop(); _global.pcTYPE = 'THUNDER'; } frame 7 { stop(); _global.pcTYPE = 'EARTH'; } frame 8 { gotoAndStop(3); } } movieClip 3969 { } movieClip 3971 { } movieClip 3972 { } movieClip 3973 { } movieClip 3975 { instance of movieClip 3954 { onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_global.bcHPMAX > 0) { _visible = true; } else { _visible = false; } } } instance of movieClip 3956 { onClipEvent (enterFrame) { if (_global.pcHP < 0) { _global.pcHP = 0; } else { if (_global.pcHP > _global.pcHPMAX) { _global.pcHP = _global.pcHPMAX; } } _xscale = int(100 * (_global.pcHP / _global.pcHPMAX)); } } instance of movieClip 3958 { onClipEvent (enterFrame) { if (_global.pcMP < 0) { _global.pcMP = 0; } else { if (_global.pcMP > _global.pcMPMAX) { _global.pcMP = _global.pcMPMAX; } } if (_global.DIFFICULTY == 'easy') { _global.pcMP = 100; } _xscale = int(100 * (_global.pcMP / _global.pcMPMAX)); } } instance of movieClip 3960 { onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_global.bcHPMAX > 0) { _visible = true; } else { _visible = false; } if (_global.bcHP <= 0 && _global.bcHPMAX > 0) { _global.bcHP = 0; if (!_global.GAMEOVER && _global.BOSSFINISH) { if (_global.BOSSBATTLE) { _root.CLEAROVER_mc.gotoAndStop('STAGECLEAR'); } else { _root.CLEAROVER_mc.gotoAndStop('MBOSSCLEAR'); } } } _xscale = 0.1 * int(1000 * (_global.bcHP / _global.bcHPMAX)); } } instance of movieClip 3966 { onClipEvent (load) { gotoAndStop(3); key = false; } onClipEvent (enterFrame) { if (_global.GAMESTART) { if (Key.isDown(_global.KeyC)) { if (!key) { prevFrame(); key = true; } } else { if (Key.isDown(_global.KeyV)) { if (!key) { nextFrame(); key = true; } } else { key = false; } } } } } instance of movieClip 3969 { onClipEvent (load) { _visible = false; } onClipEvent (enterFrame) { if (_global.bcHPMAX > 0) { _visible = true; } else { _visible = false; } } } instance of movieClip 3971 { onClipEvent (enterFrame) { if (_global.bcHP <= 0 && _global.bcHPMAX > 0) { _global.bcHP = 0; if (!_global.GAMEOVER) { if (!_global.GAMEOVER && _global.BOSSFINISH) { if (_global.BOSSBATTLE) { _root.CLEAROVER_mc.gotoAndStop('STAGECLEAR'); } else { _root.CLEAROVER_mc.gotoAndStop('MBOSSCLEAR'); } } } } _xscale = int(100 * (_global.bcHP / _global.bcHPMAX)); } } instance of movieClip 3972 { onClipEvent (enterFrame) { if (_global.bcMP < 0) { _global.bcMP = 0; } else { if (_global.bcMP > _global.bcMPMAX) { _global.bcMP = _global.bcMPMAX; } } _xscale = int(100 * (_global.bcMP / _global.bcMPMAX)); } } instance of movieClip 3973 { onClipEvent (load) { gotoAndStop(3); key = false; } onClipEvent (enterFrame) { if (_global.GAMESTART) { if (Key.isDown(_global.KeyC)) { if (!key) { prevFrame(); key = true; } } else { if (Key.isDown(_global.KeyV)) { if (!key) { nextFrame(); key = true; } } else { key = false; } } } } } } instance of movieClip 3975 { onClipEvent (load) { _global.GAMESTART = false; _visible = false; gotoAndStop(1); } onClipEvent (enterFrame) { if (_global.GAMESTART) { _visible = true; if (_global.bcMPMAX > 0) { gotoAndStop(2); if (_global.bcHPMAX == 0) { _global.bcMPMAX = 0; } } else { gotoAndStop(1); } } else { _visible = false; } } } movieClip 3978 { frame 91 { stop(); _global.STAGECLEAR = true; } } movieClip 3980 { } movieClip 3981 { frame 77 { var so = SharedObject.getLocal(_global.SaveName, '/'); if (so) { var save = so.data; if (_root.SCROLL_mc._currentframe == 24) { if (_global.DIFFICULTY == 'hard') { if (save.hard1 < 2 && _global.RetryCount == 0) { save.hard1 = 2; } else { if (save.hard1 < 1) { save.hard1 = 1; } } } if (_global.DIFFICULTY == 'normal' || _global.DIFFICULTY == 'hard') { if (save.normal1 < 2 && _global.RetryCount == 0) { save.normal1 = 2; } else { if (save.normal1 < 1) { save.normal1 = 1; } } } if (save.easy1 < 2 && _global.RetryCount == 0) { save.easy1 = 2; } else { if (save.easy1 < 1) { save.easy1 = 1; } } } else { if (_root.SCROLL_mc._currentframe == 47) { if (_global.DIFFICULTY == 'hard') { if (save.hard2 < 2 && _global.RetryCount == 0) { save.hard2 = 2; } else { if (save.hard2 < 1) { save.hard2 = 1; } } } if (_global.DIFFICULTY == 'normal' || _global.DIFFICULTY == 'hard') { if (save.normal2 < 2 && _global.RetryCount == 0) { save.normal2 = 2; } else { if (save.normal2 < 1) { save.normal2 = 1; } } } if (save.easy2 < 2 && _global.RetryCount == 0) { save.easy2 = 2; } else { if (save.easy2 < 1) { save.easy2 = 1; } } } else { if (_root.SCROLL_mc._currentframe == 70) { if (_global.DIFFICULTY == 'hard') { if (save.hard3 < 2 && _global.RetryCount == 0) { save.hard3 = 2; } else { if (save.hard3 < 1) { save.hard3 = 1; } } } if (_global.DIFFICULTY == 'normal' || _global.DIFFICULTY == 'hard') { if (save.normal3 < 2 && _global.RetryCount == 0) { save.normal3 = 2; } else { if (save.normal3 < 1) { save.normal3 = 1; } } } if (save.easy3 < 2 && _global.RetryCount == 0) { save.easy3 = 2; } else { if (save.easy3 < 1) { save.easy3 = 1; } } } else { if (_root.SCROLL_mc._currentframe == 93) { if (_global.DIFFICULTY == 'hard') { if (save.hard4 < 2 && _global.RetryCount == 0) { save.hard4 = 2; } else { if (save.hard4 < 1) { save.hard4 = 1; } } } if (_global.DIFFICULTY == 'normal' || _global.DIFFICULTY == 'hard') { if (save.normal4 < 2 && _global.RetryCount == 0) { save.normal4 = 2; } else { if (save.normal4 < 1) { save.normal4 = 1; } } } if (save.easy4 < 2 && _global.RetryCount == 0) { save.easy4 = 2; } else { if (save.easy4 < 1) { save.easy4 = 1; } } } else { if (_root.SCROLL_mc._currentframe == 121) { if (_global.DIFFICULTY == 'hard') { if (save.hard5 < 2 && _global.RetryCount == 0) { save.hard5 = 2; } else { if (save.hard5 < 1) { save.hard5 = 1; } } } if (_global.DIFFICULTY == 'normal' || _global.DIFFICULTY == 'hard') { if (save.normal5 < 2 && _global.RetryCount == 0) { save.normal5 = 2; } else { if (save.normal5 < 1) { save.normal5 = 1; } } } if (save.easy5 < 2 && _global.RetryCount == 0) { save.easy5 = 2; } else { if (save.easy5 < 1) { save.easy5 = 1; } } } } } } } so.flush(_global.FlushMemory); } } frame 136 { stop(); _global.STAGECLEAR = true; } } movieClip 3982 { frame 1 { stop(); _global.STAGECLEAR = false; _global.GAMEOVER = false; } frame 2 { stop(); _global.GAMEOVER = true; _root.BGM.stop(); } frame 3 { stop(); } frame 4 { stop(); } } // unknown tag 88 length 76




http://swfchan.com/35/172826/info.shtml
Created: 17/10 -2018 13:17:07 Last modified: 17/10 -2018 13:17:07 Server time: 22/12 -2024 03:41:18