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

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

yaesaga.swf

This is the info page for
Flash #189751

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


ActionScript [AS1/AS2]
Combined Code
// unknown tag 88 length 4 // unknown tag 88 length 4 movieClip 25 { frame 17 { this._parent.removeMovieClip(); } } movieClip 26 efe_hamon_mc { } movieClip 89 dot_num_num { frame 2 { stop(); } } movieClip 91 { } // unknown tag 88 length 63 movieClip 101 { } movieClip 102 hit_mc { frame 1 { if (!hit_visible_flg) { _alpha = 0; } } } movieClip 105 { frame 1 { stop(); } } movieClip 117 weapon_attack_mc { frame 1 { stop(); } } movieClip 133 { frame 1 { stop(); } frame 6 { stop(); } frame 10 { stop(); } frame 39 { stop(); } frame 70 { stop(); } frame 109 { stop(); } frame 149 { this.gotoAndPlay(this.goflm); } frame 193 { if (rn(0, 3) > 0) { this.gotoAndPlay(this.goflm); } } frame 203 { this.gotoAndPlay(this.goflm); } } movieClip 134 chara_mc { } movieClip 136 { } movieClip 137 menu_mc { } movieClip 140 corsor_mc { frame 1 { _alpha = 0; } frame 5 { stop(); _alpha = 100; } } movieClip 144 enemy_mc { frame 1 { stop(); } } movieClip 150 effect_mc { frame 1 { _global.battle_anime_fnc_master.d_fnc(this.tg); } frame 11 { this.removeMovieClip(); } frame 16 { _global.battle_anime_fnc_master.d_fnc(this.tg); } frame 22 { this.removeMovieClip(); } frame 25 { _global.battle_anime_fnc_master.d_fnc(this.tg); } frame 29 { this.removeMovieClip(); } frame 53 { _global.battle_anime_fnc_master.d_fnc(this.tg); } frame 64 { this.removeMovieClip(); } frame 75 { _global.battle_anime_fnc_master.d_fnc(this.tg); } frame 81 { this.removeMovieClip(); } frame 102 { _global.battle_anime_fnc_master.d_fnc(this.tg); } frame 106 { this.removeMovieClip(); } frame 109 { this.blendMode = 'add'; } frame 120 { _global.battle_anime_fnc_master.d_fnc(this.tg); } frame 130 { this.removeMovieClip(); } } movieClip 154 window_yoko_mc { } movieClip 162 window_tuno_mc { } movieClip 167 window_naka_mc { } movieClip 169 window_tate_mc { } movieClip 172 battle_bg_mc { } movieClip 179 field_bg_yuka_mc { } movieClip 186 field_obj_mc { frame 1 { hit_flg = [1, 1, 1]; } frame 2 { hit_flg = [1, 1, 0, 0, 0]; } frame 3 { hit_flg = [0, 0, 0, 0, 0]; } frame 4 { hit_flg = [1, 1, 1, 0, 0]; } frame 5 { hit_flg = [1, 1, 1, 0, 0]; } frame 6 { hit_flg = [1, 1, 1, 0, 0]; } frame 30 { hit_flg = [0, 0, 0, 0, 0]; } } movieClip 189 { } movieClip 191 map_mc { frame 1 { stop(); } } movieClip 198 { } movieClip 204 { } movieClip 205 map_obj_mc { frame 100 { stop(); } frame 104 { this.gotoAndPlay('off'); } } movieClip 206 map_hit_mc { } movieClip 226 { frame 1 { this.onRollOver = function () { gotoAndStop(3); }; this.onRollOut = function () { gotoAndStop(2); }; } frame 2 { tt.text = t; stop(); } } movieClip 234 { frame 1 { this.henkan_fnc = function (nakami, n) { kk = String.fromCharCode(nakami); if (nakami == 16) { kk = 'shift'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 8) { kk = 'back space'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 9) { kk = 'tab'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 13) { kk = 'enter'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 16) { kk = 'shift'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 17) { kk = 'ctrl'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 18) { kk = 'alt'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 20) { kk = 'caps lock'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 27) { kk = 'esc'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 32) { kk = 'space'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 33) { kk = 'page up'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 34) { kk = 'page down'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 35) { kk = 'end'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 36) { kk = 'home'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 37) { kk = '←'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 38) { kk = '↑'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 39) { kk = '→'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 40) { kk = '↓'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 45) { kk = 'insert'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 46) { kk = 'delete'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 144) { kk = 'num lock'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami >= 112 && nakami <= 126) { kk = 'F' + (nakami - 111); tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 189) { kk = 'ー'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 222) { kk = '^'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 220) { kk = '¥(上のキー)'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 192) { kk = '@'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 219) { kk = '['; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 187) { kk = ';'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 186) { kk = ':'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 221) { kk = ']'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 188) { kk = ','; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 190) { kk = '.'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 191) { kk = '/'; tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; } if (nakami == 226) { kk = '\\(下のキー)'; } tt.text = kk; _root.my_so.data[_root.btm_array[n] + '_btm'] = nakami; _global[_root.btm_array[n] + '_btm'] = _root.my_so.data[_root.btm_array[n] + '_btm']; trace('num=' + n + ' ' + _root.btm_array[n] + '_btm=' + _root.my_so.data[_root.btm_array[n] + '_btm']); return kk; }; n = Number(_name.substr(1, 1)); henkan_fnc(_global[_root.btm_array[n] + '_btm'], n); array = ['決定', 'キャンセル', 'メニュー', 'オプション', '←', '↑', '→', '↓']; tt1.text = array[n]; if (n > 3) { tt._x = 0; } gotoAndStop(n + 1); tt1.text = array[n]; } instance of movieClip 102 hit_mc { onClipEvent (press) { _parent.tt.text = ''; Key.addListener(key); var _mc = _parent._parent.attachMovie('hit_mc', 'hit', _parent._parent.getNextHighestDepth()); _mc._xscale = 320; _mc._yscale = 320; _mc.onPress = function () {}; _mc.enabled = false; _mc._parent.createTextField('tt', _mc._parent.getNextHighestDepth(), 20, 50, 300, 20); _mc._parent.tt.text = '< ' + _parent.tt1.text + ' キーを押してください >'; cnt = 0; Key.removeListener(_root.key_lis_field_menu); } onClipEvent (rollOver) { _parent.def_btm.gotoAndStop(3); } onClipEvent (rollOut, dragOut) { _parent.def_btm.gotoAndStop(2); } onClipEvent (load) { key = new Object(); key.onKeyDown = function () { kk = _parent.henkan_fnc(Key.getCode(), _parent._name.substr(1, 1)); _parent._parent.hit.removeMovieClip(); _parent._parent.tt.removeTextField(); Key.addListener(_root.key_lis_field_menu); Key.removeListener(key); }; } } } movieClip 237 f_menu_mc { frame 1 { stop(); } } movieClip 240 obj_mc { } movieClip 256 black_mc { frame 2 { stop(); } frame 31 { stop(); } frame 56 { stop(); this.removeMovieClip(); } frame 81 { stop(); } frame 91 { stop(); this.removeMovieClip(); } frame 112 { stop(); } frame 129 { stop(); this.removeMovieClip(); } frame 150 { stop(); } } movieClip 258 mask_in_mc { frame 17 { stop(); } } movieClip 273 { frame 1 { stop(); } frame 3 { var i = 0; while (i < 250) { var _mc = this.attachMovie('mask_in_mc', 'm' + i, i); _mc._y = i * 16; ++i; } } } movieClip 276 { } movieClip 277 yuka_mc { frame 1 { stop(); } } movieClip 286 yadoya_mc { frame 1 { this._x = -8; this._y = 9; } frame 1 { yuka_mc.gotoAndStop(4); } } movieClip 289 debug_mc { frame 1 { this.onEnterFrame = function () { tt.text = '戦闘フラグ:' + _global.master_enemy_move_flg; ttt.text = '会話フラグ:' + _global.talk_time_flg; }; } } movieClip 295 gyag_hukidasi_mc { frame 28 { gotoAndPlay('oogoe'); } } movieClip 302 { frame 1 { stop(); } } movieClip 303 enemy_simbol_mc { } movieClip 310 icon_mc { frame 1 { stop(); } } movieClip 471 { frame 5 { stop(); } frame 14 { stop(); } frame 20 { stop(); } frame 24 { stop(); } frame 45 { stop(); } frame 65 { stop(); } frame 78 { stop(); } frame 89 { stop(); } frame 100 { stop(); } } movieClip 475 { } movieClip 476 { } movieClip 484 { frame 2 { gotoAndPlay(_global.go_kao_lb); } frame 9 { stop(); } frame 23 { stop(); } frame 40 { this.gotoAndPlay('talk'); } } movieClip 498 { frame 1 { stop(); } frame 45 { stop(); } } movieClip 587 { frame 8 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } frame 29 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } frame 44 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } frame 56 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } frame 72 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } frame 162 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } frame 281 { if (rn(0, 6) > 1) { this.gotoAndPlay('lv' + _global.yae_kouhun_lv + 'r'); } else { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } } frame 362 { if (rn(0, 6) > 1) { this.gotoAndPlay('lv' + _global.yae_kouhun_lv + 'r'); } else { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } } frame 408 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } } movieClip 630 { frame 1 { _global.meake_flg = 1; } frame 31 { if (this.cnt < rn(6, 12)) { if (!this.cnt) { this.cnt = 0; } ++this.cnt; if (!_global.tatie_miteyo_flg) { this.gotoAndPlay('sita'); } } } frame 33 { this.cnt = 0; if (rn(0, 5) < 5) { if (!_global.tatie_miteyo_flg) { this.gotoAndPlay('sita'); } } } frame 39 { this.cnt = 0; if (_global.tatie_miteyo_flg) { this.gotoAndPlay('jump2'); } if (rn(0, 2) < 1) { if (!_global.tatie_miteyo_flg) { this.gotoAndPlay('jump1'); } } } frame 48 { _global.tatie_miteyo_flg = 0; _global.meake_flg = 2; } frame 75 { if (_global.tatie_sita_miteyo_flg) { this.gotoAndPlay('sita_mite_go'); } } frame 81 { if (this.cnt < rn(6, 12)) { if (!this.cnt) { this.cnt = 0; } ++this.cnt; this.gotoAndPlay('ue'); } } frame 83 { this.cnt = 0; if (rn(0, 5) < 5) { this.gotoAndPlay('ue'); } } frame 88 { this.cnt = 0; if (_global.tatie_sita_miteyo_flg) { _global.tatie_sita_miteyo_flg = 0; this.gotoAndPlay('sita'); } if (rn(0, 2) < 1) { this.gotoAndPlay('jump2'); } } frame 90 { _global.meake_flg = 0; } frame 99 { stop(); } frame 139 { gotoAndPlay('zaiakukan'); } } movieClip 641 { frame 31 { if (rn(0, 16) < 16) { this.gotoAndPlay(go_kao_lb); } } frame 43 { this.gotoAndPlay(go_kao_lb); } frame 106 { this.gotoAndPlay(go_kao_lb); } frame 148 { this.gotoAndPlay(go_kao_lb); } frame 182 { gotoAndPlay('odoroki_re'); } frame 242 { gotoAndPlay('act01_re'); } frame 289 { gotoAndPlay('act02_re'); } frame 308 { rep = 0; } frame 317 { ++rep; gotoAndPlay('uru' + (Math.floor(rep / 6) + 1)); } frame 330 { gotoAndPlay('uru2'); } frame 361 { if (rn(0, 16) < 16) { this.gotoAndPlay(go_kao_lb); } } frame 373 { this.gotoAndPlay(go_kao_lb); } frame 392 { this.gotoAndPlay('gorippuku'); } frame 422 { this.gotoAndPlay('gorippuku'); } frame 442 { this.gotoAndPlay('gyag2'); ++gyag_cnt; if (gyag_cnt > 5) { gyag_cnt = 0; _global.yae_states_fnc(1); } else { if (!gyag_cnt) { gyag_cnt = 1; } } } frame 471 { _global.tatie_mc.ponite_mc.gotoAndStop('stay'); this._rotation = 0; atama_hit_mc.onPress = function () { _global.tatie_mc.kao_mc.gotoAndStop('utumuki_stay'); if (rn(0, 3) == 3) { _global.tatie_mc.kao_mc.me_mc.gotoAndPlay('jump2'); } else { _global.tatie_miteyo_flg = true; } var v2 = _global.tatie_mc.kao_mc.attachMovie('efe_hamon_mc', 'hamon_mc', _global.tatie_mc.kao_mc.getNextHighestDepth()); v2._alpha = 20; v2._x = _global.tatie_mc.kao_mc._xmouse - v2._width / 2; v2._y = _global.tatie_mc.kao_mc._ymouse - v2._height / 2; }; } frame 472 { _global.tatie_mc.ponite_mc.gotoAndStop('utumuki'); this._rotation = 0; } frame 473 { _global.tatie_mc.ponite_mc.gotoAndStop('utumuki'); } } movieClip 646 { frame 1 { _alpha = 0; gotoAndStop(Number(_name.substr(-2, 2))); this.onPress = function () { touch_ero_fnc(this); }; this.onReleaseOutside = function () {}; this.onRelease = function () {}; } } movieClip 655 { } movieClip 661 { frame 31 { stop(); } } movieClip 676 { } movieClip 692 { frame 113 { if (rn(0, 7) > 1) { gotoAndPlay('re'); } } frame 129 { gotoAndPlay('re'); } } movieClip 696 { frame 5 { stop(); } } movieClip 699 { } movieClip 709 { } movieClip 1195 { } movieClip 1258 { frame 11 { stop(); } frame 31 { stop(); } } movieClip 1341 { frame 42 { stop(); } } movieClip 1370 { } movieClip 1409 { frame 8 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } frame 94 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } frame 187 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } frame 233 { this.gotoAndPlay('lv' + _global.yae_kouhun_lv); } } movieClip 1489 { frame 1 { if (this._name.substr(-1, 1) == '2') { this.gotoAndStop(2); } else { stop(); } } } movieClip 1554 { } movieClip 1561 { } movieClip 1587 { frame 1 { stop(); } frame 6 { this.gotoAndStop(2); } } movieClip 1638 { frame 2 { iki_array = [[2, 1, 3, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 3, 2, 1], [2, 1, 3, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 3, 1, 2, 1, 2], [2, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 1, 2]]; this.iki_array2 = iki_array[rn(0, 2)]; this.iki_cnt = 0; this.iki_lb_cnt = 0; } frame 16 { ++this.iki_cnt; if (this.iki_array2.length > this.iki_cnt) { this.gotoAndPlay(16 - this.iki_array2[this.iki_cnt] * 2); } } frame 38 { ++this.iki_lb_cnt; if (this.iki_lb_cnt > 1) { } else { gotoAndPlay('re'); } } frame 78 { ++this.iki_lb_cnt; if (this.iki_lb_cnt > 7) { if (rn(0, 6) == 0) { _global.tatie_mc.kao_mc.gotoAndStop('utumuki_stay'); if (rn(0, 3) == 3) { _global.tatie_mc.kao_mc.me_mc.gotoAndPlay('jump2'); } else { _global.tatie_miteyo_flg = true; } } else { if (rn(0, 6) > 3) { _global.tatie_mc.kao_mc.me_mc.gotoAndPlay('zaiakukan'); } } } gotoAndPlay('re2'); } } movieClip 1639 { frame 1 { stop(); } } movieClip 1644 { frame 61 { stop(); } } movieClip 1646 { } movieClip 1650 { } movieClip 1652 { } movieClip 1654 { } movieClip 1656 { } movieClip 1659 { frame 25 { stop(); } } movieClip 1662 tatie_mc { frame 1 { tatie_kao_fnc(); tatie_mc.gotoAndStop('stay'); } frame 6 { stop(); } frame 8 { yae_states_fnc(); tatie_kao_fnc(); this.tatie_mc.gotoAndStop('stay_hadaka'); } frame 12 { stop(); } frame 15 { tatie_kao_fnc(); } frame 15 { num = 0; this.onEnterFrame = function () { ++this.num; if (this.num > 160) { delete this.onEnterFrame; gotoAndStop('stay'); } }; } frame 18 { stop(); } frame 21 { tatie_kao_fnc(); } frame 31 { if (!yae_manko_nure_lv_top) { _global.yae_manko_nure_lv_top = 0; } if (!_global.yae_kouhun_lv) { _global.yae_kouhun_lv = 0; } else { _global.yae_kouhun_lv = N(_global.yae_kouhun_lv / 2); } _global.sasage_nure_max = 100; _global.yae_kouhun_lv_num = 80; _global.yae_kouhun_lv_num = 0; _global.yae_kouhun_lv_num_max = 11; _global.yae_kouhun_lv_num_max = 500; _global.yae_kouhun_lv_num_max = 71; _global.yae_kouhun_lv_num_max = 200; _global.yae_kouhun_lv_max = 5; _global.yae_itohiki = 0; _global.def_xy(_global.tatie_mc.kao_mc); ito_mc.def_y = ito_mc._y; ito_mc.def_x = ito_mc._x; ito_mc._yscale = 15; ito_mc.gotoAndStop('end'); kao_mc.gotoAndStop('utumuki_start'); _global.tatie_mc.ponite_mc.gotoAndStop('stay'); _global.yae_h_num = Math.max(_global.yae_h_num, 4); _global.tatie_kao_fnc(); this.tatie_sasage_mc.manko_mc.stop(); this.tatie_sasage_mc.sasage_body_mc.stop(); _global.manko_hit = this.manko_hitarea_mc; _global.oppai_hit_l = this.oppai_hit_l; _global.oppai_hit_r = this.oppai_hit_r; _global.siri_hit = this.siri_hitarea_mc; _global.ito_mc = ito_mc; _global.oppai_hit_r._alpha = 0; _global.oppai_hit_l._alpha = 0; _global.manko_hit._alpha = 0; _global.siri_hit._alpha = 0; tatie_sasage_mc.siri_corsor_set_mc.stop(); tatie_sasage_mc.siri_corsor_set_mc._visible = false; tatie_sasage_mc.siri_corsor_set_mc.mc = false; tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc._visible = false; tatie_sasage_mc.sasage_body_mc.siri_mc.gotoAndStop(1); tatie_sasage_mc.sasage_body_mc.siri_mc._visible = false; tatie_sasage_mc.sasage_body_mc.oppai_mc.gotoAndStop(1); tatie_sasage_mc.sasage_body_mc.oppai_mc._visible = false; tatie_sasage_mc.sasage_body_mc.oppai_l_mc.gotoAndStop(1); tatie_sasage_mc.sasage_body_mc.oppai_l_mc._visible = false; _global.tatie_mc.kutiosae_ude_mc._visible = false; _global.tatie_mc.kutiosae_ude_mc.stop(); tatie_sasage_mc.sasage_body_mc.oppai_hazumi_mc.gotoAndStop(1); tatie_sasage_mc.sasage_body_mc.oppai_hazumi_mc._visible = false; _global.corsor = this.corsor_mc; _global.corsor._visible = false; _global.corsor_sub_mc = this.corsor_sub_mc; _global.sasage_obj_visible_array = []; ito_mc.ito_fnc = function () { if (_global.yae_manko_nure_lv_top > 60 && _global.yae_manko_nure_lv > 20) { _global.yae_manko_nure_lv = Math.max(0, _global.yae_manko_nure_lv - 20 - rn(0, 12)); this.gotoAndPlay('go'); this._alpha = 20 + _global.yae_manko_nure_lv / 2; if (!_global.yae_itohiki) { if (rn(0, 3) > 0) { ++_global.yae_itohiki; _global.tatie_sita_miteyo_flg = 1; _global.tatie_mc.kao_mc.me_mc.gotoAndPlay('jump2'); } } if (_global.manko_hit.p2) { if (_global.manko_hit.p2 > 0) { this._y = this.def_y + _global.manko_hit.p2 / 3; this._x = this.def_x + _global.manko_hit.p2 / 4; } else { this._y = this.def_y + _global.manko_hit.p2 / 3; this._x = this.def_x + _global.manko_hit.p2 / 5; } } else { if (_global.manko_hit.p < 0) { this.gotoAndStop('end'); } this._y = this.def_y; this._x = this.def_x; } trace('_global.manko_hit.p2 = ' + _global.manko_hit.p2); this.point_2 = new flash.geom.Point(this._x, this._y); this.cnt = 0; this.onEnterFrame = function () { if (this.cnt % 2 == 0) { this._alpha -= 1; } if (Math.abs(this.yy - _root._ymouse) > 6) { this._alpha -= 16; } this.yy = _root._ymouse; this.point_1 = new flash.geom.Point(this._parent.corsor_mc._x, this._parent.corsor_mc._y); this.distanceBetween = flash.geom.Point.distance(this.point_1, this.point_2); if (this.distanceBetween < 50) { this._xscale = this.distanceBetween; this.rad = Math.atan2(this._parent.corsor_mc._y - this._y, this._parent.corsor_mc._x - this._x); this._rotation = this.rad * 180 / Math.PI; } else { this.gotoAndStop('end'); delete this.onEnterFrame; } }; } }; _global.sasage_kokyuu_fnc = function () { var v3 = _global.tatie_mc.tatie_sasage_mc.createEmptyMovieClip('kokyuu', 2); v3.my_fnc = function () { this.cnt = 0; this.cnt_m = 1500; this.onEnterFrame = function () { ++this.cnt; if (this.cnt >= this.cnt_m) { _global.yae_kouhun_lv = Math.max(0, _global.yae_kouhun_lv - 1); _global.tatie_mc.kao_mc.gotoAndStop('utumuki_stay'); } }; }; v3.my_fnc(); }; _global.sasage_kokyuu_fnc(); _global.piku_fnc = function () { var v3 = _global.tatie_mc.tatie_sasage_mc.createEmptyMovieClip('pikun', 1); v3.my_fnc = function () { this.cnt = 0; this.cnt_m = 10; this.onEnterFrame = function () { ++this.cnt; if (this.cnt >= this.cnt_m) { _global.tatie_mc._yscale = 100; _global.tatie_mc._y = _global.tatie_mc._yd; _global.tatie_mc.kao_mc._y = _global.tatie_mc.kao_mc._yd; _global.tatie_mc.tatie_sasage_mc.gotoAndStop('lv0'); this.removeMovieClip(); } }; }; v3.my_fnc(); _global.tatie_mc.tatie_sasage_mc.gotoAndStop('lv' + _global.yae_kouhun_lv); _global.tatie_mc.tatie_sasage_mc.gotoAndStop('lv2'); _global.tatie_mc._y = _global.tatie_mc._yd + 0.5; }; _global.siri_hit.onPress = function () { _global.corsor._visible = false; tatie_sasage_mc.sasage_body_mc.siri_mc._visible = true; _global.sasage_obj_visible_array = [tatie_sasage_mc.siri_corsor_set_mc, tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc]; tatie_sasage_mc.siri_corsor_set_mc._visible = true; tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc._visible = true; this.get_y = Math.max(1, Math.min(31, _root._ymouse - _global.siri_hit._y)); tatie_sasage_mc.siri_corsor_set_mc.gotoAndStop(this.get_y); tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc._x = tatie_sasage_mc.siri_corsor_set_mc._width - tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc._width; tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc._y = tatie_sasage_mc.siri_corsor_set_mc._height - tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc._height; _global.siri_hit.my_fnc = function () { this.cnt = 0; this.cnt_every = 20; this.frame_max = 31; this.frame_min = 1; this.p = this.get_y; this.p2 = 0; this.p_u = 0; this.p_d = 0; this.yy = _root._ymouse; this.onEnterFrame = function () { ++this.cnt; if (this.yy > _root._ymouse) { if (this.cnt % this.cnt_every == 0 && this.p > 10 && this.p < 16 && this.p_u > 4) { _global.piku_fnc(); _global.yae_kouhun_fnc('siri', 16); } this.p = Math.max(this.frame_min, this.p - 1); this.p2 = 0; ++this.p_u; this.p_d = 0; if (this.p < 14) { tatie_sasage_mc.sasage_body_mc.siri_mc.gotoAndStop(tatie_sasage_mc.sasage_body_mc.siri_mc._currentframe + 1); } } else { if (this.yy < _root._ymouse) { if (this.cnt % this.cnt_every == 0 && this.p > 10 && this.p < 16 && this.p_d > 4) { _global.piku_fnc(); _global.yae_kouhun_fnc('siri', 8); _global.tatie_mc.kao_mc.mayuge_mc.gotoAndStop('act1'); } this.p = Math.min(this.frame_max, this.p + 1); this.p2 = 50; ++this.p_d; this.p_u = 0; tatie_sasage_mc.sasage_body_mc.siri_mc.gotoAndStop(tatie_sasage_mc.sasage_body_mc.siri_mc._currentframe - 1); } } tatie_sasage_mc.siri_corsor_set_mc.gotoAndStop(N(this.p + this.p2)); tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc._x = Math.floor(tatie_sasage_mc.siri_corsor_set_mc._width - tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc._width); tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc._y = Math.floor(tatie_sasage_mc.siri_corsor_set_mc._height - tatie_sasage_mc.sasage_body_mc.siri_corsor_btm_mc._height); this.yy = _root._ymouse; }; }; _global.siri_hit.my_fnc(); _global.siri_hit.end_fnc = function () { tatie_sasage_mc.sasage_body_mc.siri_mc.gotoAndStop(1); tatie_sasage_mc.sasage_body_mc.siri_mc._visible = false; var v2 = 0; while (v2 < _global.sasage_obj_visible_array.length) { _global.sasage_obj_visible_array[v2]._visible = false; ++v2; } }; }; _global.oppai_hit_l.onPress = function () { _global.corsor._visible = false; this.array = [_global.tatie_mc._x, _global.tatie_mc._y]; _global.piku_fnc(); this.cnt = 0; this.p = 0; this.p2 = 0; _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._visible = true; _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc.gotoAndPlay('start'); this.rad = Math.atan2(this._parent.corsor_mc._y - this._y, this._parent.corsor_mc._x - this._x); this.point_2 = new flash.geom.Point(_global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._x + 24, _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._y + 48); this.point_2 = new flash.geom.Point(24, 48); this.onEnterFrame = function () { this.rad = Math.atan2(_global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._ymouse - _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._y - 48, _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._xmouse - _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._x - 24); this.rad = Math.atan2(_global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._ymouse - 48, _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._xmouse - 24); this.point_1 = new flash.geom.Point(_global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._xmouse, _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._ymouse); this.distanceBetween = flash.geom.Point.distance(this.point_1, this.point_2); if (this.distanceBetween > 80) { this.kyori = 0; } else { if (this.distanceBetween > 40) { this.kyori = 100; } } if (this.kyori_old != this.kyori) { _global.yae_kouhun_fnc('oppai', 2); } if (this.distanceBetween > 20) { _global.corsor_sub_mc._alpha = Math.min(40, this.distanceBetween - 20); } else { _global.corsor_sub_mc._alpha = 0; } this.kyori_old = this.kyori; if (_global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._currentframe != Math.floor(this.rad * 180 / Math.PI / 45) + 4 + 12 && this.cnt > 12) { _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc.gotoAndStop(Math.floor(this.rad * 180 / Math.PI / 45) + 4 + 12); } this.distanceBetween_old = this.distanceBetween + 0; ++this.cnt; if (this.flm_old != _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._currentframe) { ++this.p; if (this.p > 40) { _global.yae_kouhun_fnc('oppai', 1); this.p = 0; } } this.flm_old = _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc._currentframe; if (this.cnt % 4 == 0) { } if (this.cnt % 100 == 0) { _global.yae_kouhun_fnc('time', 1); } }; this.end_fnc = function () { _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_l_mc.gotoAndPlay('end'); }; }; _global.oppai_hit_r.onPress = function () { _global.corsor._visible = false; this.array = [_global.tatie_mc._x, _global.tatie_mc._y]; _global.piku_fnc(); this.cnt = 0; this.p = 0; this.p2 = 0; _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._visible = true; _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_hazumi_mc._visible = false; this.rad = Math.atan2(this._parent.corsor_mc._y - this._y, this._parent.corsor_mc._x - this._x); this.point_2 = new flash.geom.Point(_global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._x + 60, _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._y + 70); this.point_2 = new flash.geom.Point(60, 70); this.onEnterFrame = function () { this.rad = Math.atan2(_global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._ymouse - _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._y - 70, _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._xmouse - _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._x - 60); this.rad = Math.atan2(_global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._ymouse - 70, _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._xmouse - 60); _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc.bar._rotation = Math.floor(this.rad * 180 / Math.PI); this.point_1 = new flash.geom.Point(_global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._xmouse, _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._ymouse); this.distanceBetween = flash.geom.Point.distance(this.point_1, this.point_2); if (this.distanceBetween > 80) { this.kyori = 0; } else { if (this.distanceBetween > 40) { this.kyori = 100; } else { if (this.distanceBetween > 10) { this.kyori = 200; } else { this.kyori = 300; } } } if (this.kyori_old != this.kyori) { _global.yae_kouhun_fnc('oppai', 2); } if (this.distanceBetween > 120) { _global.corsor_sub_mc._alpha = Math.min(40, this.distanceBetween - 120); } else { _global.corsor_sub_mc._alpha = 0; } this.kyori_old = this.kyori; _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc.gotoAndStop((Math.floor(this.rad * 180 / Math.PI / 4.5) + 40 + 40) % 80 + 1 + this.kyori); ++this.cnt; if (this.flm_old != _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._currentframe) { ++this.p; if (this.p > 40) { _global.yae_kouhun_fnc('oppai', 1); this.p = 0; } } this.flm_old = _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._currentframe; if (this.cnt % 4 == 0) { } if (this.cnt % 100 == 0) { _global.yae_kouhun_fnc('time', 1); } }; this.end_fnc = function () { _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._visible = false; _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_hazumi_mc._visible = true; if (_global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._ymouse - _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_mc._y < 70) { _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_hazumi_mc.gotoAndPlay('up' + this.kyori); } else { _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.oppai_hazumi_mc.gotoAndPlay('down' + this.kyori); } }; }; _global.manko_hit.onPress = function () { _global.corsor._visible = false; _global.tatie_mc.kao_mc.gotoAndStop('utumuki'); var v4 = [30, 50, 50]; var v5 = [80, 80, 80]; if (!_global.yae_ero_lv) { _global.yae_ero_lv = 2; } if (!_global.yae_kouhun_lv) { _global.yae_kouhun_lv = 0; } if (!_global.yae_manko_nure_lv) { _global.yae_manko_nure_lv = 0; } _global.yae_manko_lv = v4[_global.yae_ero_lv]; _global.piku_fnc(); _global.yae_manko_lv2 = v5[_global.yae_ero_lv]; _global.tatie_mc.tatie_sasage_mc.manko_mc.gotoAndStop(_global.yae_manko_lv); this.cnt = 0; this.frame_max = 7; this.p = 0; this.p2 = 0; this.point_2 = new flash.geom.Point(this._x, this._y); this.onEnterFrame = function () { ++this.cnt; this.point_1 = new flash.geom.Point(this._parent.corsor_mc._x, this._parent.corsor_mc._y); this.distanceBetween = flash.geom.Point.distance(this.point_1, this.point_2); if (this.distanceBetween > 20) { _global.corsor_sub_mc._alpha = Math.min(40, this.distanceBetween - 20); } else { _global.corsor_sub_mc._alpha = 0; } this.old_p = this.p; this.old_p2 = this.p2; if (this.xx > _root._xmouse) { this.p = Math.max(-this.frame_max, this.p - 1); } else { if (this.xx < _root._xmouse) { this.p = Math.min(this.frame_max, this.p + 1); if (rn(0, 3) == 3) { if (this.old_p != this.p) { _global.yae_kouhun_fnc('manko', 1); } } } } if (this.yy > _root._ymouse) { this.p2 = Math.max(-this.frame_max, this.p2 - 1); if (rn(0, 2) == 2) { if (this.old_p2 != this.p2) { _global.yae_kouhun_fnc('manko', 1); } } } else { if (this.yy < _root._ymouse) { this.p2 = Math.min(this.frame_max, this.p2 + 1); } } if (Math.abs(this.p) > 2) { _global.tatie_mc.tatie_sasage_mc.manko_mc.gotoAndStop(_global.yae_manko_lv + this.p); this.p2 = 0; if (rn(0, 7) < _global.yae_manko_nure_lv_top / 10 + 1) { _global.piku_fnc(); } } else { if (Math.abs(this.p2) > 2) { if (rn(0, 7) < _global.yae_manko_nure_lv_top / 10 + 1) { _global.piku_fnc(); } this.p = 0; _global.tatie_mc.tatie_sasage_mc.manko_mc.gotoAndStop(_global.yae_manko_lv2 + this.p2); } else { if (Math.abs(this.xx - _root._xmouse) > Math.abs(this.yy - _root._ymouse)) { _global.tatie_mc.tatie_sasage_mc.manko_mc.gotoAndStop(_global.yae_manko_lv + this.p); this.p2 = 0; } else { if (Math.abs(this.xx - _root._xmouse) < Math.abs(this.yy - _root._ymouse)) { _global.tatie_mc.tatie_sasage_mc.manko_mc.gotoAndStop(_global.yae_manko_lv2 + this.p2); this.p = 0; } } } } _global.yae_manko_nure_lv_top = Math.max(_global.yae_manko_nure_lv, _global.yae_manko_nure_lv_top); this.xx = _root._xmouse; this.yy = _root._ymouse; if (this.cnt % 100 == 0) { _global.yae_kouhun_fnc('time', 1); } }; this.end_fnc = function () { _global.tatie_mc.tatie_sasage_mc.manko_mc.gotoAndStop(1); }; }; _global.yae_kouhun_fnc = function (typ, num) { var v3 = _global.yae_kouhun_lv + 0; if (typ == 'time') { } else { if (typ == 'manko') { if (_global.yae_kouhun_lv > 1) { _global.yae_manko_nure_lv = Math.min(_global.sasage_nure_max, _global.yae_manko_nure_lv + 1); } if (_global.yae_kouhun_lv == _global.yae_kouhun_lv_max && _global.yae_kouhun_lv_num >= 10) { _global.mouse_releaseout_fnc(_global.manko_hit); Mouse.hide(); _global.tatie_mc.gotoAndStop('manko_iki'); } } else { if (typ == 'siri') { if (_global.yae_kouhun_lv > 2) { _global.yae_manko_nure_lv = Math.min(_global.sasage_nure_max, _global.yae_manko_nure_lv + 1); } } else { if (typ == 'oppai') { if (_global.yae_kouhun_lv > 2) { _global.yae_manko_nure_lv = Math.min(_global.sasage_nure_max, _global.yae_manko_nure_lv + 1); } } } } _global.tatie_mc.kao_mc.mayuge_mc.gotoAndPlay('act1'); sasage_hannou_fnc(typ); } _global.yae_kouhun_lv_num += num; _global.tatie_mc.tatie_sasage_mc.kokyuu.cnt = 0; if (_global.yae_kouhun_lv_num >= _global.yae_kouhun_lv_num_max) { _global.yae_kouhun_lv = Math.min(_global.yae_kouhun_lv + 1, _global.yae_kouhun_lv_max); _global.yae_kouhun_lv_num = 0; } if (_global.yae_kouhun_lv == 1 && v3 == 0) { _global.tatie_mc.tatie_sasage_mc.sasage_body_mc.gotoAndPlay('lv' + _global.yae_kouhun_lv); _global.tatie_mc.kao_mc.gotoAndStop('utumuki'); _global.tatie_mc.kao_mc.me_mc.gotoAndStop('utumuki'); _global.tatie_mc.ponite_mc.gotoAndStop('utumuki'); } tt.text = 'lv : ' + _global.yae_kouhun_lv + ' num : ' + _global.yae_kouhun_lv_num; }; _global.sasage_hyoujou_change = 0; _global.sasage_hannou_fnc = function (typ) { if (!_root.sasage_hannou_mc) { if (rn(0, _global.yae_kouhun_lv) > 1) { if (typ == 'manko') { _global.tatie_mc.kao_mc.kuti_mc.gotoAndPlay('act' + rn(0, 2)); } else { _global.tatie_mc.kao_mc.kuti_mc.gotoAndPlay('act0'); } var v4 = _root.createEmptyMovieClip('sasage_hannou_mc', _root.getNextHighestDepth()); v4.fnc = function () { this.cnt = 0; this.cntm = 40 + rn(-4, 4); this.onEnterFrame = function () { ++this.cnt; if (this.cnt >= this.cntm) { this.removeMovieClip(); } }; }; v4.fnc(); } else { if (rn(0, 9) > 7) { _global.tatie_mc.kao_mc.kuti_mc.gotoAndPlay('act0'); } } } else {} ++_global.sasage_hyoujou_change; if (_global.sasage_hyoujou_change > rn(0, 60) + 20) { _global.sasage_hyoujou_change = rn(-60, 0); if (_global.meake_flg == 1) { _global.tatie_mc.kao_mc.me_mc.gotoAndStop('utumuki'); } else { if (_global.meake_flg == 2 && rn(0, 1) == 0) { _global.tatie_mc.kao_mc.me_mc.gotoAndStop('utumuki'); } else { if (_global.meake_flg == 2) { _global.tatie_sita_miteyo_flg = 1; } else { if (rn(0, 2) == 2) { _global.tatie_sita_miteyo_flg = 1; _global.tatie_mc.kao_mc.me_mc.gotoAndPlay('sita_mite_go'); } } } } } }; } frame 31 { _global.mouse_release_fnc = function (my) { _global.corsor._visible = true; my.end_fnc(); delete my.onEnterFrame; _global.corsor_sub_mc._alpha = 0; }; _global.mouse_releaseout_fnc = function (my) { Mouse.show(); my.end_fnc(); delete my.onEnterFrame; _global.corsor_sub_mc._alpha = 0; }; _global.oppai_hit_r.onReleaseOutside = function () { mouse_releaseout_fnc(this); }; _global.oppai_hit_l.onReleaseOutside = function () { mouse_releaseout_fnc(this); }; _global.siri_hit.onReleaseOutside = function () { mouse_releaseout_fnc(this); }; _global.manko_hit.onReleaseOutside = function () { mouse_releaseout_fnc(this); }; _global.oppai_hit_l.onRelease = function () { _global.mouse_release_fnc(this); }; _global.oppai_hit_r.onRelease = function () { _global.mouse_release_fnc(this); }; _global.siri_hit.onRelease = function () { _global.mouse_release_fnc(this); }; _global.manko_hit.onRelease = function () { _global.mouse_release_fnc(this); _global.ito_mc.ito_fnc(); }; _global.mouse_onRollOver_fnc = function (typ) { _global.corsor._visible = true; _global.corsor.gotoAndStop(typ); Mouse.hide(); }; _global.siri_hit.onRollOver = function () { _global.mouse_onRollOver_fnc('siri'); }; _global.manko_hit.onRollOver = function () { _global.mouse_onRollOver_fnc('manko'); }; _global.oppai_hit_l.onRollOver = function () { _global.mouse_onRollOver_fnc('oppai_l'); }; _global.oppai_hit_r.onRollOver = function () { _global.mouse_onRollOver_fnc('oppai_r'); }; _global.mouse_onRollOut_fnc = function (typ) { _global.corsor._visible = false; Mouse.show(); }; _global.siri_hit.onRollOut = function () { _global.mouse_onRollOut_fnc(); }; _global.manko_hit.onRollOut = function () { _global.mouse_onRollOut_fnc(); }; _global.oppai_hit_r.onRollOut = function () { _global.mouse_onRollOut_fnc(); }; _global.oppai_hit_l.onRollOut = function () { _global.mouse_onRollOut_fnc(); }; _global.corsor_sub_mc._xscale = 40; _global.corsor_sub_mc._yscale = 40; _global.corsor_sub_mc._alpha = 0; var mouseListener = new Object(); mouseListener.onMouseMove = function () { _global.corsor._x = _root._xmouse + -_global.tatie_mc._x; _global.corsor._y = _root._ymouse + -_global.tatie_mc._y; _global.corsor_sub_mc._x = _global.corsor._x; _global.corsor_sub_mc._y = _global.corsor._y; }; Mouse.addListener(mouseListener); } frame 43 { _global.sasage_kokyuu_fnc = function () { var v3 = _global.tatie_mc.sasage_manko_iki_mc.createEmptyMovieClip('kokyuu', 2); v3.my_fnc = function () { this.cnt = 0; this.cnt_m = 1500; this.onMouseMove = function () { this._parent.corsor_mc.gotoAndStop(this._parent.corsor_mc._currentframe + 1); }; this.onMouseUp = function () { Mouse.show(); this._parent.corsor_mc._alpha = 40; this.onMouseMove = function () {}; }; this.onEnterFrame = function () { ++this.cnt; if (this.cnt >= this.cnt_m) { } }; }; v3.my_fnc(); }; _global.sasage_kokyuu_fnc(); } } frame 1 { _global.skill_call = function (tg, n1) { if (tg == 'end') { battle_mc.states_mc.skill_call.removeMovieClip(); battle_mc.states_mc.sippo.removeMovieClip(); } else { trace(n1 + tg._x + ' _ ' + tg._y); var v6 = battle_mc.states_mc.attachMovie('menu_mc', 'skill_call', battle_mc.states_mc.getNextHighestDepth()); var v10 = v6.createTextField('tt', 1000, 8, 10, 10, 10); v10.wordWrap = false; v10.autoSize = 'left'; _root.format_fnc(n1 + '!', v10, text_menu[0], 1, 0, 0, text_menu[1], 2, 1, 'no'); var v5 = [N(v6._width) + N(v6._width) % 2 + 4, N(v6._height) + N(v6._height) % 2 + 2]; _root.format_fnc(n1 + '!', v10, text_menu[0], 1, 0, 0, text_menu[1], 2, 1); ami_typ = 1; if (!exe_flg) { v10._y = 6; } v6.ru._x = v5[0]; v6.ld._y = v5[1]; v6.rd._x = v6.ru._x; v6.rd._y = v6.ld._y; var v2 = v6.createEmptyMovieClip('mc2', 50); var v3 = 0; while (v3 < (v5[1] - 10) / 2) { var v9 = v2.attachMovie('window_tate_mc', 'window_tate_mc' + v2.getNextHighestDepth(), v2.getNextHighestDepth()); v9._y = v3 * 2 + 5; v9.gotoAndStop(ami_typ); v9 = v2.attachMovie('window_tate_mc', 'window_tate_mc' + v2.getNextHighestDepth(), v2.getNextHighestDepth()); v9._y = v3 * 2 + 5 + 2; v9.gotoAndStop(ami_typ); v9._xscale = -100; v9._yscale = -100; v9._x = v5[0]; ++v3; } var v4 = []; v3 = 0; while (v3 < (v5[0] - 10) / 2) { v9 = v2.attachMovie('window_yoko_mc', 'window_yoko_mc' + v2.getNextHighestDepth(), v2.getNextHighestDepth()); v9._x = v3 * 2 + 5; v9.gotoAndStop(ami_typ); v4.push(v9); v9 = v2.attachMovie('window_yoko_mc', 'window_yoko_mc' + v2.getNextHighestDepth(), v2.getNextHighestDepth()); v9._x = v3 * 2 + 5 + 2; v9.gotoAndStop(ami_typ); v9._yscale = -100; v9._xscale = -100; v9._y = v5[1]; v4.push(v9); ++v3; } var v7 = battle_mc.states_mc.attachMovie('window_tuno_mc', 'sippo', battle_mc.states_mc.getNextHighestDepth()); v7.gotoAndStop(4); v7._y = N(tg._y) + 7; v7._x = N(tg._x) + 9 + 2; v6._x = N(tg._x - v6._width + rule.player_chara_tip_size[0]) + 6; if (n1.length > 4) { v6._x = N(tg._x - v6._width + rule.player_chara_tip_size[0] * 1.2) + 6; } if (n1.length > 6) { v6._x = N(tg._x - v6._width + rule.player_chara_tip_size[0] * 1.5) + 6; } v6._y = N(tg._y - v6._height) - 16 + 10; v9 = v2.attachMovie('window_naka_mc', 'window_naka_mc' + v2.getNextHighestDepth(), v2.getNextHighestDepth()); v9._x = 5; v9._y = 3; v9.gotoAndStop(ami_typ); v9.mask_mc._xscale = v5[0] - 10; v9.mask_mc._yscale = v5[1] - 10 + 4; v3 = 0; while (v3 < v4.length) { if (v7.hit_mc.hitTest(v4[v3])) { v4[v3]._visible = false; } ++v3; } } }; _global.item_call = function (tg, n1) { if (tg == 'end') { battle_mc.states_mc.item_call.removeMovieClip(); battle_mc.states_mc.sippo.removeMovieClip(); } else { trace(n1 + tg._x + ' _ ' + tg._y); var v6 = battle_mc.states_mc.attachMovie('menu_mc', 'item_call', battle_mc.states_mc.getNextHighestDepth()); var v8 = v6.createTextField('tt', 1000, 8, 10, 10, 10); v8.wordWrap = false; v8.autoSize = 'left'; _root.format_fnc(n1, v8, text_menu[0], 1, 0, 0, text_menu[1], 2, 1, 'no'); var v5 = [N(v6._width) + N(v6._width) % 2 + 4, N(v6._height) + N(v6._height) % 2 + 2]; _root.format_fnc(n1, v8, text_menu[0], 1, 0, 0, text_menu[1], 2, 1); ami_typ = 2; if (!exe_flg) { v8._y = 6; } v6.ru._x = v5[0]; v6.ld._y = v5[1]; v6.rd._x = v6.ru._x; v6.rd._y = v6.ld._y; var v2 = v6.createEmptyMovieClip('mc2', 50); var v3 = 0; while (v3 < (v5[1] - 10) / 2) { var v7 = v2.attachMovie('window_tate_mc', 'window_tate_mc' + v2.getNextHighestDepth(), v2.getNextHighestDepth()); v7._y = v3 * 2 + 5; v7.gotoAndStop(ami_typ); v7 = v2.attachMovie('window_tate_mc', 'window_tate_mc' + v2.getNextHighestDepth(), v2.getNextHighestDepth()); v7._y = v3 * 2 + 5 + 2; v7.gotoAndStop(ami_typ); v7._xscale = -100; v7._yscale = -100; v7._x = v5[0]; ++v3; } var v4 = []; v3 = 0; while (v3 < (v5[0] - 10) / 2) { v7 = v2.attachMovie('window_yoko_mc', 'window_yoko_mc' + v2.getNextHighestDepth(), v2.getNextHighestDepth()); v7._x = v3 * 2 + 5; v7.gotoAndStop(ami_typ); v4.push(v7); v7 = v2.attachMovie('window_yoko_mc', 'window_yoko_mc' + v2.getNextHighestDepth(), v2.getNextHighestDepth()); v7._x = v3 * 2 + 5 + 2; v7.gotoAndStop(ami_typ); v7._yscale = -100; v7._xscale = -100; v7._y = v5[1]; v4.push(v7); ++v3; } v6._x = 305 - N(v6._width); v6._y = 4; if (tg == 'drop') { v6._y = 8; v6._x = 24; } v7 = v2.attachMovie('window_naka_mc', 'window_naka_mc' + v2.getNextHighestDepth(), v2.getNextHighestDepth()); v7._x = 5; v7._y = 3; v7.gotoAndStop(ami_typ); v7.mask_mc._xscale = v5[0] - 10; v7.mask_mc._yscale = v5[1] - 10 + 4; v3 = 0; while (v3 < v4.length) { if (sippo.hit_mc.hitTest(v4[v3])) { v4[v3]._visible = false; } ++v3; } } }; } frame 1 { _global._mc_mozaiku_anime_fnc = function (tg) { var v2 = tg._parent.createEmptyMovieClip('moza', tg._parent.getNextHighestDepth()); v2._x = tg._x; v2._y = tg._y; v2.tg = tg; v2.createMosaic = function (mos) { this.d_x = this._x; this.y_x = this._y; this.mosWidth = this.tg._width; this.mosHeight = this.tg._height; this.mosX = this.tg._x; this.mosY = this.tg._y; this.mosX = 0; this.mosY = 0; this.noiseMode = true; this.bmp1 = new flash.display.BitmapData(this.mosWidth, this.mosHeight); this.bmp2 = new flash.display.BitmapData(this.mosWidth, this.mosHeight); this.mat1 = new flash.geom.Matrix(1, 0, 0, 1, this.mosX * -1, this.mosY * -1); this.mat2 = new flash.geom.Matrix(1 / this.mosSizeX, 0, 0, 1 / this.mosSizeY, 0, 0); this.mat3 = new flash.geom.Matrix(this.mosSizeX, 0, 0, this.mosSizeY, 0, 0); this.mos = this.createEmptyMovieClip('mosaic', 1); this.mos.attachBitmap(this.bmp1, 0); this.cnt = 0; this.cnt_m = 1; this.array = [20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]; this.mosSizeX = this.array[this.cnt / this.cnt_m]; this.mosSizeY = this.array[this.cnt / this.cnt_m]; this.mat2 = new flash.geom.Matrix(1 / this.mosSizeX, 0, 0, 1 / this.mosSizeY, 0, 0); this.mat3 = new flash.geom.Matrix(this.mosSizeX, 0, 0, this.mosSizeY, 0, 0); this.bmp1.fillRect(this.bmp1.rectangle, 0); this.bmp2.fillRect(this.bmp2.rectangle, 0); this.tg._visible = true; this.bmp1.draw(this.tg, this.mat1); this.bmp2.draw(this.bmp1, this.mat2); this.tg._visible = false; if (noiseMode) { bmp1.noise(Math.random() * 1000, 0, 20, 8); bmp2.draw(bmp1); } this.bmp1.fillRect(this.bmp1.rectangle, 0); this.bmp1.draw(this.bmp2, this.mat3); this.mos._x = this.mosX; this.mos._y = this.mosY; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cnt_m == 0) { this.tg._xscale = 100 - this.array[this.cnt / this.cnt_m] * 5; this.tg._yscale = 100 - this.array[this.cnt / this.cnt_m] * 5; this._x = this.d_x + rn(0, this.array[this.cnt / this.cnt_m]); this._y = this.d_y + rn(0, this.array[this.cnt / this.cnt_m]); this.mosSizeX = this.array[this.cnt / this.cnt_m]; this.mosSizeY = this.array[this.cnt / this.cnt_m]; this.mat2 = new flash.geom.Matrix(1 / this.mosSizeX, 0, 0, 1 / this.mosSizeY, 0, 0); this.mat3 = new flash.geom.Matrix(this.mosSizeX, 0, 0, this.mosSizeY, 0, 0); this.bmp1.fillRect(this.bmp1.rectangle, 0); this.bmp2.fillRect(this.bmp2.rectangle, 0); this.tg._visible = true; this.bmp1.draw(this.tg, this.mat1); this.bmp2.draw(this.bmp1, this.mat2); this.tg._visible = false; if (this.noiseMode) { this.bmp1.noise(Math.random() * 1000, 0, 20, 8); this.bmp2.draw(this.bmp1); } this.bmp1.fillRect(this.bmp1.rectangle, 0); this.bmp1.draw(this.bmp2, this.mat3); this.bmp1._x = rn(0, this.array[this.cnt / this.cnt_m]); this.bmp1._y = rn(0, this.array[this.cnt / this.cnt_m]); this.mos._x = this.mosX; this.mos._y = this.mosY; if (this.array.length == this.cnt / this.cnt_m) { this.tg._visible = true; this.bmp1._x = 0; this.bmp1._y = 0; this._x = this.d_x; this._y = this.d_y; this.tg._xscale = 100; this.tg._yscale = 100; this.removeMovieClip(); } } }; }; v2.createMosaic(mos); }; _global._mc_mozaiku_anime_fnc000 = function (tg) { function mosaicPict(dot) { var v1 = baseWidth / dot; var v3 = baseHeight / dot; _mc._width = v1; _mc._height = v3; var v2 = new flash.display.BitmapData(v1, v3, true); _mc.attachBitmap(v2, 0); v2.draw(tg); _mc._width = baseWidth; _mc._height = baseHeight; } var _mc = tg.createEmptyMovieClip('moza' + tg.getNextHighestDepth(), tg.getNextHighestDepth()); var baseWidth = tg._width; var baseHeight = tg._height; mosaicPict(4); }; } frame 1 { _global.anime_data = []; _global.anime_data.push([[1], [[2]]]); _global.anime_data.push([[2], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [8, 0, 0, 0]]]); _global.anime_data.push([[2], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [2], [3], [7], [6]]]); _global.anime_data.push([[2], [[4], [3, 0, 0, 1], [0, 0, 0, 0], [3, 0, 0, 0], [2]]]); _global.anime_data.push([[2], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [2], [3]]]); _global.anime_data.push([[2], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [2], [3], [7], [9]]]); _global.anime_data.push([[2], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [2], [3], [7], [6]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([[1, ['防御', 0, 0, 0, 0, 0, 0]], [[3]]]); _global.anime_data.push([[36], [[3, 0, 0, 0, 6]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[9]]]); _global.anime_data.push([[2], [[10, 0, 0, 0], [10, 1, 0, 0], [10, 0, 0, 0], [10, -1, 0, 0], [10, 0, 0, 0], [10, 1, 0, 0], [10, 0, 0, 0], [10, -1, 0, 0], [10, 0, 0, 0], [10, 1, 0, 0], [10, 0, 0, 0], [10, -1, 0, 0], [10, 0, 0, 0], [10, 1, 0, 0], [10, 0, 0, 0], [10, 0, 0, 0], [10, 0, 0, 0], [10, 0, 0, 0]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[4]]]); _global.anime_data.push([1, [[9]]]); _global.anime_data.push([[1, ['剣攻撃', 0, 1, 0, 0, 1, 0, 0]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [3, -34, 1, 0, 5, 30], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0]]]); _global.anime_data.push([[2, ['なぎ払い', 0, 31, 0, 0, 1.5, 1]], [[2, -2], [2, -4], [2, -6], [2, -8], [3, -14, 1, 0, 5], [3, -14, 1, 1, 5], [3, -14, 1, 0, 5], [3, -16, 1, 0, 5], [3, -16, 1, 0, 5], [2, -24, 0, 0], [2, -24, 0, 0, 4], [2, -24, 0, 0, 4, 100], [2, -24, 0, 0], [2, 0]]]); _global.anime_data.push([[1, ['二段斬り', 0, 32, 0, 0, 1.5, 3]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [3, -34, 1, 0, 5, 33], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [2, -24, 0, 0], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0]]]); _global.anime_data.push([[1, ['二段突き', 0, 33, 0, 0, 1.5, 3]], [[3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [2, -24, 0, 0], [2, -24, 0, 0, 4], [2, -24, 0, 0, 4, 100], [2, -24, 0, 0], [2, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['パンチ', 0, 1, 0, 0, 1, 0, 0]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0, 11], [2, -24, 0, 0, 12], [2, -24, 0, 0, 13], [3, -24, 0, 0, 14], [3, -24, 0, 0, 13, 200], [3, -24, 0, 0, 12], [3, -24, 0, 0, 11], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['手裏剣', 6, 100]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -34, 2], [3, -34, 2], [3, -34, 2], [3, -34, 2, 0, 0, 100], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0]]]); _global.anime_data.push([[1, ['二枚投げ', 6, 101, 0, 0, 1.8, 4, 0]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [6, -24], [6, -24], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -34, 2], [3, -34, 2], [3, -34, 2], [3, -34, 2, 0, 0, 101], [2, -24, 0, 0], [2, -24, 0, 0], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -34, 2], [3, -34, 2], [3, -34, 2], [3, -34, 2, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data[200] = [[60, ['ボール', 0, 0, 0, 0, 12, 0]], [['name'], [0, 0, 0, 0, 0, 200], [0]]]; } frame 1 { _global.anime_data = []; _global.anime_data.push([[1], [[2]]]); _global.anime_data.push([[2], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [8, 0, 0, 0]]]); _global.anime_data.push([[2], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [2], [3], [7], [6]]]); _global.anime_data.push([[2], [[4], [3, 0, 0, 1], [0, 0, 0, 0], [3, 0, 0, 0], [2]]]); _global.anime_data.push([[2], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [2], [3]]]); _global.anime_data.push([[2], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [2], [3], [7], [9]]]); _global.anime_data.push([[2], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [2], [3], [7], [6]]]); _global.anime_data.push([[1], [[3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [3, 0, 0, 0], [0, 0, 0, 0], [3, 0, 0, 1], [4], [8]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1, ['防御', 0, 0, 0, 0, 0, 0]], [[3]]]); _global.anime_data.push([[36], [[3, 0, 0, 0, 200]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[2], [[12, 0, 0, 0], [12, 1, 0, 0], [12, 0, 0, 0], [12, -1, 0, 0], [12, 0, 0, 0], [12, 1, 0, 0], [12, 0, 0, 0], [12, -1, 0, 0], [12, 0, 0, 0], [12, 1, 0, 0], [12, 0, 0, 0], [12, -1, 0, 0], [12, 0, 0, 0], [12, 1, 0, 0], [12, 0, 0, 0], [12, 0, 0, 0], [12, 0, 0, 0], [12, 0, 0, 0]]]); _global.anime_data.push([[2], [[10, 0, 0, 0], [10, 1, 0, 0], [10, 0, 0, 0], [10, -1, 0, 0], [10, 0, 0, 0], [10, 1, 0, 0], [10, 0, 0, 0], [10, -1, 0, 0], [10, 0, 0, 0], [10, 1, 0, 0], [10, 0, 0, 0], [10, -1, 0, 0], [10, 0, 0, 0], [10, 1, 0, 0], [10, 0, 0, 0], [10, 0, 0, 0], [10, 0, 0, 0], [10, 0, 0, 0]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[1], [[4]]]); _global.anime_data.push([[40], [[2]]]); _global.anime_data.push([[1, ['傷薬', 14, 29, 1, 0, 10, 0, 10]], [[2, 0, 0, 0, 0, 500]]]); _global.anime_data.push([[1, ['高級傷薬', 14, 29, 1, 0, 10, 0, 10]], [[2, 0, 0, 0, 0, 500]]]); _global.anime_data.push([[1, ['最高級傷薬', 14, 29, 1, 0, 10, 0, 10]], [[2, 0, 0, 0, 0, 500]]]); _global.anime_data.push([[1, ['剣攻撃', 0, 1, 0, 0, 1, 0, 0]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [3, -34, 1, 0, 5, 30], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0]]]); _global.anime_data.push([[1, ['なぎ払い', 0, 31, 0, 0, 1.5, 1, 0]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [3, -24, 0, 1, 5], [3, -24, 0, 1, 5], [3, -24, 0, 1, 5], [3, -24, 0, 0, 21, 30], [3, -24, 0, 0, 21], [3, -24, 0, 0, 2], [3, -24, 0, 0, 2], [3, -24, 0, 0, 2], [2, -24, 0, 0], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0, 0, 0, 1]]]); _global.anime_data.push([[1, ['二段斬り', 0, 32, 0, 0, 1.5, 3]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [3, -34, 1, 0, 5, 33], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [2, -24, 0, 0], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 2], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 3], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [7, -24, 0, 0, 4], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0]]]); _global.anime_data.push([[1, ['マキ割ダイナミック', 0, 33, 0, 0, 1.5, 3]], [[3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [3, -34, 1, 0, 5], [2, -24, 0, 0], [2, -24, 0, 0, 4], [2, -24, 0, 0, 4, 100], [2, -24, 0, 0], [2, 0]]]); _global.anime_data.push([[1, ['ファイナルストライク', 0, 34, 0, 0, 1, 4]], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0, 1]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, ['']], [[2, 0, 0, 0]]]); _global.anime_data.push([[1, [',0,100,0,0,1,0,0']], [[2, 0, 0, 0, 1]]]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['手裏剣', 6, 210]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -34, 2], [3, -34, 2], [3, -34, 2], [3, -34, 2, 0, 0, 100], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0]]]); _global.anime_data.push([[1, ['二枚投げ', 6, 211, 0, 0, 1.8, 4, 0]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [6, -24], [6, -24], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [6, -24, 0, 0, 19], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [2, -24, 0, 0, 20], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -34, 2], [3, -34, 2], [3, -34, 2], [3, -34, 2, 0, 0, 101], [2, -24, 0, 0], [2, -24, 0, 0], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -28, 0, 0, 21], [3, -34, 2], [3, -34, 2], [3, -34, 2], [3, -34, 2, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0]]]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['パンチ', 7, 1, 0, 0, 1, 0, 0]], [[2, -2, 0, 0], [2, -4, 0, 0], [2, -6, 0, 0], [2, -8, 0, 0], [3, -9, 1, 0], [3, -10, 1, 0], [3, -12, 1, 0], [3, -14, 1, 0], [3, -16, 1, 0], [3, -18, 1, 0], [3, -19, 1, 0], [2, -20, 0, 0], [2, -22, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0], [2, -24, 0, 0, 11], [2, -24, 0, 0, 12], [2, -24, 0, 0, 13], [3, -24, 0, 0, 14], [3, -24, 0, 0, 13, 200], [3, -24, 0, 0, 12], [3, -24, 0, 0, 11], [2, -22, 0, 0], [2, -20], [3, -19, 1], [3, -18, 1], [3, -16, 1], [3, -14, 1], [3, -12, 1], [3, -10, 1], [3, -9, 1], [2, -8], [2, -6], [2, -4], [2, -2], [2, 0]]]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[1, ['']], []]); _global.anime_data.push([[60, ['ボール', 0, 0, 0, 0, 12, 0]], [['name'], [0, 0, 0, 0, 0, 200], [0]]]); } frame 1 { _global.battle_farst_fnc = function () { ++p.battle_num; field_mc._visible = false; field_mc_top._visible = false; _root.display_mc.chara_mc._visible = false; _root.display_mc.tatie_mc._visible = false; _global.battle_mc = _root.display_mc.createEmptyMovieClip('battle_mc', 0); battle_mc.createEmptyMovieClip('bg_mc', battle_mc.getNextHighestDepth()); battle_mc.createEmptyMovieClip('chara_mc', battle_mc.getNextHighestDepth()); battle_mc.createEmptyMovieClip('enemy_mc', battle_mc.getNextHighestDepth()); battle_mc.createEmptyMovieClip('effect_mc', battle_mc.getNextHighestDepth()); battle_mc.createEmptyMovieClip('states_mc', battle_mc.getNextHighestDepth()); _global.dead_enemy_array = []; p.party_array = []; _global.battle_party_array = []; var v6 = ['my_name', 'chara_num', 'jinkei_num', 'hp', 'hpm', 'lp', 'lpm', 'wp', 'wpm', 'jp', 'jpm', 'weapon', 'weapon_lv', 'battle_cnt', 'skill_array', 'hadaka_num', 'battle_menu_kioku1', 'battle_menu_kioku2']; var v5 = 0; while (v5 < p.chara_num_array.length) { var v4 = battle_mc.chara_mc.attachMovie('chara_mc', 'chara_mc' + v5, v5); battle_party_array.push(v4); p.party_array[p.party_data[v5].jinkei_num] = v4; var v3 = 0; while (v3 < v6.length) { v4[v6[v3] + ''] = p.party_data[v5][v6[v3] + '']; ++v3; } v3 = 0; while (v3 < states_array.length) { v4[states_name_array[v3]] = states_array[v4.chara_num][v3]; ++v3; } v4.w_exp = [0, 0, 0, 0, 0, 0]; ++v5; } }; } frame 1 { key_lis_battle_win = new Object(); key_lis_battle_win.onKeyDown = function () { _global.battle_win_progress.next_fnc(); Key.removeListener(this); }; key_lis_battle = new Object(); key_lis_battle.onKeyUp = function () { if (Key.getCode() == menu_btm) { if (p.tg_turn_num == 2 || p.tg_turn_num == 3) { _global.battle_watch_hp_lp_fnc('end'); key_flg = false; corsor_tg._visible = true; } } }; key_lis_battle.onKeyDown = function () { if (!key_flg) { if (Key.getCode() == menu_btm) { if (p.tg_turn_num == 2 || p.tg_turn_num == 3) { _global.battle_watch_hp_lp_fnc(); key_flg = true; corsor_tg._visible = false; } } if (Key.getCode() == u_btm) { corsor_tg.sele_fnc('sele', -1); } if (Key.getCode() == d_btm) { corsor_tg.sele_fnc('sele', 1); } if (Key.getCode() == l_btm) { corsor_tg.sele_fnc('kate', -1); } if (Key.getCode() == r_btm) { corsor_tg.sele_fnc('kate', 1); } if (Key.getCode() == kettei_btm) { _global.key_flg = true; if (p.tg_turn_num == 2) { if (p.party_array[p.tg_chara_num].wp - corsor_tg.key[corsor_tg.kate][corsor_tg.sele][6] < 0) { _global.key_flg = false; } else { var v3 = [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 4, 10, 4, 5]; p.party_array[p.tg_chara_num].action1 = v3[corsor_tg.key[corsor_tg.kate][corsor_tg.sele][1]]; p.party_array[p.tg_chara_num].action2 = corsor_tg.key[corsor_tg.kate][corsor_tg.sele][2]; p.party_array[p.tg_chara_num].battle_menu_kioku1 = corsor_tg.kate; p.party_array[p.tg_chara_num].battle_menu_kioku2 = corsor_tg.sele; p.party_array[p.tg_chara_num].battle_weapon = corsor_tg.key[corsor_tg.kate][corsor_tg.sele].slice(); if (corsor_tg.sele > 0) { p.party_array[p.tg_chara_num].battle_weapon[5] *= corsor_tg.key[corsor_tg.kate][0][5]; } corsor_tg.removeMovieClip(); if (p.party_array[p.tg_chara_num].action1 == 10) { corsor_tg.removeMovieClip(); battle_escape_fnc(); } else { _root.battle_turn_mc.input_fnc(4); } } } if (p.tg_turn_num == 3) { p.party_array[p.tg_chara_num].at_tg = battle_tg_select_array[corsor_tg.sele]; corsor_tg.removeMovieClip(); _root.battle_turn_mc.input_fnc(4); } } if (Key.getCode() == cancel_btm) { _global.key_flg = true; corsor_tg.removeMovieClip(); if (p.tg_turn_num < 3) { p.tg_turn_num = 0; if (p.tg_chara_num == 0 || p.party_array[p.tg_chara_num - 1].hp <= 0) { p.tg_turn_num = -1; _root.battle_turn_mc.input_fnc(6); } else { _global.battle_anime_fnc(p.party_array[p.tg_chara_num], 3); p.tg_chara_num = Math.max(0, p.tg_chara_num - 1); _root.battle_turn_mc.input_fnc(16); } } else { --p.tg_turn_num; --p.tg_turn_num; _root.battle_turn_mc.input_fnc(4); } } } }; } frame 1 { _global.battle_menu_fnc = function (tg) { tg.key = []; var i = 0; while (i < 4) { if (p.party_array[p.tg_chara_num].weapon[i] > 0) { tg.key.push([item_data[p.party_array[p.tg_chara_num].weapon[i]].slice()]); var v8 = tg.key.length - 1; var v6 = 0; while (v6 < 8) { if (_global.anime_data[p.party_array[p.tg_chara_num].skill_array[v6]][0][1][1] == item_data[p.party_array[p.tg_chara_num].weapon[i]][1]) { tg.key[v8].push(_global.anime_data[p.party_array[p.tg_chara_num].skill_array[v6]][0][1].slice()); } ++v6; } } ++i; } tg.key.push(item_data[0].slice()); v6 = 0; while (v6 < 8) { if (_global.anime_data[p.party_array[p.tg_chara_num].skill_array[v6]][0][1][1] == 7) { tg.key[tg.key.length - 1].push(_global.anime_data[p.party_array[p.tg_chara_num].skill_array[v6]][0][1].slice()); } ++v6; } tg.key.push(item_data[1].slice()); if (p.party_array[p.tg_chara_num].chara_num == 0) { tg.key[tg.key.length - 1].push(item_data[2].slice()); } var i = 0; while (i < tg.key.length) { ++i; } tg.kate = p.party_array[p.tg_chara_num].battle_menu_kioku1; tg.sele = p.party_array[p.tg_chara_num].battle_menu_kioku2; tg.def_x = 5; tg.sele_fnc = function (typ, num) { this.corsor_tg_in._x = 0; this.corsor_tg_in._y = 0; this.waku_fnc('reset'); this.createEmptyMovieClip('tt_mc', 100); this[typ] += num; if (this.kate == this.key.length) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } if (this.sele >= this.key[this.kate].length) { this.sele = 0; } if (this.sele < 0) { this.sele = this.key[this.kate].length - 1; } this.sele_array = []; var v3 = 0; while (v3 < this.key[this.kate].length) { var v4 = this.tt_mc.createTextField('t' + v3, 101 + v3, this.def_x, 9 + v3 * 17, 10, 10); v4.wordWrap = false; v4.autoSize = 'left'; _root.format_fnc(this.key[this.kate][v3][0], v4, text_menu[0], 1, 0, 0, text_menu[1], 0, 1); this.sele_array.push(v4); v4._width += 0; ++v3; } size = [N(this._width) + N(this._width) % 2 - 4, N(this._height) + N(this._height) % 2 + 6]; this.waku_fnc(0, size, 10); this.def_waku_fnc(p.party_array[p.tg_chara_num].my_name, 0, 11, 305, 4); this.def_waku_fnc(['技', this.key[this.kate][this.sele][6], p.party_array[p.tg_chara_num].wp], 0, 12, 305, 45); this.tt_mc['t' + this.sele]._x -= 2; _mc_color_anime_fnc('red', this.tt_mc['t' + this.sele]); this.corsor_tg_in = this.attachMovie('corsor_mc', 'corsor_mc', 110); this.corsor_tg_in._x = -this.corsor_tg_in._width - 3; this.corsor_tg_in._y = this.sele_array[this.sele]._y + this.sele_array[this.sele]._height / 2 - this.corsor_tg_in._height / 2; }; tg.waku_fnc = function (typ, size, num_d) { if (typ == 'reset') { this.createEmptyMovieClip('waku_xy', num_d); this.createEmptyMovieClip('d_waku', 11); this.createEmptyMovieClip('d_waku', 12); this.ru._x = 0; this.ld._y = 0; this.rd._x = 0; this.rd._y = 0; } else { ami_typ = 1; size = size; this.ru._x = size[0]; this.ld._y = size[1]; this.rd._x = this.ru._x; this.rd._y = this.ld._y; this.sippo._visible = false; this.createEmptyMovieClip('waku_xy', num_d); var v2 = 0; while (v2 < (size[1] - 10) / 2) { var v4 = this.waku_xy.attachMovie('window_tate_mc', 'window_tate_mc' + v2, this.waku_xy.getNextHighestDepth()); v4._y = v2 * 2 + 5; v4.gotoAndStop(ami_typ); v4 = this.waku_xy.attachMovie('window_tate_mc', 'window_tate_mc' + this.waku_xy.getNextHighestDepth(), this.waku_xy.getNextHighestDepth()); v4._y = v2 * 2 + 5 + 2; v4.gotoAndStop(ami_typ); v4._xscale = -100; v4._yscale = -100; v4._x = size[0]; ++v2; } v2 = 0; while (v2 < (size[0] - 10) / 2) { v4 = this.waku_xy.attachMovie('window_yoko_mc', 'window_yoko_mc' + this.waku_xy.getNextHighestDepth(), this.waku_xy.getNextHighestDepth()); v4._x = v2 * 2 + 5; v4.gotoAndStop(ami_typ); v4 = this.waku_xy.attachMovie('window_yoko_mc', 'window_yoko_mc' + this.waku_xy.getNextHighestDepth(), this.waku_xy.getNextHighestDepth()); v4._x = v2 * 2 + 5 + 2; v4.gotoAndStop(ami_typ); v4._yscale = -100; v4._xscale = -100; v4._y = size[1]; ++v2; } v4 = this.waku_xy.attachMovie('window_naka_mc', 'window_naka_mc' + this.waku_xy.getNextHighestDepth(), this.waku_xy.getNextHighestDepth()); v4.gotoAndStop(ami_typ); v4._x = 5; v4._y = 3; v4.mask_mc._xscale = size[0] - 10; v4.mask_mc._yscale = size[1] - 10 + 4; } }; tg.def_waku_fnc = function (typ, size, num_d, xx, yy) { var v5 = this.attachMovie('menu_mc', typ, num_d); if (typ == 'reset') { v5.createEmptyMovieClip('waku_xy' + num_d, num_d); v5.ru._x = 0; v5.ld._y = 0; v5.rd._x = 0; v5.rd._y = 0; } else { if (typ[0] == '技') { size = [60, 34]; ami_typ = 2; } else { var v8 = v5.createTextField('t' + i, 101 + i, this.def_x, 7, 10, 10); v8.wordWrap = false; v8.autoSize = 'left'; _root.format_fnc(typ, v8, text_menu[0], 1, 0, 0, text_menu[1], 0, 1); size = [N(v5._width) + N(v5._width) % 2, N(v5._height) + N(v5._height) % 2 + 8]; ami_typ = 2; } v5.ru._x = size[0]; v5.ld._y = size[1]; v5.rd._x = v5.ru._x; v5.rd._y = v5.ld._y; v5.sippo._visible = false; var v3 = v5.createEmptyMovieClip('waku_xy' + num_d - 1, num_d - 1); var i = 0; while (i < (size[1] - 10) / 2) { var v7 = v3.attachMovie('window_tate_mc', 'window_tate_mc' + v3.getNextHighestDepth(), v3.getNextHighestDepth()); v7._y = i * 2 + 5; v7.gotoAndStop(ami_typ); v7 = v3.attachMovie('window_tate_mc', 'window_tate_mc' + v3.getNextHighestDepth(), v3.getNextHighestDepth()); v7._y = i * 2 + 5 + 2; v7.gotoAndStop(ami_typ); v7._xscale = -100; v7._yscale = -100; v7._x = size[0]; ++i; } var i = 0; while (i < (size[0] - 10) / 2) { v7 = v3.attachMovie('window_yoko_mc', 'window_yoko_mc' + v3.getNextHighestDepth(), v3.getNextHighestDepth()); v7._x = i * 2 + 5; v7.gotoAndStop(ami_typ); v7 = v3.attachMovie('window_yoko_mc', 'window_yoko_mc' + v3.getNextHighestDepth(), v3.getNextHighestDepth()); v7._x = i * 2 + 5 + 2; v7.gotoAndStop(ami_typ); v7._yscale = -100; v7._xscale = -100; v7._y = size[1]; ++i; } v7 = v3.attachMovie('window_naka_mc', 'window_naka_mc' + v3.getNextHighestDepth(), v3.getNextHighestDepth()); v7._x = 5; v7._y = 3; v7.gotoAndStop(ami_typ); v7.mask_mc._xscale = size[0] - 10; v7.mask_mc._yscale = size[1] - 10 + 4; v5._x = -this._x + xx - v5.width; v5._x = -this._x + xx - size[0]; v5._y = -this._y + yy; if (typ[0] == '技') { num_print_fnc(v5, typ[1], 32, 8, 0); num_print_fnc(v5, typ[2], 32, 18, 2); num_print_fnc(v5, 'waru', 32, 9, 2); num_print_fnc(v5, 'waru', 24, 17, 0); } } }; tg.sele_fnc('kate', 0); }; } frame 1 { _global.battle_watch_hp_lp_fnc = function (typ) { _global.num_set_fnc = function (num1, num2, tg, ysabun) { var v3 = 10; var v1 = tg.createEmptyMovieClip('states' + tg.getNextHighestDepth(), tg.getNextHighestDepth()); if (ysabun) { v1._y += ysabun; } num_size = 8; if (num1 >= 100) { var v6 = v1.attachMovie('dot_num_num', 'n100', v1.getNextHighestDepth()); v6.gotoAndStop(N(num1 / 100 + v3)); v6._x = 0; } if (num1 >= 10) { v6 = v1.attachMovie('dot_num_num', 'n10', v1.getNextHighestDepth()); v6.gotoAndStop(N(num1 / 10) % 10 + v3); v6._x = num_size; } v6 = v1.attachMovie('dot_num_num', 'n1', v1.getNextHighestDepth()); v6.gotoAndStop(N(num1 % 10) + v3); v6._x = num_size * 2; v6 = v1.attachMovie('dot_num_num', 'n1', v1.getNextHighestDepth()); v6.gotoAndStop('waru'); v6._x = num_size * 3; var v2 = num_size * 4; if (num2 >= 100) { v6 = v1.attachMovie('dot_num_num', 'n100', v1.getNextHighestDepth()); v6.gotoAndStop(N(num2 / 100 + v3)); v6._x = v2; v2 += num_size; } if (num2 >= 10) { v6 = v1.attachMovie('dot_num_num', 'n10', v1.getNextHighestDepth()); v6.gotoAndStop(N(num2 / 10) % 10 + v3); v6._x = v2; v2 += num_size; } v6 = v1.attachMovie('dot_num_num', 'n1', v1.getNextHighestDepth()); v6.gotoAndStop(N(num2 % 10) + v3); v6._x = v2; v2 += num_size; }; var v3 = 0; while (v3 < p.party_array.length) { if (p.party_array[v3].lp > 0) { var v5 = battle_mc.states_mc.createEmptyMovieClip('states' + battle_mc.states_mc.getNextHighestDepth(), battle_mc.states_mc.getNextHighestDepth()); v5._x = p.party_array[v3]._x + 12 - 28; v5._y = p.party_array[v3]._y + 24 - 8; num_set_fnc(p.party_array[v3].hp, p.party_array[v3].hpm, v5, 0); num_set_fnc(p.party_array[v3].lp, p.party_array[v3].lpm, v5, 8); if (p.jinkei == 1 && v3 == 0) { v5._y -= 16; } } ++v3; } var v4 = battle_mc.states_mc.createEmptyMovieClip('states' + battle_mc.states_mc.getNextHighestDepth(), battle_mc.states_mc.getNextHighestDepth()); v3 = 0; while (v3 < enemy_array.length) { v5 = v4.createTextField('tt' + v4.getNextHighestDepth(), v4.getNextHighestDepth(), -100 + enemy_array[v3]._x + enemy_array[v3]._width / 2, enemy_array[v3]._y + enemy_array[v3]._height - 12 - N(enemy_array[v3]._height / 7), 200, 40); _root.format_fnc(enemy_array[v3].my_name, v5, text_name[0], 1, 1, 0, text_name[1], 0, 1); ++v3; } if (typ == 'end') { var v9 = battle_mc.states_mc.getDepth(); battle_mc.createEmptyMovieClip('states_mc', v9); } }; _global.battle_fnc = function (typ) { if (typ == 'start') { battle_farst_fnc(); Key_lis_del_fnc(); Key.addListener(_root.key_lis_battle); } var v6 = 0; while (v6 < p.party_array.length) { _global.battle_anime_fnc(p.party_array[v6], 0); ++v6; } if (typ == 'next') { ++_global.battle_turn_num; v6 = 0; while (v6 < enemy_array.length) { _global.enemy_array[v6].action2 = enemy_attack_choice_fnc(_global.enemy_array[v6]); _global.enemy_array[v6].battle_weapon = _global.anime_data[_global.enemy_array[v6].action2][0][1].slice(); _global.enemy_array[v6].at_tg = enemy_attack_tg_choice_fnc(); ++v6; } trace('---battle_next---'); Key.addListener(_root.key_lis_battle); } else { _global.battle_turn_num = 0; var v4 = battle_mc.bg_mc.attachMovie('battle_bg_mc', 'battle_bg_mc', battle_mc.bg_mc.getNextHighestDepth()); _global.enemy_array = []; v6 = 0; while (v6 < 1) { v4 = battle_mc.enemy_mc.attachMovie('enemy_mc', 'e' + v6, battle_mc.enemy_mc.getNextHighestDepth()); num = 1; num = rn(1, 2); v4.gotoAndStop(num); v4._x = 170 - v4._width; v4._y = 70 + v6 * (v4._height + 10); var v7 = ['my_name', 'hp', 'lp', 'wp', 'jp']; v4.datas = enemy_data[num].slice(); var v5 = 0; while (v5 < v7.length) { v4[v7[v5]] = enemy_data[num][v5]; ++v5; } v4.hpm = enemy_data[num][1]; _global.enemy_array.push(v4); v4.action2 = enemy_attack_choice_fnc(v4); v4.battle_weapon = _global.anime_data[v4.action2][0][1].slice(); v4.at_tg = enemy_attack_tg_choice_fnc(); _global._mc_mozaiku_anime_fnc(v4); ++v6; } trace('---battle_start---'); } _global.key_flg = true; battle_turn_mc = _root.createEmptyMovieClip('battle_turn_mc', _root.getNextHighestDepth()); battle_turn_mc.input_fnc = function (num) { this.cnt = 0; this.cnt_m = 20; if (num) { this.cnt_m = num; } this.onEnterFrame = function () { ++this.cnt; if (this.cnt == this.cnt_m) { _global.battle_input_fnc(); } }; }; battle_turn_mc.turn_fnc = function (num) { this.cnt = 0; this.cnt_m = 20; if (num) { this.cnt_m = num; } this.onEnterFrame = function () { ++this.cnt; if (this.cnt == this.cnt_m) { _global.battle_turn_fnc(); } }; }; battle_turn_mc.input_fnc(30); p.tg_chara_num = 0; p.tg_turn_num = 0; }; _global.enemy_attack_tg_choice_fnc = function () { var v2 = []; var v1 = 0; while (v1 < p.party_array.length) { if (p.party_array[v1].hp > 0) { v2.push(v1); } ++v1; } return p.party_array[v2[rn(0, v2.length - 1)]]; }; _global.enemy_attack_choice_fnc = function (my) { trace(_global.battle_turn_num + 'ターン ' + '攻撃パターン:' + _global.battle_turn_num % 2 + ' 行動: 0 ~ ' + Math.min(2 + N(_global.battle_turn_num / 4), my.datas[5][_global.battle_turn_num % 2].length - 1)); return my.datas[5][_global.battle_turn_num % 2][rn(0, Math.min(2 + N(_global.battle_turn_num / 4), my.datas[5][_global.battle_turn_num % 2].length - 1))]; }; _global.battle_tg_select_fnc = function (tg, typ) { _global.battle_tg_select_array = []; if (anime_data[typ][0][1][3]) { battle_tg_select_array = p.party_array; } else { battle_tg_select_array = enemy_array; } tg.sele = 0; tg.sele_fnc = function (typ, num) { tg.sele += num; if (tg.sele > battle_tg_select_array.length - 1) { tg.sele = 0; } if (tg.sele < 0) { tg.sele = battle_tg_select_array.length - 1; } trace('tg _x = ' + _global.battle_tg_select_array[tg.sele]._x); corsor_tg._x = battle_tg_select_array[tg.sele]._x - corsor_tg._width - 3; corsor_tg._y = battle_tg_select_array[tg.sele]._y; corsor_tg._y = N(-corsor_tg._height / 2 + battle_tg_select_array[tg.sele]._y + battle_tg_select_array[tg.sele].mask_mc._height / 1.5); }; tg.sele_fnc(0, 0); }; _global.battle_input_fnc = function () { _root.tt.text = 'tg:' + p.tg_chara_num + ' turn:' + p.tg_turn_num; _global.battle_watch_hp_lp_fnc('end'); if (p.tg_chara_num >= p.party_array.length) { trace('---turn end---'); Key.removeListener(_root.key_lis_battle); _global.battle_turn_fnc('start'); } else { var v3 = 0; while (v3 < p.party_array.length) { if (p.party_array[p.tg_chara_num].hp > 0) { break; } else { ++p.tg_chara_num; } ++v3; } if (p.tg_turn_num == -1) { ++p.tg_turn_num; corsor_tg.removeMovieClip(); _root.battle_turn_mc.input_fnc(); } else { if (p.tg_turn_num == 0) { corsor_tg.removeMovieClip(); _global.battle_anime_fnc(p.party_array[p.tg_chara_num], 1); _root.battle_turn_mc.input_fnc(); } else { if (p.tg_turn_num == 1) { corsor_tg.removeMovieClip(); _global.key_flg = false; corsor_tg = _root.attachMovie('menu_mc', 'menu_mc', _root.getNextHighestDepth()); corsor_tg._x = 30; corsor_tg._y = 45; battle_menu_fnc(corsor_tg); } else { if (p.tg_turn_num == 2) { corsor_tg.removeMovieClip(); _global.key_flg = false; tg = enemy_select_mc; corsor_tg = _root.attachMovie('corsor_mc', 'corsor_mc', _root.getNextHighestDepth()); corsor_tg._x = _global.enemy_array[0]._x - corsor_tg._width - 3; corsor_tg._y = _global.enemy_array[0]._y; battle_tg_select_fnc(corsor_tg, p.party_array[p.tg_chara_num].action2); if (p.party_array[p.tg_chara_num].action2 == 11) { _global.key_flg = true; corsor_tg.removeMovieClip(); _root.battle_turn_mc.input_fnc(4); } } else { if (p.tg_turn_num == 3) { _global.battle_anime_fnc(p.party_array[p.tg_chara_num], p.party_array[p.tg_chara_num].action1); corsor_tg.removeMovieClip(); _root.battle_turn_mc.input_fnc(); ++p.tg_chara_num; p.tg_turn_num = -1; } } } } } ++p.tg_turn_num; } }; _global.battle_in_fnc = function (enemy, tg) { if (!_global.master_enemy_move_flg) { _global.move_flg = false; _global.master_enemy_move_flg = true; _global.enemy_simbol = enemy; var v4 = tg.attachMovie('black_mc', 'black_mc', tg.getNextHighestDepth()); v4._xscale = rule.stage_size[0]; v4._yscale = rule.stage_size[1]; v4.gotoAndPlay(10); v4.fnc = function () { this.cnt = 0; this.cnt_m = 100; this.onEnterFrame = function () { ++this.cnt; if (this.cnt == this.cnt_m) { battle_fnc('start'); this.removeMovieClip(); } }; }; v4.fnc(); var v3 = tg.attachMovie('enemy_simbol_mc', 'enemy_simbol_mc', tg.getNextHighestDepth()); v3._x = enemy._x + 12; v3._y = enemy._y + 12; v3.mc._x = enemy.mc._x; v3.mc._y = enemy.mc._y; v3.fnc = function () { this.cnt = 0; this.cnt_m = 100; this.mask_mc._x -= 12; this.mc._x -= 12; this.mask_mc._y -= 12; this.mc._y -= 12; this.onEnterFrame = function () { ++this.cnt; this._alpha = 100 - this.cnt * 5; this._xscale += this.cnt * (this.cnt / 10); this._yscale += this.cnt * (this.cnt / 10); if (this._alpha < 0) { this.removeMovieClip(); } }; }; v3.fnc(); } }; _global.battle_escape_fnc = function () { var v6 = battle_mc.createEmptyMovieClip('battle_win_mc', battle_mc.getNextHighestDepth()); v6.fnc = function () { this.cnt = 0; this.cnt_m = 100; var v5 = ['my_name', 'chara_num', 'jinkei_num', 'hp', 'hpm', 'lp', 'lpm', 'wp', 'wpm', 'jp', 'jpm', 'weapon', 'skill_array', 'hadaka_num', 'battle_menu_kioku1', 'battle_menu_kioku2']; var v4 = 0; while (v4 < p.party_array.length) { var v3 = 0; while (v3 < v5.length) { p.party_data[v4][v5[v3] + ''] = battle_party_array[v4][v5[v3] + '']; ++v3; } p.party_data[v4].hp = p.party_data[v4].hpm; ++v4; } this.onEnterFrame = function () { ++this.cnt; var v3 = 0; while (v3 < p.party_array.length) { if (p.party_array[v3].hp > 0) { p.party_array[v3]._x += 2; p.party_array[v3].mc._x = -(2 + Math.floor(this.cnt / 6) % 2) * rule.player_chara_tip_size[0]; } ++v3; } if (this.cnt == this.cnt_m) { b_o_fnc(this, 0, 20, 20); } if (this.cnt == this.cnt_m + 40) { var v4 = [0, 1, 2, 3, 4]; v3 = 0; while (v3 < p.chara_num_array.length) { if (p.party_data[v3].lp <= 0) { p.chara_num_array.splice(v3, 1); p.party_data.splice(v3, 1); v4.splice(v3, 0, v3); --v3; } ++v3; } v3 = 0; while (v3 < p.chara_num_array.length) { p.party_data[v3].jinkei_num = v4[p.party_data[v3].jinkei_num]; ++v3; } trace('escape fnc end'); field_fnc(); _global.move_flg = true; } }; }; v6.fnc(); Key_lis_del_fnc(); }; _global.battle_win_fnc = function () { var v2 = 0; while (v2 < p.party_array.length) { if (p.party_array[v2].hp > 0) { _global.battle_anime_fnc(p.party_array[v2], 6, 'win'); } ++v2; } battle_win_up_check_fnc(); Key_lis_del_fnc(); }; _global.battle_win_up_check_fnc = function () { var total_okane = 0; var enemy_skill_lv = 0; var enemy_jousyou_lv = 0; var v3 = 0; while (v3 < dead_enemy_array.length) { total_okane += rn(0, 10); enemy_skill_lv = Math.max(enemy_skill_lv, dead_enemy_array[v3][7]); enemy_jousyou_lv = Math.max(enemy_jousyou_lv, dead_enemy_array[v3][6]); ++v3; } trace('技レベル:' + enemy_skill_lv + ' 上昇:' + enemy_jousyou_lv + ' お金:' + total_okane); var v14 = battle_mc.createEmptyMovieClip('battle_win_mc', battle_mc.getNextHighestDepth()); _global.battle_win_progress = v14; v14.fnc = function () { this.array = []; this.array2 = []; var v3 = 0; while (v3 < p.party_array.length) { if (p.party_array[v3].hp > 0) { var v4 = 0; while (v4 < p.party_array[v3].w_exp.length) { var v7 = p.party_array[v3].w_exp[v4] + 0; if (p.party_array[v3].weapon_lv[v4] < enemy_skill_lv && v7 > 0) { if (!p.party_array[v3].battle_cnt) { p.party_array[v3].battle_cnt = 0; } var v11 = rn((enemy_skill_lv - p.party_array[v3].weapon_lv[v4]) * 3, 100 + (enemy_skill_lv - p.party_array[v3].weapon_lv[v4]) + (enemy_skill_lv - p.party_array[v3].weapon_lv[v4]) * v7 / 2) + p.party_array[v3].battle_cnt; trace('w_lv = ' + p.party_array[v3].weapon_lv[v4] + ' rnd = ' + v11); if (v11 > 100) { this.array.push(weapon_name_array_t2[v4] + 'が\nレベルアップ'); this.array2.push(p.party_array[v3]); p.party_array[v3].weapon_lv[v4] += 1; p.party_array[v3].battle_cnt = 0; } } ++v4; } if (p.party_array[v3].hpm < enemy_jousyou_lv * 20 && p.party_array[v3].hpm < 1000) { v11 = rn(enemy_jousyou_lv * 10 - p.party_array[v3].hpm, 100 + enemy_jousyou_lv * 20 - p.party_array[v3].hpm) + p.party_array[v3].battle_cnt; trace('上昇lv = ' + enemy_jousyou_lv + ' rnd = ' + v11); if (v11 > 100) { this.array.push('HPがアップ'); this.array2.push(p.party_array[v3]); p.party_array[v3].hpm = Math.min(999, p.party_array[v3].hpm + N((p.party_array[v3].tairyoku / 4 + 2) * (p.party_array[v3].hpm / 200 + 1)) + rn(0, 3)); } } var v6 = p.party_array[v3].weapon_lv.slice(); _global.sort_set_fnc(v6, 'down'); var v8 = 0; var v5 = 0; while (v5 < v6.length) { v8 += Math.max(0, N(v6[v5] / 2)); ++v5; } v8 += v6[0] + 3; v8 += v6[1] + 2; if (p.party_array[v3].wpm < v8) { v11 = rn(enemy_jousyou_lv * 5 - p.party_array[v3].wpm, 100 + enemy_jousyou_lv * 5 - p.party_array[v3].wpm / 1.2) + p.party_array[v3].battle_cnt; trace('武器ソート:' + v6 + ' 合計wp:' + v8 + ' 現wp:' + p.party_array[v3].wpm + ' rnd = ' + v11); if (v11 > 100) { this.array.push('技がアップ'); this.array2.push(p.party_array[v3]); p.party_array[v3].wpm = Math.min(255, p.party_array[v3].wpm + N((p.party_array[v3].kiyousa / 4 + 2) * (p.party_array[v3].wpm / 50 + 1)) + rn(0, 3)); } } } ++v3; } trace('アップオーダー:' + this.array); this.cnt = 10; this.okane_get = 0; this.item_get = 0; this.item_get2 = 0; this.cnt_m = 60; this.cnt2 = 0; this.onEnterFrame = function () { ++this.cnt; if (this.cnt == this.cnt_m) { if (this.cnt2 < this.array.length) { this.array2[this.cnt2].call_tt = this.array[this.cnt2]; _global.battle_anime_fnc(this.array2[this.cnt2], 7, 'win_up', this); ++this.cnt2; Key.addListener(key_lis_battle_win); } else { var v4 = []; var v3 = 0; while (v3 < dead_enemy_array.length) { v4.push(dead_enemy_array[v3][11].slice()); if (dead_enemy_array[v3][11][3]) { this.item_get_flg = dead_enemy_array[v3][11][3] + 0; } ++v3; } if (this.item_get_flg && !this.item_get2) { this.item_get2 = 1; p.item_data.push(this.item_get_flg); _global.sort_set_fnc(p.item_data, 'up'); item_call('end'); item_call('drop', item_data[this.item_get_flg][0] + 'を手に入れた'); Key.addListener(key_lis_battle_win); } else { if (rn(0, 100 + dead_enemy_array.length * 8) > 100 && v4.length > 0 && !this.item_get) { this.item_get = 1; v4 = []; v3 = 0; while (v3 < dead_enemy_array.length) { v4.push(dead_enemy_array[v3][11].slice()); ++v3; } var v6 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 2, 0, 0, 1]; var v5 = rn(0, v6.length - 1); var v7 = rn(0, dead_enemy_array.length - 1); v4[v7][v6[v5]]; if (v4[v7][v6[v5]] > 0) { p.item_data.push(v4[v7][v6[v5]] + 0); _global.sort_set_fnc(p.item_data, 'up'); trace(v7 + '番目の敵の レア度' + v6[v5] + '(' + v5 + ')' + 'をゲット'); item_call('end'); item_call('drop', item_data[v4[v7][v6[v5]]][0] + 'を手に入れた'); Key.addListener(key_lis_battle_win); } else { trace(v7 + '番目の敵の レア度' + v6[v5] + '(' + v5 + ')' + 'は無かった'); this.cnt = this.cnt_m - 2; } } else { if (rn(0, 5 + dead_enemy_array.length) > 3 && !this.okane_get) { this.okane_get = 1; item_call('end'); total_okane = Math.max(1, total_okane); item_call('drop', total_okane + tuuka + 'を手に入れた'); p.okane = Math.min(9999, p.okane + total_okane); Key.addListener(key_lis_battle_win); } else { Key.removeListener(key_lis_battle_win); Key.removeListener(key_lis_battle_win); this.removeMovieClip(); battle_win_fnc2(); } } } } } }; }; v14.next_fnc = function () { if (this.cnt > this.cnt_m) { skill_call('end'); this.cnt = 56; } }; v14.fnc(); }; _global.battle_win_fnc2 = function () { trace('---battle_win---'); var v5 = ['my_name', 'chara_num', 'jinkei_num', 'hp', 'hpm', 'lp', 'lpm', 'wp', 'wpm', 'jp', 'jpm', 'weapon', 'weapon_lv', 'battle_cnt', 'skill_array', 'hadaka_num', 'battle_menu_kioku1', 'battle_menu_kioku2']; var v4 = 0; while (v4 < p.party_array.length) { var v3 = 0; while (v3 < v5.length) { p.party_data[v4][v5[v3] + ''] = battle_party_array[v4][v5[v3] + '']; ++v3; } p.party_data[v4].hp = p.party_data[v4].hpm; ++v4; } var v6 = battle_mc.createEmptyMovieClip('battle_win_mc', battle_mc.getNextHighestDepth()); v6.fnc = function () { this.cnt = 0; this.cnt_m = 40; this.onEnterFrame = function () { ++this.cnt; if (this.cnt == this.cnt_m) { b_o_fnc(this, 0, 20, 20); } if (this.cnt == this.cnt_m + 40) { var v4 = [0, 1, 2, 3, 4]; var v3 = 0; while (v3 < p.chara_num_array.length) { if (p.party_data[v3].lp <= 0) { p.chara_num_array.splice(v3, 1); p.party_data.splice(v3, 1); v4.splice(v3, 0, v3); --v3; } ++v3; } v3 = 0; while (v3 < p.chara_num_array.length) { p.party_data[v3].jinkei_num = v4[p.party_data[v3].jinkei_num]; ++v3; } trace('win fnc end'); ++p.battle_win_num; field_fnc(); _global.move_flg = true; } }; }; v6.fnc(); v4 = 0; while (v4 < move_simbol_array.length) { if (move_simbol_array[v4] == enemy_simbol) { move_simbol_array.splice(v4, 1); break; } ++v4; } v4 = 0; while (v4 < simbol_depth_array.length) { if (simbol_depth_array[v4] == enemy_simbol) { simbol_depth_array.splice(v4, 1); break; } ++v4; } enemy_simbol.removeMovieClip(); }; _global.b_o_fnc = function (tg, start_n, max, omake) { var v2 = tg.attachMovie('black_mc', 'black_mc', tg.getNextHighestDepth()); v2.fnc = function (start_n, _max, omake) { this._alpha = start_n; this.cnt = 0; this.start_n = start_n; this.cnt_m = _max; this._xscale = 1000; this._yscale = 1000; this.omake = omake; if (!omake) { this.omake = 0; } this.onEnterFrame = function () { ++this.cnt; this._alpha = this.start_n + ((100 - this.start_n) / this.cnt_m) * this.cnt; if (this.cnt == this.cnt_m + this.omake) { trace('f_o end'); this.removeMovieClip(); } }; }; v2.fnc(start_n, max, omake); }; } frame 1 { _global.damage_keisan_fnc = function (my, at_tg) { my.w_exp[Math.floor(my.battle_weapon[1] / 2)] += 1; if (p.battle_at_tg.hp <= 0) { return [19, N(my.battle_weapon[5])]; } else { if (my.action2 >= 27 && my.action2 <= 29) { var v1 = my.weapon.length - 1; while (v1 >= 0) { if (my.weapon[v1] == N(my.action2) + 170) { my.weapon.splice(v1, 1, 0); break; } --v1; } return [26, N(my.battle_weapon[5])]; } else { if (at_tg.e_skill == 11) { return [13, 0]; } else { if (at_tg.action2 == 11) { return [12, N(my.battle_weapon[5] / 2)]; } else { return [20, N(my.battle_weapon[5])]; } } } } }; _global.enemy_dead_fnc = function (my, lag) { dead_enemy_array.push(my.datas.slice()); var v2 = 0; while (v2 < enemy_array.length) { if (enemy_array[v2] == my) { enemy_array.splice(v2, 1); } ++v2; } my.removeMovieClip(); if (!party_dead_fnc()) { if (!e_party_dead_fnc()) { _global.battle_anime_fnc_master.fase = 1000; battle_turn_mc.turn_fnc(); } else { battle_win_fnc(); } } }; _global.battle_damage_num_move_fnc = function (my, lag, typ) { my._fnc = function (lag, typ) { this._alpha = 0; this.array = [-1, -1, -1, -1, -1, -1, -1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1]; this.cnt = 0; this.typ = typ; this.omake = 40; this._alpha100 = 100; if (p.battle_at_tg.hp <= 0 && p.battle_at_tg.lpm && !this.typ) { this.omake = 20; this._alpha100 = 0; this.omake = 1; } if (p.battle_at_tg.hp <= 0 && p.battle_at_tg.lpm && this.typ == 'life') { battle_chara_hantei_fnc(p.battle_at_tg); } if (p.battle_at_tg.lp <= 0 && !this.typ || p.battle_at_tg.lp < 0 && this.typ == 'life') { this._alpha100 = 0; this.omake = 1; this.array = [-1, -1]; lag = 1; } this.onEnterFrame = function () { ++this.cnt; if (lag == this.cnt) { this.cnt = 0; this._alpha = this._alpha100; this.onEnterFrame = function () { this._y += this.array[this.cnt]; ++this.cnt; if (this.cnt >= this.array.length + this.omake) { if (this.end_flg) { if (this.typ == 'life') { if (!party_dead_fnc()) { if (!e_party_dead_fnc()) { _global.battle_anime_fnc_master.fase = 1000; battle_turn_mc.turn_fnc(); } else { battle_win_fnc(); } } this._parent.removeMovieClip(); } else { p.battle_at_tg.mc._x = this.kioku; battle_chara_hantei_fnc(p.battle_at_tg, 'life'); if (p.battle_at_tg.hp <= 0) { if (!p.battle_at_tg.lpm) { enemy_dead_fnc(p.battle_at_tg); this._parent.removeMovieClip(); } else { _global.battle_damage_life_fnc(); this._parent.removeMovieClip(); } } else { if (!party_dead_fnc()) { if (!e_party_dead_fnc()) { _global.battle_anime_fnc_master.fase = 1000; battle_turn_mc.turn_fnc(); } else { battle_win_fnc(); } } this._parent.removeMovieClip(); } } } } }; } }; }; my._fnc(lag, typ); }; _global.battle_damage_life_fnc = function (my, dmg) { var v1 = battle_mc.states_mc.createEmptyMovieClip('states' + battle_mc.states_mc.getNextHighestDepth(), battle_mc.states_mc.getNextHighestDepth()); v1._y = p.battle_at_tg._y + 24 - 10; var v2 = v1.attachMovie('dot_num_num', 'n1', v1.getNextHighestDepth()); v2.gotoAndStop(81); battle_damage_num_move_fnc(v2, 1, 'life'); _mc_color_anime_fnc('battle_num', v2); v1._x = p.battle_at_tg._x + 12 - v1._width / 2; v2.end_flg = true; }; _global.party_dead_fnc = function (my) { var v3 = 0; var v2 = 0; while (v2 < p.party_array.length) { v3 += p.party_array[v2].hp; ++v2; } if (v3 <= 0) { trace('全滅しました・・・'); delete _global.battle_anime_fnc_master.onEnterFrame; return 1; } }; _global.e_party_dead_fnc = function (my) { var v3 = 0; var v2 = 0; while (v2 < enemy_array.length) { if (!isNaN(enemy_array[v2].hp)) { v3 += enemy_array[v2].hp; } ++v2; } if (v3 <= 0) { delete _global.battle_anime_fnc_master.onEnterFrame; return 1; } }; _global.battle_chara_hantei_fnc = function (my, typ) { if (my.hp < my.hpm / 6) { my.mc._x = -11 * _global.rule.player_chara_tip_size[0]; } if (my.hp <= 0) { my.mc._x = -12 * _global.rule.player_chara_tip_size[0]; if (typ == 'life') { --my.lp; if (my.lp <= 0) { } } } }; _global.battle_damage_fnc = function (my, dmg) { var v1 = 0; while (v1 < p.battle_attack_tg_array.length) { ++v1; } num1 = dmg; trace(' ' + p.battle_at_tg.my_name + ' hp:' + p.battle_at_tg.hp); var v2 = battle_mc.states_mc.createEmptyMovieClip('states' + battle_mc.states_mc.getNextHighestDepth(), battle_mc.states_mc.getNextHighestDepth()); v2._y = p.battle_at_tg._y + p.battle_at_tg._height - 10; if (p.battle_at_tg.lpm) { v2._y = p.battle_at_tg._y + 24 - 10; } num_size = 8; var v3 = 0; var v5 = 30; if (dmg < 0) { num1 = -dmg; v5 = 60; } if (num1 >= 100) { var v4 = v2.attachMovie('dot_num_num', 'n100', v2.getNextHighestDepth()); v4.gotoAndStop(N(num1 / 100 + v5)); v4._x = v3; v3 += num_size; battle_damage_num_move_fnc(v4, v3 * 4 / num_size); _mc_color_anime_fnc('battle_num', v4); } if (num1 >= 10) { v4 = v2.attachMovie('dot_num_num', 'n10', v2.getNextHighestDepth()); v4.gotoAndStop(N(num1 / 10) % 10 + v5); v4._x = v3; v3 += num_size; battle_damage_num_move_fnc(v4, v3 * 4 / num_size); _mc_color_anime_fnc('battle_num', v4); } if (num1 >= 0) { v4 = v2.attachMovie('dot_num_num', 'n1', v2.getNextHighestDepth()); v4.gotoAndStop(N(num1 % 10) + v5); v4._x = v3; v3 += num_size; battle_damage_num_move_fnc(v4, v3 * 4 / num_size); _mc_color_anime_fnc('battle_num', v4); } else { v4 = v2.attachMovie('dot_num_num', 'n1', v2.getNextHighestDepth()); v4.gotoAndStop('miss'); v4._x = v3; v3 += num_size; battle_damage_num_move_fnc(v4, v3 * 4 / num_size); _mc_color_anime_fnc('battle_num', v4); } v2._x = p.battle_at_tg._x + p.battle_at_tg._width / 2 - v2._width / 2; if (p.battle_at_tg.lpm) { v2._x = p.battle_at_tg._x + 12 - v2._width / 2; } v4.end_flg = true; v4.kioku = my.kioku; p.battle_at_tg.hp = Math.min(p.battle_at_tg.hpm, Math.max(0, p.battle_at_tg.hp - num1)); my.removeMovieClip(); }; _global.battle_turn_fnc = function (typ) { _root.tt.text = 'tg:' + p.tg_chara_num + ' turn:' + p.tg_turn_num; if (typ == 'start') { _global.sort_array = []; var v4 = 0; while (v4 < enemy_array.length) { _global.sort_array.push(enemy_array[v4]); ++v4; } v4 = 0; while (v4 < p.party_array.length) { _global.sort_array.push(p.party_array[v4]); ++v4; } p.tg_turn_num = -1; v4 = 0; while (v4 < sort_array.length) { var v3 = rn(0, sort_array.length - 1); var v5 = sort_array[v3]; sort_array[v3] = sort_array[v4]; sort_array[v4] = v5; ++v4; } } ++p.tg_turn_num; if (p.tg_turn_num >= _global.sort_array.length) { trace('attack end'); _global.battle_fnc('next'); battle_watch_hp_lp_fnc(); } else { p.tg_chara_num = p.tg_turn_num; v4 = 0; while (v4 < sort_array.length) { if (sort_array[p.tg_chara_num].hp > 0) { break; } else { ++p.tg_turn_num; p.tg_chara_num = p.tg_turn_num; } ++v4; } p.tg_chara_num = p.tg_turn_num; if (sort_array[p.tg_chara_num].at_tg.hp == undefined) { sort_array[p.tg_chara_num].at_tg = enemy_array[rn(0, enemy_array.length - 1)]; trace('相手いねえ!'); } sort_array[p.tg_chara_num].wp -= sort_array[p.tg_chara_num].battle_weapon[6]; if (p.tg_chara_num >= sort_array.length) { _global.battle_turn_fnc(); } else { if (sort_array[p.tg_chara_num].action2 % 30 != 0 && sort_array[p.tg_chara_num].action2 > 30 && sort_array[p.tg_chara_num].action2 < 300) { trace('技つかった! ' + anime_data[sort_array[p.tg_chara_num].action2][0][1][0]); skill_call(sort_array[p.tg_chara_num], anime_data[sort_array[p.tg_chara_num].action2][0][1][0]); var v6 = _root.createEmptyMovieClip('lag_mc', _root.getNextHighestDepth()); v6.my_end_fnc = function () { skill_call('end'); _global.battle_anime_fnc(sort_array[p.tg_chara_num], sort_array[p.tg_chara_num].action2); }; lag_fnc(v6, 90); } else { if (sort_array[p.tg_chara_num].action2 >= 27 && sort_array[p.tg_chara_num].action2 <= 29) { trace('アイテムつかった! ' + anime_data[sort_array[p.tg_chara_num].action2][0][1][0]); item_call(sort_array[p.tg_chara_num], anime_data[sort_array[p.tg_chara_num].action2][0][1][0]); var v6 = _root.createEmptyMovieClip('lag_mc', _root.getNextHighestDepth()); v6.my_end_fnc = function () { item_call('end'); _global.battle_anime_fnc(sort_array[p.tg_chara_num], sort_array[p.tg_chara_num].action2); }; lag_fnc(v6, 90); } else { _global.battle_anime_fnc(sort_array[p.tg_chara_num], sort_array[p.tg_chara_num].action2); } } } } _root.tt.text = 'tg:' + p.tg_chara_num + ' turn:' + p.tg_turn_num; }; _global.chara_print_fnc = function (tg, my) { tg.weapon_mc.gotoAndStop(my.weapon); tg._x = chara_jinkei_iti_fnc(0, tg.jinkei_num) + my.xx; tg._y = chara_jinkei_iti_fnc(1, tg.jinkei_num) + my.yy; tg.mc._x = my.anime_num * -_global.rule.player_chara_tip_size[0]; tg.mc._y = (tg.chara_num + tg.hadaka_num) * -_global.rule.player_chara_tip_size[1]; if (my.lr == 1) { tg._xscale = -100; tg._x += 24; } else { tg._xscale = 100; } }; _global.battle_anime_fnc = function (tg, anime, battle_face) { tg.swapDepths(tg._parent.getNextHighestDepth() - 1); _global.my = tg.createEmptyMovieClip('my', 10); _global.battle_anime_fnc_master = my; my.d_fnc = function (tg, anime, battle_face) { var v3 = battle_mc.effect_mc.createEmptyMovieClip('d_effect_mc', 3); v3.tg = tg.at_tg; p.battle_at_tg = tg.at_tg; if (this._parent == tg.at_tg) { } else { v3.kioku = p.battle_at_tg.mc._x; } v3.fnc = function (typ, dmg) { this.cnt_m = _global.anime_data[typ[0]][0][0]; this.dmg = typ[1]; this.fase = 0; this.cnt = 0; this.typ = typ; this.anime_data = _global.anime_data[typ[0]][1]; this.anime_data_name = ['anime_num', 'xx', 'yy', 'lr', 'weapon', 'effect']; this.onEnterFrame = function () { this.ii = 0; while (this.ii < this.anime_data_name.length) { this[this.anime_data_name[this.ii]] = this.anime_data[this.fase][this.ii]; if (!this.anime_data[this.fase][this.ii]) { this[this.anime_data_name[this.ii]] = 0; } ++this.ii; } if (this.typ[0] == 26) { } else { this.tg.weapon_mc.gotoAndStop(this.weapon); this.tg._x = chara_jinkei_iti_fnc(0, this.tg.jinkei_num) + this.xx; this.tg._y = chara_jinkei_iti_fnc(1, this.tg.jinkei_num) + this.yy; this.tg.mc._x = this.anime_num * -_global.rule.player_chara_tip_size[0]; this.tg.mc._y = (this.tg.chara_num + this.tg.hadaka_num) * -_global.rule.player_chara_tip_size[1]; } ++this.cnt; if (this.cnt % this.cnt_m == 0) { ++this.fase; } if (this.fase == this.anime_data.length) { this.tg.weapon_mc.gotoAndStop(1); battle_damage_fnc(this, this.dmg); delete this.onEnterFrame; this.removeMovieClip(); } }; }; v3.fnc(damage_keisan_fnc(tg, tg.at_tg)); }; my.fnc = function (tg, anime, battle_face) { this.fase = 0; this.cnt = 0; this.tg = tg; this.cnt_m = _global.anime_data[anime][0][0]; this.start_num = 0; if (battle_face == 'win') { this.cnt_m = p.party_array.length; this.cnt_m = 5; this.start_num = tg.jinkei_num; } if (battle_face == 'win_up') { this.cnt_m = 2; this.start_num = 2; } this.anime = anime; this.anime_data = _global.anime_data[anime][1]; this.anime_data_name = ['anime_num', 'xx', 'yy', 'lr', 'weapon', 'effect']; this.onEnterFrame = function () { if (this.start_num > 0) { --this.start_num; } else { this.ii = 0; while (this.ii < this.anime_data_name.length) { this[this.anime_data_name[this.ii]] = this.anime_data[this.fase][this.ii]; if (!this.anime_data[this.fase][this.ii]) { this[this.anime_data_name[this.ii]] = 0; if (this.anime_data_name[this.ii] == 'weapon') { this[this.anime_data_name[this.ii]] = 1; } } ++this.ii; } if (this.cnt % this.cnt_m == 0) { if (this.anime_num == 'name') { tg.createEmptyMovieClip('ttm', tg.getNextHighestDepth()); tg.ttm.createTextField('tt', tg.ttm.getNextHighestDepth(), -100 + tg._width / 2, tg._height - 12 - N(tg._height / 7), 200, 40); tg.ttm.tt.text = tg.my_name + '\n' + tg.hp; _root.format_fnc(tg.my_name, tg.ttm.tt, text_name[0], 1, 1, 0, text_name[1], 0, 1); } else { tg.ttm.removeMovieClip(); } if (this.effect) { var v4 = battle_mc.effect_mc.attachMovie('effect_mc', 'effect_mc', 2); v4.gotoAndPlay('f' + this.effect); v4.kioku = this.tg.at_tg.mc._x; v4._x = tg.at_tg._x + tg.at_tg.mask_mc._width / 2 - v4.mask_mc._width / 2; v4._y = tg.at_tg._y + tg.at_tg.mask_mc._height / 2 - v4.mask_mc._height / 2; if (!tg.at_tg.mask_mc) { v4._x = tg.at_tg._x + tg.at_tg._width / 2 - v4.mask_mc._width / 2; v4._y = tg.at_tg._y + tg.at_tg._height / 2 - v4.mask_mc._height / 2; } v4.tg = tg; } _global.chara_print_fnc(this.tg, this); } ++this.cnt; if (this.cnt % this.cnt_m == 0) { ++this.fase; } if (this.fase >= this.anime_data.length) { delete this.onEnterFrame; if (battle_face == 'win_up') { skill_call(this.tg, this.tg.call_tt); } if (this.anime != 1 && this.anime != 6) { battle_chara_hantei_fnc(tg); } if (this.anime > 10) { _global.sort_array[p.tg_chara_num].action1 = 2; battle_chara_hantei_fnc(tg); if (_global.sort_array[p.tg_chara_num].action2 == 11) { battle_turn_mc.turn_fnc(1); } else {} } } } }; }; my.fnc(tg, anime, battle_face); }; } frame 1 { _global.chara_jinkei_iti_fnc = function (type, tg_num) { return jinkei_array[p.jinkei][tg_num][type]; }; jin_c0 = 240; jin_c1 = 134; tip = 24; _global.jinkei_array = []; _global.jinkei_array.push([[jin_c0, jin_c1], [jin_c0 + 6, jin_c1 - tip * 1.2], [jin_c0 + 6, jin_c1 + tip * 1.2], [jin_c0, jin_c1 - tip * 2.4], [jin_c0, jin_c1 + tip * 2.4], ['フリーファイト']]); _global.jinkei_array.push([[jin_c0, jin_c1], [jin_c0 + tip * 1.5, jin_c1], [jin_c0 - tip * 1.5, jin_c1], [jin_c0, jin_c1 - tip * 2], [jin_c0, jin_c1 + tip * 2], ['インペリアルクロス']]); } frame 1 { _root.vol_fnc = function (tg, num) { _root.my_so.data[tg + '_vol'] = Math.max(0, Math.min(_root.my_so.data[tg + '_vol'] + num, 100)); _root.bgm.bgm.bgm_0.setVolume((_root.my_so.data.master_vol / 100) * 60 * (_root.my_so.data.bgm_vol / 100)); _root.se.se.se_0.setVolume(Math.floor((_root.my_so.data.master_vol / 100) * 100) * (_root.my_so.data.se_vol / 100)); _root.sys.sys.sys_0.setVolume(Math.floor((_root.my_so.data.master_vol / 100) * 100) * (_root.my_so.data.sys_vol / 100)); }; _root.vol_fnc('se', 0); _root.se.se.se_0.setVolume(10); _root.sound_play_fnc_num = 0; _root.sound_play_fnc = function (type, s_num, type2, lag, rep, sp) { if (s_num == 'kettei') { _root.sound_play_fnc_num = 10; } else { if (s_num == 'cancel') { _root.sound_play_fnc_num = 6; } else { if (s_num == 'select') { _root.sound_play_fnc_num = 5; } else { if (s_num == 'map_open') { _root.sound_play_fnc_num = 30; } else { if (s_num == 'map_close') { _root.sound_play_fnc_num = 31; } else { if (s_num == '') { _root.sound_play_fnc_num = 1; } else { if (s_num == 'bom1') { _root.sound_play_fnc_num = 2; } else { if (s_num == 'bom2') { _root.sound_play_fnc_num = 3; } else { if (s_num == 'bom3') { _root.sound_play_fnc_num = 4; } else { if (s_num == '') { _root.sound_play_fnc_num = 0; } } } } } } } } } } if (type == 'se') { var v4 = _root.se.se['se_' + _root.sound_play_fnc_num]; } else { if (type == 'bgm') { var v4 = _root.bgm.bgm['bgm_' + _root.sound_play_fnc_num]; } else { if (type == 'sys') { var v4 = _root.sys.sys['sys_' + _root.sound_play_fnc_num]; } } } if (!lag) { lag = 0; } if (!rep) { rep = 0; } if (type2) { v4.stop(); } else { v4.stop(); } if (sp) { v4.sp = sp; v4.my_fnc = function () { trace(_name + '_end_fnc'); this.sp.sound_end_fnc(); delete this.onSoundComplete; }; v4.onSoundComplete = function () { trace('mySound completed'); this.my_fnc(); }; } }; } frame 1 { function ObjectCopy(obj) { if (typeof obj != 'object') { return obj; } var v2; var v3; var v1; var v5 = new obj.constructor(); var v4 = new Array(); v4.push({'o': v5, 's': obj}); while (!false) { v1 = v4.pop(); if (!v1) { break; } v3 = v1.o; v2 = v1.s; for (v1 in v2) { if (typeof v2[v1] == 'object') { if (v2[v1]) { v3[v1] = new v2[v1].constructor(); v4.push({'o': v3[v1], 's': v2[v1]}); continue; } } v3[v1] = v2[v1]; } } return v5; } my_so = SharedObject.getLocal('Romancing_Yae_SaveData'); _root.load_fnc = function (type) { var v3 = '- セーブデータ -'; i = 0; while (i < _root.save_hensuu_array.length) { if (_root.my_so.data[_root.save_hensuu_array[i]] == undefined) { _root.my_so.data[_root.save_hensuu_array[i]] = 0; } v3 += '\n' + _root.save_hensuu_array[i] + ' : ' + _root.my_so.data[_root.save_hensuu_array[i]]; ++i; } trace(v3 + '\n- END -'); if (type == 'load') { _root.my_so.data.play_num += 1; _root.save_time_stamp_fnc('load'); _global.p = new Object(); p = ObjectCopy(my_so.data['save' + save_tg_num]); p.party_array = []; p.party_data = []; var i = 0; while (i < p.chara_num_array.length) { p.party_data.push(p['chara' + p.chara_num_array[i]]); p.party_array.push(p['chara' + p.chara_num_array[i]]); ++i; } _root.play_time0 = _root.my_so.data['play_time' + save_tg_num] + 1; } }; _global.now_ver = 0.05; if (!my_so.data.ver) { my_so.data.ver = 6; } if (!my_so.data.memorial_day) { my_date = new Date(); my_so.data.memorial_day = my_date.getFullYear() * 100000000 + (my_date.getMonth() + 1) * 1000000 + my_date.getDate() * 10000 + my_date.getHours() * 100 + my_date.getMinutes(); } time_start = getTimer(); trace('memorial_day... ' + my_so.data.memorial_day); save_hensuu_array = ['play_num', 'play_time0', 'play_time1', 'play_time2', 'play_time3', 'total_time', 'last_play']; _root.save_fnc = function (type) { _root.save_time_stamp_fnc('save'); _root.my_so.data.last_play = save_tg_num; _root.play_save = save_tg_num; p.party_array = []; p.party_data = []; if (!my_so.data['save' + save_tg_num]) { my_so.data['save' + save_tg_num] = new Object(); } my_so.data['save' + save_tg_num] = ObjectCopy(p); var v2 = 0; while (v2 < p.chara_num_array.length) { p.party_data.push(p['chara' + p.chara_num_array[v2]]); p.party_array.push(p['chara' + p.chara_num_array[v2]]); ++v2; } my_date = new Date(); year = my_date.getFullYear(); month = my_date.getMonth() + 1; date = my_date.getDate(); hours = my_date.getHours(); minutes = my_date.getMinutes(); if (hours < 10) { hours = ' ' + hours; } if (minutes < 10) { minutes = '0' + minutes; } day = my_date.getDay(); date_array = ['日', '月', '火', '水', '木', '金', '土']; my_so.data.dates = year + '/' + month + '/' + date + '(' + date_array[day] + ')'; my_so.data.times = hours + ':' + minutes; trace(my_so.data.dates + my_so.data.times + ' プレイ時間' + _root.time_enc_fnc(_root.my_so.data['play_time' + save_tg_num], '0more_simple')); trace(field_obj_data_data[_root.my_so.data['save' + save_tg_num + '_' + 'field_p']][0][0][0] + ' map_flg = ' + p.map_up_flg); _root.load_fnc(); }; _root.save_time_stamp_fnc = function (type) { if (type == 'load') { _root.my_so.data.total_time += Math.floor((getTimer() - _root.time_start) / 1000); } else { _root.play_time0 += Math.floor((getTimer() - _root.time_start) / 1000); _root.my_so.data['play_time' + save_tg_num] = _root.play_time0 + 0; _root.my_so.data.total_time += Math.floor((getTimer() - _root.time_start) / 1000); } _root.time_start = getTimer(); }; _root.time_start = getTimer(); if (!my_so.data.master_vol || !my_so.data.bgm_vol || !my_so.data.se_vol || !my_so.data.sys_vol) { my_so.data.master_vol = 80; my_so.data.bgm_vol = 100; my_so.data.se_vol = 100; my_so.data.sys_vol = 70; } _root.time_enc_fnc = function (num, type) { var v3 = N(num / 3600); var v1 = N(num / 60 % 60); var v2 = N(num % 60); if (v3 > 0) { if (v1 < 10) { v1 = '0' + v1; } } if (v3 < 1) { v3 = ''; } else { if (v3 < 10) { v3 += '時間 '; } else { v3 += '時間 '; } } if (v2 < 10) { v2 = '0' + v2; } if (type == 'simple') { return v3 + v1 + ': ' + v2; } else { if (type == 'ji') { v3 = N(num / 3600); if (v3 < 1) { v3 = 0; } return v3; } else { if (type == 'hun') { return v1 + ',' + v2; } else { if (type == 'more_simple') { return v3 + ': ' + v1; } else { return v3 + v1 + '分 ' + v2 + '秒'; } } } } }; } frame 1 { _global.dot_show_fnc = function () { var v3 = _root.display_mc.tatie_mc.createEmptyMovieClip('b_box_hukidasi_mc', 150); v3._x = 10; v3._y = 180; v3.fnc = function () { this.num_m = num; this.num = 0; this.onEnterFrame = function () { ++this.num; if (this.num == this.num_m) { } }; }; v3.fnc(); }; _global.dot_show_chara_fnc = function (c_num, vect, order, spd, sp) { if (c_num[1]) { c_num2 = c_num[0] + 0; } else { c_num2 = c_num; } if (_root.display_mc.chara_mc['id_' + c_num[1]]) { _root.display_mc.chara_mc['id_' + c_num[1]].order = order.slice(); _root.display_mc.chara_mc['id_' + c_num[1]].order_num = 0; _root.display_mc.chara_mc['id_' + c_num[1]].cnt = 0; _root.display_mc.chara_mc['id_' + c_num[1]].sp = sp.slice(); if (spd == 6) { _root.display_mc.chara_mc['id_' + c_num[1]].spd = [1, 3]; } else { if (spd == 5) { _root.display_mc.chara_mc['id_' + c_num[1]].spd = [1, 2]; } else { if (spd == 4) { _root.display_mc.chara_mc['id_' + c_num[1]].spd = [1, 1]; } else { if (spd == 3) { _root.display_mc.chara_mc['id_' + c_num[1]].spd = [1, 0]; } else { if (spd == 2) { _root.display_mc.chara_mc['id_' + c_num[1]].spd = [2, 0]; } else { _root.display_mc.chara_mc['id_' + c_num[1]].spd = [3, 0]; } } } } } _root.display_mc.chara_mc['id_' + c_num[1]].flm = 16 * _root.display_mc.chara_mc['id_' + c_num[1]].spd[0]; } else { var v8 = _global.tg_mc.p[1] + 0; var v7 = _global.tg_mc.p[0] + 0; var v5 = _root.display_mc.chara_mc.attachMovie('chara_mc', 'e' + v7 + '_' + v8 + '_event_chara', _root.display_mc.chara_mc.getNextHighestDepth()); if (c_num[1]) { v5._name = 'id_' + c_num[1]; } v5._x = field_mc._x + v8 * 16 - 4; v5._y = field_mc._y + v7 * 16 - 11; v5.p = [v7, v8]; v5.p2 = [v7, v8]; v5.p3 = [v7, v8]; v5.fnc = function (c_num, vect, order, spd, sp) { this.array = [[-1, 0, 3, 2], [0, -1, 5, 4], [1, 0, 13, 14], [0, 1, 1, 0]]; this.typ = vect; this.cnt = 0; this.mc._y = -c_num * rule.player_chara_tip_size[0]; this.mc._x = -this.array[this.typ][2] * rule.player_chara_tip_size[0]; this.order = order.slice(); this.sp = sp.slice(); this.spd_array = [0, 1, 3, 7]; speed_typ = spd; if (speed_typ == 6) { this.spd = [1, 3]; } else { if (speed_typ == 5) { this.spd = [1, 2]; } else { if (speed_typ == 4) { this.spd = [1, 1]; } else { if (speed_typ == 3) { this.spd = [1, 0]; } else { if (speed_typ == 2) { this.spd = [2, 0]; } else { this.spd = [3, 0]; } } } } } this.flm = 16 * this.spd[0]; }; v5.fnc(c_num2, vect, order, spd, sp); move_simbol_array.push(v5); simbol_depth_array.push(v5); _global.dot_show_chara_move_fnc(v5); } }; _global.dot_show_chara_move_fnc = function (tg) { tg.move_fnc = function (tg) { this.order_num = 0; this.onEnterFrame = function () { ++this.cnt; if (this.order.length > this.order_num) { if (this.order[this.order_num] > 9) { this.mc._x = -this.array[this.order[this.order_num] % 10][2] * rule.player_chara_tip_size[0]; } else { if (this.cnt == 1) { this.p2[0] += this.array[this.order[this.order_num]][1]; this.p2[1] += this.array[this.order[this.order_num]][0]; } if (this.cnt % this.spd[0] == 0) { if (this.spd[1]) { this._x += this.array[this.order[this.order_num]][0] * (this.spd[1] * 2); this._y += this.array[this.order[this.order_num]][1] * (this.spd[1] * 2); this.cnt += this.spd_array[this.spd[1]]; } else { this._x += this.array[this.order[this.order_num]][0]; this._y += this.array[this.order[this.order_num]][1]; } } } } if (this.cnt % this.flm == this.flm / 2) { if (this.order[this.order_num] > 9) { this.mc._x = -this.array[this.order[this.order_num] % 10][2] * rule.player_chara_tip_size[0]; } else { this.mc._x = -this.array[this.order[this.order_num]][2] * rule.player_chara_tip_size[0]; } if (this.order.length <= this.order_num) { this.mc._x = -this.array[this.typ][2] * rule.player_chara_tip_size[0]; } this.p3[0] = this.p2[0] + 0; this.p3[1] = this.p2[1] + 0; if (this.typ % 2 == 0) { this._y = this.def_y + 1; } field_depth_set_fnc(); } if (this.cnt >= this.flm) { this.cnt = 0; this.p[0] = (this._y - field_mc._y + 11) / 16; this.p[1] = (this._x - field_mc._x + 4) / 16; this.p[0] = N(this.p[0]); this._y = this.p[0] * 16 + field_mc._y - 11; this.p[1] = N(this.p[1]); this._x = this.p[1] * 16 + field_mc._x - 4; this.p2[0] = this.p[0] + 0; this.p2[1] = this.p[1] + 0; this.p3[0] = this.p[0] + 0; this.p3[1] = this.p[1] + 0; if (this.order.length > this.order_num) { ++this.order_num; if (this.order.length > this.order_num) { if (this.order[this.order_num] > 9) { this.typ = this.order[this.order_num] % 10; } else { this.typ = this.order[this.order_num]; } } } if (this.order[this.order_num] > 9) { this.mc._x = -this.array[this.order[this.order_num] % 10][3] * rule.player_chara_tip_size[0]; } else { this.mc._x = -this.array[this.order[this.order_num]][3] * rule.player_chara_tip_size[0]; } if (this.order.length <= this.order_num) { this.mc._x = -this.array[this.typ][3] * rule.player_chara_tip_size[0]; } if (this.order[this.order_num][0]) { _global[this.order[this.order_num][0]] = this.order[this.order_num][1]; ++this.order_num; } if (this.order[this.order_num] == 'del') { _global.dot_show_simbol_del_fnc(this); } field_depth_set_fnc(); } }; }; tg.move_fnc(); }; _global.dot_show_simbol_del_fnc = function (tg) { var v1 = 0; while (v1 < move_simbol_array.length) { if (move_simbol_array[v1] == tg) { move_simbol_array.splice(v1, 1); break; } ++v1; } v1 = 0; while (v1 < simbol_depth_array.length) { if (simbol_depth_array[v1] == tg) { simbol_depth_array.splice(v1, 1); break; } ++v1; } tg.removeMovieClip(); }; } frame 1 { _global.enemy_add_fnc = function (tg, typ) { tg.anime_fnc = function (typ) { this.cnt = -1; this.typ = typ; this.mc._x = -this.array[this.typ][2] * rule.player_chara_tip_size[0]; }; tg.move_fnc = function (tg, typ) { this.array = [[-1, 0, 3, 2], [0, -1, 5, 4], [1, 0, 7, 6], [0, 1, 1, 0]]; this.typ = typ; this.cnt = 0; this.mc._x = -this.array[this.typ][3] * rule.player_chara_tip_size[0]; this.spd_array = [0, 1, 3, 7]; this.hit_flg = _global.enemy_simbol_hit_flg_array[this.sp[3]]; this.mc._y = -this.sp[3] * rule.player_chara_tip_size[0]; this.move_typ = this.sp[4]; speed_typ = this.sp[5]; this.search_num = this.sp[6]; if (speed_typ == 6) { this.spd = [1, 3]; } else { if (speed_typ == 5) { this.spd = [1, 2]; } else { if (speed_typ == 4) { this.spd = [1, 1]; } else { if (speed_typ == 3) { this.spd = [1, 0]; } else { if (speed_typ == 2) { this.spd = [2, 0]; } else { this.spd = [3, 0]; } } } } } this.flm = 16 * this.spd[0]; this.last_p = [this._x + 0, this._y + 0]; this.onEnterFrame = function () { ++this.cnt; if (!this.walk_flg) { if (!_global.master_enemy_move_flg && !_global.talk_time_flg && this.sp[1] == 'e' && this.move_typ > 1 && this.p[0] + this.array[this.typ][1] == tg_mc.p3[0] && this.p[1] + this.array[this.typ][0] == tg_mc.p3[1] || !_global.master_enemy_move_flg && !_global.talk_time_flg && this.sp[1] == 'e' && this.move_typ > 1 && this.p[0] + this.array[this.typ][1] == tg_mc.p2[0] && this.p[1] + this.array[this.typ][0] == tg_mc.p2[1]) { this.walk_flg = true; this.hit_flg2 = true; _global.key_flg = true; Key_lis_del_fnc(); battle_in_fnc(this, _root); } else { if (hit_simbol_array[this.p[0] + this.array[this.typ][1]][this.p[1] + this.array[this.typ][0]].hit_flg[this.hit_flg] || this.p[0] + this.array[this.typ][1] == tg_mc.p3[0] && this.p[1] + this.array[this.typ][0] == tg_mc.p3[1] || this.p[0] + this.array[this.typ][1] == tg_mc.p2[0] && this.p[1] + this.array[this.typ][0] == tg_mc.p2[1] || field_obj_data[this.p[0] + this.array[this.typ][1]][this.p[1] + this.array[this.typ][0]][1] == 'wap' || field_obj_data[this.p[0] + this.array[this.typ][1]][this.p[1] + this.array[this.typ][0]][1] == 'map' || this.p[0] + this.array[this.typ][1] < 0 || this.p[1] + this.array[this.typ][0] < 0 || this.p[0] + this.array[this.typ][1] > field_max[0] || this.p[1] + this.array[this.typ][0] > field_max[1]) { if (this.cnt == 1) { this.hit_flg2 = true; this.cnt += rn(0, 6); } } else { if (this.cnt % this.flm == 1) { this.hit_flg2 = false; var v4 = 0; while (v4 < move_simbol_array.length) { if (move_simbol_array[v4] != this) { if (move_simbol_array[v4].p3[0] == this.p[0] + this.array[this.typ][1]) { if (move_simbol_array[v4].p3[1] == this.p[1] + this.array[this.typ][0]) { this.hit_flg2 = true; break; } } if (move_simbol_array[v4].p2[0] == this.p[0] + this.array[this.typ][1]) { if (move_simbol_array[v4].p2[1] == this.p[1] + this.array[this.typ][0]) { this.hit_flg2 = true; break; } } } ++v4; } } } } if (this.hit_flg2) { } else { if (!this.walk_flg && this.move_typ > 0 && !this.my_move_flg2) { if (this.cnt == 1) { this.p2[0] += this.array[this.walk_rnd][1]; this.p2[1] += this.array[this.walk_rnd][0]; } if (this.cnt % this.spd[0] == 0) { if (this.spd[1]) { this._x += this.array[this.walk_rnd][0] * (this.spd[1] * 2); this._y += this.array[this.walk_rnd][1] * (this.spd[1] * 2); this.cnt += this.spd_array[this.spd[1]]; } else { this._x += this.array[this.walk_rnd][0]; this._y += this.array[this.walk_rnd][1]; } } } } } if (this.cnt % this.flm == this.flm / 2 && this.move_typ > 0) { this.mc._x = -this.array[this.typ][2] * rule.player_chara_tip_size[0]; this.p3[0] = this.p2[0] + 0; this.p3[1] = this.p2[1] + 0; if (typ % 2 == 0) { this._y = this.def_y + 1; } field_depth_set_fnc(); } if (this.cnt >= this.flm) { this.cnt = 0; this.walk_flg = true; if (!_global.master_enemy_move_flg) { if (!this.talk_flg) { this.walk_flg = false; } } this.p[0] = (this._y - field_mc._y + 11) / 16; this.p[1] = (this._x - field_mc._x + 4) / 16; this.p[0] = N(this.p[0]); this._y = this.p[0] * 16 + field_mc._y - 11; this.p[1] = N(this.p[1]); this._x = this.p[1] * 16 + field_mc._x - 4; this.p2[0] = this.p[0] + 0; this.p2[1] = this.p[1] + 0; this.p3[0] = this.p[0] + 0; this.p3[1] = this.p[1] + 0; this.tt.text = this.p; if (!_global.master_enemy_move_flg) { if (!this.my_move_flg) { this.my_move_flg2 = false; if (!this.talk_flg) { if (!this.search_mc) { if (this.move_typ > 1) { enemy_simbol_walk_vect_fnc(this); this.typ = this.walk_rnd; } } else {} } } else { this.my_move_flg2 = true; } } this.mc._x = -this.array[this.typ][3] * rule.player_chara_tip_size[0]; field_depth_set_fnc(); } }; }; tg.search_fnc = function (typ) { var v2 = tg.createEmptyMovieClip('search_mc', tg.getNextHighestDepth()); if (tg.search_num > 0) { v2.onEnterFrame = function (typ) { if (this._parent.p[0] - this._parent.search_num < tg_mc.p[0] && this._parent.p[0] + this._parent.search_num > tg_mc.p[0] && this._parent.p[1] - this._parent.search_num < tg_mc.p[1] && this._parent.p[1] + this._parent.search_num > tg_mc.p[1]) { this._parent.cnt = 0; enemy_simbol_walk_vect_fnc(this._parent); this._parent.typ = this._parent.walk_rnd; this._parent.mc._x = -this._parent.array[this._parent.typ][2] * rule.player_chara_tip_size[0]; this.removeMovieClip(); } }; } }; tg.move_fnc(tg, typ); tg.search_fnc(); }; _global.enemy_simbol_walk_vect_fnc = function (tg) { if (tg.move_typ == 3) { var v3 = Math.abs(N(tg.p[0] + 0) - (tg_mc.p[0] + 0)); var v2 = Math.abs(N(tg.p[1] + 0) - (tg_mc.p[1] + 0)); if (v3 > v2) { tg.walk_rnd = -(N(tg.p[0] + 0 - (tg_mc.p[0] + 0)) / Math.abs(N(tg.p[0] + 0) - (tg_mc.p[0] + 0))) + 2; } else { tg.walk_rnd = -((N(tg.p[1] + 0) - (tg_mc.p[1] + 0)) / Math.abs(N(tg.p[1] + 0) - (tg_mc.p[1] + 0))) + 1; } if (tg.walk_rnd == tg.walk_rnd_bu && rn(0, true)) { tg.walk_rnd = rn(0, 3); } if (tg.hit_flg2 && rn(0, true)) { if (v3 < v2) { tg.walk_rnd = -(N(tg.p[0] + 0 - (tg_mc.p[0] + 0)) / Math.abs(N(tg.p[0] + 0) - (tg_mc.p[0] + 0))) + 2; } else { tg.walk_rnd = -((N(tg.p[1] + 0) - (tg_mc.p[1] + 0)) / Math.abs(N(tg.p[1] + 0) - (tg_mc.p[1] + 0))) + 1; } } tg.walk_rnd_bu = tg.walk_rnd; } else { if (tg.move_typ == 2) { tg.walk_rnd = rn(0, 3); } else {} } }; } frame 1 { _global.touch_talk_fnc = function (intt, inttt, byou, goflm) { var v3 = _root.display_mc.tatie_mc.createEmptyMovieClip('b_box_hukidasi_mc', 150); v3.createTextField('tt', 1, 8, 8, 284, 40); v3.tt.text = intt; _root.format_fnc(v3.tt.text, v3.tt, text_menu[0], 1, 0, 0, text_menu[1], 0, 10, 'menu'); v3.createTextField('ttt', 2, 34, 8, 274, 40); v3.ttt.text = inttt; _root.format_fnc(v3.ttt.text, v3.ttt, text_menu[0], 1, 0, 0, text_menu[1], 0, 10, 'menu'); v3._x = 10; v3._y = 180; v3.fnc = function (num, goflm) { this.goflm = goflm; this.num_m = num; this.num = 0; this.onEnterFrame = function () { ++this.num; if (this.num == this.num_m) { touch_ero_fnc_end('end', this.goflm); } }; }; v3.fnc(byou, goflm); v3 = v3.attachMovie('black_mc', 'hukidasi_mc', 0); v3._xscale = 300; v3._yscale = 50; v3._alpha = 40; }; _global.hukidasi_fnc = function (tg, goflm, typ2, limit, lag) { var v2 = tg.act_hukidasi_mc; v2.fnc = function (tg, goflm, typ2, limit, lag) { this.goflm = goflm; this.num_m = num; this.num = -1; if (lag) { this.num -= lag; } this.poji = [0, 0, -2, -6, -7, -8, -8, -8, -7, -7, -6, -5, -4, -2, 0]; if (!typ2) { this.poji = [0, 0]; } this.limit = limit; if (!this.limit) { this.limit = 20; } this.onEnterFrame = function () { ++this.num; if (this.num == 0) { this.gotoAndPlay(this.goflm); } if (this.poji.length > this.num) { this._y = this.poji[N(this.num)]; } if (this.num > this.limit + this.poji.length) { this.gotoAndStop('end'); delete this.onEnterFrame; } }; }; v2.fnc(tg, goflm, typ2, limit, lag); }; _global.tatie_kao_fnc = function (typ, tg) { _global.tatie_mc.kao_mc.po_mc.po_mc._alpha = Math.min(50, _global.yae_h_num * 10); if (_global.yae_h_num > 2) { _global.tatie_mc.kao_mc.mayuge_mc.gotoAndStop('okori'); } else {} }; _global.tatie_fnc = function (typ, tg) { if (typ == 'hadaka') { _global.yae_h_num = Math.max(Math.min(_global.yae_h_num, _global.yae_h_num_max), 4); _global.key_flg = true; _global.master_enemy_move_flg = true; _root.display_mc.tatie_mc.attachMovie('black_mc', 'tblack_mc', 10); _root.display_mc.tatie_mc.tblack_mc.gotoAndPlay('touch'); _global.tatie_mc.gotoAndStop('hadaka'); _global.tatie_mc.kao_mc.gotoAndStop('iyan0'); touch_talk_fnc('ヤエ', '「いやああ~んっ!!!\n体が勝手に~!!?」', 140, 'stay_hadaka'); } else { if (typ == 'stay') { if (p.chara0.hadaka_num) { _global.tatie_mc.gotoAndStop('stay_hadaka'); _global.yae_h_num = Math.max(Math.min(_global.yae_h_num, _global.yae_h_num_max), 4); } else { _global.tatie_mc.gotoAndStop('stay'); _global.tatie_mc.kao_mc.gotoAndPlay('ho' + rn(1, 2)); _global.tatie_mc.kao_mc.kuti_mc.gotoAndPlay('ho'); } } } tatie_kao_fnc(); }; _global.tijoku_fnc = function (typ) { trace('tijoku'); var v2 = 0; while (v2 < move_simbol_array.length) { if (move_simbol_array[v2].p[1] > _global.tg_mc.p[1] - 4 && move_simbol_array[v2].p[1] < _global.tg_mc.p[1] + 4) { if (move_simbol_array[v2].p[0] > _global.tg_mc.p[0] - 4 && move_simbol_array[v2].p[0] < _global.tg_mc.p[0] + 4) { var v3 = []; if (move_simbol_array[v2].p[0] > _global.tg_mc.p[0]) { v3.push(1); } else { v3.push(3); } if (move_simbol_array[v2].p[1] > _global.tg_mc.p[1]) { v3.push(0); } else { v3.push(2); } if (Math.abs(move_simbol_array[v2].p[1] - _global.tg_mc.p[1]) > Math.abs(move_simbol_array[v2].p[0] - _global.tg_mc.p[0])) { move_simbol_array[v2].typ = v3[1] + 0; } else { move_simbol_array[v2].typ = v3[0] + 0; } move_simbol_array[v2].mc._x = -move_simbol_array[v2].array[move_simbol_array[v2].typ][2] * rule.player_chara_tip_size[0]; if (move_simbol_array[v2].my_move_flg != _global.yae_h_num) { if (!move_simbol_array[v2].my_move_flg) { hukidasi_fnc(move_simbol_array[v2], 'hatena', 0, 70, 10); } if (!move_simbol_array[v2].my_move_flg3 && _global.yae_h_num >= 3) { hukidasi_fnc(move_simbol_array[v2], 'ero' + rn(1, 2), 0, 7000, 10); move_simbol_array[v2].my_move_flg3 = _global.yae_h_num; } } move_simbol_array[v2].my_move_flg = _global.yae_h_num; } } ++v2; } }; _global.yae_h_num_max = 5; _global.touch_ero_fnc = function (typ, goflm) { if (typ == 'guard') { } else { if (typ == 'guard_end') { } else { if (!_global.touch_num) { _global.touch_num = 1; _global.yae_h_num = Math.max(Math.min(_global.yae_h_num + 1, _global.yae_h_num_max), 0); hukidasi_fnc(_global.tg_mc, 'siguma', 1, 40); _global.tatie_mc.kao_mc.gotoAndPlay('odoroki'); _global.tatie_mc.kao_mc.kuti_mc.gotoAndPlay('stay_okori'); if (!_global.tatie_mc.kokoro_mc) { var v6 = _global.tatie_mc.createEmptyMovieClip('kokoro_mc', _global.tatie_mc.getNextHighestDepth()); v6.fnc = function () { this.cnt = 0; this.cnt2 = 0; this.cnt_m = 140; this.onEnterFrame = function () { ++this.cnt; ++this.cnt2; if (this.cnt2 < 10) { tg_mc.hyoujou_mc.gotoAndStop(N(tg_mc.typ_bu) + 10); tg_mc.hyoujou_mc._y = tg_mc.mask_mc._y; } if (this.cnt2 == 10) { tg_mc.hyoujou_mc.gotoAndStop(1); } if (this.cnt == N(this.cnt_m / 1.5)) { var v3 = 0; while (v3 < move_simbol_array.length) { if (move_simbol_array[v3].my_move_flg) { if (rn(0, 7) > 4) { hukidasi_fnc(move_simbol_array[v3], 'tenten', 0, 70, rn(10, 30)); } else { hukidasi_fnc(move_simbol_array[v3], 'no', 0, 0); } } ++v3; } } if (this.cnt == this.cnt_m) { _global.touch_num = Math.max(0, _global.touch_num - 1); _global.touch_num = 0; tatie_kao_fnc(); if (_global.touch_num == 0) { _global.tatie_mc.kao_mc.gotoAndPlay('stay'); this.removeMovieClip(); v3 = 0; while (v3 < move_simbol_array.length) { move_simbol_array[v3].my_move_flg = false; move_simbol_array[v3].my_move_flg3 = false; ++v3; } } this.cnt = 0; trace('_global.touch_num=' + _global.touch_num); } }; }; v6.fnc(); } } else { _global.tatie_mc.kao_mc.gotoAndPlay('act01'); _global.tatie_mc.kokoro_mc.cnt = 0; } tijoku_fnc(); touch_limit_array = [1, 4, 20]; var v5 = ['', 'oppai_l', 'oppai_r', 'manko']; if (p.chara0.hadaka_num) { _global.tatie_mc.tatie_mc.gotoAndPlay(v5[N(typ._name.substr(-1, 1))] + '_hadaka'); } else { _global.tatie_mc.tatie_mc.gotoAndPlay(v5[N(typ._name.substr(-1, 1))]); } _global.touch_num = Math.min(20, _global.touch_num + 1); tatie_kao_fnc(); if (_global.touch_num >= 20) { if (_global.yae_h_num != _global.yae_h_num_max) { _global.touch_num = 1; } else {} _global.yae_h_num = Math.max(Math.min(_global.yae_h_num + 1, _global.yae_h_num_max), 0); } } } tatie_kao_fnc(); }; _global.touch_ero_fnc_end = function (typ, goflm) { if (typ == 'end') { _global.touch_flg = false; _global.key_flg = false; _global.master_enemy_move_flg = false; _root.display_mc.tatie_mc.tblack_mc.gotoAndPlay('touch_end'); _global.tatie_mc.gotoAndStop(goflm); _root.display_mc.tatie_mc.b_box_hukidasi_mc.removeMovieClip(); } else { if (typ == 'guard') { _global.tatie_mc.attachMovie('hit_mc', 'hit_mc2', 1); _global.tatie_mc.hit_mc2._xscale = 320; _global.tatie_mc.hit_mc2._yscale = 320; _global.tatie_mc.hit_mc2.onPress = function () {}; _global.tatie_mc.hit_mc2.enabled = false; } else { if (typ == 'guard_end') { _root.display_mc.tatie_mc.hukidasi_mc.removeMovieClip(); _global.tatie_mc.hit_mc2.removeMovieClip(); } else {} } } tatie_kao_fnc(); }; } frame 1 { _global.menu_jinkei_fnc = function (_mc) { _global.menu_jinkei_array = []; trace('jinkei fnc'); _global.menu_jinkei_fnc_mc = _mc; var v10 = []; var v6 = 0; while (v6 < p.chara_num_array.length) { v10[p.party_data[v6].jinkei_num] = p.party_data[v6]; ++v6; } _global.sort_set_fnc(v10, 'tume'); v6 = 0; while (v6 < p.chara_num_array.length) { v10[v6].jinkei_num = v6; ++v6; } var v8 = ['my_name', 'chara_num', 'jinkei_num', 'hp', 'hpm', 'lp', 'lpm', 'wp', 'wpm', 'jp', 'jpm', 'weapon', 'skill_array', 'hadaka_num', '', '', '', '', '']; v6 = 0; while (v6 < p.chara_num_array.length) { var v5 = _mc.attachMovie('chara_mc', 'chara_mc' + v6, _mc.getNextHighestDepth()); var v4 = 0; while (v4 < v8.length) { v5[v8[v4] + ''] = p.party_data[v6][v8[v4] + '']; ++v4; } v5.i = v6; menu_stay_move_fnc(v5, 0); menu_jinkei_array[v5.jinkei_num] = v5; _global.menu_chara_print_fnc(v5, 2); v5.def_x = iti[0] + 0; ++v6; } v6 = 0; while (v6 < p.jinkei_array.length) { var v11 = _mc.createEmptyMovieClip('i' + v6, v6 + 100); var v9 = v11.createTextField('tt', 0, 16, 0, 200, 30); _root.format_fnc(jinkei_array[p.jinkei_array[v6]][jinkei_array[p.jinkei_array[v6]].length - 1], v9, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v11.datas = p.jinkei_array[v6] + 0; _mc.key.push(v11); v11._x = 32; v11._y = 48 + v6 * 16; ++v6; } v11 = _mc.createEmptyMovieClip('tt', 200); _mc.jinkei_name = v11.createTextField('tt', 0, 16, 0, 200, 30); _root.format_fnc('戦闘陣形:' + jinkei_array[p.jinkei_array[p.jinkei]][jinkei_array[p.jinkei_array[p.jinkei]].length - 1], _mc.jinkei_name, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v11._x = 24; v11._y = 24; v11 = _mc.createEmptyMovieClip('tt2', 420); _mc.jinkei_tg1 = v11.createTextField('tt', 0, 16, 0, 200, 30); _root.format_fnc('', _mc.jinkei_tg1, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v11._x = 24; v11._y = 160; v11 = _mc.createEmptyMovieClip('tt3', 440); _mc.jinkei_tg2 = v11.createTextField('tt', 0, 16, 0, 200, 30); _root.format_fnc('', _mc.jinkei_tg2, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v11._x = 24; v11._y = 192; _mc.attachMovie('corsor_mc', 'corsor_mc', _mc.getNextHighestDepth()); _mc.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; _mc.corsor_mc.fnc(); _mc.move_fnc = function (num) { if (num == 're') { } else { if ((num - 1) % 2 == 0) { this.kate += num - 2; } else { if (num % 2 == 0) { this.page += num - 1; } } } if (this.page > this.pagem) { this.page = 0; } if (this.page < 0) { this.page = this.pagem; } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.sele_fnc(); this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; }; _mc.fnc = function (_mc) { menu_jinkei_fnc2(this); }; _mc.move_fnc(0); }; _global.menu_jinkei_fnc2 = function (_mc) { _global.menu_jinkei_fnc2_mc = _mc; _mc = menu_jinkei_fnc2_mc.createEmptyMovieClip('menu_' + menu_jinkei_fnc2_mc.getNextHighestDepth(), menu_jinkei_fnc2_mc.getNextHighestDepth()); f_menu_mc_tg_array.push(_mc); _mc.key = []; _mc.kate = 0; _mc.page = 0; _mc.pagem = 0; _mc.attachMovie('corsor_mc', 'corsor_mc', _mc.getNextHighestDepth()); _mc.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; _mc.corsor_mc.fnc(); _mc.move_fnc = function (num) { if (num == 're') { } else { if ((num - 1) % 2 == 0) { this.kate += num - 2; } else { if (num % 2 == 0) { this.page += num - 1; } } } if (this.page > this.pagem) { this.page = 0; } if (this.page < 0) { this.page = this.pagem; } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.sele_fnc(); this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; }; _mc.fnc = function (_mc) { menu_jinkei_fnc3(this); }; _mc.cancel_fnc = function (_mc) { menu_jinkei_fnc2_mc.jinkei_tg1.text = ''; }; _mc.sele_fnc = function () { menu_jinkei_fnc2_mc.jinkei_tg1.text = this.key[this.kate].my_name + ' HP ' + this.key[this.kate].hp + '\n'; }; p.jinkei = menu_jinkei_fnc2_mc.key[menu_jinkei_fnc2_mc.kate].datas; _root.format_fnc('戦闘陣形:' + jinkei_array[p.jinkei_array[p.jinkei]][jinkei_array[p.jinkei_array[p.jinkei]].length - 1], menu_jinkei_fnc2_mc.jinkei_name, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); var v4 = 0; while (v4 < p.chara_num_array.length) { _global.menu_chara_print_fnc(menu_jinkei_array[v4], 2); _mc.key.push(menu_jinkei_array[v4]); ++v4; } _mc.move_fnc(0); _mc.cancel_fnc = function () { f_menu_mc.cancel_fnc(f_menu_mc); }; }; _global.menu_jinkei_fnc3 = function (_mc) { _global.menu_jinkei_fnc3_mc = _mc; _mc = menu_jinkei_fnc2_mc.createEmptyMovieClip('menu_' + menu_jinkei_fnc2_mc.getNextHighestDepth(), menu_jinkei_fnc2_mc.getNextHighestDepth()); f_menu_mc_tg_array.push(_mc); _mc.key = []; _mc.kate = 0; _mc.attachMovie('corsor_mc', 'corsor_mc', _mc.getNextHighestDepth()); _mc.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; _mc.corsor_mc.fnc(); _mc.move_fnc = function (num) { if (num == 're') { } else { if ((num - 1) % 2 == 0) { this.kate += num - 2; } else { if (num % 2 == 0) { this.page += num - 1; } } } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.sele_fnc(); this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; }; _mc.fnc = function (_mc) { var v4 = this.key[this.kate].jinkei_num + 0; this.key[this.kate].jinkei_num = menu_jinkei_fnc3_mc.key[menu_jinkei_fnc3_mc.kate].jinkei_num + 0; menu_jinkei_fnc3_mc.key[menu_jinkei_fnc3_mc.kate].jinkei_num = v4; trace('this.kate = ' + this.kate + 'key = ' + this.key[this.kate].my_name + this.key[this.kate].jinkei_num + ' tg = ' + menu_jinkei_fnc3_mc.key[menu_jinkei_fnc3_mc.kate].jinkei_num + menu_jinkei_fnc3_mc.key[menu_jinkei_fnc3_mc.kate].my_name); var v3 = 0; while (v3 < 5) { if (p.party_data[v3]) { p.party_data[menu_jinkei_array[v3].i].jinkei_num = menu_jinkei_array[v3].jinkei_num; _global.menu_chara_print_fnc(menu_jinkei_array[v3], 11); } ++v3; } this.removeMovieClip(); f_menu_mc_tg_array.splice(f_menu_mc_tg_array.length - 1, 1); menu_jinkei_fnc3_mc.corsor_mc.gotoAndPlay(1); menu_jinkei_fnc2_mc.jinkei_tg1.text = menu_jinkei_fnc2_mc.jinkei_tg2.text; menu_jinkei_fnc2_mc.jinkei_tg2.text = ''; menu_jinkei_array = []; v3 = 0; while (v3 < 5) { if (p.party_data[v3]) { menu_jinkei_array[menu_jinkei_fnc_mc['chara_mc' + v3].jinkei_num] = menu_jinkei_fnc_mc['chara_mc' + v3]; } ++v3; } }; _mc.cancel_fnc = function (_mc) { menu_jinkei_fnc2_mc.jinkei_tg2.text = ''; }; _mc.sele_fnc = function () { menu_jinkei_fnc2_mc.jinkei_tg2.text = this.key[this.kate].my_name + ' HP ' + this.key[this.kate].hp; }; var v3 = 0; while (v3 < 5) { if (p.party_data[v3]) { if (menu_jinkei_fnc3_mc.key[menu_jinkei_fnc3_mc.kate] != menu_jinkei_array[v3]) { _mc.key.push(menu_jinkei_array[v3]); } } ++v3; } _mc.move_fnc(0); }; _global.menu_chara_print_fnc = function (tg, my, lr) { tg.weapon_mc.gotoAndStop(1); tg._x = chara_jinkei_iti_fnc(0, tg.jinkei_num); tg._y = chara_jinkei_iti_fnc(1, tg.jinkei_num); tg.mc._x = my * -_global.rule.player_chara_tip_size[0]; tg.mc._y = (tg.chara_num + tg.hadaka_num) * -_global.rule.player_chara_tip_size[1]; tg.mask_mc._y = 0; if (lr == 1) { tg._xscale = -100; tg._x += 24; } else { tg._xscale = 100; } }; _global.menu_save_fnc = function (_mc) { _global.menu_save_fnc_mc = _mc; _mc.key = []; _mc.kate = _root.play_save - 1; if (!_root.my_so.data.last_play) { } _mc.attachMovie('corsor_mc', 'corsor_mc', _mc.getNextHighestDepth()); _mc.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; _mc.corsor_mc.fnc(); _mc.move_fnc = function (num) { if (num == 're') { } else { if ((num - 1) % 2 == 0) { this.kate += num - 2; } else { if (num % 2 == 0) { } } } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.sele_fnc(); this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; }; _mc.fnc = function (_mc) { _global.save_tg_num = this.kate + 1; _root.save_fnc('save'); menu_save_fnc_mc2.fnc(); trace(this.kate + 1 + ' にセーブしました'); menu_save_fnc_mc.attachMovie('black_mc', 'black_mc', menu_save_fnc_mc.getNextHighestDepth()); menu_save_fnc_mc.black_mc.gotoAndPlay('white'); menu_save_fnc_mc.black_mc._xscale = 340; menu_save_fnc_mc.black_mc._yscale = 340; menu_save_fnc_mc.black_mc.blendMode = 'add'; }; _mc.sele_fnc = function () {}; _mc.cancel_fnc = function () { f_menu_mc.cancel_fnc(f_menu_mc); }; var _mc = menu_save_fnc_mc.createEmptyMovieClip('menu_100', 100); _global.menu_save_fnc_mc2 = _mc; menu_save_fnc_mc2.fnc = function () { menu_save_fnc_mc.key = []; var v2 = 0; while (v2 < 3) { var v7 = _mc.createEmptyMovieClip('i' + v2, v2 + 100); if (my_so.data['save' + (v2 + 1)]) { var v8 = v7.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc('プレイ時間', v8, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v8 = v7.createTextField('ttt', 1, 0, 0, 144, 30); _root.format_fnc(_root.time_enc_fnc(_root.my_so.data['play_time' + (v2 + 1)], 'hun'), v8, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v8 = v7.createTextField('tttt', 2, 0, 0, 112, 30); _root.format_fnc(_root.time_enc_fnc(_root.my_so.data['play_time' + (v2 + 1)], 'ji') + ':', v8, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v8 = v7.createTextField('ttt', 10, 0, 18, 200, 30); _root.format_fnc('現在地:' + field_obj_data_data[_root.my_so.data['save' + (v2 + 1)].field_p][0][0][0], v8, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v7._x = 160; var v9 = [32, 100, 0]; var v6 = _mc.attachMovie('chara_mc', 'chara_mc' + v2, v2 + 1000); v6._x = v9[0] + 0; v6.def_x = v9[0] + 0; v6._y = v9[1] + 44 * v2; v6.def_y = v6._y; var v4 = ['my_name', 'chara_num', 'jinkei_num', 'hp', 'hpm', 'lp', 'lpm', 'wp', 'wpm', 'jp', 'jpm', 'weapon', 'skill_array', 'hadaka_num']; var v3 = 0; while (v3 < v4.length) { v6[v4[v3] + ''] = my_so.data['save' + (v2 + 1)].chara0[v4[v3] + '']; ++v3; } menu_stay_move_fnc(v6, 0); var v5 = _mc.createEmptyMovieClip('ii' + v2, v2 + 1010); v9 = [32, 100, 64]; v8 = v5.createTextField('t' + _mc.getNextHighestDepth(), _mc.getNextHighestDepth(), v9[2], v6._y, 100, 80); _root.format_fnc(my_so.data['save' + (v2 + 1)].chara0.my_name, v8, text_menu[0], 0, 0, 1, text_menu[1], 0, 10, 'menu'); var v10 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), v9[2], v8._y + 13, 200, 80); _root.format_fnc('HP', v10, 10, 4202528, 0, 0, 0, -1, 3, 'menu_n'); var v12 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), v9[2], v8._y + 13, 38, 80); _root.format_fnc(my_so.data['save' + (v2 + 1)].chara0.hp, v12, 10, 4202528, 2, 0, 1, -1, 3, 'menu_n'); var v11 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), 0, v8._y + 13, 120, 80); _root.format_fnc('LP', v11, 10, 9437184, 2, 1, 0, -1, 2, 'menu_n'); var v13 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), 0, v8._y + 13, 140, 80); _root.format_fnc(my_so.data['save' + (v2 + 1)].chara0.lp, v13, 10, 9437184, 2, 1, 1, -1, 2, 'menu_n'); } else { var v8 = _mc.createTextField('tt' + _mc.getNextHighestDepth(), 1000 + v2, 32, 0, 256, 30); _root.format_fnc('未使用', v8, text_menu[0], 0, 1, 0, text_menu[1], 0, 10, 'menu'); var v6 = v8; v6._y = 100 + v2 * 44; } v7._y = 100 + v2 * 44; menu_save_fnc_mc.key.push(v6); ++v2; } v7 = _mc.createEmptyMovieClip('now_play', 10500); v8 = v7.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc('プレイ時間', v8, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v8 = v7.createTextField('ttt', 1, 0, 0, 144, 30); _root.format_fnc(_root.time_enc_fnc(_root.play_time0, 'hun'), v8, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v8 = v7.createTextField('tttt', 2, 0, 0, 112, 30); _root.format_fnc(_root.time_enc_fnc(_root.play_time0, 'ji') + ':', v8, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v8 = v7.createTextField('ttt', 10, 0, 18, 200, 30); _root.format_fnc('現在地:' + field_obj_data_data[p.field_p][0][0][0], v8, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v7._x = 160; var v9 = [36, 26, 4]; v6 = _mc.attachMovie('chara_mc', 'chara_mc00', v2 + 1000); v6._x = v9[0] + 0; v6.def_x = v9[0] + 0; v6._y = v9[1]; v6.def_y = v6._y; var v4 = ['my_name', 'chara_num', 'jinkei_num', 'hp', 'hpm', 'lp', 'lpm', 'wp', 'wpm', 'jp', 'jpm', 'weapon', 'skill_array', 'hadaka_num', '', '', '', '', '']; var v3 = 0; while (v3 < v4.length) { v6[v4[v3] + ''] = p.party_data[0][v4[v3] + '']; ++v3; } menu_stay_move_fnc(v6, 0); var v5 = _mc.createEmptyMovieClip('iip', 1510); v9 = [32, 100, 64]; v8 = v5.createTextField('t' + _mc.getNextHighestDepth(), _mc.getNextHighestDepth(), v9[2], v6._y, 100, 80); _root.format_fnc(p.party_data[0].my_name, v8, text_menu[0], 0, 0, 1, text_menu[1], 0, 10, 'menu'); var v10 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), v9[2], v8._y + 13, 200, 80); _root.format_fnc('HP', v10, 10, 4202528, 0, 0, 0, -1, 3, 'menu_n'); var v12 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), v9[2], v8._y + 13, 38, 80); _root.format_fnc(p.party_data[0].hp, v12, 10, 4202528, 2, 0, 1, -1, 3, 'menu_n'); var v11 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), 0, v8._y + 13, 120, 80); _root.format_fnc('LP', v11, 10, 9437184, 2, 1, 0, -1, 2, 'menu_n'); var v13 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), 0, v8._y + 13, 140, 80); _root.format_fnc(p.party_data[0].lp, v13, 10, 9437184, 2, 1, 1, -1, 2, 'menu_n'); v7._y = 20; }; menu_save_fnc_mc2.fnc(); menu_save_fnc_mc.move_fnc(0); }; } frame 1 { _global.menu_chara_hontai_fnc = function (_mc, num) { var v4 = _mc.attachMovie('chara_mc', 'chara_mc', 5000); v4._x = 32; v4._y = 18; var v3 = ['my_name', 'chara_num', 'jinkei_num', 'hp', 'hpm', 'lp', 'lpm', 'wp', 'wpm', 'jp', 'jpm', 'weapon', 'skill_array', 'hadaka_num', '', '', '', '', '']; var v2 = 0; while (v2 < v3.length) { v4[v3[v2] + ''] = p.party_data[menu_tg_num][v3[v2] + '']; ++v2; } menu_stay_move_fnc(v4, num); var v6 = _mc.createEmptyMovieClip('tt_mc' + _mc.getNextHighestDepth(), _mc.getNextHighestDepth()); var v7 = v6.createTextField('tt', 0, 72, 24, 200, 30); _root.format_fnc(v4.my_name, v7, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); }; _global.menu_spel_fnc = function (_mc) { _mc.key = []; _mc.kate = 0; _mc.fnc = function () { _mc.corsor_mc.gotoAndPlay(1); }; _global.menu_spel_fnc_mc = _mc; menu_chara_hontai_fnc(_mc, 3); var v3 = 0; while (v3 < 8) { var v4 = menu_spel_fnc_mc.createEmptyMovieClip('skill_tg_' + v3, 1000 + v3); var v5 = v4.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc(anime_data[p.party_data[menu_tg_num].skill_array[v3]][0][1][0], v5, text_menu[0], 13373713, 0, 0, text_menu[1], 0, 10, 'menu'); v4._x = 24 + menu_kijun[exe_flg][0]; v4._y = 50 + v3 * 17; _mc.key.push(v4); if (!p.party_data[menu_tg_num].spel_array[v3]) { _root.format_fnc('----', v5, text_menu[0], 65793, 0, 1, text_menu[1], 0, 10, 'menu'); _root.format_fnc('--', ttt, text_menu[0], 65793, 0, 1, text_menu[1], 0, 10, 'menu'); } else { var v6 = v4.attachMovie('icon_mc', 'i' + menu_skill_fnc2_mc.getNextHighestDepth(), 1100 + v3); v6._x = -16; } ++v3; } }; _global.menu_skill_fnc3 = function (_mc) { menu_skill_fnc3_mc.corsor_mc.gotoAndPlay(1); anime_data[p.party_data[menu_tg_num].skill_array[ii]][0][1][0]; var v1 = 0; var ii = 0; while (ii < p.party_data[menu_tg_num].skill_array.length) { if (p.party_data[menu_tg_num].skill_array[ii] == menu_skill_fnc3_mc.key[menu_skill_fnc3_mc.kate].datas) { v1 = 1; trace(anime_data[menu_skill_fnc3_mc.key[menu_skill_fnc3_mc.kate].datas][0][1][0] + '覚えてた!'); break; } ++ii; } if (!v1 && p.party_data[menu_tg_num].skill_array.length < 8) { trace(anime_data[menu_skill_fnc3_mc.key[menu_skill_fnc3_mc.kate].datas][0][1][0] + 'を覚えた!'); p.party_data[menu_tg_num].skill_array.push(N(menu_skill_fnc3_mc.key[menu_skill_fnc3_mc.kate].datas + 0)); menu_skill_fnc(menu_skill_fnc2_mc); menu_skill_fnc3_mc.attachMovie('black_mc', 'black_mc', menu_skill_fnc3_mc.getNextHighestDepth()); menu_skill_fnc3_mc.black_mc.gotoAndPlay('white'); menu_skill_fnc3_mc.black_mc._xscale = 340; menu_skill_fnc3_mc.black_mc._yscale = 340; menu_skill_fnc3_mc.black_mc.blendMode = 'add'; menu_stay_move_fnc(menu_skill_fnc2_mc.chara_mc, 'kime'); } }; _global.menu_skill_fnc2 = function (_mc) { var v6 = [13, 0]; _mc = _global.f_menu_mc.attachMovie('f_menu_mc', 'menu_' + f_menu_mc.getNextHighestDepth(), f_menu_mc.getNextHighestDepth()); _global.menu_skill_fnc3_mc = _mc; f_menu_mc_tg_array.push(_mc); _mc.gotoAndStop(menu_tg_typ + '3'); _mc.key = []; _mc.kate = 0; _mc.page = 0; _mc.attachMovie('corsor_mc', 'corsor_mc', _mc.getNextHighestDepth()); _mc.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; _mc.corsor_mc.fnc(); _mc.move_fnc = function (num) { if ((num - 1) % 2 == 0) { this.kate += num - 2; } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; this.key[this.kate].sele_fnc(this.key[this.kate], this.key[this.kate].datas[1]); }; _mc.fnc = function (_mc) { menu_skill_fnc3(this); }; trace(menu_skill_fnc2_mc.kate + menu_tg_typ + ' kate = ' + anime_data[p.skill_array[0]][0][1][1]); var v8 = []; var v11 = []; var v4 = 0; while (v4 < p.skill_array.length) { if (anime_data[p.skill_array[v4]][0][1][1] == menu_skill_fnc2_mc.kate) { v8.push(p.skill_array[v4]); v11.push(v4); } ++v4; } trace('array = ' + v8); var v5 = _mc.createEmptyMovieClip('tt_mc' + _mc.getNextHighestDepth(), _mc.getNextHighestDepth()); var v10 = v5.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc(weapon_name_array_t[menu_skill_fnc2_mc.kate] + '技', v10, v6[0], 0, 0, 0, v6[1], 0, 10, 'menu'); v5._x = 190; v5._y = 30; var v12 = _mc.attachMovie('icon_mc', 'i' + _mc.getNextHighestDepth(), _mc.getNextHighestDepth()); v12._x = v5._x - 16; v12._y = v5._y; v4 = 0; while (v4 < 8) { v5 = _mc.createEmptyMovieClip('tt_mc' + _mc.getNextHighestDepth(), _mc.getNextHighestDepth()); v10 = v5.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc(anime_data[v8[v4]][0][1][0], v10, v6[0], 0, 0, 0, v6[1], 0, 10, 'menu'); var v9 = v5.createTextField('ttt', 1, 0, 0, 122 + menu_kijun[exe_flg][1], 30); _root.format_fnc(anime_data[v8[v4]][0][1][6], v9, v6[0], 0, 2, 1, v6[1], 0, 10, 'menu'); v5._x = 190; v5._y = 50 + v4 * 17; v5.datas = v8[v4]; v5.datas2 = v11[v4]; if (!v8[v4]) { _root.format_fnc('----', v10, v6[0], 0, 0, 1, v6[1], 0, 10, 'menu'); _root.format_fnc('--', v9, v6[0], 0, 0, 1, v6[1], 0, 10, 'menu'); } else { _mc.key.push(v5); } ++v4; } _mc.move_fnc(0); if (!_mc.key[0]) { _mc.corsor_mc._visible = false; _mc.fnc = function (_mc) {}; } }; _global.menu_skill_del_fnc2 = function (_mc, typ) { var v2 = menu_skill_del_fnc_mc.kate; trace('dell ' + p.party_data[menu_tg_num].skill_array); p.party_data[menu_tg_num].skill_array[menu_skill_del_fnc_mc.kate] = 0; sort_set_fnc(p.party_data[menu_tg_num].skill_array, 'tume'); menu_skill_fnc(menu_skill_fnc2_mc); var v1 = f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1]; f_menu_mc_tg_array.splice(f_menu_mc_tg_array.length - 1, 1); v1.removeMovieClip(); menu_states_fnc('re'); menu_skill_del_fnc(); trace('dell ' + p.party_data[menu_tg_num].skill_array); menu_skill_del_fnc_mc.kate = v2; menu_skill_del_fnc_mc.move_fnc(0); menu_stay_move_fnc(menu_skill_fnc2_mc.chara_mc, 'cancel'); }; _global.menu_skill_del_fnc = function (_mc, typ) { var v5 = [13, 0]; _mc = _global.f_menu_mc.createEmptyMovieClip('menu_menu_skill_del', f_menu_mc.getNextHighestDepth()); _global.menu_skill_del_fnc_mc = _mc; f_menu_mc_tg_array.push(_mc); _mc.key = []; _mc.kate = 0; _mc.attachMovie('corsor_mc', 'corsor_mc', _mc.getNextHighestDepth()); _mc.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; _mc.corsor_mc.fnc(); _mc.move_fnc = function (num) { if ((num - 1) % 2 == 0) { this.kate += num - 2; } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; this.key[this.kate].sele_fnc(this.key[this.kate], this.key[this.kate].datas[1]); }; _mc.fnc = function () { menu_skill_del_fnc2(this); }; var v3 = 0; while (v3 < 8) { menu_skill_del_fnc_mc.key.push(menu_skill_fnc2_mc['skill_tg_' + v3]); ++v3; } _mc.move_fnc(0); }; _global.menu_skill_fnc = function (_mc, typ) { var v3 = [13, 1]; _mc.key = []; _global.menu_skill_fnc2_mc = _mc; menu_chara_hontai_fnc(_mc, 3); var v4 = 0; while (v4 < 8) { var v6 = menu_skill_fnc2_mc.createEmptyMovieClip('skill_tg_' + v4, 1000 + v4); var v8 = v6.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc(anime_data[p.party_data[menu_tg_num].skill_array[v4]][0][1][0], v8, v3[0], 13373713, 0, 0, v3[1], 0, 10, 'menu'); var v5 = 0; while (v5 < p.skill_array.length) { if (p.skill_array[v5] == p.party_data[menu_tg_num].skill_array[v4]) { _root.format_fnc(anime_data[p.party_data[menu_tg_num].skill_array[v4]][0][1][0], v8, v3[0], 65793, 0, 0, v3[1], 0, 10, 'menu'); break; } ++v5; } var v9 = v6.createTextField('ttt', 1, 0, 0, 130 + menu_kijun[exe_flg][1] * 2, 30); _root.format_fnc(anime_data[p.party_data[menu_tg_num].skill_array[v4]][0][1][6], v9, v3[0], 0, 2, 1, v3[1], 0, 10, 'menu'); v6._x = 24 + menu_kijun[exe_flg][0]; v6._y = 50 + v4 * 17; if (!p.party_data[menu_tg_num].skill_array[v4]) { _root.format_fnc('----', v8, v3[0], 65793, 0, 1, v3[1], 0, 10, 'menu'); _root.format_fnc('--', v9, v3[0], 65793, 0, 1, v3[1], 0, 10, 'menu'); } else { var v10 = v6.attachMovie('icon_mc', 'i' + menu_skill_fnc2_mc.getNextHighestDepth(), 1100 + v4); v10._x = -16; } ++v4; } var v7 = ['剣技', '大剣技', '斧技', '棍棒技', '槍技', '小剣技', '手裏剣技', '体術', '弓技', '封印する']; v4 = 0; while (v4 < v7.length) { v6 = menu_skill_fnc2_mc.createEmptyMovieClip('tt_mc' + menu_skill_fnc2_mc.getNextHighestDepth(), 1200 + v4); v8 = v6.createTextField('tt', 0, 16, 0, 200, 30); _root.format_fnc(v7[v4], v8, v3[0], 0, 0, 0, v3[1], 0, 10, 'menu'); if (v4 == v7.length - 1) { v8._x -= 16; _root.format_fnc(v7[v4], v8, v3[0], 4317, 0, 0, v3[1], 0, 10, 'menu'); } v6._x = 200; v6._y = 30 + v4 * 17; v10 = v6.attachMovie('icon_mc', 'i' + v4, 1300 + v4); v10._x = 0; menu_skill_fnc2_mc.key.push(v6); if (v4 == v7.length - 1) { v6._x += 20; v6._y += 4; v10._alpha = 0; } ++v4; } menu_skill_fnc2_mc.fnc = function (menu_skill_fnc2_mc) { trace(_global.menu_skill_fnc2_mc.kate + '_' + _global.menu_skill_fnc2_mc.key.length); if (_global.menu_skill_fnc2_mc.kate == _global.menu_skill_fnc2_mc.key.length - 1) { _global.menu_skill_del_fnc(_global.menu_skill_fnc2_mc); } else { _global.menu_skill_fnc2(_global.menu_skill_fnc2_mc); } }; menu_skill_fnc2_mc.move_fnc(0); }; _global.menu_equip_fnc3 = function (_mc) { if (menu_equip_fnc2_bu_mc.kate < 4) { var v5 = p.party_data[menu_tg_num].weapon[menu_equip_fnc2_bu_mc.kate]; p.party_data[menu_tg_num].weapon[menu_equip_fnc2_bu_mc.kate] = _mc.key[_mc.kate].datas; if (!_mc.key[_mc.kate].datas) { p.party_data[menu_tg_num].weapon[menu_equip_fnc2_bu_mc.kate] = 0; menu_stay_move_fnc(menu_equip_fnc_mc.chara_mc, 3); } else { menu_stay_move_fnc(menu_equip_fnc_mc.chara_mc, 'kime'); } } else { var v5 = p.party_data[menu_tg_num].equip[menu_equip_fnc2_bu_mc.kate - 4]; p.party_data[menu_tg_num].equip[menu_equip_fnc2_bu_mc.kate - 4] = _mc.key[_mc.kate].datas; if (!_mc.key[_mc.kate].datas) { p.party_data[menu_tg_num].equip[menu_equip_fnc2_bu_mc.kate - 4] = 0; menu_stay_move_fnc(menu_equip_fnc_mc.chara_mc, 3); } else { menu_stay_move_fnc(menu_equip_fnc_mc.chara_mc, 'kime'); } } if (!p.item_data[_mc.key[_mc.kate].datas2]) { trace('はずす処理'); p.item_data.push(v5); menu_stay_move_fnc(menu_equip_fnc_mc.chara_mc, 'cancel'); } else { p.item_data[_mc.key[_mc.kate].datas2] = v5; } if (menu_tg_num == 0) { var v4 = 0; var v2 = 0; while (v2 < 4) { v4 += p.party_data[menu_tg_num].equip[v2]; ++v2; } if (v4 == 0) { trace('ヤエちゃん裸です'); p.chara0.hadaka_num = 1; } else { trace('ヤエちゃんです'); p.chara0.hadaka_num = 0; } menu_equip_fnc_mc.chara_mc.hadaka_num = p.chara0.hadaka_num + 0; f_menu_mc.chara_mc0.hadaka_num = p.chara0.hadaka_num + 0; tg_mc.hadaka_num = p.chara0.hadaka_num + 0; tg_mc.mc._y = (tg_mc.chara_num + tg_mc.hadaka_num) * -_global.rule.player_chara_tip_size[1]; } sort_set_fnc(p.item_data, 'tume'); var v6 = f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1]; f_menu_mc_tg_array.splice(f_menu_mc_tg_array.length - 1, 1); v6.removeMovieClip(); f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].corsor_mc.gotoAndPlay(1); menu_equip_fnc(menu_equip_fnc_mc, 1); }; _global.menu_equip_fnc2 = function (_mc, typ) { if (!typ) { _global.menu_equip_fnc2_bu_mc = _mc; } trace(_mc.kate); var text_menu = [13, 0]; var _mc = _global.f_menu_mc.attachMovie('f_menu_mc', 'menu_' + f_menu_mc.getNextHighestDepth(), f_menu_mc.getNextHighestDepth()); f_menu_mc_tg_array.push(_mc); _mc.gotoAndStop(menu_tg_typ + '3'); _mc.key = []; _mc.kate = 0; _mc.page = 0; _mc.pagem = 0; _mc.attachMovie('corsor_mc', 'corsor_mc', _mc.getNextHighestDepth()); _mc.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; _mc.corsor_mc.fnc(); _mc.move_fnc = function (num) { if (num == 're') { } else { if ((num - 1) % 2 == 0) { this.kate += num - 2; } else { if (num % 2 == 0) { this.page += num - 1; } } } if (this.page > this.pagem) { this.page = 0; } if (this.page < 0) { this.page = this.pagem; } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.re_fnc(this); this.sele_fnc(); this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; }; _mc.fnc = function (_mc) { var v3 = [0, 0, 0, 0, 0, 0, 0]; var v4 = [0, 0, 0, 0, 0, 0, 0]; var v2 = 0; while (v2 < 4) { trace('カテゴリ' + N(menu_equip_fnc2_bu_mc.kate - 4) + ' _ ' + v2); if (N(menu_equip_fnc2_bu_mc.kate - 4) == v2) { } else { v4[item_data[p.party_data[menu_tg_num].equip[v2]][1]] = 1; if (item_data[p.party_data[menu_tg_num].equip[v2]][1] > 0) { if (item_data[p.party_data[menu_tg_num].equip[v2]][1] % 3 == 0) { } else { v4[0] = 1; } } if (item_data[p.party_data[menu_tg_num].equip[v2]][1] == 0) { v4[1] = 1; v4[2] = 1; v4[4] = 1; v4[5] = 1; } } v3[item_data[p.party_data[menu_tg_num].equip[v2]][1]] = p.party_data[menu_tg_num].equip[v2]; v3[item_data[p.party_data[menu_tg_num].equip[v2]][1]] = 1; if (item_data[p.party_data[menu_tg_num].equip[v2]][1] > 0) { if (item_data[p.party_data[menu_tg_num].equip[v2]][1] % 3 == 0) { } else { v3[0] = 1; } } if (item_data[p.party_data[menu_tg_num].equip[v2]][1] == 0) { v3[1] = 1; v3[2] = 1; v3[4] = 1; v3[5] = 1; } ++v2; } trace('equip_array = ' + v3 + ' 2 = ' + v4); if (menu_equip_fnc2_bu_mc.kate >= 4) { if (!v4[item_data[this.key[this.kate].datas][1]]) { trace('全身よろい 交換'); menu_equip_fnc3(this); } else { if (!p.item_data[this.key[this.kate].datas2]) { menu_equip_fnc3(this); } else { this.corsor_mc.gotoAndPlay(1); trace('ダメ'); } } } else { menu_equip_fnc3(this); } }; array = []; array2 = []; if (menu_equip_fnc2_bu_mc.kate < 4) { var v5 = 0; while (v5 < p.item_data.length) { if (p.item_data[v5] < 200) { array.push(p.item_data[v5] + 0); array2.push(v5); } ++v5; } } else { var v5 = 0; while (v5 < p.item_data.length) { if (p.item_data[v5] >= 200) { array.push(p.item_data[v5] + 0); array2.push(v5); } ++v5; } } _mc.sele_fnc = function () { _mc = this; if (this.key[this.kate].datas) { var v11 = this.createEmptyMovieClip('states8', 1800); var v3 = v11.attachMovie('black_mc', 'black_mc', 100); v3.gotoAndStop('datas'); v3._alpha = 20; v11._x = 164; v11._y = 178; if (menu_equip_fnc_mc.kate < 4) { v11 = this.createEmptyMovieClip('states9', 1900); var v9 = v11.createTextField('tt', 110, 0, 0, 100, 30); var v7 = v11.createTextField('ttt', 1, 0, 0, 80, 30); if (this.key[this.kate].datas >= 197 && this.key[this.kate].datas < 200) { _root.format_fnc('HP回復:', v9, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); _root.format_fnc(N(item_data[this.key[this.kate].datas][5]) * -1, v7, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); } else { _root.format_fnc('武器威力:', v9, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); _root.format_fnc(item_data[this.key[this.kate].datas][5], v7, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); } } else { v11 = this.createEmptyMovieClip('states9', 1900); var v9 = v11.createTextField('tt', 110, 0, 0, 100, 30); _root.format_fnc('物理防御:', v9, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); var v7 = v11.createTextField('ttt', 1, 0, 0, 80, 30); _root.format_fnc(bougyo_fnc(this.key[this.kate].datas), v7, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); var v10 = v11.createTextField('tttt', 2, 0, 16, 70, 30); _root.format_fnc('魔法防御:', v10, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v7 = v11.createTextField('ttt', 3, 0, 16, 80, 30); _root.format_fnc(m_bougyo_fnc(this.key[this.kate].datas), v7, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); } v11._x = 168; v11._y = 182; } else { var v11 = this.createEmptyMovieClip('states8', 1800); v11 = this.createEmptyMovieClip('states9', 1900); } if (menu_equip_fnc_mc.kate >= 4) { var v6 = bougyo_fnc(this.key[this.kate].datas) - bougyo_fnc(p.party_data[menu_tg_num].equip[menu_equip_fnc_mc.kate - 4]); var v5 = m_bougyo_fnc(this.key[this.kate].datas) - m_bougyo_fnc(p.party_data[menu_tg_num].equip[menu_equip_fnc_mc.kate - 4]); var v3 = _mc.createEmptyMovieClip('states10', 2000); var v7 = v3.createTextField('ttt', 1, 0, 0, 82, 30); if (v6 < 0) { _root.format_fnc('-' + Math.abs(v6), v7, text_menu[0], 14483456, 0, 0, text_menu[1], 0, 10, 'menu'); } else { _root.format_fnc('+' + v6, v7, text_menu[0], 35054, 0, 0, text_menu[1], 0, 10, 'menu'); } v3._x = 107; v3._y = 190; var v4 = _mc.createEmptyMovieClip('states11', 2100); var v8 = v4.createTextField('ttttt', 3, 0, 0, 82, 30); if (v5 < 0) { _root.format_fnc('-' + Math.abs(v5), v8, text_menu[0], 14483456, 0, 0, text_menu[1], 0, 10, 'menu'); } else { _root.format_fnc('+' + v5, v8, text_menu[0], 35054, 0, 0, text_menu[1], 0, 10, 'menu'); } v4._x = v3._x; v4._y = v3._y + 16; } }; _mc.pagem = Math.max(0, Math.ceil(array.length / 8) - 1); _mc.re_fnc = function (_mc, typ) { var v7 = _mc.createEmptyMovieClip('states6', 1600); _mc = this; _mc.key = []; var v3 = 0; while (v3 < 8) { var v6 = v7.createEmptyMovieClip('i' + v3, v3); var v8 = v6.createTextField('tt', 0, 16, 0, 200, 30); _root.format_fnc(item_data[array[v3 + 8 * _mc.page]][0], v8, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); if (!array[v3 + 8 * _mc.page]) { _root.format_fnc('----', v8, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v6.datas2 = p.item_data.length + 1 + v3; v6.datas = 0; } else { v6.datas2 = N(array2[v3 + 8 * _mc.page] + 0); v6.datas = N(array[v3 + 8 * _mc.page] + 0); var v5 = v6.attachMovie('icon_mc', 'i', 10); } _mc.key.push(v6); v6._x = 186; v6._y = 24 + v3 * 16; ++v3; } v6 = v7.createEmptyMovieClip('i10', 10); v8 = v6.createTextField('tt', 0, 16, 0, 200, 30); _root.format_fnc('装備はずす', v8, text_menu[0], 4317, 0, 0, text_menu[1], 0, 10, 'menu'); v6._x = 194; v6._y = 152; _mc.key.push(v6); v7 = _mc.createEmptyMovieClip('states7', 1700); v6 = v7.createEmptyMovieClip('i', 1); v8 = v6.createTextField('tt', 0, 0, 0, 100, 30); _root.format_fnc(_mc.page + ' / ' + _mc.pagem, v8, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v6._x = 212; v6._y = 8; }; _mc.re_fnc(this); _mc.move_fnc('re'); }; _global.menu_equip_fnc = function (_mc, typ) { if (!typ) { _global.menu_equip_fnc_mc = _mc; menu_chara_hontai_fnc(_mc, 3); } var v4 = [13, 0]; _mc.key = []; var v5 = 0; while (v5 < 4) { if (v5 == 0) { var v10 = _mc.createEmptyMovieClip('eq1' + v5, 1100 + v5); var v8 = v10.createTextField('tt', 2, 0, 0, 200, 30); _root.format_fnc('武器:', v8, v4[0], 0, 0, 0, v4[1], 0, 10, 'menu'); v10._x = 8 + menu_kijun[exe_flg][0]; v10._y = 46; } v10 = _mc.createEmptyMovieClip('eq' + v5, 1000 + v5); v8 = v10.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc(item_data[p.party_data[menu_tg_num].weapon[v5]][0], v8, v4[0], 0, 0, 0, v4[1], 0, 10, 'menu'); v10._x = 56; v10._y = 46 + v5 * 16; if (p.party_data[menu_tg_num].weapon[v5] == 0) { _root.format_fnc('----', v8, v4[0], 0, 0, 0, v4[1], 0, 10, 'menu'); } else { var v7 = v10.attachMovie('icon_mc', 'i', 10); v7._x = -16; } _mc.key.push(v10); ++v5; } v5 = 0; while (v5 < 4) { if (v5 == 0) { v10 = _mc.createEmptyMovieClip('eq1' + v5, 1200 + v5); v8 = v10.createTextField('tt', 2, 0, 0, 200, 30); _root.format_fnc('防具:', v8, v4[0], 0, 0, 0, v4[1], 0, 10, 'menu'); v10._x = 8 + menu_kijun[exe_flg][0]; v10._y = 117; } v10 = _mc.createEmptyMovieClip('eq' + v5 + 4, 1005 + v5); v8 = v10.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc(item_data[p.party_data[menu_tg_num].equip[v5]][0], v8, v4[0], 0, 0, 0, v4[1], 0, 10, 'menu'); if (p.party_data[menu_tg_num].equip[v5] == 0) { _root.format_fnc('----', v8, v4[0], 0, 0, 0, v4[1], 0, 10, 'menu'); } else { v7 = v10.attachMovie('icon_mc', 'i', 10); v7._x = -16; } v10._x = 56; v10._y = 113 + v5 * 16 + 4; _mc.key.push(v10); ++v5; } v10 = _mc.createEmptyMovieClip('states4', 1400); v8 = v10.createTextField('tt', 0, 0, 0, 100, 30); _root.format_fnc('物理防御:', v8, v4[0], 0, 0, 0, v4[1], 0, 10, 'menu'); var v11 = v10.createTextField('ttt', 1, 0, 0, 80, 30); _root.format_fnc(bougyo_all_fnc(this.kate), v11, v4[0], 0, 2, 1, v4[1], 0, 10, 'menu'); v10._x = 28; v10._y = 190; v10 = _mc.createEmptyMovieClip('states5', 1500); var v13 = v10.createTextField('tttt', 2, 0, 0, 100, 30); _root.format_fnc('魔法防御:', v13, v4[0], 0, 0, 0, v4[1], 0, 10, 'menu'); var v12 = v10.createTextField('ttttt', 3, 0, 0, 80, 30); _root.format_fnc(m_bougyo_all_fnc(this.kate), v12, v4[0], 0, 2, 1, v4[1], 0, 10, 'menu'); v10._x = 28; v10._y = 206; v10 = _mc.createEmptyMovieClip('states6', 1600); v5 = 0; while (v5 < 8) { v7 = v10.createEmptyMovieClip('i', v5); v8 = v7.createTextField('tt', 0, 16, 0, 200, 30); _root.format_fnc(item_data[p.item_data[v5]][0], v8, v4[0], 0, 0, 0, v4[1], 0, 10, 'menu'); if (!p.item_data[v5]) { _root.format_fnc('----', v8, v4[0], 0, 0, 0, v4[1], 0, 10, 'menu'); } else { var v9 = v7.attachMovie('icon_mc', 'i', 10); } v7._x = 186; v7._y = 24 + v5 * 16; ++v5; } _mc.fnc = function (_mc) { menu_equip_fnc2(this); }; _mc.corsor_mc.swapDepths(_mc.getNextHighestDepth()); _mc.move_fnc(0); _mc.sele_fnc = function (_mc) {}; }; _global.menu_states_fnc = function (tg, typ, _mc, kate) { if (tg == 're') { } else { this.kate = kate; } var v8 = ['wanryoku', 'kiyousa', 'subayasa', 'tairyoku', 'maryoku', 'isiryoku', 'miryoku']; var v7 = ['斬', '殴', '突', '体', '弓']; var v4 = menu_states_fnc_mc.createEmptyMovieClip('states5', 1500); var v6 = v4.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc(katagaki_array[p.party_data[this.kate].chara_num], v6, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); var v5 = v4.createTextField('ttt', 1, 0, 0, 144 + menu_kijun[exe_flg][1], 30); _root.format_fnc('性別:' + sex_array_name[sex_array[p.party_data[this.kate].chara_num]], v5, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v4._x = 160 + menu_kijun[exe_flg][0]; v4._y = 16; v4 = menu_states_fnc_mc.createEmptyMovieClip('states4', 1400); v6 = v4.createTextField('tt', 0, 0, 0, 64, 30); _root.format_fnc('物理防御', v6, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('ttt', 1, 0, 0, 72 + menu_kijun[exe_flg][1], 30); _root.format_fnc(bougyo_all_fnc(this.kate), v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); var v11 = v4.createTextField('tttt', 2, 72, 0, 128 + menu_kijun[exe_flg][1], 30); _root.format_fnc('魔法防御', v11, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); var v10 = v4.createTextField('ttttt', 3, 0, 0, 144 + menu_kijun[exe_flg][1], 30); _root.format_fnc(m_bougyo_all_fnc(this.kate), v10, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v4._x = 160 + menu_kijun[exe_flg][0]; v4._y = 32; var v9 = ['HP', 'hp', 'LP', 'lp', '/', 'lpm']; v4 = menu_states_fnc_mc.createEmptyMovieClip('states22', 1250); v6 = v4.createTextField('tt', 0, 0, 0, 30, 30); _root.format_fnc(v9[0], v6, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('ttt', 1, 0, 0, 60 + menu_kijun[exe_flg][1], 30); _root.format_fnc(p.party_data[this.kate][v9[1]], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v6 = v4.createTextField('tt', 10, 0, 0, 94 + menu_kijun[exe_flg][1], 30); _root.format_fnc(v9[2], v6, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('ttt', 11, 0, 0, 114 + menu_kijun[exe_flg][1], 30); _root.format_fnc(p.party_data[this.kate][v9[3]], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('tttt', 2, 0, 0, 124 + menu_kijun[exe_flg][1], 30); _root.format_fnc(v9[4], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('ttttt', 3, 0, 0, 144 + menu_kijun[exe_flg][1], 30); _root.format_fnc(p.party_data[this.kate][v9[5]], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v4._x = 160 + menu_kijun[exe_flg][0]; v4._y = 48; v9 = ['技', 'wp', '/', 'wpm']; v4 = menu_states_fnc_mc.createEmptyMovieClip('states3', 1300); v6 = v4.createTextField('tt', 0, 0, 0, 30 + menu_kijun[exe_flg][1], 30); _root.format_fnc(v9[0], v6, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('ttt', 1, 0, 0, 80 + menu_kijun[exe_flg][1], 30); _root.format_fnc(p.party_data[this.kate][v9[1]], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('tttt', 2, 0, 0, 92 + menu_kijun[exe_flg][1], 30); _root.format_fnc(v9[2], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('ttttt', 3, 0, 0, 120 + menu_kijun[exe_flg][1], 30); _root.format_fnc(p.party_data[this.kate][v9[3]], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v4._x = 170 + menu_kijun[exe_flg][0]; v4._y = 64; v9 = ['術', 'jp', '/', 'jpm']; v4 = menu_states_fnc_mc.createEmptyMovieClip('states2', 1200); v6 = v4.createTextField('tt', 0, 0, 0, 30 + menu_kijun[exe_flg][1], 30); _root.format_fnc(v9[0], v6, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('ttt', 1, 0, 0, 80 + menu_kijun[exe_flg][1], 30); _root.format_fnc(p.party_data[this.kate][v9[1]], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('tttt', 2, 0, 0, 92 + menu_kijun[exe_flg][1], 30); _root.format_fnc(v9[2], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('ttttt', 3, 0, 0, 120 + menu_kijun[exe_flg][1], 30); _root.format_fnc(p.party_data[this.kate][v9[3]], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v4._x = 170 + menu_kijun[exe_flg][0]; v4._y = 80; var v3 = 0; while (v3 < v7.length) { v4 = menu_states_fnc_mc.createEmptyMovieClip('weapons' + v3, 1100 + v3); v6 = v4.createTextField('tt', 0, 0, 0, 70 + menu_kijun[exe_flg][1], 30); _root.format_fnc(v7[v3] + 'Lv', v6, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('ttt', 1, 0, 0, 54 + menu_kijun[exe_flg][1], 30); _root.format_fnc(p.party_data[this.kate].weapon_lv[v3], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v4._x = 250 + menu_kijun[exe_flg][0]; v4._y = 96 + v3 * 16; ++v3; } v3 = 0; while (v3 < v8.length) { v4 = menu_states_fnc_mc.createEmptyMovieClip('statess' + v3, 1000 + v3); v6 = v4.createTextField('tt', 0, 0, 0, 160, 30); _root.format_fnc(states_name_array_t[v3], v6, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v5 = v4.createTextField('ttt', 1, 0, 0, 74 + menu_kijun[exe_flg][1], 30); _root.format_fnc(p.party_data[this.kate][v8[v3]], v5, text_menu[0], 0, 2, 1, text_menu[1], 0, 10, 'menu'); v4._x = 160 + menu_kijun[exe_flg][0]; v4._y = 96 + v3 * 16; ++v3; } }; } frame 1 { key_lis_field_menu = new Object(); key_lis_field_menu.onKeyDown = function () { if (!key_flg) { if (Key.getCode() == l_btm) { f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].move_fnc(0); } if (Key.getCode() == u_btm) { f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].move_fnc(1); } if (Key.getCode() == r_btm) { f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].move_fnc(2); } if (Key.getCode() == d_btm) { f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].move_fnc(3); } if (Key.getCode() == kettei_btm) { f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].corsor_mc._alpha = 50; f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].fnc(); } if (Key.getCode() == cancel_btm) { var tg = f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1]; f_menu_mc_tg_array.splice(f_menu_mc_tg_array.length - 1, 1); f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].corsor_mc.gotoAndPlay(1); if (f_menu_mc_tg_array.length < 1) { trace('field復帰'); Key.removeListener(key_lis_field_menu); _global.key_flg = false; var v5 = display_mc.createEmptyMovieClip('display_mc2', display_mc.getNextHighestDepth()); v5.tg = tg; v5.my_end_fnc = function () { trace('field復帰2'); _global.master_enemy_move_flg = false; _global.touch_ero_fnc_end('guard_end'); if (_global.hadaka_kioku != p.chara0.hadaka_num) { if (p.chara0.hadaka_num) { _global.tatie_fnc('hadaka'); } else { _global.tatie_fnc('stay'); } trace('field_hukki fnc end'); } this.tg.removeMovieClip(); f_menu_mc.removeMovieClip(); f_menu_mc_tg_array[0].removeMovieClip(); f_menu_mc_tg_array = []; Key.addListener(_root.key_lis_field); key_lis_field_move_mc_fnc(); trace('field hukki fnc end2'); }; b_o_lag_fnc(v5, 2, 10, 4); } else { tg.cancel_fnc(); tg.removeMovieClip(); menu_states_fnc('re'); menu_skill_fnc2_mc.chara_mc.move_fnc(menu_skill_fnc2_mc.chara_mc, 3); menu_equip_fnc_mc.chara_mc.move_fnc(menu_equip_fnc_mc.chara_mc, 3); if (f_menu_mc_tg_array[f_menu_mc_tg_array.length - 2] == f_menu_mc.menu_kategori) { menu_stay_move_fnc(f_menu_mc['chara_mc' + f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].kate], 'kime2'); } if (f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1] == f_menu_mc.menu_kategori) { var v4 = 0; while (v4 < p.party_data.length) { menu_stay_move_fnc(f_menu_mc['chara_mc' + v4], 0); f_menu_mc['chara_mc' + v4]._x = f_menu_mc['chara_mc' + v4].def_x; ++v4; } } } } if (Key.getCode() == menu_btm) { } } }; } frame 1 { _global.field_menu_fnc = function (typ, n1) { _global.f_menu_mc_tg_array = []; _global.f_menu_mc = _root.display_mc.attachMovie('f_menu_mc', 'f_menu_mc', 1000); var v16 = [32, 16, 60, 34]; Key.addListener(key_lis_field_menu); var v7 = ['my_name', 'chara_num', 'jinkei_num', 'hp', 'hpm', 'lp', 'lpm', 'wp', 'wpm', 'jp', 'jpm', 'weapon', 'skill_array', 'hadaka_num', '', '', '', '', '']; var v4 = 0; while (v4 < 5) { if (p.party_data[v4]) { var i_mc = f_menu_mc.attachMovie('chara_mc', 'chara_mc' + v4, f_menu_mc.getNextHighestDepth()); i_mc._x = v16[0] + 0; i_mc.def_x = v16[0] + 0; i_mc._y = v16[1] + 32 * v4; var v5 = 0; while (v5 < v7.length) { i_mc[v7[v5] + ''] = p.party_data[v4][v7[v5] + '']; ++v5; } menu_stay_move_fnc(i_mc, 0); var v12 = f_menu_mc.createTextField('t' + f_menu_mc.getNextHighestDepth(), f_menu_mc.getNextHighestDepth(), v16[2], i_mc._y, 100, 80); _root.format_fnc(p.party_data[v4].my_name, v12, text_menu[0], 0, 0, 1, text_menu[1], 0, 10, 'menu'); var v9 = f_menu_mc.createTextField('t' + f_menu_mc.getNextHighestDepth(), f_menu_mc.getNextHighestDepth(), v16[2], v12._y + 13, 200, 80); _root.format_fnc('HP', v9, 10, 4202528, 0, 0, 0, -1, 3, 'menu_n'); var v13 = f_menu_mc.createTextField('t' + f_menu_mc.getNextHighestDepth(), f_menu_mc.getNextHighestDepth(), v16[2], v12._y + 13, 38, 80); _root.format_fnc(p.party_data[v4].hp, v13, 10, 4202528, 2, 0, 1, -1, 3, 'menu_n'); var v10 = f_menu_mc.createTextField('t' + f_menu_mc.getNextHighestDepth(), f_menu_mc.getNextHighestDepth(), 0, v12._y + 13, 120, 80); _root.format_fnc('LP', v10, 10, 9437184, 2, 1, 0, -1, 2, 'menu_n'); var v14 = f_menu_mc.createTextField('t' + f_menu_mc.getNextHighestDepth(), f_menu_mc.getNextHighestDepth(), 0, v12._y + 13, 140, 80); _root.format_fnc(p.party_data[v4].lp + '/', v14, 10, 9437184, 2, 1, 1, -1, 2, 'menu_n'); var v11 = f_menu_mc.createTextField('t' + f_menu_mc.getNextHighestDepth(), f_menu_mc.getNextHighestDepth(), 0, v12._y + 13, 152, 80); _root.format_fnc(p.party_data[v4].lpm, v11, 10, 9437184, 2, 1, 1, -1, 2, 'menu_n'); name_array.push(i_mc); } else {} ++v4; } f_menu_mc.cancel_fnc = function (f_menu_mc) { var v3 = [160 + menu_kijun[exe_flg][0], 168, 148 + menu_kijun[exe_flg][1]]; var v2 = f_menu_mc.createEmptyMovieClip('states_fmenu', 50); var v6 = v2.createTextField('t' + v2.getNextHighestDepth(), 100, v3[0], v3[1], 200, 30); _root.format_fnc('現在地:', v6, text_menu[0], 0, 0, 0, 1, 0, 10, 'menu'); v6 = v2.createTextField('t' + v2.getNextHighestDepth(), 101, v3[0], v3[1], v3[2], 30); _root.format_fnc(map_obj_data[p.map_p[0]][p.map_p[1]][p.map_p[2]][4], v6, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); var v5 = [v3[0], v3[1] + 16]; v6 = v2.createTextField('t' + v2.getNextHighestDepth(), 102, v5[0], v5[1], 180, 30); _root.format_fnc('所持金:', v6, text_menu[0], 0, 0, 0, 1, 0, 10, 'menu'); v6 = v2.createTextField('t' + v2.getNextHighestDepth(), 103, v5[0], v5[1], v3[2], 30); _root.format_fnc(p.okane + ' 金', v6, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); var v4 = [v3[0], v3[1] + 32]; v6 = v2.createTextField('t' + v2.getNextHighestDepth(), 104, v4[0], v4[1], 180, 30); _root.format_fnc('陣形 :', v6, text_menu[0], 0, 0, 0, 1, 0, 10, 'menu'); v6 = v2.createTextField('t' + v2.getNextHighestDepth(), 105, v4[0], v4[1], v3[2], 30); _root.format_fnc(jinkei_array[p.jinkei][5], v6, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); }; f_menu_mc.cancel_fnc(f_menu_mc); _global.key_flg = false; var i_mc = f_menu_mc.createEmptyMovieClip('menu_kategori', f_menu_mc.getNextHighestDepth()); f_menu_mc_tg_array.push(i_mc); i_mc.key_array = [['装備', 'equip'], ['技', 'skill'], ['術', 'spel'], ['所持品', 'item'], ['戦闘陣形', 'jinkei'], ['オプション', 'option'], ['セーブ', 'save']]; i_mc.key = []; i_mc.kate = 0; i_mc.datas = i_mc.key_array; v16 = [184, 24]; v4 = 0; while (v4 < i_mc.key_array.length) { var v6 = f_menu_mc.createEmptyMovieClip('tg_' + v4, f_menu_mc.getNextHighestDepth()); v6.datas = i_mc.key_array[v4].slice(); v6._x = v16[0]; v6._y = v16[1] + v4 * 18; var v12 = v6.createTextField('t' + v6.getNextHighestDepth(), v6.getNextHighestDepth(), 0, 0, 100, 80); _root.format_fnc(i_mc.key_array[v4][0] + '', v12, text_menu[0], 0, 0, 1, text_menu[1], 0, 10, 'menu'); i_mc.key.push(v6); ++v4; } i_mc.move_fnc = function (num) { if ((num - 1) % 2 == 0) { this.kate += num - 2; } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } i_mc.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; i_mc.corsor_mc._y = this.key[this.kate]._y; }; i_mc.fnc = function () { var v5 = _global.f_menu_mc.attachMovie('f_menu_mc', 'menu_' + this.key[this.kate].datas[1], 100 + this.kate); v5.datas = this.key[this.kate].datas.slice(); f_menu_mc_tg_array.push(v5); f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].gotoAndStop(this.key[this.kate].datas[1]); f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].tt.text = v5.datas; v5.key = []; v5.kate = 0; if (this.key[this.kate][1] == 'item') { v5.key = []; var v4 = v5.attachMovie('obj_mc', 'gomi', 2); v4._x = 290; v4._y = 220; } else { if (this.key[this.kate].datas[1] == 'jinkei') { _global.menu_states_fnc_mc = 0; menu_jinkei_fnc(v5); } else { if (this.key[this.kate].datas[1] == 'save') { _global.menu_states_fnc_mc = 0; menu_save_fnc(v5); } else { if (this.key[this.kate].datas[1] == 'spel' || this.key[this.kate].datas[1] == 'skill' || this.key[this.kate].datas[1] == 'equip') { _global.menu_states_fnc_mc = v5; var v3 = 0; while (v3 < p.party_data.length) { var v4 = v5.createEmptyMovieClip('chara_mc' + v3, v3); f_menu_mc['chara_mc' + v3]; v4.key = []; v4.kate = v3; v4._x = f_menu_mc['chara_mc' + v3]._x; v4._y = f_menu_mc['chara_mc' + v3]._y; v4.datas = v5.datas; v5.key.push(v4); v4.sele_fnc = function (tg, typ) { trace('sele fnc ' + typ + ' ' + this.kate); menu_states_fnc(0, 0, this._parent, this.kate); var v2 = 0; while (v2 < p.party_data.length) { menu_stay_move_fnc(f_menu_mc['chara_mc' + v2], 0); f_menu_mc['chara_mc' + v2]._x = f_menu_mc['chara_mc' + v2].def_x; ++v2; } menu_stay_move_fnc(f_menu_mc['chara_mc' + this.kate], 'kime2'); f_menu_mc['chara_mc' + this.kate]._x = f_menu_mc['chara_mc' + this.kate].def_x - 10; }; v4.fnc = function (tg, typ) { var v3 = _global.f_menu_mc.attachMovie('f_menu_mc', 'menu_' + this.key[this.kate].datas[1], f_menu_mc.getNextHighestDepth()); v3.datas = this.key[this.kate].datas.slice(); f_menu_mc_tg_array.push(this); v3.key = []; v3.kate = 0; if (typ == 'equip') { } if (typ == 'skill') { } }; ++v3; } v5.attachMovie('corsor_mc', 'corsor_mc', 1120); v5.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; v5.corsor_mc.fnc(); } } } } if (this.key[this.kate].datas[1] == 'spel' || this.key[this.kate].datas[1] == 'skill' || this.key[this.kate].datas[1] == 'equip') { v5.fnc = function (num, typ) { trace('決定 fnc ' + menu_tg_typ + ' ' + menu_tg_num); var v3 = _global.f_menu_mc.attachMovie('f_menu_mc', 'menu_' + this.key[this.kate].datas[1], f_menu_mc.getNextHighestDepth()); f_menu_mc_tg_array.push(v3); v3.gotoAndStop(menu_tg_typ + '2'); v3.key = []; v3.kate = 0; if (menu_tg_typ == 'equip') { menu_equip_fnc(v3); } if (menu_tg_typ == 'skill') { menu_skill_fnc(v3); } if (menu_tg_typ == 'spel') { menu_spel_fnc(v3); } v3.attachMovie('corsor_mc', 'corsor_mc', v3.getNextHighestDepth()); v3.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; v3.corsor_mc.fnc(); v3.move_fnc = function (num) { if ((num - 1) % 2 == 0) { this.kate += num - 2; } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; this.sele_fnc(); }; v3.move_fnc(0); }; v5.move_fnc = function (num) { if ((num - 1) % 2 == 0) { this.kate += num - 2; } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; this.key[this.kate].sele_fnc(this.key[this.kate], this.key[this.kate].datas[1]); _global.menu_tg_num = this.kate; _global.menu_tg_typ = this.key[this.kate].datas[1]; }; v5.move_fnc(0); } }; i_mc.attachMovie('corsor_mc', 'corsor_mc', 1120); i_mc.move_fnc(0); i_mc.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; i_mc.corsor_mc.fnc(); }; _global.menu_stay_move_fnc = function (tg, typ) { if (typ == 'kime' || typ == 'kime2' || typ == 'cancel') { tg.fnc = function (typ, dmg) { this.tg = this; this.cnt_m = anime_data[typ][0][0] + 2; this.fase = 0; this.cnt = 0; this.typ = typ; this.mask_mc._y = 0; this.anime_data = anime_data[typ][1]; this.anime_data_name = ['anime_num', 'xx', 'yy', 'lr', 'weapon', 'effect']; this.onEnterFrame = function () { this.ii = 0; while (this.ii < this.anime_data_name.length) { this[this.anime_data_name[this.ii]] = this.anime_data[this.fase][this.ii]; if (!this.anime_data[this.fase][this.ii]) { this[this.anime_data_name[this.ii]] = 0; } ++this.ii; } this.tg.weapon_mc.gotoAndStop(this.weapon); this.tg.mc._x = this.anime_num * -_global.rule.player_chara_tip_size[0]; this.tg.mc._y = (this.tg.chara_num + this.tg.hadaka_num) * -_global.rule.player_chara_tip_size[1]; if (this.lr == 1) { this.tg._xscale = -100; this.tg.mc._x -= 24; this.tg.mask_mc._x = -24; } else { this.tg._xscale = 100; this.tg.mask_mc._x = 0; } ++this.cnt; if (this.cnt % this.cnt_m == 0) { ++this.fase; } if (this.fase == this.anime_data.length) { delete this.onEnterFrame; if (this.typ == 3) { this.move_fnc(this, 3); } if (this.typ == 2) { this.move_fnc(this, 0); } if (this.typ == 1) { this.move_fnc(this, 0); } } }; }; var anime_data = []; anime_data.push([[2], [[0, 0, 0, 0], [3, 0, 0, 1], [4], [8, 0, 0, 0]]]); anime_data.push([[2], [[0, 0, 0, 0], [3, 0, 0, 1], [4], [8], [8], [8], [8], [3], [11], [11]]]); anime_data.push([[1], [[0, 0, 0, 0], [3, 0, 0, 1], [4], [8], [8], [3]]]); anime_data.push([[2], [[4], [2], [3, 0, 0, 1], [0, 0, 0, 0]]]); if (typ == 'kime') { tg.fnc(1); } else { if (typ == 'kime2') { tg.fnc(3); } else { if (typ == 'cancel') { tg.fnc(3); } } } } else { tg.anime_fnc = function (typ) { this.cnt = -1; this.typ = typ; this.mask_mc._y = 0; this.mc._x = -this.array[this.typ][2] * rule.player_chara_tip_size[0]; }; tg.move_fnc = function (tg, typ) { this.def_y = this._y; this.array = [[-1, 0, 3, 2], [0, -1, 5, 4], [1, 0, 7, 6], [0, 1, 1, 0], [0, 0, 7, 6], [0, 0, 7, 6]]; this.typ = typ; this.cnt = 0; this._xscale = 100; this.mask_mc._x = 0; this.mask_mc._y = 0; this.mc._x = -this.array[this.typ][3] * rule.player_chara_tip_size[0]; this.mc._y = (this.chara_num + this.hadaka_num) * -_global.rule.player_chara_tip_size[1]; this.flm = 32; this.last_p = [this._x + 0, this._y + 0]; this.p = [(-field_mc._y - 9) / 16 + this.py][(-field_mc._x - 8) / 16 + this.px]; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.flm == 16) { this.mc._x = -this.array[this.typ][2] * rule.player_chara_tip_size[0]; if (this.typ % 2 == 0) { this.mc._y = (this.chara_num + this.hadaka_num) * -_global.rule.player_chara_tip_size[1] + 1; this.mask_mc._y = 1; } } if (this.cnt % this.flm == 0) { this.mask_mc._y = 0; this.mc._y = (this.chara_num + this.hadaka_num) * -_global.rule.player_chara_tip_size[1]; this.mc._x = -this.array[this.typ][3] * rule.player_chara_tip_size[0]; } }; }; tg.move_fnc(tg, typ); } }; } frame 1 { _global.field_move_fnc = function (typ) { tg_mc.p2 = []; tg_mc.p3 = []; tg_mc.move_fnc = function (typ) { this.array = [[-1, 0, 3, 2], [0, -1, 5, 4], [1, 0, 3, 2], [0, 1, 1, 0]]; this.typ_bu = typ; this.hit_flg = 1; this.typ = typ; if (this.onEnterFrame) { } else { if (hit_simbol_array[(-field_mc._y - 9) / 16 + this.py + this.array[typ][1]][(-field_mc._x - 8) / 16 + this.px + this.array[typ][0]].hit_flg[this.hit_flg]) { _global.key_flg = false; this.mc._x = -this.array[typ][3] * rule.player_chara_tip_size[0]; this.mc._y = (this.chara_num + this.hadaka_num) * -_global.rule.player_chara_tip_size[1]; if (typ == 2) { this._xscale = -100; this._x = this.def_x + 24; } else { this._xscale = 100; this._x = this.def_x; } } else { if (-field_mc._y / 16 + this.py + this.array[typ][1] < 0 || -field_mc._x / 16 + this.px + this.array[typ][0] < 0 || -field_mc._y / 16 + this.py + this.array[typ][1] > field_max[0] || -field_mc._x / 16 + this.px + this.array[typ][0] > field_max[1] || hit_simbol_array[(-field_mc._y - 9) / 16 + this.py + this.array[typ][1]][(-field_mc._x - 8) / 16 + this.px + this.array[typ][0]].sp[1].substr(-2, 2) == 'ap' && hit_simbol_array[(-field_mc._y - 9) / 16 + this.py + this.array[typ][1]][(-field_mc._x - 8) / 16 + this.px + this.array[typ][0]].sp[2]) { _global.master_enemy_move_flg = true; } else {} var v5 = false; var v4 = 0; while (v4 < move_simbol_array.length) { if (move_simbol_array[v4].p3[0] == (-field_mc._y - 9) / 16 + tg_mc.py + this.array[typ][1]) { if (move_simbol_array[v4].p3[1] == (-field_mc._x - 8) / 16 + tg_mc.px + this.array[typ][0]) { v5 = true; if (move_simbol_array[v4].sp[1] == 'e') { hit_flg = 2; Key_lis_del_fnc(); battle_in_fnc(move_simbol_array[v4], _root); } break; } } if (move_simbol_array[v4].p2[0] == (-field_mc._y - 9) / 16 + tg_mc.py + this.array[typ][1]) { if (move_simbol_array[v4].p2[1] == (-field_mc._x - 8) / 16 + tg_mc.px + this.array[typ][0]) { v5 = true; if (move_simbol_array[v4].sp[1] == 'e') { v5 = 2; Key_lis_del_fnc(); battle_in_fnc(move_simbol_array[v4], _root); } break; } } ++v4; } if (v5) { _global.key_flg = false; if (v5 == 2) { _global.key_flg = true; } this.mc._x = -this.array[typ][3] * rule.player_chara_tip_size[0]; this.mc._y = (this.chara_num + this.hadaka_num) * -_global.rule.player_chara_tip_size[1]; if (typ == 2) { this._xscale = -100; this._x = this.def_x + 24; } else { this._xscale = 100; this._x = this.def_x; } } else { if (field_obj_data[(-field_mc._y - 9) / 16 + this.py + this.array[typ][1]][(-field_mc._x - 8) / 16 + this.px + this.array[typ][0]][1] == 'wap') { this.doa_tg = _root.display_mc.chara_mc['obj_' + ((-field_mc._y - 9) / 16 + this.py + this.array[typ][1]) + '_' + ((-field_mc._x - 8) / 16 + this.px + this.array[typ][0])]; this.doa_tg._visible = false; } this.typ = typ; this.cnt = 0; this.chara_num; this.mc._x = -this.array[this.typ][3] * rule.player_chara_tip_size[0]; this.mc._y = (this.chara_num + this.hadaka_num) * -_global.rule.player_chara_tip_size[1]; this.dash_num = 1; if (Key.isDown(cancel_btm)) { this.dash_num = 2; } this.mask_mc._y = 0; if (typ == 2) { this._xscale = -100; this._x = this.def_x + 24; } else { this._xscale = 100; this._x = this.def_x; } this.last_pf = [field_mc._x + 0, field_mc._y + 0]; this.last_pe = []; v4 = 0; while (v4 < move_simbol_array.length) { this.last_p.push([move_simbol_array[v4]._x + 0, move_simbol_array[v4]._y + 0]); ++v4; } this.onEnterFrame = function () { if (_global.move_flg) { if (this.cnt == 0) { this.p2[1] += this.array[this.typ][0]; this.p2[0] += this.array[this.typ][1]; } this.cnt += 1 * this.dash_num; field_mc._x -= this.array[this.typ][0] * this.dash_num; field_mc._y -= this.array[this.typ][1] * this.dash_num; field_mc_top._x = field_mc._x; field_mc_top._y = field_mc._y; var v3 = 0; while (v3 < move_simbol_array.length) { move_simbol_array[v3]._x -= this.array[this.typ][0] * this.dash_num; move_simbol_array[v3]._y -= this.array[this.typ][1] * this.dash_num; ++v3; } if (this.cnt == 8) { this.mc._x = -this.array[this.typ][2] * rule.player_chara_tip_size[0]; if (typ % 2 == 0) { this.mask_mc._y = 1; this.mc._y = (this.chara_num + this.hadaka_num) * -_global.rule.player_chara_tip_size[1] + 1; } this.p3[1] = this.p2[1] + 0; this.p3[0] = this.p2[0] + 0; field_depth_set_fnc(); } if (this.cnt == 16) { field_depth_set_fnc(); this.mc._x = -this.array[this.typ][3] * rule.player_chara_tip_size[0]; this.mc._y = (this.chara_num + this.hadaka_num) * -_global.rule.player_chara_tip_size[1]; this.mask_mc._y = 0; _global.key_flg = false; this.last_p = []; this.p = [(-field_mc._y - 9) / 16 + this.py, (-field_mc._x - 8) / 16 + this.px]; this.p2 = [(-field_mc._y - 9) / 16 + this.py, (-field_mc._x - 8) / 16 + this.px]; this.p3 = [(-field_mc._y - 9) / 16 + this.py, (-field_mc._x - 8) / 16 + this.px]; this.tt.text = this.p[0] + '_' + this.p[1]; if (this.doa_tg) { if (hit_simbol_array[this.p[0]][this.p[1]].sp[1] == 'wap') { } else { this.doa_tg._visible = true; this.doa_tg = 0; } } if (-field_mc._y / 16 + this.py < 0 || -field_mc._x / 16 + this.px < 0 || -field_mc._y / 16 + this.py > field_max[0] || -field_mc._x / 16 + this.px > field_max[1]) { _global.key_flg = true; delete this.onEnterFrame; map_fnc(); } else { if (hit_simbol_array[(-field_mc._y - 9) / 16 + this.py][(-field_mc._x - 8) / 16 + this.px].sp) { delete this.onEnterFrame; _global.key_flg = true; field_sp_fnc(field_mc['obj_' + ((-field_mc._y - 9) / 16 + this.py) + '_' + ((-field_mc._x - 8) / 16 + this.px)]); } else { delete this.onEnterFrame; } } } } }; } } } }; }; } frame 1 { key_lis_field = new Object(); key_lis_field.onKeyUp = function () {}; key_lis_field.onKeyDown = function () { if (!key_flg && !master_key_flg) { if (Key.getCode() == kettei_btm) { trace('kettei'); _global.key_flg = false; this.array = [[-1, 0, 3, 2], [0, -1, 5, 4], [1, 0, 3, 2], [0, 1, 1, 0]]; if (hit_simbol_array[(-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]][(-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]].sp[1] == 'item') { _global.talk_time_flg = true; _global.key_flg = true; hit_simbol_array[(-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]][(-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]].gotoAndStop(hit_simbol_array[(-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]][(-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]]._currentframe + 1); var v5 = _root.createEmptyMovieClip('lag_mc', _root.getNextHighestDepth()); v5.my_end_fnc = function () { this.array = [[-1, 0, 3, 2], [0, -1, 5, 4], [1, 0, 3, 2], [0, 1, 1, 0]]; talk_fnc(hit_simbol_array[(-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]][(-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]], tg_mc.typ_bu, [[(-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]], [(-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]]]); }; lag_fnc(v5, 30); } else { if (hit_simbol_array[(-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]][(-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]].sp[2]) { hit_simbol_array[(-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]][(-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]].typ = tg_mc.typ_bu; trace('sp = ' + hit_simbol_array[(-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]][(-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]].sp + 'tg_mc.typ_bu' + tg_mc.typ_bu + ' typ' + hit_simbol_array[(-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]][(-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]].typ); talk_fnc(hit_simbol_array[(-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]][(-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]], tg_mc.typ_bu); } else { var v4 = 0; while (v4 < move_simbol_array.length) { if (move_simbol_array[v4].p[0] == (-field_mc._y - 9) / 16 + tg_mc.py + this.array[tg_mc.typ_bu][1]) { if (move_simbol_array[v4].p[1] == (-field_mc._x - 8) / 16 + tg_mc.px + this.array[tg_mc.typ_bu][0]) { move_simbol_array[v4].anime_fnc((tg_mc.typ_bu + 2) % 4); if (move_simbol_array[v4].sp[1] == 'p') { talk_fnc(move_simbol_array[v4], tg_mc.typ_bu); break; } else { if (move_simbol_array[v4].sp[1] == 'e') { Key_lis_del_fnc(); battle_in_fnc(move_simbol_array[v4], _root); break; } else {} } } } ++v4; } } } } else { if (Key.getCode() == cancel_btm) { _global.key_flg = false; trace('cancel'); } else { if (Key.getCode() == option_btm) { if (field_obj_data[0][0][6][0] == 'no') { trace(field_obj_data[0][0][6]); } else { if (field_obj_data[0][0][6][0] == 'map') { _global.master_enemy_move_flg = true; _global.key_flg = true; _global.touch_ero_fnc_end('guard'); Key_lis_del_fnc(); map_fnc(); } else { _global.master_enemy_move_flg = true; _global.key_flg = true; _global.touch_ero_fnc_end('guard'); Key_lis_del_fnc(); p.field_p = field_obj_data[0][0][6][0]; var v5 = display_mc.createEmptyMovieClip('display_mc2', display_mc.getNextHighestDepth()); v5.sp = field_obj_data[0][0][6][1].slice(); v5.my_end_fnc = function () { field_fnc('start', this.sp); }; b_o_lag_fnc(v5, 10, 20, 10); } } } else { if (Key.getCode() == menu_btm) { _global.hadaka_kioku = p.chara0.hadaka_num + 0; _global.master_enemy_move_flg = true; _global.key_flg = true; _global.touch_ero_fnc_end('guard'); Key_lis_del_fnc(); var v5 = display_mc.createEmptyMovieClip('display_mc2', display_mc.getNextHighestDepth()); v5.my_end_fnc = function () { field_menu_fnc(); }; b_o_lag_fnc(v5, 10, 20, 10); } } } } } }; _global.key_lis_field_move_mc_fnc = function () { if (!display_mc.field_move_mc_fnc_mc) { var v3 = display_mc.createEmptyMovieClip('field_move_mc_fnc_mc', display_mc.getNextHighestDepth() + 1000); v3.fnc = function () { this.onEnterFrame = function () { if (!key_flg && !master_key_flg) { if (Key.isDown(l_btm)) { _global.key_flg = true; tg_mc.move_fnc(0); } else { if (Key.isDown(u_btm)) { _global.key_flg = true; tg_mc.move_fnc(1); } else { if (Key.isDown(r_btm)) { _global.key_flg = true; tg_mc.move_fnc(2); } else { if (Key.isDown(d_btm)) { _global.key_flg = true; tg_mc.move_fnc(3); } } } } } }; }; v3.fnc(); } }; } frame 1 { _global.yadoya_end_junbi_fnc = function () { if (p.field_p == 1) { yadoya_start_array = [0, [4, 2, 3]]; } field_fnc('start', yadoya_start_array[p.field_p]); }; _global.yadoya_end_fnc = function () { _root.yadoya_mc.removeMovieClip(); if (p.field_p == 1) { talk_hitorigoto_fnc(7); } }; _global.yadoya_fnc = function (typ) { trace('yadoya = ' + p.field_p); var yadoya_mc = _root.attachMovie('yadoya_mc', 'yadoya_mc', _root.getNextHighestDepth()); yadoya_mc.stop(); yadoya_mc.gotoAndStop(p.field_p); yadoya_mc.chara_mc.gotoAndStop('no'); var v3 = 0; while (v3 < p.party_data.length) { var v4 = yadoya_mc.chara_mc.attachMovie('chara_mc', 'c' + v3, v3); v4.mc._y = -p.party_data[v3].chara_num * rule.player_chara_tip_size[1]; v4.mc._x = -12 * rule.player_chara_tip_size[0]; v4._x = yadoya_mc['p' + (v3 + 1)]._x; v4._y = yadoya_mc['p' + (v3 + 1)]._y; if (p.party_data[v3].chara_num == 0) { v4._rotation = 90; v4._x += rule.player_chara_tip_size[0]; } ++v3; } v3 = 0; while (v3 < p.party_data.length) { p.party_data[v3].hp = p.party_data[v3].hpm; p.party_data[v3].lp = p.party_data[v3].lpm; p.party_data[v3].wp = p.party_data[v3].wpm; p.party_data[v3].jp = p.party_data[v3].jpm; ++v3; } yadoya_mc._visible = false; var v5 = _root.attachMovie('black_mc', 'black_mc' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v5.num = 4; v5._xscale = 400; v5._yscale = 400; v5._alpha = 0; v5.onEnterFrame = function () { this._alpha += this.num; if (this._alpha > 160) { yadoya_mc._visible = true; this.num = -this.num; this.onEnterFrame = function () { this._alpha += this.num; if (this._alpha < -300) { this.num = -this.num; this.onEnterFrame = function () { this._alpha += this.num; if (this._alpha > 160) { yadoya_mc._visible = false; this.num = -this.num; this.onEnterFrame = function () { this._alpha += this.num; yadoya_end_junbi_fnc(); if (this._alpha < 0) { yadoya_end_fnc(); this.removeMovieClip(); } }; } }; } }; } }; }; } frame 1 { _global.field_event_etc_fnc = function (typ) { switch (typ) { case 'もよおし進行': trace('fnc ' + typ); p.map_p[1] = 1; p.map_p[2] = 0; _global.map_up_flg_fnc(3, 2); break; break; case '': case '': break; case '': break; break; case '': default: trace('フラグなし : ' + typ); } }; } frame 1 { _global.enemy_simbol_hit_flg_array = [1, 1, 2]; _global.field_obj_data_data_set_fnc = function () { _global.field_obj_data_data = [0, 0]; _global.field_obj_data_data[1000] = 0; field_obj_data = []; field_obj_data.push([['村', 2, 6, 0, 2, 1, ['map']]]); field_obj_data.push([0]); field_obj_data.push([0, 0, 0, 0, 0, 0]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([2, 0, 0, [3, 'p', 1, 0, 0, 2, 0], 0, 0, 0, 1, 1, [3, 'wap', 2, 0, 30], 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 2]); field_obj_data.push([2, 0, 0, 0, 0, 0, 0, 0, [3, 'p', 6, 0, 2, 2, 100], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]); field_obj_data.push([0, 0, 0, 0, [3, 'p', 6, 0, 2, 2, 100], 0, 0, 0, 0, [3, 'p', 6, 0, 2, 2, 100], 0, 0, 0, [3, 'p', 3, 1, 2, 2, 100], 0, 0, [3, 'p', 8, 0, 2, 1, 100], 0, 0, 0, [3, 'map']]); field_obj_data.push([2, 0, 0, 0, 0, 0, [3, 'p', 6, 0, 2, 2, 100], 0, 0, 0, 0, 0, [3, 'p', 6, 0, 2, 2, 100], 0, 0, [3, 'p', 6, 0, 2, 2, 100], 0, 0, [3, 'p', 2, 0, 2, 1, 100], 0, 2, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([0, 0, 0, 0, 0, 0]); _global.field_obj_data_data[1] = field_obj_data.slice(); field_obj_data = []; field_obj_data.push([['部屋', 4, 9, 5, 1, 3, [1, [5, 9, 3]]], 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); field_obj_data.push([1, 0, 0, 0, 0, [3, 'e', 0, 0, 0, 2, 0], 0, 0, 0, 0, 1]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1]); field_obj_data.push([1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 0, 0, 0, 1, [3, 'wap', 1, [5, 9, 3]], 1, 0, 0, 0, 0, 1]); field_obj_data.push([1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1]); _global.field_obj_data_data[2] = field_obj_data.slice(); field_obj_data = []; field_obj_data.push([['始まりの草原', 5, 8, 10, 1, 1, ['map']], 0]); field_obj_data.push([1]); field_obj_data.push([1]); field_obj_data.push([1]); field_obj_data.push([1]); field_obj_data.push([1]); field_obj_data.push([1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, [3, 't', 5, 1], 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 2, 1, 1, 1]); _global.field_obj_data_data[3] = field_obj_data.slice(); field_obj_data = []; field_obj_data.push([['デバッグ草原', 9, 4, 10, 1, 1, ['map']], 0]); field_obj_data.push([2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]); field_obj_data.push([2, 0, [3, 'e', 0, 0, 1, 2, 0], 0, [3, 'e', 0, 1, 1, 2, 0], 0, [3, 'e', 0, 2, 1, 2, 0], 0, [3, 'e', 0, 3, 1, 2, 0], 0, [3, 'e', 0, 4, 1, 2, 0], 0, 2]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 0, 0, 2, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [4, 'item', 0, 197], [4, 'item', 0, 197], [4, 'item', 0, 197], [4, 'item', 0, 197], [4, 'item', 0, 197], 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [4, 'item', 0, 5], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [4, 'item', 0, 6], 0, [3, 'e', 0, 2, 3, 4, 8], 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, [4, 'item', 0, 6], 2, 2, 2, 2, 2, 2, 2, [3, 'e', 0, 0, 0, 2, 0], 2, 2]); _global.field_obj_data_data[5] = field_obj_data.slice(); field_obj_data = []; field_obj_data.push([['デバッグルーム', 1, 8, 10, 1, 1, ['map']], 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, [4, 'item', 0, 300], 2, 2, 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [4, 'item', 0, 300], 2, 2, 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [4, 'item', 0, 300], 2, 2, 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [4, 'item', 0, 300], [3, 'e', 0, 2, 3, 4, 100], 2, 2]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, [3, 'e', 0, 0, 0, 2, 0], 2, 2, 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 0, 0, 2, 0], 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [4, 'item', 0, 300], 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); _global.field_obj_data_data[999] = field_obj_data.slice(); field_obj_data = []; field_obj_data.push([['テスト洞窟', 10, 41, 18, 1, 'black', ['no']], 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 2, 3, 4, 5], [4, 'item', 0, 197], 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1]); field_obj_data.push([1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 2, 3, 4, 6], 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 2, 3, 4, 1], [4, 'item', 0, 5], [3, 'e', 0, 2, 3, 4, 3], [4, 'item', 0, 400], 0, 1, 1]); field_obj_data.push([1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 2, 3, 4, 1], 0, [3, 'e', 0, 2, 3, 4, 1], 0, 1, 1]); field_obj_data.push([1, 1, 1, [3, 'fc', 0], 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1]); field_obj_data.push([1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, [3, 'e', 0, 2, 3, 2, 100], 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, [3, 'fc', 1], 0, [3, 'fc', 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1]); field_obj_data.push([1, 1, 1, [3, 'fc', 1], 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1]); field_obj_data.push([1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 2, 3, 3, 10], 1, 1]); field_obj_data.push([1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1]); field_obj_data.push([1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 2, 3, 3, 9], [3, 'e', 0, 2, 3, 3, 10], 1, 1]); field_obj_data.push([1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1]); field_obj_data.push([1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 2, 3, 3, 10], 1, 1]); field_obj_data.push([1, 1, 1, 1, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 2, 3, 2, 100], 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1]); field_obj_data.push([1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1]); field_obj_data.push([1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, [3, 'e', 0, 2, 3, 2, 100], 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, [3, 'fc', 1], 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, [3, 'fc', 0], 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 0, [3, 'e', 0, 2, 3, 2, 100], 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 0, 0, 1, 1, 1, 1, 1, 1, [3, 'e', 0, 2, 3, 2, 100], 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, [4, 'item', 0, 197], 0, [4, 'item', 0, 3], 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, [3, 'e', 0, 2, 3, 2, 100], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 0, 0, 0, 0, 0, 0, [3, 'e', 0, 2, 3, 2, 100], 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, [3, 'fc', 1], 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, [3, 'fc', 0], 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); field_obj_data.push([1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]); _global.field_obj_data_data[10] = field_obj_data.slice(); field_obj_data = []; field_obj_data.push([['もよおしの湖畔', 9, 5, 0, 2, 1, ['no']], 0]); field_obj_data.push([2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]); field_obj_data.push([2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 0, [3, 't', 10], 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]); field_obj_data.push([2, 0, [3, 't', 10], 0, 0, 0, 0, 2, 2, 2, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]); field_obj_data.push([2, 0, 0, 0, 0, 0, 0, 0, 2, 2, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [3, 't', 9, 'no_vect'], 0, [3, 't', 13, 'no_vect'], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, [3, 'wap', 4, [0, 0, 2], 0, 'もよおし進行']]); field_obj_data.push([2, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]); field_obj_data.push([2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2]); field_obj_data.push([2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2]); _global.field_obj_data_data[11] = field_obj_data.slice(); field_obj_data = []; field_obj_data.push([['見知らぬ土地', 1, 10, 10, 3, 2, ['no']], 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, [4, 'item', 0, 380]]); field_obj_data.push([0, 0, 0, 0, 0, 0, 0, 0, 0]); _global.field_obj_data_data[4] = field_obj_data.slice(); field_obj_data = []; }; field_obj_data_data_set_fnc(); } frame 1 { _global.talk_data_n = []; var_tg_talk_data = _global.talk_data_n; var_tg_talk_data.push([[0, 2, ' ね']]); var_tg_talk_data.push([[1, 2, '家の中にいる僧は動かないけど敵だ\n襲い掛かってくるから気をつけよう'], [0, 2, 'まあ、そうなんですか・・・', '\nでもどうしてでしょう?'], [1, 2, 'わかっていただろうにのう・・・'], [0, 2, '?', 'clear'], [1, 2, 'エイプリルフールネタでRPG・・・', 'しかもドット絵でやろうなどと・・・', '\n作りきれるものか!'], [0, 2, '・・・', ' よくわかりませんが・・・'], [1, 0, 'ふむ・・・', 'clear', '行くのか?'], [0, 2, 'はい']]); var_tg_talk_data.push([[1, 2, '一泊10金です。泊まりますか?'], [0, 2, '・・・', 'え?\n', [['とまるかな', 'ans'], ['やめとこ']]], [1, 2, 'clear', [['ごゆっくり', 1], ['そうなんすか']], [['000'], ['end']]]]); var_tg_talk_data.push([[1, 2, 'サスケでござる \n', [['御免!', 'ans', 9], ['やめとこ']]], [0, 2, [['end'], ['end']]]]); var_tg_talk_data.push([[0, 2, '石を馬鹿にするなァーッ!']]); var_tg_talk_data.push([[2, 2, '温泉・・・', 'そうよ!\n温泉に入ってクノイチの技を磨く!', 'clear'], [0, 2, ['いざゆかん!世界の秘湯めぐりへ!', 1]]]); var_tg_talk_data.push([[1, 2, '(托鉢・・・)\n'], [0, 2, '・・・\n', [['10金差し出す\n', 'ans'], ['押し付けがましいやつ!\n']]], [1, 2, 'clear', [['(善行+1)\n'], ['・・・\n']]]]); var_tg_talk_data.push([[4, 2, '・・・ ', '気品が1さがった気がする・・・']]); var_tg_talk_data.push([[1, 2, 'ほう、そなたの背後にスケベそうな霊がみえるな'], [0, 2, 'へ、へえ~そうですか\n', [['なにか情報は?', 'ans'], ['なんでもない']]], [1, 2, 'clear', [['東にいくには"もよおしの湖畔を通るしかない"', 3], ['end']], [['end'], ['end']]]]); var_tg_talk_data.push([[2, 2, '・・・\n', 'おしっこ・・・', 'clear'], [0, 2, ['ちょっと待っててください!', 22]]]); var_tg_talk_data.push([[2, 2, '・・・\n', '今なら・・・誰も見てません', 'clear'], [0, 2, ['・・・', 20]]]); var_tg_talk_data.push([[1, 2, 'ヤエ殿どうしたでござるか?\n', 'clear', '少し顔が赤いでござるよ']]); var_tg_talk_data.push([[1, 2, '・・・・']]); var_tg_talk_data.push([[0, 2, 'さてと・・・'], [0, 2, ['いきましょう!', 21]]]); var_tg_talk_data.push([[0, 2, '・・・・・'], [0, 2, ['・・・なんですか?', 23]]]); var_tg_talk_data.push([[1, 2, '・・・ヤエ殿?\n', 'clear']]); _global.talk_data_h = []; var_tg_talk_data = _global.talk_data_h; var_tg_talk_data.push([[0, 2, ' ね']]); var_tg_talk_data.push([[1, 2, '家の中にいる僧は動かないけど敵だ\n襲い掛かってくるから気をつけよう'], [0, 2, 'まあ、そうなんですか・・・', '\nでもどうしてでしょう?'], [1, 2, 'わかっているだろう・・・'], [0, 2, '・・・', 'clear'], [1, 2, 'そのような格好・・・', '誘っておるのだろう?'], [0, 2, 'これは・・・', ' 誘ってなど・・・'], [1, 0, 'ふむ・・・', 'clear', '見せるだけか?'], [0, 2, '・・・はい']]); var_tg_talk_data.push([[1, 2, '裸なら無料です。泊まりますか?'], [0, 2, '・・・', '(平気かな・・・?)\n', [['とまる', 'ans'], ['やめる']]], [1, 2, 'clear', [['ささ、こちらでございます・・・', 1], ['それは残念ですよ']], [['000'], ['end']]]]); var_tg_talk_data.push([[1, 2, 'サスケでござる \n', [['御免!', 'ans', 9], ['やめとこ']]], [0, 2, [['end'], ['end']]]]); var_tg_talk_data.push([[0, 2, '石を馬鹿にするなァーッ!']]); var_tg_talk_data.push([[2, 2, '温泉・・・', 'そうよ!\n温泉に入ってクノイチの技を磨く!', 'clear'], [0, 2, ['いざゆかん!世界の秘湯めぐりへ!', 1]]]); var_tg_talk_data.push([[1, 2, '(・・・)\n'], [0, 2, '・・・\n', [['1金うけとる\n', 'ans'], ['見てんじゃねえよ\n']]], [1, 2, 'clear', [['(眼福眼福…)\n'], ['・・・\n']]]]); var_tg_talk_data.push([[4, 2, '・・・ ', '気品が1さがった気がする・・・']]); var_tg_talk_data.push([[1, 2, 'ほう、そなたの背後にスケベそうな霊がみえるな'], [0, 2, 'へ、へえ~そうですか\n', [['なにか情報は?', 'ans'], ['なんでもない']]], [1, 2, 'clear', [['東にいくには"もよおしの湖畔"を通るしかない', 3], ['end']], [['end'], ['end']]]]); var_tg_talk_data.push([[2, 2, '・・・\n', 'おしっこ・・・', 'clear'], [0, 2, ['ちょっと待っててください!', 22]]]); var_tg_talk_data.push([[2, 2, '・・・\n', '今なら・・・誰も見てません', 'clear'], [0, 2, ['・・・', 20]]]); var_tg_talk_data.push([[1, 2, 'ヤエ殿どうしたでござるか?\n', 'clear', '少し顔が赤いでござるよ']]); var_tg_talk_data.push([[1, 2, '・・・・']]); var_tg_talk_data.push([[0, 2, 'さてと・・・'], [0, 2, ['いきましょう!', 21]]]); var_tg_talk_data.push([[0, 2, '・・・・・'], [0, 2, ['・・・なんですか?', 23]]]); var_tg_talk_data.push([[1, 2, 'おや・・・ヤエ殿?\n', 'clear']]); _global.talk_data = _global.talk_data_n; _global.talk_hitorigoto_fnc = function (n1) { var v3 = _root.createEmptyMovieClip('var_sp', _root.getNextHighestDepth()); v3.sp = [3, 't', n1]; v3.typ = (tg_mc.typ_bu + 2) % 4; v3._x = tg_mc._x; v3._y = tg_mc._y; _global.talk_fnc(v3, _global.tg_mc.typ); }; _global.talk_ans_fnc = function (n1) { trace('選択の結果処理 no. ' + n1); if (n1 == 9) { battle_in_fnc(talk_mc.tg, _root); talk_end_fnc(); map_up_flg_fnc(1); } else { if (n1 == 1) { yadoya_fnc(); talk_end_fnc(); _global.key_flg = true; } else { if (n1 == 2) { } else { if (n1 == 3) { map_up_flg_fnc(2); } else { talk_fnc('next'); } } } } }; _global.talk_event_fnc = function (n1) { if (n1 == 1) { field_event_anime_fnc(tg_mc, [0, 2, 3, 7, 7 + rn2([-1, 1])], 2); } else { if (n1 == 10) { field_event_vect_fnc(tg_mc, 0); } else { if (n1 == 11) { field_event_vect_fnc(tg_mc, 1); } else { if (n1 == 12) { field_event_vect_fnc(tg_mc, 2); } else { if (n1 == 13) { field_event_vect_fnc(tg_mc, 3); } else { if (n1 == 20) { _global.sasage_event_fnc(); _global.field_var_flg[n1] = 1; } else { if (n1 == 21) { _global.master_key_flg = true; _global.dot_show_chara_fnc([3, 'kage'], 0, [1, 2, 2, 2, 2, 2, 'del'], 5, [3, 'p', 12]); _global.dot_show_chara_fnc([4, 'sasuke'], 0, [1, 2, 2, 2, 2, 2, 2, ['master_key_flg', false], 'del'], 5, [3, 'p', 11]); field_mc['obj_' + (_global.tg_mc.p[0] + 0) + '_' + (_global.tg_mc.p[1] + 0)].sp = 0; field_mc.obj_2_11.sp = 0; field_event_vect_fnc(tg_mc, 0); } else { if (n1 == 22) { if (!_global.field_var_flg[n1]) { _global.master_key_flg = true; _global.field_var_flg[n1] = 1; field_event_vect_fnc(tg_mc, 0); _global.dot_show_chara_fnc([3, 'kage'], 2, [0, 0, 0, 3, 11], 3, [3, 'p', 12]); _global.dot_show_chara_fnc([4, 'sasuke'], 2, [0, 0, 0, 0, 3, ['master_key_flg', false], 11], 3, [3, 'p', 11]); } field_mc['obj_' + (_global.tg_mc.p[0] + 0) + '_' + (_global.tg_mc.p[1] + 0)].sp = 0; } else { if (n1 == 23) { trace('23!!!'); _root.display_mc.chara_mc.id_sasuke.sp[2] = 15; _global.tatie_mc.kao_mc.gotoAndPlay('gokigennaname'); } else {} } } } } } } } } }; _global.field_event_vect_fnc = function (tg, vec) { tg.typ = vec; tg.typ_bu = vec; tg.mc._x = -tg.array[tg.typ][3] * rule.player_chara_tip_size[0]; if (vec == 2) { tg._xscale = -100; tg._x = tg.def_x + 24; } else { tg._xscale = 100; tg._x = tg.def_x; } }; _global.field_event_anime_fnc = function (tg, array, flm) { var v3 = _root.createEmptyMovieClip('f_anime_mc' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3.array = array; v3.tg = tg; v3.cnt = 0; v3.flm = flm; v3.onEnterFrame = function () { if (this.cnt % this.flm == 0) { this.tg.mc._x = -array[this.cnt / this.flm] * rule.player_chara_tip_size[0]; if (this.cnt >= this.array.length * this.flm) { this.removeMovieClip(); } } ++this.cnt; }; }; _global.talk_ans_check = function (tg, typ, n1) { if (talk_data[talk_mc.sp[2]][talk_mc.cnt][_global.talk_mc.cnt2][0][1] == 'ans') { Key.addListener(key_lis_talk_ans); Key.removeListener(key_lis_talk); trace(' いきなり選択開始 '); talk_mc.keyw = []; var v2 = 0; while (v2 < talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2].length) { talk_mc.keyw.push(talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2][v2].slice()); talk_mc.in_text = talk_mc.in_text + talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2][v2] + '\n'; ++v2; } } else { if (talk_data[talk_mc.sp[2]][talk_mc.cnt][_global.talk_mc.cnt2 + 1][0][1] == 'ans') { Key.addListener(key_lis_talk_ans); Key.removeListener(key_lis_talk); trace(' 選択開始 '); talk_mc.in_text += talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2]; ++_global.talk_mc.cnt2; talk_mc.keyw = []; var v2 = 0; while (v2 < talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2].length) { talk_mc.keyw.push(talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2][v2].slice()); talk_mc.in_text += '\n'; ++v2; } trace('key ' + talk_mc.keyw); } else { if (!isNaN(talk_mc.ans)) { talk_mc.in_text += talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2][talk_mc.ans][0]; if (talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2][talk_mc.ans][0] == 'end') { talk_end_fnc(); } if (!isNaN(talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2][talk_mc.ans][1])) { _global.talk_ans_fnc(talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2][talk_mc.ans][1]); } } else { if (talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2][1]) { talk_mc.in_text += talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2][0]; talk_event_fnc(talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2][1]); } else { talk_mc.in_text += talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2]; } } } } }; _global.talk_end_fnc = function (tg, typ, n1) { talk_mc.tg.talk_flg = false; talk_mc.removeMovieClip(); Key.removeListener(key_lis_talk); _global.key_flg = false; _global.talk_time_flg = false; }; _global.talk_data = _global.talk_data_n; _global.talk_fnc = function (tg, typ, n1) { trace('fnc typ = ' + typ); if (p.chara0.hadaka_num) { _global.talk_data = _global.talk_data_h; } else { _global.talk_data = _global.talk_data_n; } _global.talk_time_flg = true; if (tg == 'next') { ++_global.talk_mc.cnt2; trace('cnt = ' + mm_mc.cnt + ' cnt2 = ' + mm_mc.cnt2); if ('clear' == talk_data[talk_mc.sp[2]][talk_mc.cnt][talk_mc.cnt2]) { talk_mc.talk_hukidasi_mc1.removeMovieClip(); talk_mc.talk_hukidasi_mc0.removeMovieClip(); talk_mc.sippo0.removeMovieClip(); talk_mc.sippo1.removeMovieClip(); talk_mc.talk_hukidasi_mc2.removeMovieClip(); talk_mc.talk_hukidasi_mc3.removeMovieClip(); talk_mc.sippo2.removeMovieClip(); talk_mc.sippo3.removeMovieClip(); ++_global.talk_mc.cnt2; } if (talk_data[talk_mc.sp[2]][talk_mc.cnt].length <= talk_mc.cnt2 && !talk_mc.keyw) { ++talk_mc.cnt; talk_mc.cnt2 = 2; talk_mc.in_text = ''; var v6 = mm_mc.createTextField('t', 301, 0, 7, 10, 10); talk_mc.test_in_text = ''; var v7 = 0; while (v7 < talk_data[talk_mc.sp[2]][talk_mc.cnt].length) { talk_mc.test_in_text += talk_data[talk_mc.sp[2]][talk_mc.cnt][v7]; ++v7; } _root.format_fnc(talk_mc.test_in_text, v6, text_menu[0], 1, 0, 0, text_menu[1], 0, 1, 'no'); talk_mc.in_text_max = Math.max(Math.min(v6.textWidth, rule.stage_size[0] - 20), 100); v6 = mm_mc.createTextField('t', 301, 0, 7, 10, 10); if (talk_data[talk_mc.sp[2]].length == talk_mc.cnt) { trace('end'); talk_end_fnc(); } } talk_ans_check(); } else { _global.key_flg = true; Key.addListener(key_lis_talk); mm_mc = _root.createEmptyMovieClip('talk_hukidasi_mc', 400); _global.talk_mc = mm_mc; talk_mc.sp = tg.sp; talk_mc.cnt = 0; talk_mc.cnt2 = 2; talk_mc.tg = tg; talk_mc.tg_p = [tg.p[0] + 0, tg.p[1] + 0]; talk_mc.tg_y = talk_mc.tg._y; talk_mc.tg.talk_flg = true; talk_mc.typ = typ; talk_mc.in_text = ''; talk_ans_check(); talk_mc.test_in_text = ''; delete talk_mc.ans; var v6 = mm_mc.createTextField('t', 301, 0, 7, 10, 10); var v7 = 0; while (v7 < talk_data[talk_mc.sp[2]][talk_mc.cnt].length) { var v9 = typeof talk_data[talk_mc.sp[2]][talk_mc.cnt][v7]; if ('object' == v9) { var v4 = 0; while (v4 < talk_data[talk_mc.sp[2]][talk_mc.cnt][v7].length) { talk_mc.test_in_text += talk_data[talk_mc.sp[2]][talk_mc.cnt][v7][v4]; ++v4; } } else { talk_mc.test_in_text += talk_data[talk_mc.sp[2]][talk_mc.cnt][v7]; } ++v7; } if (talk_mc.tg.sp[1] == 'item') { talk_mc.test_in_text = _global.item_data[tg.sp[3]][0] + 'ね,ね'; talk_mc.in_text = _global.item_data[tg.sp[3]][0] + ' ね'; if (!p.item_get_data[p.field_p]) { p.item_get_data[p.field_p] = []; } var v14 = n1.slice(); nnn = v14.splice(0, 1); nnnn = v14.splice(0, 1); nnnn = parseInt(nnnn); nnn = parseInt(nnn); p.item_get_data[p.field_p].unshift((nnn + 1) * 1000 + nnnn); tg.sp[1] = 'end'; trace(p.item_get_data[p.field_p]); item_get_fnc(tg.sp[3] + 0); } _root.format_fnc(talk_mc.test_in_text, v6, text_menu[0], 1, 0, 0, text_menu[1], 0, 1, 'no'); talk_mc.in_text_max = Math.max(Math.min(v6.textWidth, rule.stage_size[0] - 20), 60); v6 = mm_mc.createTextField('t', 301, 0, 7, 10, 10); } m_mc = talk_mc.createEmptyMovieClip('talk_hukidasi_mc' + N(talk_data[talk_mc.sp[2]][talk_mc.cnt][0]), 400 + N(talk_data[talk_mc.sp[2]][talk_mc.cnt][0])); sippo = talk_mc.attachMovie('window_tuno_mc', 'sippo' + N(talk_data[talk_mc.sp[2]][talk_mc.cnt][0]), 410 + N(talk_data[talk_mc.sp[2]][talk_mc.cnt][0])); _mc = m_mc.attachMovie('menu_mc', 'menu_mc', 0); _mc3 = m_mc.createEmptyMovieClip('menu_mc3', 1); var v10 = 10; v6 = _mc3.createTextField('t', 301, v10, 7, 10, 10); v6._width = talk_mc.in_text_max; v6.wordWrap = true; v6.autoSize = 'left'; _root.format_fnc(talk_mc.in_text, v6, text_menu[0], 1, 0, 0, text_menu[1], 0, 1); var v5 = [N(_mc3._width) + N(_mc3._width) % 2 + v10, N(_mc3._height) + N(_mc3._height) % 2 + 8]; v5 = [talk_mc.in_text_max, N(_mc3._height) + N(_mc3._height) % 2 + 8 + 4]; if (talk_mc.keyw) { talk_mc.key = []; talk_mc.sele = 0; v7 = 0; while (v7 < talk_mc.keyw.length) { talk_mc.keyw; var v8 = _mc3.createEmptyMovieClip('tt_inin_mc' + v7, 350 + v7); v8.datas = talk_mc.keyw[v7].slice(); v6 = _mc3.createTextField('t' + v7, 311 + v7 * 2, v10, v5[1] - 2 - (v7 + 1) * 15, 10, 10); v6._width = talk_mc.in_text_max; v6.wordWrap = true; v6.autoSize = 'left'; _root.format_fnc(talk_mc.keyw[talk_mc.keyw.length - 1 - v7][0], v6, text_menu[0], 1, 0, 0, text_menu[1], 0, 1); v8.tg = v6; talk_mc.key[talk_mc.keyw.length - 1 - v7] = v8; ++v7; } _mc_color_anime_fnc('red', talk_mc.key[talk_mc.sele].tg); } ami_typ = 1; _mc.ru._x = v5[0]; _mc.ld._y = v5[1]; _mc.rd._x = _mc.ru._x; _mc.rd._y = _mc.ld._y; _mc.sippo._visible = false; var v3 = _mc.createEmptyMovieClip('waku_xy' + num_d - 1, num_d - 1); v7 = 0; while (v7 < (v5[1] - 10) / 2) { var v13 = v3.attachMovie('window_tate_mc', 'window_tate_mc' + v3.getNextHighestDepth(), v3.getNextHighestDepth()); v13._y = v7 * 2 + 5; v13.gotoAndStop(ami_typ); v13 = v3.attachMovie('window_tate_mc', 'window_tate_mc' + v3.getNextHighestDepth(), v3.getNextHighestDepth()); v13._y = v7 * 2 + 5 + 2; v13.gotoAndStop(ami_typ); v13._xscale = -100; v13._yscale = -100; v13._x = v5[0]; ++v7; } yoko_array = []; v7 = 0; while (v7 < (v5[0] - 10) / 2) { v13 = v3.attachMovie('window_yoko_mc', 'window_yoko_mc' + v3.getNextHighestDepth(), v3.getNextHighestDepth()); v13._x = v7 * 2 + 5; v13.gotoAndStop(ami_typ); yoko_array.push(v13); v13 = v3.attachMovie('window_yoko_mc', 'window_yoko_mc' + v3.getNextHighestDepth(), v3.getNextHighestDepth()); v13._x = v7 * 2 + 5 + 2; v13.gotoAndStop(ami_typ); v13._yscale = -100; v13._xscale = -100; v13._y = v5[1]; yoko_array.push(v13); ++v7; } v13 = v3.attachMovie('window_naka_mc', 'window_naka_mc' + v3.getNextHighestDepth(), v3.getNextHighestDepth()); v13._x = 5; v13._y = 3; v13.gotoAndStop(ami_typ); v13.mask_mc._xscale = v5[0] - 10; v13.mask_mc._yscale = v5[1] - 10 + 4; var v12 = new Object(); v12.x = 0; v12.y = 0; if (N(talk_data[talk_mc.sp[2]][talk_mc.cnt][0]) % 2 == 1) { talk_mc.tg.globalToLocal(v12); sippo._x = -v12.x + 8; sippo._y = -v12.y; } else { tg_mc.globalToLocal(v12); sippo._x = tg_mc._x + rule.player_chara_tip_size[0] / 2; sippo._yscale = -100; } sippo.gotoAndStop(4); if (N(talk_data[talk_mc.sp[2]][talk_mc.cnt][0]) > 1) { sippo.gotoAndStop(talk_data[talk_mc.sp[2]][talk_mc.cnt][0] + 10); } yohaku = 2; if (N(talk_data[talk_mc.sp[2]][talk_mc.cnt][0]) % 2 == 1) { if (talk_mc.typ == 3) { sippo._yscale = -100; } if (talk_mc.typ != 0) { sippo._xscale = -100; } m_mc._x = (rule.stage_size[0] - rule.field_tip_size[1]) / 2 - N(v5[0] / 2); } else { m_mc._x = (rule.stage_size[0] - rule.field_tip_size[1]) / 2 - N(v5[0] / 2); m_mc._y = talk_mc.tg_mc._y + N(v5[1]); sippo._y = tg_mc._y + 13; if (talk_mc.typ == 3) { sippo._yscale = 100; sippo._y = tg_mc._y + sippo._height - 5; } if (talk_mc.typ == 2) { rule.player_chara_tip_size[1]; sippo._x = tg_mc._x - rule.player_chara_tip_size[0] / 2; } if (talk_mc.typ == 0) { sippo._xscale = -100; } } if (N(talk_data[talk_mc.sp[2]][talk_mc.cnt][0] % 2 == 1)) { m_mc._x = (rule.stage_size[0] + rule.field_tip_size[1]) / 2 - N(v5[0] / 2); } if (N(talk_data[talk_mc.sp[2]][talk_mc.cnt][0]) % 2 == 1) { if (talk_mc.typ == 0) { m_mc._x = rule.stage_size[0] / 2 - rule.field_tip_size[1] - N(v5[0] / 2); m_mc._y = tg_mc._y - N(v5[1]) - yohaku; _mc3._y = _mc._y - 3; _mc3._x = _mc._x - 2; sippo._y = m_mc._y + sippo._height + N(v5[1]) - 3; } else { if (talk_mc.typ == 1) { m_mc._y = tg_mc._y - N(v5[1]) - rule.field_tip_size[1] - yohaku; _mc3._y = -3; _mc3._x = -2; sippo._y = m_mc._y + sippo._height + N(v5[1]) - 3; } else { if (talk_mc.typ == 2) { m_mc._y = tg_mc._y - N(v5[1]) - yohaku; m_mc._x += rule.field_tip_size[1]; _mc3._y = _mc._y - 3; _mc3._x = _mc._x - 2; sippo._y = m_mc._y + sippo._height + N(v5[1]) - 3; } else { if (talk_mc.typ == 3) { m_mc._y = tg_mc._y + rule.player_chara_tip_size[1] + rule.field_tip_size[1] + yohaku; _mc._y = N(v5[1]); _mc._yscale = -100; _mc3._y = _mc._y - 3; _mc3._y -= N(v5[1]); _mc3._x = _mc._x - 2; sippo._y = m_mc._y - sippo._height + 3; } } } } } else { if (talk_mc.typ == 0) { m_mc._x += rule.field_tip_size[1]; m_mc._y = tg_mc._y + rule.player_chara_tip_size[1] + yohaku; m_mc._y = sippo._y + sippo._height - 3; _mc3._x = _mc._x - 2; _mc3._y = _mc._y - 3; } else { if (talk_mc.typ == 3) { m_mc._y = tg_mc._y - N(v5[1]) - yohaku; _mc3._y = _mc._y - 3; _mc3._y = -3; _mc3._x = _mc._x - 2; } else { if (talk_mc.typ == 2) { m_mc._y = tg_mc._y + N(v5[1]) + yohaku; m_mc._x += rule.field_tip_size[1]; m_mc._y = sippo._y + sippo._height - 3; _mc3._y = _mc._y - 3; _mc3._x = _mc._x - 2; } else { if (talk_mc.typ == 1) { m_mc._y = tg_mc._y + rule.player_chara_tip_size[1] + yohaku + 3; m_mc._y = sippo._y + sippo._height - 3; _mc._yscale = -100; _mc._y += N(v5[1]); _mc3._x = -2; _mc3._y += _mc._y - 3 - N(v5[1]); } } } } } if (m_mc._x + v5[0] > rule.stage_size[0] - 10) { m_mc._x = rule.stage_size[0] - 10 - v5[0]; } if (m_mc._x < 10) { m_mc._x = 10; } v7 = 0; while (v7 < yoko_array.length) { if (sippo.hit_mc.hitTest(yoko_array[v7])) { yoko_array[v7]._visible = false; } ++v7; } m_mc._x += sippo._x % 2 - 1; }; key_lis_talk = new Object(); key_lis_talk_ans = new Object(); key_lis_talk.onKeyUp = function () { if (Key.getCode() == kettei_btm || Key.getCode() == cancel_btm) { _global.talk_key_flg = false; } }; key_lis_talk.onKeyDown = function () { if (!_global.talk_key_flg) { _global.talk_key_flg = true; if (Key.getCode() == kettei_btm || Key.getCode() == cancel_btm) { talk_fnc('next'); } } }; key_lis_talk_ans.onKeyDown = function () { if (Key.getCode() == u_btm || Key.getCode() == d_btm) { talk_mc.key[talk_mc.sele].tg.filters = [param_array[1]]; talk_mc.key[talk_mc.sele].tg._parent.color_anime.removeMovieClip(); if (Key.getCode() == u_btm) { --talk_mc.sele; } else { if (Key.getCode() == d_btm) { ++talk_mc.sele; } } if (talk_mc.sele < 0) { talk_mc.sele = talk_mc.key.length - 1; } if (talk_mc.sele > talk_mc.key.length - 1) { talk_mc.sele = 0; } _mc_color_anime_fnc('red', talk_mc.key[talk_mc.sele].tg); } if (Key.getCode() == kettei_btm || Key.getCode() == cancel_btm) { var v2 = 0; while (v2 < talk_mc.key.length) { talk_mc.key[v2].tg.removeTextField(); talk_mc.key[v2].removeMovieClip(); ++v2; } trace('datas = ' + talk_mc.keyw[talk_mc.sele]); if (!isNaN(talk_mc.keyw[talk_mc.sele][2])) { _global.talk_ans_fnc(talk_mc.keyw[talk_mc.sele][2]); } else { delete talk_mc.key; delete talk_mc.keyw; talk_mc.ans = talk_mc.sele; ++talk_mc.cnt; talk_mc.cnt2 = 1; talk_mc.in_text = ''; talk_fnc('next'); } Key.addListener(key_lis_talk); Key.removeListener(key_lis_talk_ans); } }; } frame 1 { _global.field_fnc = function (typ, n1) { if (typ == 'start') { _global.yae_player_h_array = []; _global.field_var_flg = []; _global.yae_h_num = Math.max(Math.min(_global.yae_h_num - 1, 5), 0); _global.touch_num = 0; p.field_p_bu = p.field_p + 0; _global.talk_time_flg = false; trace('map = ' + p.map_p[0] + ' : ' + p.map_p[1] + ' : ' + p.map_p[2] + ' field = ' + p.field_p); _global.move_simbol_array = []; _global.hit_simbol_array = []; _global.simbol_depth_array = []; field_obj_data_data_set_fnc(); _global.master_enemy_move_flg = false; field_obj_data = []; field_obj_data = _global.field_obj_data_data[p.field_p]; var v12 = [[2, 100], [4, 100], [2, -100], [0, 100]]; _global.display_mc = _root.createEmptyMovieClip('display_mc', 0); _global.tg_mc = _root.display_mc.createEmptyMovieClip('tatie_mc', 300); _global.tatie_mc = _global.tg_mc.attachMovie('tatie_mc', 'tatie_mc', 101); yae_states_fnc(); _global.tatie_mc._quality = 'HIGH'; _global.tatie_mc.cacheAsBitmap = true; tg_mc.tatie_mc._x = rule.stage_size[0] - tg_mc.tatie_mc.hit_mc._x; tg_mc.tatie_mc._y = -tg_mc.tatie_mc.hit_mc._y; _global.def_xy(_global.tatie_mc); if (debug_flg) { _global.display_mc.attachMovie('debug_mc', 'debug_mc', 10002); } _root.display_mc.createEmptyMovieClip('chara_mc', 100); _global.tg_mc = _root.display_mc.chara_mc.attachMovie('chara_mc', 'chara_mc', 100); tg_mc._x = rule.stage_size[0] / 2 - tg_mc.mask_mc._width / 2; tg_mc._y = rule.stage_size[1] / 2 - tg_mc.mask_mc._height / 2; tg_mc.px = N(tg_mc._x / 16); tg_mc.py = N(tg_mc._y / 16); tg_mc.def_x = tg_mc._x; tg_mc.def_y = tg_mc._y; tg_mc.px = 10; tg_mc.py = 8; tg_mc.chara_num = p.party_data[0].chara_num; tg_mc.hadaka_num = p.party_data[0].hadaka_num; if (n1) { field_obj_data[0][0][4] = n1[2]; } tg_mc.mc._x = v12[field_obj_data[0][0][4]][0] * -_global.rule.player_chara_tip_size[0]; tg_mc.mc._y = (tg_mc.chara_num + tg_mc.hadaka_num) * -_global.rule.player_chara_tip_size[1]; tg_mc._xscale = v12[field_obj_data[0][0][4]][1]; if (field_obj_data[0][0][4] == 2) { tg_mc._x += 24; } _global.simbol_depth_array.push(tg_mc); _global.field_mc = _root.display_mc.createEmptyMovieClip('field_mc', 50); _global.field_mc_top = _root.display_mc.createEmptyMovieClip('field_mc_top', 200); _global.field_sp_mc = _root.display_mc.createEmptyMovieClip('field_sp_mc', 400); field_mc.attachMovie('yuka_mc', 'yuka_mc', 1); field_mc.yuka_mc._y = 0; field_mc.yuka_mc._x = 0; field_mc.yuka_mc.gotoAndStop(field_obj_data[0][0][1]); field_mc.yuka_mc.mask_mc_top._visible = false; field_mc.yuka_mc.change_mc._visible = false; field_mc_top.attachMovie('yuka_mc', 'yuka_mc', 2); field_mc_top.yuka_mc.gotoAndStop(field_obj_data[0][0][1]); field_mc_top.yuka_mc.mask_mc_btm._xscale = 0; field_mc_top.yuka_mc.mask_mc_btm._yscale = 0; field_mc_top.yuka_mc.change_mc.gotoAndStop(field_obj_data[0][0][1]); field_mc._y = tg_mc._y + 11; field_mc._x = tg_mc._x + 4; field_mc.d_y = field_mc._y; field_mc.d_x = field_mc._x; if (field_obj_data[0][0][4] == 2) { field_mc._x = tg_mc._x - 4 - 16; } if (n1) { field_mc._x += -n1[1] * 16; field_mc._y += -n1[0] * 16; } else { field_mc._x += -field_obj_data[0][0][3] * 16; field_mc._y += -field_obj_data[0][0][2] * 16; } field_mc_top._x = field_mc._x; field_mc_top._y = field_mc._y; var v9 = N(field_mc.yuka_mc._width / 160) + 4; var v8 = N(field_mc.yuka_mc._height / 160) + 4; v8 = N(field_mc.yuka_mc._height / 160) + 4; var v3 = 0; while (v3 < v9) { var v4 = 0; while (v4 < v8) { var v5 = field_mc.attachMovie('field_bg_yuka_mc', 'field_mc.yuka_mc' + v4 + '_' + v3, field_mc.getNextHighestDepth()); v5._x = field_mc.yuka_mc._x + (v3 - 2) * 160; v5._y = field_mc.yuka_mc._y + (v4 - 2) * 160; v5.gotoAndStop(field_obj_data[0][0][5]); ++v4; } ++v3; } field_mc.yuka_mc.swapDepths(field_mc.getNextHighestDepth()); _global.field_max = [field_obj_data.length, 0]; v3 = 0; while (v3 < field_obj_data.length) { hit_simbol_array[v3] = []; field_max[1] = Math.max(field_max[1] + 0, field_obj_data[v3].length) + 0; v4 = 0; while (v4 < field_obj_data[v3].length) { if (field_obj_data[v3][v4] > 0 || field_obj_data[v3][v4][1] && !isNaN(field_obj_data[v3][v4][0])) { v5 = field_mc.attachMovie('field_obj_mc', 'obj_' + v3 + '_' + v4, field_mc.getNextHighestDepth()); hit_simbol_array[v3][v4].push(v5); hit_simbol_array[v3][v4] = v5; v5._x = field_mc.yuka_mc._x + v4 * 16; v5._y = field_mc.yuka_mc._y + v3 * 16; if (field_obj_data[v3][v4][1] == 'p') { var v6 = _root.display_mc.chara_mc.attachMovie('enemy_simbol_mc', 'e' + v3 + '_' + v4, _root.display_mc.chara_mc.getNextHighestDepth()); v6._x = field_mc._x + v4 * 16 - 4; v6._y = field_mc._y + v3 * 16 - 11; v6.p = [v3, v4]; v6.p2 = [v3, v4]; v6.p3 = [v3, v4]; v6.sp = field_obj_data[v3][v4].slice(); move_simbol_array.push(v6); simbol_depth_array.push(v6); enemy_add_fnc(v6, 3); v5.gotoAndStop(field_obj_data[v3][v4][0]); } else { if (field_obj_data[v3][v4][1] == 'e') { var v6 = _root.display_mc.chara_mc.attachMovie('enemy_simbol_mc', 'e' + v3 + '_' + v4, _root.display_mc.chara_mc.getNextHighestDepth()); v6._x = field_mc._x + v4 * 16 - 4; v6._y = field_mc._y + v3 * 16 - 11; v6.p = [v3, v4]; v6.p2 = [v3, v4]; v6.p3 = [v3, v4]; v6.sp = field_obj_data[v3][v4].slice(); move_simbol_array.push(v6); simbol_depth_array.push(v6); enemy_add_fnc(v6, 3); v5.gotoAndStop(field_obj_data[v3][v4][0]); } else { if (field_obj_data[v3][v4][1] == 'wap') { v5.gotoAndStop(field_obj_data[v3][v4][0]); v5.sp = field_obj_data[v3][v4].slice(); var v6 = _root.display_mc.chara_mc.attachMovie('field_obj_mc', 'obj_' + v3 + '_' + v4, field_mc.getNextHighestDepth()); v6.gotoAndStop(field_obj_data[v3][v4][4]); v6._x = field_mc._x + v4 * 16; v6._y = field_mc._y + v3 * 16; move_simbol_array.push(v6); simbol_depth_array.push(v6); if (!field_obj_data[v3][v4][4]) { v6.gotoAndStop('no'); } } else { if (field_obj_data[v3][v4][1] == 'item') { v5.gotoAndStop(field_obj_data[v3][v4][0]); get_flg = 0; var v7 = 0; while (v7 < p.item_get_data[p.field_p].length) { if (p.item_get_data[p.field_p][v7] == (v3 + 1) * 1000 + v4) { get_flg = 1; break; } ++v7; } if (get_flg == 1) { v5.gotoAndStop(field_obj_data[v3][v4][0] + 1); trace('get end'); } else { v5.sp = field_obj_data[v3][v4].slice(); } } else { if (field_obj_data[v3][v4][1]) { v5.gotoAndStop(field_obj_data[v3][v4][0]); v5.sp = field_obj_data[v3][v4].slice(); } else { v5.gotoAndStop(field_obj_data[v3][v4]); } } } } } } ++v4; } ++v3; } _global.key_flg = false; Key_lis_del_fnc(); Key.addListener(_root.key_lis_field); field_move_fnc(); trace(field_max); yuka_change_num = 10; field_kakusi_change_fnc('start'); key_lis_field_move_mc_fnc(); _global.move_flg = true; field_depth_set_fnc(); tg_mc.p = [(-field_mc._y - 9) / 16 + tg_mc.py, (-field_mc._x - 8) / 16 + tg_mc.px]; tg_mc.p2 = [(-field_mc._y - 9) / 16 + tg_mc.py, (-field_mc._x - 8) / 16 + tg_mc.px]; tg_mc.p3 = [(-field_mc._y - 9) / 16 + tg_mc.py, (-field_mc._x - 8) / 16 + tg_mc.px]; field_sp_fnc(field_mc['obj_' + ((-field_mc._y - 9) / 16 + tg_mc.py) + '_' + ((-field_mc._x - 8) / 16 + tg_mc.px)]); } else { battle_mc.removeMovieClip(); Key_lis_del_fnc(); field_mc._visible = true; field_mc_top._visible = true; _root.display_mc.chara_mc._visible = true; _root.display_mc.tatie_mc._visible = true; var v10 = _root.createEmptyMovieClip('lag_mc' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v10.my_end_fnc = function () { Key.addListener(key_lis_field); key_lis_field_move_mc_fnc(); _global.key_flg = false; trace('lag end'); var v3 = _root.createEmptyMovieClip('lag_mc' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v3.my_end_fnc = function () { _global.master_enemy_move_flg = false; }; lag_fnc(v3, 6); }; lag_fnc(v10, 30); } }; _global.field_kakusi_change_fnc = function (typ) { trace(' change_field typ = ' + typ + ' num = ' + yuka_change_num); if (typ == 'start') { trace('start!'); field_mc_top.yuka_mc.change_mc.mask_mc_0.gotoAndStop(2); field_mc_top.yuka_mc.change_mc['mask_mc_' + (N(0) + 1) % 2].gotoAndStop(4); _global.key_flg = false; yuka_change_num = 0; } else { if (yuka_change_num == typ) { trace(' change_field false'); _global.key_flg = false; } else { _global.master_enemy_move_flg = true; var v5 = _root.createEmptyMovieClip('lag_mc' + _root.getNextHighestDepth(), _root.getNextHighestDepth()); v5.my_end_fnc = function () { trace('lag end'); _global.master_enemy_move_flg = false; _global.key_flg = false; this.removeMovieClip(); }; lag_fnc(v5, 20); field_mc_top.yuka_mc.change_mc['mask_mc_' + typ].gotoAndStop(2); field_mc_top.yuka_mc.change_mc['mask_mc_' + (N(typ) + 1) % 2].gotoAndStop(3); yuka_change_num = typ; } } }; _global.field_sp_fnc = function (my) { if (my == 'start') { } else { if (my.sp[1] == 'wap') { if (my.sp[2] == 0) { _global.key_flg = false; } else { p.field_p = my.sp[2]; var v4 = display_mc.createEmptyMovieClip('display_mc2', display_mc.getNextHighestDepth()); v4.sp = my.sp[3].slice(); v4.my_end_fnc = function () { field_fnc('start', this.sp); }; b_o_lag_fnc(v4, 10, 20, 10); } if (my.sp[5]) { _global.field_event_etc_fnc(my.sp[5]); } } else { if (my.sp[1] == 'map') { map_fnc(); } else { if (my.sp[1] == 'fc') { field_kakusi_change_fnc(my.sp[2]); } else { if (my.sp[1] == 't') { var v4 = display_mc.createEmptyMovieClip('display_mc2', display_mc.getNextHighestDepth()); v4.sp = my.sp.slice(); if (isNaN(v4.sp[3])) { talk_fnc(v4, _global.tg_mc.typ); } else { _global.tg_mc.typ = v4.sp[3] + 0; _global.tg_mc.mc._x = -tg_mc.array[tg_mc.typ][3] * rule.player_chara_tip_size[0]; talk_fnc(v4, _global.tg_mc.typ); } } else { if (my.sp[1] == 't') { p.field_p = my.sp[1]; var v4 = display_mc.createEmptyMovieClip('display_mc2', display_mc.getNextHighestDepth()); v4.my_end_fnc = function () { field_fnc('start'); }; b_o_lag_fnc(v4, 10, 20, 10); } else {} } } } } } }; _global.field_depth_set_fnc = function () { var v3 = _global.simbol_depth_array; var v5 = 0; while (v5 < v3.length - 1) { var v2 = v3.length - 1; while (v2 > v5) { if (v3[v2]._y < v3[v2 - 1]._y) { var v4 = v3[v2]; v3[v2] = v3[v2 - 1]; v3[v2 - 1] = v4; } --v2; } ++v5; } v5 = 0; while (v5 < v3.length) { _global.simbol_depth_array[v5].swapDepths(v5); ++v5; } }; } frame 1 { map_obj_data = []; map_obj_data.push([[[1, 1, 100, 100, '僧の多い村'], [2, 3, 200, 120, 'はじまりの草原'], [2, 5, 155, 140, 'デバッグ草原', 5], [2, 10, 70, 80, '洞窟', 1], [2, 11, 280, 160, 'もよおしの湖畔', 2]], [[2, 4, 70, 80, '出片守温泉街', 3], [1, 4, 160, 160, '未設定地']]]); map_obj_data.push([[[2, 4, 70, 80, '出片守温泉街', 3], [1, 4, 160, 160, '未設定地2']]]); } frame 1 { key_lis_map = new Object(); key_lis_map.onKeyDown = function () { if (Key.getCode() == kettei_btm) { var v2 = 0; while (v2 < _global.map_obj_array.length) { if (_global.map_obj_array[v2].hit_mc.hitTest(corsor_mc._x, corsor_mc._y, true)) { Key_lis_del_fnc(); _global.map_obj_array[v2].fnc(); break; } ++v2; } } else { if (Key.getCode() == cancel_btm) { p.map_p = p.map_p_bu.slice(); var v3 = display_mc.createEmptyMovieClip('display_mc2', display_mc.getNextHighestDepth()); Key_lis_del_fnc(); v3.my_end_fnc = function () { p.field_p = p.field_p_bu + 0; field_fnc('start'); }; b_o_lag_fnc(v3, 10, 20, 10); } else { if (Key.getCode() == menu_btm) { } else {} } } }; _global.key_lis_map_fnc = function (tg) { tg.fnc = function () { this.num = 3; this.onEnterFrame = function () { if (Key.isDown(l_btm)) { corsor_mc._x -= this.num; } else { if (Key.isDown(r_btm)) { corsor_mc._x -= -this.num; } } if (Key.isDown(u_btm)) { corsor_mc._y -= this.num; } else { if (Key.isDown(d_btm)) { corsor_mc._y -= -this.num; } } if (corsor_mc._x < 3) { corsor_mc._x = 3; } if (corsor_mc._x > rule.stage_size[0] - 6) { corsor_mc._x = rule.stage_size[0] - 6; } if (corsor_mc._y < 6) { corsor_mc._y = 6; } if (corsor_mc._y > rule.stage_size[1] - 3) { corsor_mc._y = rule.stage_size[1] - 3; } }; }; tg.fnc(); }; } frame 1 { _global.map_up_flg_fnc = function (tg, num) { if (!p.map_up_flg[tg]) { p.map_up_flg[tg] = num; if (isNaN(num)) { p.map_up_flg[tg] = 1; } } }; _global.map_fnc = function (typ, n1, n2) { if (typ == 'end') { _global.talk_time_flg = false; _global.map_obj_array = []; _global.tatie_mc.removeMovieClip(); _global.display_mc = _root.createEmptyMovieClip('display_mc', 0); _global.map_mc = display_mc.attachMovie('map_mc', 'map_mc', 0); map_mc.gotoAndStop(1); map_mc._x = -p.map_p[1] * rule.stage_size[0]; map_mc._y = -p.map_p[0] * rule.stage_size[1]; var v4 = [[0, 0, 10, rule.stage_size[1], [0, -1], [rule.stage_size[0] - 6, corsor_mc._y]], [0, 0, rule.stage_size[0], 10, [-1, 0], [corsor_mc._x, rule.stage_size[0] - 6]], [rule.stage_size[0] - 10, 0, 10, rule.stage_size[1], [0, 1], [1, corsor_mc._y]], [0, rule.stage_size[1] - 10, rule.stage_size[0], 10, [1, 0], [corsor_mc._x, 6]]]; v4 = [[0, 0, 10, rule.stage_size[1], [0, -1], [rule.stage_size[0] - 26, corsor_mc._y]], [0, 0, rule.stage_size[0], 10, [-1, 0], [corsor_mc._x, rule.stage_size[0] - 26]], [rule.stage_size[0] - 10, 0, 10, rule.stage_size[1], [0, 1], [21, corsor_mc._y]], [0, rule.stage_size[1] - 10, rule.stage_size[0], 10, [1, 0], [corsor_mc._x, 26]]]; var i = 0; while (i < 4) { if (p.map_p[0] == 0 && i == 1 || p.map_p[1] == 0 && i == 0) { } else { var v5 = display_mc.attachMovie('map_hit_mc', 'hit_mc' + i, display_mc.getNextHighestDepth()); v5._x = v4[i][0]; v5._y = v4[i][1]; v5._xscale = v4[i][2]; v5._yscale = v4[i][3]; v5.sp = v4[i][4].slice(); v5.sp2 = v4[i][5].slice(); v5.i = i; v5.fnc = function () { var v2 = [[rule.stage_size[0] - 26, corsor_mc._y], [corsor_mc._x, rule.stage_size[1] - 26], [21, corsor_mc._y], [corsor_mc._x, 26]]; p.map_p[0] += this.sp[0]; p.map_p[1] += this.sp[1]; map_fnc('change', v2[this.i]); }; v5.roll_o_fnc = function () { this.onEnterFrame = function () { if (this.hitTest(corsor_mc._x, corsor_mc._y, true)) { corsor_mc.gotoAndPlay('on'); } else {} }; }; v5.roll_o_fnc(); map_obj_array.push(v5); } ++i; } var i = 0; while (i < map_obj_data[p.map_p[0]][p.map_p[1]].length) { if (!map_obj_data[p.map_p[0]][p.map_p[1]][i][5] || p.map_up_flg[map_obj_data[p.map_p[0]][p.map_p[1]][i][5]]) { v5 = display_mc.attachMovie('map_obj_mc', 'map_obj_mc' + i, display_mc.getNextHighestDepth()); if (p.map_up_flg[map_obj_data[p.map_p[0]][p.map_p[1]][i][5]] == 1) { } else { v5.new_mc._visible = false; } v5.gotoAndStop(map_obj_data[p.map_p[0]][p.map_p[1]][i][0]); v5._x = map_obj_data[p.map_p[0]][p.map_p[1]][i][2]; v5._y = map_obj_data[p.map_p[0]][p.map_p[1]][i][3]; v5.sp = map_obj_data[p.map_p[0]][p.map_p[1]][i]; v5.map_num = i; v5.my_name = map_obj_data[p.map_p[0]][p.map_p[1]][i][4]; v5.roll_o_fnc = function () { this.onEnterFrame = function () { if (this.hit_mc.hitTest(corsor_mc._x, corsor_mc._y, true)) { this.tt.text = this.my_name + '_' + this.sp; this.tt.text = this.my_name; } else { this.tt.text = ''; } }; }; v5.roll_o_fnc(); v5.fnc = function () { p.map_up_flg[this.sp[5]] = 2; var v3 = display_mc.createEmptyMovieClip('display_mc2', display_mc.getNextHighestDepth()); v3.sp = this.sp; v3.map_num = this.map_num; v3.my_end_fnc = function () { _global.move_flg = true; p.field_p = this.sp[1]; p.map_p[2] = this.map_num; field_fnc('start'); }; b_o_lag_fnc(v3, 10, 20, 10); }; map_obj_array.push(v5); } ++i; } v5 = display_mc.attachMovie('map_obj_mc', 'corsor_mc' + i, display_mc.getNextHighestDepth()); v5.gotoAndStop(100); v5._x = rule.stage_size[0] / 2; v5._y = rule.stage_size[1] / 2; _global.corsor_mc = v5; v5._x = n1[0]; v5._y = n1[1]; if (!n1) { v5._x = display_mc['map_obj_mc' + p.map_p[2]]._x + 8; v5._y = display_mc['map_obj_mc' + p.map_p[2]]._y + 6; } trace(p.field_p_bu); key_lis_map_fnc(corsor_mc); Key.addListener(key_lis_map); _global.key_flg = false; } else { Key_lis_del_fnc(); var v5 = display_mc.createEmptyMovieClip('display_mc2', display_mc.getNextHighestDepth()); if (typ == 'change') { v5.c_p = n1; } else { p.map_p_bu = p.map_p.slice(); } v5.my_end_fnc = function () { _global.move_flg = true; if (this.c_p) { map_fnc('end', this.c_p); } else { map_fnc('end'); } }; b_o_lag_fnc(v5, 10, 20, 10); } }; _global.b_o_lag_fnc = function (tg, n1, n2, n3) { tg.fnc = function (tg, n1, n2, n3) { this.cnt = 0; this.cnt_m1 = n1; this.cnt_m2 = n2; this.cnt_m3 = n3; this.tg = tg; this.onEnterFrame = function () { ++this.cnt; if (this.cnt == this.cnt_m1) { b_o_fnc(this, 0, this.cnt_m2, this.cnt_m3); } if (this.cnt == this.cnt_m1 + this.cnt_m2 + this.cnt_m3) { this.tg.my_end_fnc(); delete this.onEnterFrame; this.removeMovieClip(); } }; }; tg.fnc(tg, n1, n2, n3); }; _global.simplex_poji_fnc = function (tg, num, xs, yx) { var v2 = N(tg._width / xs); var v1 = N(tg._height / ys); xp = num % v2; yp = v1 % v1; xp; return yp; }; } frame 1 { _global.item_get_fnc = function (typ) { p.item_data.push(typ); var v2 = p.item_data; var v4 = 0; while (v4 < v2.length - 1) { var v1 = v2.length - 1; while (v1 > v4) { if (v2[v1] < v2[v1 - 1]) { var v3 = v2[v1]; v2[v1] = v2[v1 - 1]; v2[v1 - 1] = v3; } --v1; } ++v4; } trace(p.item_data); }; } frame 1 { key_lis_debug = new Object(); key_lis_debug.onKeyDown = function () { if (Key.getCode() >= 48 && Key.getCode() <= 57) { } if (Key.getCode() == 96) { _global.wiggle_fnc(_root, 100, [0, 0], [-1, -2, -3, -2, -1, 0, 1, 2, 3, 2, 1, 0]); } if (Key.getCode() == 97) { } if (Key.getCode() == 98) { } if (Key.getCode() == 99) { } if (Key.getCode() == 100) { } if (Key.getCode() == 101) { } if (Key.getCode() == 102) { } if (Key.getCode() == 103) { } if (Key.getCode() == 104) { } if (Key.getCode() == 105) { } }; } frame 1 { _global.item_data = []; _global.item_data.push([['パンチ', 7, 240, 0, 0, 1, 0]]); _global.item_data.push([['防御', 12, 11, 1, 0, 0, 0]]); _global.item_data.push(['退却', 13, 11, 1, 0, 0, 0]); _global.item_data.push(['脇差', 0, 30, 0, 0, 6, 0, 3000]); _global.item_data.push(['脇差(幻)', 0, 30, 0, 0, 4, 0, 6000]); _global.item_data.push(['手裏剣', 6, 210, 0, 0, 8, 0, 6000]); _global.item_data.push(['ブロードソード', 0, 30, 0, 0, 8, 0, 6000]); _global.item_data.push(['ブロードソードss', 0, 30, 0, 0]); _global.item_data[197] = ['傷薬', 14, 27, 1, 0, -100, 0, 200]; _global.item_data[198] = ['高級傷薬', 14, 28, 1, 0, -400, 0, 1200]; _global.item_data[199] = ['最高級傷薬', 14, 29, 1, 0, -999, 0, 4000]; _global.item_data[200] = ['ライトスーツ', 0, [3, 3, 3, 3, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0], 6, 2, 200]; _global.item_data[201] = ['ライトスーツ', 0, [3, 3, 3, 3, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0], 6, 2, 200]; _global.item_data[230] = ['普通の帽子', 1, [3, 3, 3, 3, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0], 6, 2, 200]; _global.item_data[260] = ['アイアンアーマー', 2, [3, 3, 3, 3, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0], 6, 2, 200]; _global.item_data[290] = ['忍服', 3, [3, 3, 3, 3, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0], 6, 2, 200]; _global.item_data[291] = ['忍服2', 3, [3, 3, 3, 3, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0], 6, 2, 200]; _global.item_data[320] = ['アイアンバングル', 4, [3, 3, 3, 3, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0], 6, 2, 200]; _global.item_data[350] = ['すねあて', 5, [3, 3, 3, 3, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0], 6, 2, 200]; _global.item_data[380] = ['お守り', 6, [1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0], [0, 0, 0, 0], 6, 2, 200]; _global.item_data[400] = ['ネギ', 4, 30, 1, 0]; } frame 1 { _global.enemy_data = []; _global.enemy_data.push(['0', 60, 1, 0, 0, [100, 100, 100, 11]]); _global.enemy_data.push(['凶暴僧', 20, 1, 0, 0, [[300, 300, 300, 211], [11, 240, 300]], 5, 8, 1, [20, 20, 20, 20, 20, 1, 1], 2, [197, 198, 199]]); _global.enemy_data.push(['凶暴僧mk2', 2, 1, 0, 0, [[300, 211], [11, 240]], 10, 10, 12, [20, 20, 20, 20, 20, 1, 1], 2, [197, 198, 199, 6]]); _global.enemy_data.push(['マルテキ', 2, 1, 0, 0, [11, 11]]); } frame 1 { _global.yae_states_fnc = function (typ) { if (_global.go_lb != _global.go_lb_old) { _global.tatie_mc.gotoAndStop('reset'); } if (typ) { _global.tatie_mc.gotoAndStop('reset'); } _global.go_lb = 'stay'; _global.go_kao_lb = 'stay'; if (p.chara0.hadaka_num) { _global.go_lb += '_hadaka'; _global.go_kao_lb += '_okori'; _global.yae_h_num = Math.max(Math.min(_global.yae_h_num, 5), 4); } _global.tatie_mc.gotoAndStop(_global.go_lb); _global.tatie_mc.kao_mc.gotoAndPlay(_global.go_kao_lb); tatie_kao_fnc(); _global.go_lb_old = _global.go_lb + ''; }; } frame 1 { _global.sasage_event_fnc = function (typ) { if (typ == 'end') { _global.talk_end_fnc(); _root._x = 0; _root.mekakusi._x = -_root._x; Key.removeListener(_root.key_lis_sasage_field); _global.touch_ero_fnc_end('guard_end'); if (_root.display_mc.tatie_mc.sasage_effect_mc.cnt < 70) { _global.field_var_flg[19] = 1; field_mc['obj_' + (_global.tg_mc.p[0] + 0) + '_' + (_global.tg_mc.p[1] + 0)].sp[2] = 14; _root.display_mc.tatie_mc.sasage_effect_mc.gotoAndPlay('sasage_end'); _global.tatie_mc.kao_mc.gotoAndStop('gyag'); var _mc = _root.attachMovie('gyag_hukidasi_mc', 'gyag_hukidasi_mc', _root.getNextHighestDepth()); _mc._x = 30; _mc._y = 10; _mc.tt.text = '・・・っ'; _mc.stop(); _mc.fnc = function () { this._mc = this; this.cnt = 0; this.cnt_limit = [40, 120]; this.onEnterFrame = function () { ++this.cnt; if (this.cnt == this.cnt_limit[0]) { this._mc.gotoAndPlay('oogoe'); this.tt.text = '・・・っ \nきゃあきゃあ///'; _global.tatie_mc.kao_mc.gotoAndPlay('gyag2'); _global.wiggle_fnc(_root, 90, [0, 0], [-1, -2, -3, -2, -1, 0, 1, 2, 3, 2, 1, 0]); } if (this.cnt == this.cnt_limit[1]) { _global.tatie_mc.kao_mc.gotoAndStop('gorippuku'); this.removeMovieClip(); } }; }; _mc.fnc(); delete _root.display_mc.tatie_mc.sasage_effect_mc.onEnterFrame; _global.key_flg = false; } else { _root.display_mc.tatie_mc.sasage_effect_mc.gotoAndPlay('sasage_end2'); yae_states_fnc(1); _root.display_mc.tatie_mc.sasage_effect_mc.fnc = function () { this.cnt = 0; this.cnt_limit = [120]; this.onEnterFrame = function () { ++this.cnt; if (this.cnt == this.cnt_limit[0]) { _global.key_flg = false; _root.display_mc.tatie_mc.sasage_effect_mc.removeMovieClip(); } }; }; _global.key_flg = true; _root.display_mc.tatie_mc.sasage_effect_mc.fnc(); } _global.field_sp_mc.i_mc0.removeMovieClip(); _global.field_sp_mc.i_mc1.removeMovieClip(); } else { _global.touch_ero_fnc_end('guard'); Key.removeListener(_root.key_lis_sasage_field); Key.addListener(_root.key_lis_sasage_field); _global.tatie_mc.kokoro_mc.removeMovieClip(); _root._x = -60; _root.mekakusi._x = -_root._x; _root.display_mc.tatie_mc.attachMovie('black_mc', 'sasage_effect_mc', 99); _root.display_mc.tatie_mc.sasage_effect_mc.gotoAndPlay('sasage_in'); icon_mc_array = [[70, 24, 'mouse', 'おさわり'], [70, 42, 'keyb', '終了']]; var v4 = 0; while (v4 < 2) { var _mc = _global.field_sp_mc.attachMovie('icon_mc', 'i_mc' + v4, v4); _mc._x = icon_mc_array[v4][0]; _mc._y = icon_mc_array[v4][1]; _mc.gotoAndStop(icon_mc_array[v4][2]); _mc.createTextField('tt', 1, 36, 0, 100, 100); _mc.tt.text = icon_mc_array[v4][3]; _root.format_fnc(_mc.tt, icon_mc_array[v4][3], text_menu[0], 1, 0, 0, text_menu[1], 0, 1); ++v4; } _root.display_mc.tatie_mc.sasage_effect_mc.fnc = function () { this.cnt = 0; this.cnt_limit = [40, 70]; this.onEnterFrame = function () { ++this.cnt; if (this.cnt == this.cnt_limit[0]) { if (!p.chara0.hadaka_num) { _global.tg_mc.mc._y -= rule.player_chara_tip_size[0]; _global.tatie_mc.tatie_mc.gotoAndStop('stay_hadaka'); } tatie_kao_fnc(); _global.tatie_mc.kao_mc.gotoAndPlay('act01_re'); } if (this.cnt == this.cnt_limit[1]) { _global.tatie_mc.gotoAndStop('sasage'); _global.touch_ero_fnc_end('guard_end'); delete this.onEnterFrame; } }; }; _root.display_mc.tatie_mc.sasage_effect_mc.fnc(); } }; key_lis_sasage_field = new Object(); key_lis_sasage_field.onKeyDown = function () { _global.sasage_event_fnc('end'); }; } frame 1 { _global.player_data_set_fnc_plus = function () { var v2 = [['y_love', 0], ['y_touch', [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], ['y_sex', 0], ['karuma', 0]]; var v1 = 0; while (v1 < v2.length) { if (!p[v2[v1][0] + '']) { p[v2[v1][0] + ''] = [v2[v1][1]]; } ++v1; } }; _global.player_data_set_fnc = function () { _global.p = new Object(); p.jinkei = 1; p.jinkei = 0; p.jinkei_array = [0, 1]; p.map_p = [0, 0, 1]; p.map_p_bu = p.map_p.slice(); p.map_up_flg = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]; p.map_up_flg = [0, 0, 0, 0, 0, 0]; p.field_p = 3; player_data_set_fnc_plus(); _global.field_obj_data_data_set_fnc(); p.item_get_data = [[]]; var v5 = 0; while (v5 < field_obj_data_data.length) { var v4 = 0; while (v4 < field_obj_data_data[v5].length) { var v3 = 0; while (v3 < field_obj_data_data[v5][v4].length) { if (field_obj_data_data[v5][v4][v3][1] == 'item') { p.item_get_data[v5].push(0); } ++v3; } ++v4; } ++v5; } p.skill_array = [32, 211]; p.master_skill_array = []; _global.sort_set_fnc(p.skill_array, 'up'); _global.katagaki_array = ['バズーカくのいち', 'バズーカくのいち', 'バズーカくのいち', 'ヤエの影分身', 'からくりニンジャ']; _global.name_array = ['ヤエ', 'ヤエ(裸)', 'ヤエ(裸髪)', '影分身', 'サスケ']; _global.sex_array = [2, 2, 2, 0, 1]; _global.sex_array_name = ['?', '男', '女']; _global.weapon_name_array_t = ['剣', '大剣', '斧', '棍棒', '槍', '小剣', '手裏剣', '体術', '弓']; _global.weapon_name_array_t2 = ['剣・大剣', '斧・棍棒', '槍・小剣', '手裏剣・体術', '弓']; _global.weapon_lv_array = [[3, 0, 0, 1, 2, 0], [3, 0, 0, 1, 2, 0], [3, 0, 0, 1, 2, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1], [3, 3, 3, 3, 3, 3, 1]]; _global.weapon_array = [[3, 5, 0, 0], [3, 5, 0, 0], [3, 5, 0, 0], [4, 0, 0, 0], [3, 0, 0, 0]]; _global.equip_array = [[290, 0, 0, 0], [290, 0, 0, 0], [290, 0, 0, 0], [290, 0, 0, 0], [290, 380, 0, 0], [0, 0, 0, 0]]; _global.skill_array = [[32, 31, 211], [0], [0], [0], [211]]; _global.spel_array = [[0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0]]; _global.states_name_array = ['wanryoku', 'kiyousa', 'subayasa', 'tairyoku', 'maryoku', 'isiryoku', 'miryoku']; _global.states_name_array_t = ['腕 力', '器用さ', '素早さ', '体 力', '魔 力', '意志力', '魅 力']; _global.states_array = [[19, 21, 22, 18, 17, 20, 21], [19, 21, 23, 18, 17, 20, 21], [19, 21, 23, 18, 17, 20, 21], [19, 21, 22, 18, 1, 1, 21], [17, 20, 24, 16, 17, 19, 20], [20, 20, 20, 20, 20, 20, 20], [20, 20, 20, 20, 20, 20, 20], [20, 20, 20, 20, 20, 20, 20], [20, 20, 20, 20, 20, 20, 20]]; _global.para_name_array = ['hpm', 'lpm', 'wpm', 'jpm']; _global.para_array = []; _global.para_array.push([96, 10, 8, 0]); _global.para_array.push([96, 10, 8, 0]); _global.para_array.push([96, 10, 8, 0]); _global.para_array.push([96, 8, 6, 0]); _global.para_array.push([86, 10, 10, 0]); _quality = 'low'; _global.rule = new Object(); _global.rule.player_chara_tip_size = [24, 24]; _global.rule.field_tip_size = [16, 16]; _global.rule.stage_size = [320, 240]; _global.enemy_simbol_kategorie_t = ['骸骨', 'ゾンビ', '獣人', '有翼', '悪魔', '獣', '虫', '蛇', '魚', '植物', '水棲', '無機質', '精霊', '人間', '霊体', '爬虫両生類', '竜', '巨人']; p.battle_enemy_simbol = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; p.battle_win_num = 0; _global.tuuka = '金'; p.chara_num_array = [0, 3, 4]; p.party_array = []; p.party_data = []; p.item_data = [197, 198, 380, 201, 230, 260, 320, 350]; _global.sort_set_fnc(p.item_data, 'up'); p.okane = 10; _global.yae_h_num = 0; _global.touch_num = 0; v5 = 0; while (v5 < name_array.length) { p['chara' + v5] = new Object(); var v2 = p['chara' + v5]; v2.chara_num = v5; v2.my_name = name_array[v5]; v2.sex = sex_array[v5]; v4 = 0; while (v4 < states_name_array.length) { v2[states_name_array[v4]] = states_array[v5][v4]; ++v4; } v4 = 0; while (v4 < para_name_array.length) { v2[para_name_array[v4] + ''] = para_array[v5][v4]; ++v4; } v2.hp = v2.hpm; v2.lp = v2.lpm; v2.wp = v2.wpm; v2.jp = v2.jpm; v2.weapon_lv = weapon_lv_array[v5].slice(); v2.hadaka_num = 0; v2.weapon = weapon_array[v5].slice(); v2.equip = equip_array[v5].slice(); v2.battle_menu_kioku1 = 0; v2.battle_menu_kioku2 = 0; v2.battle_cnt = 0; v2.skill_array = skill_array[v5].slice(); v2.spel_array = spel_array[v5].slice(); _global.sort_set_fnc(v2.skill_array, 'up'); ++v5; } v5 = 0; while (v5 < p.chara_num_array.length) { p.party_data.push(p['chara' + p.chara_num_array[v5]]); p.party_data[v5].jinkei_num = v5; ++v5; } }; } frame 1 { _global.anime_data[300] = [[60, ['ボール', 0, 0, 0, 0, 1, 0]], [['name'], [0, 0, 0, 0, 0, 200], [0]]]; } frame 1 { _global.text_s = [9, 0, 'MS ゴシック']; _global.text_name = [13, 3]; _global.text_menu = [13, 3]; _global.menu_kijun = [[8, -8], [0, 12]]; _global.wiggle_fnc = function (tg, times, xx, yy) { var v4 = _root.createEmptyMovieClip('wiggle_mc', _root.getNextHighestDepth()); v4.fnc = function (tg, times, xx, yy) { this.my_hoge = ['tg', 'times', 'xx', 'yy']; this.my_hoge2 = [tg, times, xx, yy]; var v2 = 0; while (v2 < this.my_hoge.length) { this[this.my_hoge[v2] + ''] = this.my_hoge2[v2]; trace(this[this.my_hoge[v2] + '']); ++v2; } this.cnt = 0; this.tg_x = this.tg._x; this.tg_y = this.tg._y; this.onEnterFrame = function () { ++this.cnt; if (this.cnt < this.times) { this.tg._x = this.xx[0]; this.tg._y = this.yy[this.cnt % this.yy.length]; } else { trace('on enta end' + this.times); this.tg._x = this.tg_x; this.tg._y = this.tg_y; this.removeMovieClip(); } }; }; v4.fnc(tg, times, xx, yy); }; _global.bougyo_fnc = function (i) { var v2 = 0; var v1 = 0; while (v1 < 4) { v2 = Math.max(v2, item_data[i][2][v1]); ++v1; } if (isNaN(v2)) { v2 = 0; } return v2; }; _global.m_bougyo_fnc = function (i) { var v2 = 0; var v1 = 0; while (v1 < 4) { v2 = Math.max(v2, item_data[i][2][v1 + 4]); ++v1; } if (isNaN(v2)) { v2 = 0; } return v2; }; _global.bougyo_all_fnc = function (tg) { var v5 = 0; var v3 = 0; while (v3 < 4) { var v2 = 0; if (p.party_data[tg].equip[v3]) { var v1 = 0; while (v1 < 4) { v2 = Math.max(v2, item_data[p.party_data[tg].equip[v3]][2][v1]); ++v1; } } v5 += v2; ++v3; } if (isNaN(v5)) { v5 = 0; } return v5; }; _global.m_bougyo_all_fnc = function (tg) { var v5 = 0; var v3 = 0; while (v3 < 4) { var v2 = 0; if (p.party_data[tg].equip[v3]) { var v1 = 0; while (v1 < 4) { v2 = Math.max(v2, item_data[p.party_data[tg].equip[v3]][2][v1 + 4]); ++v1; } } v5 += v2; ++v3; } if (isNaN(v5)) { v5 = 0; } return v5; }; _global.Key_lis_del_fnc = function () { Key.removeListener(key_lis_field); Key.removeListener(key_lis_map); Key.removeListener(key_lis_battle); Key.removeListener(key_lis_field_menu); Key.removeListener(_root.key_lis_field); Key.removeListener(_root.key_lis_map); Key.removeListener(_root.key_lis_battle); Key.removeListener(_root.key_lis_field_menu); Key.removeListener(key_lis_talk_ans); delete display_mc.field_move_mc_fnc_mc.onEnterFrame; display_mc.field_move_mc_fnc_mc.removeMovieClip(); delete corsor_mc.onEnterFrame; }; _global.mekakusi_fnc = function (tg, n1) { _root.createEmptyMovieClip('mekakusi', 19000); var v4 = [-2000, -10, 320, -2000, -10, 240]; var v2 = 0; while (v2 < 9) { if (v2 != 4) { var v3 = _root.mekakusi.attachMovie('black_mc', 'b' + v2, v2); v3._xscale = 2000; v3._yscale = 2000; v3._x = v4[v2 % 3]; v3._y = v4[Math.floor(v2 / 3) + 3]; } ++v2; } }; _global.lag_fnc = function (tg, n1) { tg.fnc = function (tg, n1) { this.cnt = 0; this.cnt_m1 = n1; this.tg = tg; this.onEnterFrame = function () { ++this.cnt; if (this.cnt == this.cnt_m1) { this.tg.my_end_fnc(); delete this.onEnterFrame; this.removeMovieClip(); } }; }; tg.fnc(tg, n1); }; _global._mc_color_anime_fnc = function (typ, tg) { if (typ == 'end') { } else { if (typ == 'red') { var v2 = tg._parent.createEmptyMovieClip('color_anime', tg._parent.getNextHighestDepth()); v2.fnc = function (tg) { this.cnt = 10; this.tg_np = 0; this.tg_n = 1; this.tg_np = 0; this.tg_n = 0; this.p_array = [10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; this.onEnterFrame = function () { if (this.cnt % 3 == 0) { this.tg_n = this.p_array[this.cnt / 3 % this.p_array.length] / 20 + 0.4; this.color_mtx = [1, 0, 0, 0, this.tg_np, 0, this.tg_n, 0, 0, 0, 0, 0, this.tg_n, 0, 0, 0, 0, 0, 1, 0]; this.filter = new flash.filters.ColorMatrixFilter(this.color_mtx); tg.filters = [this.filter, param_array[1]]; } ++this.cnt; }; }; v2.fnc(tg); } else { if (typ == 'battle_num') { var v2 = tg._parent.createEmptyMovieClip('color_anime', tg._parent.getNextHighestDepth()); v2.fnc = function (tg) { this.cnt = 10; this.tg_n = 0; this.p_array = [10, 9, 8, 6, 6, 8, 9, 10]; this.onEnterFrame = function () { if (this.cnt % 2 == 0) { this.tg_n = this.p_array[this.cnt / 2 % this.p_array.length] / 20 + 0.3; this.color_mtx = [this.tg_n, 0, 0, 0, 0, 0, this.tg_n, 0, 0, 0, 0, 0, this.tg_n, 0, 0, 0, 0, 0, 1, 0]; this.filter = new flash.filters.ColorMatrixFilter(this.color_mtx); tg.filters = [this.filter, param]; } ++this.cnt; }; }; v2.fnc(tg); } } } }; _global.num_print_fnc = function (tg, num1, xx, yy, yori) { var v1 = tg.createEmptyMovieClip('states' + tg.getNextHighestDepth(), tg.getNextHighestDepth()); var v4 = 8; var v2 = 0; if (num1 == 'waru') { var v5 = v1.attachMovie('dot_num_num', 'n100', v1.getNextHighestDepth()); v5.gotoAndStop(num1); } else { if (num1 >= 100) { var v5 = v1.attachMovie('dot_num_num', 'n100', v1.getNextHighestDepth()); v5.gotoAndStop(N(num1 / 100 + 10)); v5._x = v2; v2 += v4; } if (num1 >= 10) { v5 = v1.attachMovie('dot_num_num', 'n10', v1.getNextHighestDepth()); v5.gotoAndStop(N(num1 / 10) % 10 + 10); v5._x = v2; v2 += v4; } v5 = v1.attachMovie('dot_num_num', 'n1', v1.getNextHighestDepth()); v5.gotoAndStop(N(num1 % 10) + 10); v5._x = v2; v2 += v4; } v1._x = xx - v2; v1._y = yy; if (yori == 2) { v1._x = xx; } }; _global.sort_set_fnc = function (a, typ) { if (typ == 'tume') { var v4 = 0; while (v4 < a.length) { if (!a[v4]) { a.splice(v4, 1); --v4; } ++v4; } } else { if (typ == 'down') { var v4 = 0; while (v4 < a.length - 1) { var v2 = a.length - 1; while (v2 > v4) { if (a[v2] > a[v2 - 1]) { var v3 = a[v2]; a[v2] = a[v2 - 1]; a[v2 - 1] = v3; } --v2; } ++v4; } } else { var v4 = 0; while (v4 < a.length - 1) { var v2 = a.length - 1; while (v2 > v4) { if (a[v2] < a[v2 - 1]) { var v3 = a[v2]; a[v2] = a[v2 - 1]; a[v2 - 1] = v3; } --v2; } ++v4; } } } }; _global.def_xy = function (my) { my.def_x = my._x; my.def_y = my._y; my.def_w = my._width; my.def_h = my._height; my._xd = my._x; my._yd = my._y; my._wd = my._width; my._hd = my._height; }; _global.rn = function (a, b) { var v1 = b - a + 1; return Math.floor(Math.random() * v1) + a; }; _global.rn2 = function (a) { return a[rn(0, a.length - 1)]; }; _global.N = function (a) { return Math.floor(a); }; btm_array = ['kettei', 'cancel', 'menu', 'option', 'l', 'u', 'r', 'd', 'reset']; btm_array_code = [90, 88, 83, 65, 37, 38, 39, 40, 82]; i = 0; while (i < btm_array.length) { if (!_root.my_so.data[btm_array[i] + '_btm']) { _root.my_so.data[btm_array[i] + '_btm'] = btm_array_code[i]; } _global[btm_array[i] + '_btm'] = _root.my_so.data[btm_array[i] + '_btm']; ++i; } _root.filter_fnc = function (tg, filter, a, b, c, d, e, f, g) { var v2 = new flash.filters.DropShadowFilter(); v2.alpha = a; v2.angle = b; v2.blurX = c; v2.blurY = d; v2.color = 0; v2.distance = e; v2.strength = f; v2.quality = g; v2.inner = false; v2.knockout = false; v2.hideObject = false; if (filter == 1) { tg.filters = [_root.filter_fnc_param]; } else { if (filter == 11) { tg.filters = [_root.filter_fnc_param]; tg.filters = [filter_fnc_filter_w]; } else { if (filter == 21) { tg.filters = [_root.filter_fnc_param2]; tg.textColor = '0xFFFFFF'; } else { if (filter == 2) { tg.filters = [_root.filter_fnc_param2]; } else { if (filter == 5) { tg.filters = [filter_fnc_filter]; } else { if (filter == 6) { tg.filters = [filter_fnc_filter2]; } else { if (filter == 7) { tg.filters = [filter_fnc_filter3]; } else { if (filter == 8) { tg.filters = [filter_fnc_filter8]; } else { if (filter == 20) { tg.filters = [filter_fnc_filter20]; } else { if (filter == 0) { tg.filters = [v2]; } else { if (filter == 'del') { tg.filters = []; } } } } } } } } } } } }; color_mtx = [1, 0, 0, 0, 255, 0, 1, 0, 0, 128, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]; comta = 0.3; color_mtx = [1, comta, comta, comta, 0, comta, 1, comta, comta, 0, comta, comta, 1, comta, 0, comta, comta, comta, 1, 0]; color_mtx = [1 - comta, 0, 0, comta, 0, 0, 1 - comta, 0, comta, 0, 0, 0, 1 - comta, comta, 0, 0, 0, 0, 1, 0]; color_mtx = [0, comta, comta, 0, 0, comta, 0, comta, 0, 0, comta, comta, 0, 0, 0, 0, 0, 0, 1, 0]; color_mtx = [1, comta, comta, 0, 0, 0, 1 - comta * 2, 0, 0, 0, 0, 0, 1 - comta, 0, 0, 0, 0, 0, 1, 0]; color_mtx = [1, comta, comta, 0, 0, 0, 0.7, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 1, 0]; filter_fnc_filter = new flash.filters.ColorMatrixFilter(color_mtx); comta = 0.5; color_mtx2 = [1, comta, comta, 0, 0, comta, 0.7, comta, 0, 0, comta, comta, 0.5, 0, 0, 0, 0, 0, 1, 0]; filter_fnc_filter2 = new flash.filters.ColorMatrixFilter(color_mtx2); comta = 0.9; color_mtx3 = [1, comta, comta, 0, 0, comta, 0.7, comta, 0, 0, comta, comta, 0.5, 0, 0, 0, 0, 0, 1, 0]; filter_fnc_filter3 = new flash.filters.ColorMatrixFilter(color_mtx3); comta = -120; color_mtx8 = [1, 0, 0, 0, comta, 0, 1, 0, 0, comta, 0, 0, 1, 0, comta, 0, 0, 0, 1, 0]; filter_fnc_filter8 = new flash.filters.ColorMatrixFilter(color_mtx8); color_mtx20 = [1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0]; filter_fnc_filter20 = new flash.filters.ColorMatrixFilter(color_mtx20); _global.param_array = []; var v_param = new flash.filters.DropShadowFilter(); param_array[1] = v_param; v_param.alpha = 1; v_param.angle = 45; v_param.blurX = 2; v_param.blurY = 2; v_param.color = 0; v_param.distance = 0; v_param.strength = 10; v_param.quality = 1; v_param.inner = false; v_param.knockout = false; v_param.hideObject = false; var v_param = new flash.filters.DropShadowFilter(); param_array[2] = v_param; v_param.alpha = 1; v_param.angle = 45; v_param.blurX = 2; v_param.blurY = 2; v_param.color = 16777215; v_param.distance = 0; v_param.strength = 10; v_param.quality = 1; v_param.inner = false; v_param.knockout = false; v_param.hideObject = false; var v_param = new flash.filters.DropShadowFilter(); param_array[3] = v_param; v_param.alpha = 0.2; v_param.angle = 45; v_param.blurX = 3; v_param.blurY = 3; v_param.color = 2105376; v_param.distance = 0; v_param.strength = 1; v_param.quality = 2; v_param.inner = false; v_param.knockout = false; v_param.hideObject = false; var v_param = new flash.filters.DropShadowFilter(); param_array[10] = v_param; v_param.alpha = 0; v_param.angle = 45; v_param.blurX = 3; v_param.blurY = 3; v_param.color = 2105376; v_param.distance = 0; v_param.strength = 1; v_param.quality = 2; v_param.inner = false; v_param.knockout = false; v_param.hideObject = false; _root.format_fnc = function (in_t, tg, siz, col, alig, bol, ls, gyou, filter, sp) { var v1 = new TextFormat(); if (col == 1) { v1.color = 16777215; } else { if (col == 2) { v1.color = 16763904; } else { if (col == 'max') { v1.color = 16752448; } else { if (col == 0) { } else { v1.color = col; } } } } if (siz) { v1.size = siz; } v1.align = 'left'; if (alig == 1) { v1.align = 'center'; } else { if (alig == 2) { v1.align = 'right'; } } if (!exe_flg) { if (sp == 'no') { v1.letterSpacing = ls; } else { if (sp == 'menu' || sp == 'menu_n') { v1.letterSpacing = ls + 6; v1.leftMargin = 0; if (sp == 'menu_n') { v1.letterSpacing = ls + 5; if (font_mode) { v1.font = 'font2'; } else { v1.font = 'font1'; } } else { v1.font = 'font1'; } } else { v1.letterSpacing = ls; v1.font = 'font1'; } } } else { v1.letterSpacing = ls; } v1.leading = gyou; tg.selectable = false; tg.setNewTextFormat(v1); tg.text = in_t; if (filter) { tg.filters = [param_array[filter]]; } if (!exe_flg) { if (sp == 'no') { } else { tg.embedFonts = true; } if (sp == 'menu' || sp == 'menu_n') { tg._width *= 2; tg._xscale = 50; } } }; } frame 1 { _global.mekakusi_fnc(); f_menu_mc_tg_array = []; _global.title_fnc = function () { _global.title_mc = _root.attachMovie('f_menu_mc', 'f_me', 1); title_mc.gotoAndStop('title'); f_menu_mc_tg_array.push(title_mc); var v5 = [106, 170, 18]; title_mc.key = []; title_mc.kate = 0; trace('_root.my_so.data.last_play = ' + _root.my_so.data.last_play); if (_root.my_so.data.last_play) { title_mc.kate = 1; } var v6 = title_mc.createEmptyMovieClip('ipp', 90); var v7 = v6.createTextField('tt', 0, 0, 0, 100, 30); _root.format_fnc('NEW GAME', v7, text_menu[0], 16777215, 1, 0, text_menu[1], 0, 10, 'menu'); v6._x = v5[0]; v6._y = v5[1]; title_mc.key.push(v6); v6 = title_mc.createEmptyMovieClip('ipp1', 190); v7 = v6.createTextField('tt', 0, 0, 0, 100, 30); _root.format_fnc('CONTINUE', v7, text_menu[0], 16777215, 1, 0, text_menu[1], 0, 10, 'menu'); v6._x = v5[0]; v6._y = v5[1] + v5[2]; title_mc.key.push(v6); title_mc.attachMovie('corsor_mc', 'corsor_mc', title_mc.getNextHighestDepth()); title_mc.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; title_mc.corsor_mc.fnc(); title_mc.move_fnc = function (num) { if (num == 're') { } else { if ((num - 1) % 2 == 0) { this.kate += num - 2; } else { if (num % 2 == 0) { } } } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.sele_fnc(); this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; }; title_mc.fnc = function (_mc) { if (this.kate == 0) { var v3 = 0; while (v3 < f_menu_mc_tg_array.length) { f_menu_mc_tg_array[v3].removeMovieClip(); ++v3; } f_menu_mc_tg_array = []; f_menu_mc.removeMovieClip(); title_mc.removeMovieClip(); Key.removeListener(key_lis_title); Key.removeListener(key_lis_title); _root.play_time0 = 0; _root.time_start = getTimer(); _root.play_save = 1; field_fnc('start'); } else { title_fnc2(); } }; title_mc.move_fnc('re'); }; _global.title_fnc2 = function () { _global.f_menu_mc = _root.attachMovie('f_menu_mc', 'f_menu_mc2', 10); f_menu_mc.gotoAndStop('load'); var v9 = f_menu_mc.createEmptyMovieClip('menu_100', 100); if (!_root.my_so.data.last_play) { _root.my_so.data.last_play = 1; } f_menu_mc.kate = _root.my_so.data.last_play - 1; f_menu_mc_tg_array.push(f_menu_mc); var v18 = f_menu_mc.createEmptyMovieClip('menu_120', 10000); var v4 = 0; while (v4 < 15) { var v15 = v18.attachMovie('mask_in_mc', 'm' + v4, v4); v15._y = v4 * 16; ++v4; } f_menu_mc.attachMovie('corsor_mc', 'corsor_mc', f_menu_mc.getNextHighestDepth()); f_menu_mc.corsor_mc.fnc = function () { this.cnt = 0; this.cntm = 30; this.onEnterFrame = function () { ++this.cnt; if (this.cnt % this.cntm == 0) { this._x = this._parent.key[this._parent.kate]._x - this._width + (this.cnt / this.cntm % 2) * 2 - 4; } }; }; f_menu_mc.corsor_mc.fnc(); f_menu_mc.move_fnc = function (num) { if (num == 're') { } else { if ((num - 1) % 2 == 0) { this.kate += num - 2; } else { if (num % 2 == 0) { } } } if (this.kate > this.key.length - 1) { this.kate = 0; } if (this.kate < 0) { this.kate = this.key.length - 1; } this.sele_fnc(); this.corsor_mc._x = this.key[this.kate]._x - this.corsor_mc._width - 4; this.corsor_mc._y = this.key[this.kate]._y; }; f_menu_mc.fnc = function (_mc) { _global.save_tg_num = this.kate + 1; var v4 = 0; while (v4 < f_menu_mc_tg_array.length) { f_menu_mc_tg_array[v4].removeMovieClip(); ++v4; } f_menu_mc_tg_array = []; f_menu_mc.removeMovieClip(); title_mc.removeMovieClip(); Key.removeListener(key_lis_title); Key.removeListener(key_lis_title); if (_root.my_so.data['play_time' + save_tg_num]) { _root.load_fnc('load'); } else { _root.play_time0 = 0; _root.time_start = getTimer(); } _root.play_save = save_tg_num; field_fnc('start'); }; var v7 = v9.createEmptyMovieClip('ipp', 90); var v12 = v7.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc('どのデータをロードしますか?', v12, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v7._x = 32; v7._y = 32; f_menu_mc.key = []; v4 = 0; while (v4 < 3) { v7 = v9.createEmptyMovieClip('i' + v4, v4 + 100); if (my_so.data['save' + (v4 + 1)]) { v12 = v7.createTextField('tt', 0, 0, 0, 200, 30); _root.format_fnc('プレイ時間', v12, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v12 = v7.createTextField('ttt', 1, 0, 0, 144, 30); _root.format_fnc(_root.time_enc_fnc(_root.my_so.data['play_time' + (v4 + 1)], 'hun'), v12, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v12 = v7.createTextField('tttt', 2, 0, 0, 112, 30); _root.format_fnc(_root.time_enc_fnc(_root.my_so.data['play_time' + (v4 + 1)], 'ji') + ':', v12, text_menu[0], 0, 2, 0, text_menu[1], 0, 10, 'menu'); v12 = v7.createTextField('ttt', 10, 0, 18, 200, 30); _root.format_fnc('現在地:' + field_obj_data_data[_root.my_so.data['save' + (v4 + 1)].field_p][0][0][0], v12, text_menu[0], 0, 0, 0, text_menu[1], 0, 10, 'menu'); v7._x = 160; var v10 = [32, 100, 0]; var v11 = v9.attachMovie('chara_mc', 'chara_mc' + v4, v4 + 1000); v11._x = v10[0] + 0; v11.def_x = v10[0] + 0; v11._y = v10[1] + 44 * v4; v11.def_y = v11._y; var v8 = ['my_name', 'chara_num', 'jinkei_num', 'hp', 'hpm', 'lp', 'lpm', 'wp', 'wpm', 'jp', 'jpm', 'weapon', 'skill_array', 'hadaka_num', '', '', '', '', '']; var v6 = 0; while (v6 < v8.length) { v11[v8[v6] + ''] = my_so.data['save' + (v4 + 1)].chara0[v8[v6] + '']; ++v6; } v11.chara_num = 0; menu_stay_move_fnc(v11, 0); var v5 = v9.createEmptyMovieClip('ii' + v4, v4 + 1010); v10 = [32, 100, 64]; v12 = v5.createTextField('t' + v9.getNextHighestDepth(), v9.getNextHighestDepth(), v10[2], v11._y, 100, 80); _root.format_fnc(my_so.data['save' + (v4 + 1)].chara0.my_name, v12, text_menu[0], 0, 0, 1, text_menu[1], 0, 10, 'menu'); var v13 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), v10[2], v12._y + 13, 200, 80); _root.format_fnc('HP', v13, 10, 4202528, 0, 0, 0, -1, 3, 'menu_n'); var v16 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), v10[2], v12._y + 13, 38, 80); _root.format_fnc(my_so.data['save' + (v4 + 1)].chara0.hp, v16, 10, 4202528, 2, 0, 1, -1, 3, 'menu_n'); var v14 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), 0, v12._y + 13, 120, 80); _root.format_fnc('LP', v14, 10, 9437184, 2, 1, 0, -1, 2, 'menu_n'); var v17 = v5.createTextField('t' + v5.getNextHighestDepth(), v5.getNextHighestDepth(), 0, v12._y + 13, 140, 80); _root.format_fnc(my_so.data['save' + (v4 + 1)].chara0.lp, v17, 10, 9437184, 2, 1, 1, -1, 2, 'menu_n'); } else { v12 = v9.createTextField('tt' + v9.getNextHighestDepth(), 1000 + v4, 32, 0, 256, 30); _root.format_fnc('未使用', v12, text_menu[0], 0, 1, 0, text_menu[1], 0, 10, 'menu'); var v11 = v12; v11._y = 100 + v4 * 44; } v7._y = 100 + v4 * 44; f_menu_mc.key.push(v11); ++v4; } f_menu_mc.move_fnc(0); }; key_lis_title = new Object(); key_lis_title.onKeyDown = function () { if (!key_flg) { if (Key.getCode() == l_btm) { f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].move_fnc(0); } if (Key.getCode() == u_btm) { f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].move_fnc(1); } if (Key.getCode() == r_btm) { f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].move_fnc(2); } if (Key.getCode() == d_btm) { f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].move_fnc(3); } if (Key.getCode() == kettei_btm) { f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].corsor_mc._alpha = 50; f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].fnc(); } if (Key.getCode() == cancel_btm) { if (f_menu_mc_tg_array.length == 1) { trace('タイトル復帰'); } else { var v1 = f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1]; f_menu_mc_tg_array.splice(f_menu_mc_tg_array.length - 1, 1); f_menu_mc_tg_array[f_menu_mc_tg_array.length - 1].corsor_mc.gotoAndPlay(1); v1.cancel_fnc(); v1.removeMovieClip(); } } } }; } frame 1 { player_data_set_fnc(); _global.hit_visible_flg = !_global.hit_visible_flg; _global.hit_visible_flg = !_global.hit_visible_flg; _global.exe_flg = 1; _global.exe_flg = 0; _global.font_mode = true; _root.load_fnc(); stop(); if (debug_flg) { Key.addListener(key_lis_debug); } Key.addListener(key_lis_title); title_fnc(); }




http://swfchan.com/38/189751/info.shtml
Created: 15/10 -2018 12:02:44 Last modified: 15/10 -2018 12:02:44 Server time: 09/05 -2024 07:54:51