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

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

To L-ve-ru Shooting.swf

This is the info page for
Flash #209624

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


ActionScript [AS1/AS2]
Combined Code
movieClip 24 effect { } movieClip 28 tama { } movieClip 35 item { } movieClip 39 teki { } movieClip 42 { } movieClip 44 { } movieClip 45 star { frame 1 { stop(); } frame 2 { stop(); } } frame 1 { stop(); } movieClip 49 { } // unknown tag 88 length 55 movieClip 52 { } instance of movieClip 52 { onClipEvent (load) { this.txt_name = 'データさくじょ'; var so = SharedObject.getLocal(_root.dataName, '/'); del_flag = false; this._visible = false; if (Key.isDown(68)) { del_flag = true; this._visible = true; } } onClipEvent (enterFrame) { if (Key.isDown(68)) { del_flag = true; this._visible = true; } } onClipEvent (press) { _root.se_btn.start(); if (del_flag) { if (so) { so.clear(); _root.txt_msg = 'データさくじょしました'; _root.menu1.txt_name = 'はじめから'; _root.item_num = 1000; _root.rensha_max = 1; _root.spd_max = 1; _root.reload_max = 1; _root.pow_max = 1; _root.gold_max = 1; _root.heart_max = 1; _root.allclear_flag = false; _root.clear_flag1 = 0; _root.clear_flag2 = 0; _root.clear_flag3 = 0; _root.clear_flag4 = 0; _root.clear_flag5 = 0; _root.newmsg_flag = 0; } else { _root.txt_msg = 'データはありません'; } } } onClipEvent (rollOver) { _root.se_onmouse.start(); _root.txt_msg = 'セーブデータをさくじょします'; this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { _root.txt_msg = ''; this._xscale = 100; this._yscale = 100; } } instance menu1 of movieClip 52 { onClipEvent (load) { function DataInit() { if (_root.item_num == null) { _root.item_num = 1000; } if (_root.rensha_max == null) { _root.rensha_max = 1; } if (_root.spd_max == null) { _root.spd_max = 1; } if (_root.reload_max == null) { _root.reload_max = 1; } if (_root.pow_max == null) { _root.pow_max = 1; } if (_root.gold_max == null) { _root.gold_max = 1; } if (_root.heart_max == null) { _root.heart_max = 1; } if (_root.allclear_flag == null) { _root.allclear_flag = false; } if (_root.clear_flag1 == null) { _root.clear_flag1 = 0; } if (_root.clear_flag2 == null) { _root.clear_flag2 = 0; } if (_root.clear_flag3 == null) { _root.clear_flag3 = 0; } if (_root.clear_flag4 == null) { _root.clear_flag4 = 0; } if (_root.clear_flag5 == null) { _root.clear_flag5 = 0; } if (_root.newmsg_flag == null) { _root.newmsg_flag = 0; } } Stage.showMenu = false; _root.dataName = 'datsui_stg2_data'; this.txt_name = 'はじめから'; _root.txt_msg = 'マウスでメニューをクリックしてください'; var so = SharedObject.getLocal(_root.dataName, '/'); var obj = so.data; if (obj.item_num != null && obj.rensha_max != null && obj.spd_max != null && obj.reload_max != null && obj.pow_max != null && obj.gold_max != null && obj.heart_max != null && obj.clear_flag1 != null && obj.clear_flag2 != null && obj.clear_flag3 != null && obj.clear_flag4 != null && obj.clear_flag5 != null && obj.newmsg_flag != null) { _root.item_num = obj.item_num; _root.rensha_max = obj.rensha_max; _root.spd_max = obj.spd_max; _root.reload_max = obj.reload_max; _root.pow_max = obj.pow_max; _root.gold_max = obj.gold_max; _root.heart_max = obj.heart_max; _root.clear_flag1 = obj.clear_flag1; _root.clear_flag2 = obj.clear_flag2; _root.clear_flag3 = obj.clear_flag3; _root.clear_flag4 = obj.clear_flag4; _root.clear_flag5 = obj.clear_flag5; _root.newmsg_flag = obj.newmsg_flag; this.txt_name = 'つづきから'; _root.txt_msg = 'データをロードしました。'; } DataInit(); _root.kaisou = false; if (_root.vol == NULL) { _root.vol = 100; } if (_root.se_item == null) { _root.se_item = new Sound(); _root.se_item.attachSound('se01'); _root.se_item.setVolume(25); } if (_root.se_shot == null) { _root.se_shot = new Sound(); _root.se_shot.attachSound('se02'); } if (_root.se_hit == null) { _root.se_hit = new Sound(); _root.se_hit.attachSound('se03'); } if (_root.se_dmg == null) { _root.se_dmg = new Sound(); _root.se_dmg.attachSound('se04'); } if (_root.se_opi == null) { _root.se_opi = new Sound(); _root.se_opi.attachSound('se05'); } if (_root.se_btn == null) { _root.se_btn = new Sound(); _root.se_btn.attachSound('se06'); } if (_root.se_onmouse == null) { _root.se_onmouse = new Sound(); _root.se_onmouse.attachSound('se07'); } if (_root.bgm01 == null) { _root.bgm01 = new Sound(); _root.bgm01.attachSound('bgm01'); } if (_root.bgm02 == null) { _root.bgm02 = new Sound(); _root.bgm02.attachSound('bgm02'); } if (_root.bgm03 == null) { _root.bgm03 = new Sound(); _root.bgm03.attachSound('bgm03'); } if (_root.bgm04 == null) { _root.bgm04 = new Sound(); _root.bgm04.attachSound('bgm04'); } if (_root.bgm05 == null) { _root.bgm05 = new Sound(); _root.bgm05.attachSound('bgm05'); } if (_root.bgmClear == null) { _root.bgmClear = new Sound(); _root.bgmClear.attachSound('bgmClear'); } if (_root.bgmOP == null) { _root.bgmOP = new Sound(); _root.bgmOP.attachSound('bgmOP'); } stopAllSounds(); _root.bgmOP.setVolume(25 * _root.vol / 100); _root.bgmOP.start(0, 1); } onClipEvent (press) { _root.se_btn.start(); if (Key.isDown(65)) { _root.clear_flag1 = 2; _root.clear_flag2 = 2; _root.clear_flag3 = 2; _root.clear_flag4 = 2; _root.clear_flag5 = 2; _root.newmsg_flag = 9; _root.feed.In('frm_select'); } else { if (Key.isDown(81)) { _root.item_num = 50000; _root.rensha_max = 1; _root.spd_max = 1; _root.reload_max = 1; _root.pow_max = 1; _root.gold_max = 1; _root.heart_max = 1; _root.se_item.start(); _root.feed.In('frm_select'); } else { if (Key.isDown(90)) { _root.feed.In('frm_ed'); } else { _root.feed.In('frm_select'); } } } } onClipEvent (rollOver) { _root.se_onmouse.start(); _root.txt_msg = 'ゲームをスタートします'; this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { _root.txt_msg = ''; this._xscale = 100; this._yscale = 100; } } movieClip 55 { } instance of movieClip 55 { onClipEvent (load) { posY = 150; timer = 0; } onClipEvent (enterFrame) { if (timer++ >= 360) { timer = 0; } this._y = posY + Math.sin(timer * Math.PI / 180) * 10; } } movieClip 64 { frame 1 { stop(); } frame 2 { stop(); } } instance mc_vol of movieClip 64 { onClipEvent (load) { if (_root.vol == NULL) { _root.vol = 100; } if (_root.vol == 100) { gotoAndStop(1); } else { if (_root.vol == 0) { gotoAndStop(2); } } } onClipEvent (press) { if (_root.vol == 100) { _root.vol = 0; gotoAndStop(2); } else { if (_root.vol == 0) { _root.vol = 100; gotoAndStop(1); } } _root.bgmOP.setVolume(25 * _root.vol / 100); } } movieClip 67 { } instance feed of movieClip 67 { onClipEvent (load) { function In(a_scene) { if (start_flag != 1) { scene = a_scene; start_flag = 1; feed_spd = Math.abs(feed_spd); val = 0; } } function Out() { if (start_flag != 2) { start_flag = 2; feed_spd = -Math.abs(feed_spd); val = 100; } } this._visible = true; scene = ''; val = 0; feed_spd = 5; this._alpha = val; start_flag = 0; } onClipEvent (enterFrame) { if (start_flag != 0) { val += feed_spd; if (val > 100 || val < 0) { start_flag = 0; val = 0; _root.jiki.DelTama(); _root.jiki.DelEffect(); _root.teki_generator.DelTeki(); _root.teki_generator.DelItem(); _root.mc_star.DelStar(); if (scene != '') { _root.gotoAndStop(scene); } scene = ''; } this._alpha = val; } } } frame 2 { stop(); } movieClip 71 { } instance of movieClip 71 { onClipEvent (load) { } onClipEvent (enterFrame) { this._x -= 1; if (this._x < -133.2) { this._x = 0; } this._y -= 1; if (this._y < -150) { this._y = 0; } } } movieClip 74 { } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'タイトルへ'; _root.bgmSelect = new Sound(); _root.bgmSelect.attachSound('bgmSelect'); stopAllSounds(); _root.bgmSelect.setVolume(25 * _root.vol / 100); _root.bgmSelect.start(0, 99); } onClipEvent (press) { _root.se_btn.start(); _root.feed.In('frm_title'); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } button 87 { on (press) { _root.se_btn.start(); _root.stage = 1; _root.area = 1; _root.difficulty = 0; _root.kaisou = false; _root.feed.In('frm_menu'); } on (rollOver) { _root.se_onmouse.start(); _root.txt_info = '難易度:★ 敵:おそい 服:やわらかい 下着:ぬげない'; } on (rollOut) { _root.txt_info = ''; } } button 89 { on (press) { if (_root.clear_flag5 >= 1) { _root.se_btn.start(); _root.stage = 1; _root.area = 2; _root.difficulty = 1; _root.kaisou = false; _root.feed.In('frm_menu'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag5 >= 1) { _root.txt_info = '難易度:★★★ 敵:はやい 服:かたい 下着:ぬげる'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 90 { on (press) { if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { _root.se_btn.start(); _root.kaisou = true; _root.feed.In('frm_kaisou'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { _root.txt_info = 'ごほうびです'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 91 { on (press) { if (_root.clear_flag2 >= 1) { _root.se_btn.start(); _root.stage = 3; _root.area = 1; _root.difficulty = 0; _root.kaisou = false; _root.feed.In('frm_menu'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag2 >= 1) { _root.txt_info = '難易度:★★ 敵:おそい 服:やわらかい 下着:ぬげない'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 92 { on (press) { if (_root.clear_flag2 >= 2) { _root.se_btn.start(); _root.stage = 3; _root.area = 2; _root.difficulty = 1; _root.kaisou = false; _root.feed.In('frm_menu'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag2 >= 2) { _root.txt_info = '難易度:★★★★ 敵:はやい 服:かたい 下着:ぬげる'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 93 { on (press) { if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { _root.se_btn.start(); _root.kaisou = true; _root.feed.In('frm_kaisou3'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { _root.txt_info = 'ごほうびです'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 94 { on (press) { if (_root.clear_flag1 >= 1) { _root.se_btn.start(); _root.stage = 2; _root.area = 1; _root.difficulty = 0; _root.kaisou = false; _root.feed.In('frm_menu'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag1 >= 1) { _root.txt_info = '難易度:★ 敵:おそい 服:やわらかい 下着:ぬげない'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 95 { on (press) { if (_root.clear_flag1 >= 2) { _root.se_btn.start(); _root.stage = 2; _root.area = 2; _root.difficulty = 1; _root.kaisou = false; _root.feed.In('frm_menu'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag1 >= 2) { _root.txt_info = '難易度:★★★ 敵:はやい 服:かたい 下着:ぬげる'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 96 { on (press) { if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { _root.se_btn.start(); _root.kaisou = true; _root.feed.In('frm_kaisou2'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { _root.txt_info = 'ごほうびです'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 97 { on (press) { if (_root.clear_flag3 >= 1) { _root.se_btn.start(); _root.stage = 4; _root.area = 1; _root.difficulty = 0; _root.kaisou = false; _root.feed.In('frm_menu'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag3 >= 1) { _root.txt_info = '難易度:★★ 敵:おそい 服:やわらかい 下着:ぬげない'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 98 { on (press) { if (_root.clear_flag3 >= 2) { _root.se_btn.start(); _root.stage = 4; _root.area = 2; _root.difficulty = 1; _root.kaisou = false; _root.feed.In('frm_menu'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag3 >= 2) { _root.txt_info = '難易度:★★★★ 敵:はやい 服:かたい 下着:ぬげる'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 99 { on (press) { if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { _root.se_btn.start(); _root.kaisou = true; _root.feed.In('frm_kaisou4'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { _root.txt_info = 'ごほうびです'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 100 { on (press) { if (_root.clear_flag4 >= 1) { _root.se_btn.start(); _root.stage = 5; _root.area = 1; _root.difficulty = 0; _root.kaisou = false; _root.feed.In('frm_menu'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag4 >= 1) { _root.txt_info = '難易度:★★★ 敵:おそい 服:やわらかい 下着:ぬげない'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 101 { on (press) { if (_root.clear_flag4 >= 2) { _root.se_btn.start(); _root.stage = 5; _root.area = 2; _root.difficulty = 2; _root.kaisou = false; _root.feed.In('frm_menu'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag4 >= 2) { _root.txt_info = '難易度:★★★★★ 敵:はやい 服:かたい 下着:ぬげる'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } button 102 { on (press) { if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { _root.se_btn.start(); _root.kaisou = true; _root.feed.In('frm_kaisou5'); } } on (rollOver) { _root.se_onmouse.start(); if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { _root.txt_info = 'ごほうびです'; } else { _root.txt_info = 'まだ選べません'; } } on (rollOut) { _root.txt_info = ''; } } movieClip 106 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 110 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 113 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 116 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 117 { instance of movieClip 106 { onClipEvent (load) { if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 106 { onClipEvent (load) { if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 106 { onClipEvent (load) { if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 106 { onClipEvent (load) { if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 106 { onClipEvent (load) { if (_root.clear_flag1 >= 2 && _root.clear_flag2 >= 2 && _root.clear_flag3 >= 2 && _root.clear_flag4 >= 2 && _root.clear_flag5 >= 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 110 { onClipEvent (load) { val = _root.clear_flag1 + 1; this.gotoAndStop(val); } } instance of movieClip 110 { onClipEvent (load) { val = _root.clear_flag3 + 1; this.gotoAndStop(val); } } instance of movieClip 110 { onClipEvent (load) { val = _root.clear_flag2 + 1; this.gotoAndStop(val); } } instance of movieClip 110 { onClipEvent (load) { val = _root.clear_flag4 + 1; this.gotoAndStop(val); } } instance of movieClip 110 { onClipEvent (load) { val = _root.clear_flag5 + 1; this.gotoAndStop(val); } } instance of movieClip 113 { onClipEvent (load) { if (_root.clear_flag1 >= 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 116 { onClipEvent (load) { if (_root.clear_flag1 >= 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 113 { onClipEvent (load) { if (_root.clear_flag2 >= 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 116 { onClipEvent (load) { if (_root.clear_flag2 >= 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 113 { onClipEvent (load) { if (_root.clear_flag3 >= 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 116 { onClipEvent (load) { if (_root.clear_flag3 >= 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 113 { onClipEvent (load) { if (_root.clear_flag4 >= 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 116 { onClipEvent (load) { if (_root.clear_flag4 >= 2) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } instance of movieClip 116 { onClipEvent (load) { if (_root.clear_flag5 >= 1) { this.gotoAndStop(2); } else { this.gotoAndStop(1); } } } } instance select of movieClip 117 { onClipEvent (load) { page = 1; scrl = 20; posX = 0; this._x = posX + scrl; _root.mc_leftbtn._visible = false; } onClipEvent (enterFrame) { if (page == 1) { if (scrl < 20) { scrl += 10; } } else { if (page == 2) { if (scrl > -500) { scrl -= 10; } } } this._x = posX + scrl; } } movieClip 119 { } instance mc_rightbtn of movieClip 119 { onClipEvent (press) { _root.se_btn.start(); _root.select.page = 2; _root.mc_leftbtn._visible = true; _root.mc_rightbtn._visible = false; this._xscale = 100; this._yscale = 100; } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance mc_leftbtn of movieClip 119 { onClipEvent (press) { _root.se_btn.start(); _root.select.page = 1; _root.mc_leftbtn._visible = false; _root.mc_rightbtn._visible = true; this._xscale = 100; this._yscale = 100; } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } movieClip 122 { } instance of movieClip 122 { onClipEvent (load) { this._visible = false; if (_root.clear_flag1 >= 1 && _root.newmsg_flag < 1) { this.txt_newmsg = 'ステージ2(かんたん)が\n開放されました'; this._visible = true; _root.newmsg_flag = 1; } if (_root.clear_flag2 >= 1 && _root.newmsg_flag < 2) { this.txt_newmsg = 'ステージ3(かんたん)が\n開放されました'; this._visible = true; _root.newmsg_flag = 2; } if (_root.clear_flag3 >= 1 && _root.newmsg_flag < 3) { this.txt_newmsg = 'ステージ4(かんたん)が\n開放されました'; this._visible = true; _root.newmsg_flag = 3; } if (_root.clear_flag4 >= 1 && _root.newmsg_flag < 4) { this.txt_newmsg = 'ステージ5(かんたん)が\n開放されました'; this._visible = true; _root.newmsg_flag = 4; } if (_root.clear_flag5 >= 1 && _root.newmsg_flag < 5) { this.txt_newmsg = 'ステージ1(むずかしい)が\n開放されました'; this._visible = true; _root.newmsg_flag = 5; } if (_root.clear_flag1 >= 2 && _root.newmsg_flag < 6) { this.txt_newmsg = 'ステージ2(むずかしい)が\n開放されました'; this._visible = true; _root.newmsg_flag = 6; } if (_root.clear_flag2 >= 2 && _root.newmsg_flag < 7) { this.txt_newmsg = 'ステージ3(むずかしい)が\n開放されました'; this._visible = true; _root.newmsg_flag = 7; } if (_root.clear_flag3 >= 2 && _root.newmsg_flag < 8) { this.txt_newmsg = 'ステージ4(むずかしい)が\n開放されました'; this._visible = true; _root.newmsg_flag = 8; } if (_root.clear_flag4 >= 2 && _root.newmsg_flag < 9) { this.txt_newmsg = 'ステージ5(むずかしい)が\n開放されました'; this._visible = true; _root.newmsg_flag = 9; } if (_root.clear_flag5 >= 2 && _root.newmsg_flag < 10) { this.txt_newmsg = 'CGモードが開放されました'; this._visible = true; _root.newmsg_flag = 10; } } onClipEvent (enterFrame) { } onClipEvent (press) { this._visible = false; } } frame 3 { stop(); } // unknown tag 88 length 55 movieClip 137 { } instance mc_rensha_lvup of movieClip 137 { onClipEvent (press) { next_rate = _root.rensha_rate; if (_root.item_num >= _root.rensha_max * next_rate) { _root.se_btn.start(); _root.item_num -= _root.rensha_max * next_rate; _root.txt_item = _root.item_num; _root.txt_rensha = ++_root.rensha_max; _root.txt_cost = --_root.total_cost; _root.txt_rensha_next = _root.rensha_max * next_rate; _root.mc_next.UpdateDisp(); } else { _root.se_dmg.start(); _root.txt_msg = 'おかねがたりません'; } } onClipEvent (rollOver) { _root.se_onmouse.start(); _root.txt_msg = '弾の数が増えます'; this._xscale = 120; this._yscale = 120; } onClipEvent (rollOut) { _root.txt_msg = ''; this._xscale = 100; this._yscale = 100; } } instance mc_spd_lvup of movieClip 137 { onClipEvent (press) { next_rate = _root.spd_rate; if (_root.item_num >= _root.spd_max * next_rate) { _root.se_btn.start(); _root.item_num -= _root.spd_max * next_rate; _root.txt_item = _root.item_num; _root.txt_spd = ++_root.spd_max; _root.txt_cost = --_root.total_cost; _root.txt_spd_next = _root.spd_max * next_rate; _root.mc_next.UpdateDisp(); } else { _root.se_dmg.start(); _root.txt_msg = 'おかねがたりません'; } } onClipEvent (rollOver) { _root.se_onmouse.start(); _root.txt_msg = '弾の移動速度が上がります'; this._xscale = 120; this._yscale = 120; } onClipEvent (rollOut) { _root.txt_msg = ''; this._xscale = 100; this._yscale = 100; } } instance mc_reload_lvup of movieClip 137 { onClipEvent (press) { next_rate = _root.reload_rate; if (_root.item_num >= _root.reload_max * next_rate) { _root.se_btn.start(); _root.item_num -= _root.reload_max * next_rate; _root.txt_item = _root.item_num; _root.txt_reload = ++_root.reload_max; _root.txt_cost = --_root.total_cost; _root.txt_reload_next = _root.reload_max * next_rate; _root.mc_next.UpdateDisp(); } else { _root.se_dmg.start(); _root.txt_msg = 'おかねがたりません'; } } onClipEvent (rollOver) { _root.se_onmouse.start(); _root.txt_msg = '弾の連射速度が上がります'; this._xscale = 120; this._yscale = 120; } onClipEvent (rollOut) { _root.txt_msg = ''; this._xscale = 100; this._yscale = 100; } } instance mc_pow_lvup of movieClip 137 { onClipEvent (press) { next_rate = _root.pow_rate; if (_root.item_num >= _root.pow_max * next_rate) { _root.se_btn.start(); _root.item_num -= _root.pow_max * next_rate; _root.txt_item = _root.item_num; _root.txt_pow = ++_root.pow_max; _root.txt_cost = --_root.total_cost; _root.txt_pow_next = _root.pow_max * next_rate; _root.mc_next.UpdateDisp(); } else { _root.se_dmg.start(); _root.txt_msg = 'おかねがたりません'; } } onClipEvent (rollOver) { _root.se_onmouse.start(); _root.txt_msg = '弾がたくさん出せます'; this._xscale = 120; this._yscale = 120; } onClipEvent (rollOut) { _root.txt_msg = ''; this._xscale = 100; this._yscale = 100; } } instance mc_gold_lvup of movieClip 137 { onClipEvent (press) { next_rate = _root.gold_rate; if (_root.item_num >= _root.gold_max * next_rate) { _root.se_btn.start(); _root.item_num -= _root.gold_max * next_rate; _root.txt_item = _root.item_num; _root.txt_gold = ++_root.gold_max; _root.txt_cost = --_root.total_cost; _root.txt_gold_next = _root.gold_max * next_rate; _root.mc_next.UpdateDisp(); } else { _root.se_dmg.start(); _root.txt_msg = 'おかねがたりません'; } } onClipEvent (rollOver) { _root.se_onmouse.start(); _root.txt_msg = '敵を倒したときに出るお金が増えます'; this._xscale = 120; this._yscale = 120; } onClipEvent (rollOut) { _root.txt_msg = ''; this._xscale = 100; this._yscale = 100; } } instance mc_heart_lvup of movieClip 137 { onClipEvent (press) { next_rate = _root.heart_rate; if (_root.item_num >= _root.heart_max * next_rate) { _root.se_btn.start(); _root.item_num -= _root.heart_max * next_rate; _root.txt_item = _root.item_num; _root.txt_heart = ++_root.heart_max; _root.txt_cost = --_root.total_cost; _root.txt_heart_next = _root.heart_max * next_rate; _root.mc_next.UpdateDisp(); } else { _root.se_dmg.start(); _root.txt_msg = 'おかねがたりません'; } } onClipEvent (rollOver) { _root.se_onmouse.start(); _root.txt_msg = '最大体力が増えます'; this._xscale = 120; this._yscale = 120; } onClipEvent (rollOut) { _root.txt_msg = ''; this._xscale = 100; this._yscale = 100; } } movieClip 147 { } instance of movieClip 147 { onClipEvent (rollOver) { _root.txt_msg = '弾の数が増えます'; } onClipEvent (rollOut) { _root.txt_msg = ''; } } movieClip 149 { } instance of movieClip 149 { onClipEvent (rollOver) { _root.txt_msg = '弾の移動速度が上がります'; } onClipEvent (rollOut) { _root.txt_msg = ''; } } movieClip 151 { } instance of movieClip 151 { onClipEvent (rollOver) { _root.txt_msg = '弾の連射速度が上がります'; } onClipEvent (rollOut) { _root.txt_msg = ''; } } movieClip 153 { } instance of movieClip 153 { onClipEvent (rollOver) { _root.txt_msg = '弾がたくさん出せます'; } onClipEvent (rollOut) { _root.txt_msg = ''; } } movieClip 155 { } instance of movieClip 155 { onClipEvent (rollOver) { _root.txt_msg = '敵を倒したときに出るお金が増えます'; } onClipEvent (rollOut) { _root.txt_msg = ''; } } movieClip 157 { } instance of movieClip 157 { onClipEvent (rollOver) { _root.txt_msg = '最大体力が増えます'; } onClipEvent (rollOut) { _root.txt_msg = ''; } } instance mc_next of movieClip 52 { onClipEvent (load) { function UpdateDisp() { _root.txt_item = _root.item_num; _root.txt_rensha = _root.rensha_max; _root.txt_spd = _root.spd_max; _root.txt_reload = _root.reload_max; _root.txt_pow = _root.pow_max; _root.txt_gold = _root.gold_max; _root.txt_heart = _root.heart_max; if (_root.rensha_max < 10) { _root.txt_rensha_next = _root.rensha_max * _root.rensha_rate; } else { _root.txt_rensha_next = '-'; } if (_root.spd_max < 10) { _root.txt_spd_next = _root.spd_max * _root.spd_rate; } else { _root.txt_spd_next = '-'; } if (_root.reload_max < 10) { _root.txt_reload_next = _root.reload_max * _root.reload_rate; } else { _root.txt_reload_next = '-'; } if (_root.pow_max < 10) { _root.txt_pow_next = _root.pow_max * _root.pow_rate; } else { _root.txt_pow_next = '-'; } if (_root.gold_max < 10) { _root.txt_gold_next = _root.gold_max * _root.gold_rate; } else { _root.txt_gold_next = '-'; } if (_root.heart_max < 10) { _root.txt_heart_next = _root.heart_max * _root.heart_rate; } else { _root.txt_heart_next = '-'; } if (_root.item_num >= _root.rensha_max * _root.rensha_rate && _root.rensha_max < 10) { _root.mc_rensha_lvup._visible = true; } else { _root.mc_rensha_lvup._visible = false; } if (_root.item_num >= _root.spd_max * _root.spd_rate && _root.spd_max < 10) { _root.mc_spd_lvup._visible = true; } else { _root.mc_spd_lvup._visible = false; } if (_root.item_num >= _root.reload_max * _root.reload_rate && _root.reload_max < 10) { _root.mc_reload_lvup._visible = true; } else { _root.mc_reload_lvup._visible = false; } if (_root.item_num >= _root.pow_max * _root.pow_rate && _root.pow_max < 10) { _root.mc_pow_lvup._visible = true; } else { _root.mc_pow_lvup._visible = false; } if (_root.item_num >= _root.gold_max * _root.gold_rate && _root.gold_max < 10) { _root.mc_gold_lvup._visible = true; } else { _root.mc_gold_lvup._visible = false; } if (_root.item_num >= _root.heart_max * _root.heart_rate && _root.heart_max < 10) { _root.mc_heart_lvup._visible = true; } else { _root.mc_heart_lvup._visible = false; } } this._xscale = 100; this._yscale = 100; this.txt_name = 'つぎへすすむ'; _root.txt_msg = ''; if (_root.item_num == null) { _root.item_num = 1000; } if (_root.rensha_max == null) { _root.rensha_max = 1; } if (_root.spd_max == null) { _root.spd_max = 1; } if (_root.reload_max == null) { _root.reload_max = 1; } if (_root.pow_max == null) { _root.pow_max = 1; } if (_root.gold_max == null) { _root.gold_max = 1; } if (_root.heart_max == null) { _root.heart_max = 1; } _root.txt_item = _root.item_num; _root.rensha_rate = 100; _root.spd_rate = 100; _root.reload_rate = 500; _root.pow_rate = 2000; _root.gold_rate = 200; _root.heart_rate = 300; _root.txt_rensha = _root.rensha_max; _root.txt_spd = _root.spd_max; _root.txt_reload = _root.reload_max; _root.txt_pow = _root.pow_max; _root.txt_gold = _root.gold_max; _root.txt_heart = _root.heart_max; if (_root.rensha_max < 10) { _root.txt_rensha_next = _root.rensha_max * _root.rensha_rate; } else { _root.txt_rensha_next = '-'; } if (_root.spd_max < 10) { _root.txt_spd_next = _root.spd_max * _root.spd_rate; } else { _root.txt_spd_next = '-'; } if (_root.reload_max < 10) { _root.txt_reload_next = _root.reload_max * _root.reload_rate; } else { _root.txt_reload_next = '-'; } if (_root.pow_max < 10) { _root.txt_pow_next = _root.pow_max * _root.pow_rate; } else { _root.txt_pow_next = '-'; } if (_root.gold_max < 10) { _root.txt_gold_next = _root.gold_max * _root.gold_rate; } else { _root.txt_gold_next = '-'; } if (_root.heart_max < 10) { _root.txt_heart_next = _root.heart_max * _root.heart_rate; } else { _root.txt_heart_next = '-'; } _root.mc_rensha_lvup._visible = false; _root.mc_spd_lvup._visible = false; _root.mc_reload_lvup._visible = false; _root.mc_pow_lvup._visible = false; _root.mc_gold_lvup._visible = false; _root.mc_heart_lvup._visible = false; _root.bgmSelect = new Sound(); _root.bgmSelect.attachSound('bgmSelect2'); stopAllSounds(); _root.bgmSelect.setVolume(25 * _root.vol / 100); _root.bgmSelect.start(0, 99); UpdateDisp(); } onClipEvent (enterFrame) { } onClipEvent (press) { _root.se_btn.start(); if (_root.stage == 1) { _root.feed.In('frm_stage1'); } else { if (_root.stage == 2) { _root.feed.In('frm_stage2'); } else { if (_root.stage == 3) { _root.feed.In('frm_stage3'); } else { if (_root.stage == 4) { _root.feed.In('frm_stage4'); } else { if (_root.stage == 5) { _root.feed.In('frm_stage5'); } } } } } } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } frame 4 { stop(); } movieClip 167 { frame 1 { stop(); } } movieClip 172 { frame 5 { stop(); } } movieClip 175 { frame 5 { stop(); } } movieClip 180 { } movieClip 181 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 185 { } movieClip 188 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 193 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 198 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 203 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 206 { } movieClip 207 { instance oppai of movieClip 167 { onClipEvent (load) { function Oppai() { _root.se_opi.start(); this.gotoAndPlay(2); state = _root.chara.kao._currentframe; _root.chara.kao.gotoAndStop(4); face_flag = true; } timer = 0; face_flag = false; state = 1; } onClipEvent (enterFrame) { if (face_flag) { ++timer; if (timer >= 30) { timer = 0; face_flag = false; _root.chara.kao.gotoAndStop(state); } } } onClipEvent (press) { if (_root.chara.fuku._currentframe == 3 && _root.chara.bura._currentframe == 3 && face_flag == false) { Oppai(); } } } instance kao of movieClip 181 { onClipEvent (load) { hit_flag = false; timer = 0; time_max = 30; face = 1; } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag == true) { this.gotoAndStop(5); _root.kaogra.gotoAndStop(4); if (++timer >= time_max) { timer = 0; hit_flag = false; } } else { if (_root.destroy_count >= 4) { face = 3; } else { if (_root.destroy_count >= 2) { face = 2; } } this.gotoAndStop(face); _root.kaogra.gotoAndStop(face); } } } } instance pantu of movieClip 188 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 10; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance bura of movieClip 193 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 10; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.oppai.Oppai(); _root.boss.rate = 1; } } } } } } instance skart of movieClip 198 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 10; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance fuku of movieClip 203 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.fuku; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.skart; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } } instance boss of movieClip 207 { onClipEvent (load) { size_rate = 1; MY_W = Math.floor(2000 * size_rate); MY_H = Math.floor(2400 * size_rate); SC_W = Stage.width; SC_H = Stage.height; this._xscale = 100 * size_rate; this._yscale = 100 * size_rate; this._x = 0; this._y = -MY_H / 2; spdy = -3; spdx = -1; clear_flag = false; scrl_spd = 4; scrlx = 0; scrly = 0; rate = 1; } onClipEvent (enterFrame) { if (_root.jiki.pause_flag) { } else { if (clear_flag) { if (_root._xmouse < SC_W / 5 && this._x < 0) { this._x += scrl_spd; } else { if (_root._xmouse > SC_W * 4 / 5 && this._x > -MY_W + SC_W) { this._x -= scrl_spd; } } if (_root._ymouse < SC_H / 5 && this._y < 0) { this._y += scrl_spd; } else { if (_root._ymouse > SC_H * 4 / 5 && this._y > -MY_H + SC_H) { this._y -= scrl_spd; } } } else { if (this._x > 0) { spdx *= -1; } else { if (this._x < -MY_W + SC_W) { spdx *= -1; } } this._x += spdx * rate; scrlx += spdx * rate; if (this._y > 0) { spdy *= -1; } else { if (this._y < -MY_H + SC_H) { spdy *= -1; } } this._y += spdy * rate; scrly += spdy * rate; } } if (push_flag) { rate = 0.5; } else { rate = 1; } } onClipEvent (press) { push_flag = true; rate = 0.5; if (_root.jiki.clear_flag) { if (!_root.jiki.pause_flag) { Mouse.show(); _root.jiki.pause_flag = true; } else { Mouse.hide(); _root.jiki.pause_flag = false; } } } onClipEvent (release) { push_flag = false; rate = 1; } } movieClip 209 { } instance jiki of movieClip 209 { onClipEvent (load) { function hitTama() { var i = 0; while (i < tama_max) { if (tama_flag[i] == 1) { tama_x = (eval('_root.tama' + i))._x; tama_y = (eval('_root.tama' + i))._y; atari_flag = false; var obj1 = _root.boss.skart; var obj2 = _root.boss.fuku; var obj3 = _root.boss.pantu; var obj4 = _root.boss.bura; if (obj1.atari.hitTest(eval('_root.tama' + i)) && !obj1.destroy_flag) { target = obj1; atari_flag = true; } else { if (obj2.atari.hitTest(eval('_root.tama' + i)) && !obj2.destroy_flag) { target = obj2; atari_flag = true; } else { if (obj3.atari.hitTest(eval('_root.tama' + i)) && !obj3.destroy_flag && _root.area >= 2 && _root.destroy_count >= 2) { target = obj3; atari_flag = true; } else { if (obj4.atari.hitTest(eval('_root.tama' + i)) && !obj4.destroy_flag && _root.area >= 2 && _root.destroy_count >= 2) { target = obj4; atari_flag = true; } } } } if (atari_flag) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).spdx = null; (eval('_root.tama' + i)).spdy = null; (eval('_root.tama' + i)).removeMovieClip(); _root.boss.kao.hit_flag = true; Hit(target); _root.boss_hp.obj = target; _root.mc_star.InitStar(tama_x, tama_y); Effect(tama_x, tama_y); } } ++i; } } function DelTama() { var i = 0; while (i < tama_max) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).removeMovieClip(); ++i; } } function Effect(a_x, a_y) { var i = 0; while (i < effect_max) { if (effect_flag[i] == 0) { effect_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('effect', 'effect' + i, depth); (eval('_root.effect' + i))._x = a_x; (eval('_root.effect' + i))._y = a_y; (eval('_root.effect' + i)).time = 0; _root.se_hit.start(); break; } ++i; } } function DelEffect() { var i = 0; while (i < effect_max) { if (effect_flag[i] == 1) { effect_flag[i] = null; (eval('_root.effect' + i))._x = null; (eval('_root.effect' + i))._y = null; (eval('_root.effect' + i)).time = null; (eval('_root.effect' + i)).removeMovieClip(); } ++i; } } function Damage() { if (!damage_flag) { --hp; _root.heart.gotoAndStop(hp_max - hp + 1); if (hp <= 0) { destroy_flag = true; } damage_flag = true; damage_time = 0; Effect(this._x, this._y); _root.se_dmg.start(); var v3 = _root.heart_max - hp + 1; if (v3 > 5) { v3 = 5; } _root.rara.gotoAndStop(v3); _root.rara_kaogra.gotoAndStop(v3); } } function GoTo(a_name) { DelTama(); DelEffect(); _root.teki_generator.DelTeki(); _root.teki_generator.DelItem(); Mouse.show(); _root.feed.In(a_name); } function Hit(objname) { objname.hit_flag = true; objname.timer = 0; --objname.hp; if (objname.hp == objname.hp_max / 2) { ++objname.state; objname.gotoAndStop(objname.state); } } this._visible = false; Mouse.hide(); _root.destroy_count = 0; if (_root.area == 1) { destroy_max = 2; } else { destroy_max = 4; } effect_max = 30; effect_flag = null; effect_flag = new Array(); var i = 0; while (i < effect_max) { effect_flag[i] = 0; ++i; } if (_root.pow_max == 10) { douji_max = 18; } else { douji_max = _root.pow_max; } tama_kakudo = 20 * (douji_max - 1); tama_max = (_root.rensha_max + 2) * douji_max; tama_speed = _root.spd_max * 2 + 10; tama_wtmax = 10 - _root.reload_max + 2; tama_flag = null; tama_flag = new Array(); var i = 0; while (i < tama_max) { tama_flag[i] = 0; ++i; } tama_wait = tama_wtmax; hp = _root.heart_max; hp_max = 10; _root.heart.gotoAndStop(hp_max - hp + 1); push_flag = false; clear_flag = false; timer = 0; damage_flag = false; damage_time_max = 60; damage_time = 0; absorb_flag = true; destroy_flag = false; pause_flag = false; if (_root.difficulty == NULL) { _root.difficulty = 0; } _root.txt_difficulty = _root.difficulty; stopAllSounds(); _root.bgm01.start(0, 99); } onClipEvent (enterFrame) { ++timer; _root.txt_destroy = destroy_max - _root.destroy_count; if (!destroy_flag && !pause_flag) { this._x += Math.floor((_root._xmouse - this._x) / 10); this._y += Math.floor((_root._ymouse - this._y) / 10); } if (push_flag && !_root.msg.visible_flag && !destroy_flag) { if (--tama_wait == 0) { tama_wait = tama_wtmax; now_douji = 0; var i = 0; while (i < tama_max) { if (tama_flag[i] == 0) { tama_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('tama', 'tama' + i, depth); (eval('_root.tama' + i)).kakudo = tama_kakudo; (eval('_root.tama' + i))._x = this._x; (eval('_root.tama' + i))._y = this._y; (eval('_root.tama' + i)).time = 0; if (douji_max > 1) { tama_r = (eval('_root.tama' + i)).kakudo / (douji_max - 1); if (douji_max != 2) { init_r = -(eval('_root.tama' + i)).kakudo / 2 + 90; } else { init_r = -(eval('_root.tama' + i)).kakudo / 2 - 10 + 90; } rad = init_r + Math.floor(i % douji_max) * tama_r; } else { rad = 90; } if (i % douji_max == 0) { _root.se_shot.start(); } (eval('_root.tama' + i)).spdx = Math.sin(rad * Math.PI / 180) * tama_speed; (eval('_root.tama' + i)).spdy = Math.cos(rad * Math.PI / 180) * tama_speed; ++now_douji; if (now_douji == douji_max) { break; } } ++i; } } } else { tama_wait = 1; } var i = 0; while (i < tama_max) { if (tama_flag[i] == 1) { ++(eval('_root.tama' + i)).time; (eval('_root.tama' + i))._x += (eval('_root.tama' + i)).spdx; (eval('_root.tama' + i))._y -= (eval('_root.tama' + i)).spdy; if ((eval('_root.tama' + i))._y < 0 || (eval('_root.tama' + i))._y > Stage.height || (eval('_root.tama' + i))._x < 0 || (eval('_root.tama' + i))._x > Stage.width) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).spdx = null; (eval('_root.tama' + i)).spdy = null; (eval('_root.tama' + i)).removeMovieClip(); } } ++i; } hitTama(); if (_root.destroy_count == destroy_max && clear_flag == false) { clear_flag = true; pause_flag = true; Mouse.show(); _root.now_hp = hp; _root.boss.clear_flag = true; if (_root.clear_flag1 < _root.area) { _root.clear_flag1 = _root.area; } _root.msg.dispMsg(2, 0, false); stopAllSounds(); _root.bgmClear.start(0, 1); } var i = 0; while (i < effect_max) { if (effect_flag[i] == 1) { ++(eval('_root.effect' + i)).time; if ((eval('_root.effect' + i)).time >= 30) { effect_flag[i] = 0; (eval('_root.effect' + i))._x = null; (eval('_root.effect' + i))._y = null; (eval('_root.effect' + i)).time = null; (eval('_root.effect' + i)).removeMovieClip(); } } ++i; } if (damage_flag) { var obj = _root.rara; if (Math.floor(timer / 2) % 2 == 0) { obj._visible = true; } else { obj._visible = false; } ++damage_time; if (destroy_flag) { obj._rotation += 30; if (timer % 10 == 0) { Effect(this._x + Math.random() * 50, this._y + Math.random() * 50); } if (damage_time >= damage_time_max * 2) { GoTo('frm_gameover'); } } else { if (damage_time >= damage_time_max) { damage_flag = false; obj._visible = true; } } } if (Key.isDown(1)) { push_flag = true; } else { push_flag = false; } } } instance mc_star of movieClip 45 star { onClipEvent (load) { function InitStar(ax, ay) { var i = 0; while (i < star_max) { if (star_flag[i] == 0) { star_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('star', 'star' + i, depth); var obj = eval('_root.star' + i); var rnd = Math.floor(Math.random() * 3) * 40; var rnd2 = Math.floor(Math.random() * 3); var rnd3 = Math.floor(Math.random() * 2) + 1; obj.gotoAndStop(rnd3); obj._x = ax; obj._y = ay; obj.timer = 30; obj.kakudo = i * star_rad + rnd; obj.spdx = Math.sin(obj.kakudo * Math.PI / 180) * 15 + rnd2; obj.spdy = -Math.cos(obj.kakudo * Math.PI / 180) * 15 + rnd2; obj.spdr = 0; obj._rotation = i * star_rad; if ((i + 1) % star_num == 0) { break; } } ++i; } } function DelStar() { var i = 0; while (i < star_max) { var obj = eval('_root.star' + i); obj._x = null; obj._y = null; obj.timer = null; obj.kakudo = null; obj.spdx = null; obj.spdy = null; obj.spdr = null; obj._rotation = null; obj.removeMovieClip(); star_flag[i] = 0; ++i; } } star_flag = null; star_flag = new Array(); star_num = 3; star_max = star_num * 10; star_rad = 360 / star_num; var i = 0; while (i < star_max) { star_flag[i] = 0; ++i; } } onClipEvent (enterFrame) { var i = 0; while (i < star_max) { if (star_flag[i] == 1) { var obj = eval('_root.star' + i); obj._x += obj.spdx; obj._y += obj.spdy; obj.spdx *= 0.9; obj.spdy *= 0.9; obj._rotation += obj.spdr; obj._xscale = Math.floor(obj._xscale * 0.98); obj._yscale = Math.floor(obj._yscale * 0.98); if (--obj.timer <= 0) { obj._x = null; obj._y = null; obj.timer = null; obj.kakudo = null; obj.spdx = null; obj.spdy = null; obj.spdr = null; obj._rotation = null; obj.removeMovieClip(); obj.removeMovieClip(); star_flag[i] = 0; } } ++i; } } onClipEvent (press) { InitStar(); } onClipEvent (rollOver) { this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } movieClip 214 { } movieClip 219 { } movieClip 224 { } movieClip 229 { } movieClip 234 { } movieClip 235 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } instance rara of movieClip 235 { onClipEvent (load) { this._x = _root.jiki._x; this._y = _root.jiki._y; } onClipEvent (enterFrame) { this._x = _root.jiki._x; this._y = _root.jiki._y; } } movieClip 244 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } instance msg of movieClip 244 { onClipEvent (load) { SC_W = Stage.width; SC_H = Stage.height; this._x = SC_W / 2; this._y = SC_H / 2; this._visible = true; visible_flag = true; tenmetu_flag = true; state = 1; timer = 0; max_time = 180; this.gotoAndStop(state); } onClipEvent (enterFrame) { function dispMsg(a_state, a_max_time, a_tenmetu_flag) { if (!visible_flag) { state = a_state; max_time = a_max_time; timer = 0; tenmetu_flag = a_tenmetu_flag; visible_flag = true; this._visible = true; this.gotoAndStop(state); _root.teki_generator.DelTeki(); } } function delMsg() { this._visible = false; visible_flag = false; } if (visible_flag) { ++timer; if (tenmetu_flag) { if (Math.floor(timer / 20) % 2 == 0) { this._visible = true; } else { this._visible = false; } } if (timer >= max_time && max_time != 0) { delMsg(); } if (state == 2 && timer >= 180) { this._visible = false; } } } } movieClip 246 { } movieClip 247 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } frame 7 { stop(); } frame 8 { stop(); } frame 9 { stop(); } frame 10 { stop(); } frame 11 { stop(); } } movieClip 250 { } movieClip 252 { } instance boss_hp of movieClip 252 { onClipEvent (load) { hp_width = this._width; } onClipEvent (enterFrame) { hp_max = obj.hp_max; hp = obj.hp; this._xscale = Math.floor((hp / hp_max) * hp_width); } } movieClip 255 { } instance of movieClip 255 { onClipEvent (load) { this._visible = false; } onClipEvent (enterFrame) { if (_root.jiki.pause_flag) { this._visible = true; } else { this._visible = false; } } } instance teki_generator of movieClip 39 teki { onClipEvent (load) { function DelTeki() { var i = 0; while (i < teki_max) { teki_flag[i] = null; (eval('_root.teki' + i))._x = null; (eval('_root.teki' + i))._y = null; (eval('_root.teki' + i)).time = null; (eval('_root.teki' + i)).hp = null; (eval('_root.teki' + i)).spdx = null; (eval('_root.teki' + i)).spdy = null; (eval('_root.teki' + i)).kasokux = null; (eval('_root.teki' + i)).kasokuy = null; (eval('_root.teki' + i)).removeMovieClip(); ++i; } } function createItem(a_x, a_y) { var i = 0; while (i < item_max) { if (item_flag[i] != 1) { item_flag[i] = 1; _root.attachMovie('item', 'item' + i, _root.getNextHighestDepth()); (eval('_root.item' + i))._x = a_x; (eval('_root.item' + i))._y = a_y; (eval('_root.item' + i)).time = 0; if (a_x < Stage.height / 2) { (eval('_root.item' + i)).spdy = Math.random() * 3; } else { (eval('_root.item' + i)).spdy = -Math.random() * 3; } (eval('_root.item' + i)).spdx = 1 + Math.random() * 5; break; } ++i; } } function DelItem() { var i = 0; while (i < item_max) { item_flag[i] = null; (eval('_root.item' + i))._x = null; (eval('_root.item' + i))._y = null; (eval('_root.item' + i)).time = null; (eval('_root.item' + i)).removeMovieClip(); ++i; } } function createTeki(a_x, a_y) { var i = 0; while (i < teki_max) { if (teki_flag[i] != 1) { teki_flag[i] = 1; _root.attachMovie('teki', 'teki' + i, _root.getNextHighestDepth()); (eval('_root.teki' + i))._x = a_x; (eval('_root.teki' + i))._y = a_y; (eval('_root.teki' + i)).time = 0; switch (atk_type) { case 0: (eval('_root.teki' + i)).hp = 2 + difficulty * 2; (eval('_root.teki' + i)).spdx = 3; (eval('_root.teki' + i)).spdy = 0; (eval('_root.teki' + i)).kasokux = +(difficulty / 10); (eval('_root.teki' + i)).kasokuy = 0; break; case 1: (eval('_root.teki' + i)).hp = 1 + difficulty; (eval('_root.teki' + i)).spdx = 5 + difficulty; (eval('_root.teki' + i)).spdy = (_root.jiki._y - (eval('_root.teki' + i))._y) / 100; (eval('_root.teki' + i)).kasokux = 0; (eval('_root.teki' + i)).kasokuy = 0; break; case 2: (eval('_root.teki' + i)).hp = 1 + difficulty; (eval('_root.teki' + i)).spdx = 8 + difficulty; (eval('_root.teki' + i)).spdy = (_root.jiki._y - (eval('_root.teki' + i))._y) / 100; (eval('_root.teki' + i)).kasokux = 0; (eval('_root.teki' + i)).kasokuy = 0; break; case 3: (eval('_root.teki' + i)).hp = 1 + difficulty; (eval('_root.teki' + i)).spdx = Math.floor(Math.random() * 10) + 4; (eval('_root.teki' + i)).spdy = 1 - Math.floor(Math.random() * 2); (eval('_root.teki' + i)).kasokux = 0; (eval('_root.teki' + i)).kasokuy = 0; break; case 4: (eval('_root.teki' + i)).hp = 1; (eval('_root.teki' + i)).spdx = 22 + difficulty; (eval('_root.teki' + i)).spdy = 0; (eval('_root.teki' + i)).kasokux = -0.5; (eval('_root.teki' + i)).kasokuy = 0; break; case 5: (eval('_root.teki' + i)).hp = 1; (eval('_root.teki' + i)).spdx = 22 + difficulty; (eval('_root.teki' + i)).spdy = (Stage.width / 2 - this._y) / 30; (eval('_root.teki' + i)).kasokux = -0.5; (eval('_root.teki' + i)).kasokuy = 0; break; case 6: (eval('_root.teki' + i)).hp = 1; (eval('_root.teki' + i)).spdx = 2; (eval('_root.teki' + i)).spdy = (_root.jiki._y - (eval('_root.teki' + i))._y) / 100; (eval('_root.teki' + i)).kasokux = 0.2 + difficulty / 10; (eval('_root.teki' + i)).kasokuy = 0; } break; } ++i; } } if (_root.difficulty == NULL) { _root.difficulty = 0; } difficulty = _root.difficulty; teki_max = 20; teki_wait = Math.floor(20 / (difficulty + 1)); teki_flag = null; teki_flag = new Array(); var i = 0; while (i < teki_max) { teki_flag[i] = 0; ++i; } move_wait = 90; item_max = 100; item_flag = null; item_flag = new Array(); var i = 0; while (i < item_max) { item_flag[i] = 0; ++i; } this._x = Stage.width + 30; this._y = Stage.height / 2; timer = 0; move_type = 0; atk_type = 0; } onClipEvent (enterFrame) { if (!_root.msg.visible_flag) { ++timer; if (timer >= move_wait) { timer = 0; if (move_type == 0) { move_type = Math.floor(Math.random() * 3 + 1); } else { move_type = 0; } atk_type = Math.floor(Math.random() * 7); } if (move_type == 0) { } else { if (move_type == 1) { this._y = Stage.height / 2 + Math.sin(timer * 4 * Math.PI / 180) * 300; } else { if (move_type == 2) { } else { if (move_type == 3) { this._y = Stage.height / 2 + Math.sin(timer * 8 * Math.PI / 180) * 150; } else { if (move_type == 4) { if (timer < move_wait / 2) { this._y = Stage.height / 4; } else { this._y = Stage.height * 3 / 4; } } } } } } if (timer % teki_wait == 0 && move_type != 0) { createTeki(this._x, this._y); } var i = 0; while (i < teki_max) { if (teki_flag[i] == 1) { ++(eval('_root.teki' + i)).time; (eval('_root.teki' + i)).spdx += (eval('_root.teki' + i)).kasokux; (eval('_root.teki' + i)).spdy += (eval('_root.teki' + i)).kasokuy; (eval('_root.teki' + i))._x -= (eval('_root.teki' + i)).spdx; (eval('_root.teki' + i))._y += (eval('_root.teki' + i)).spdy; if (_root.jiki.hitTest(eval('_root.teki' + i))) { _root.jiki.Damage(); } if ((eval('_root.teki' + i))._x < -50 || (eval('_root.teki' + i))._x >= Stage.width + 50 || (eval('_root.teki' + i))._y >= Stage.height + 50 || (eval('_root.teki' + i))._y < -50 || (eval('_root.teki' + i)).time >= 300) { teki_flag[i] = null; (eval('_root.teki' + i))._x = null; (eval('_root.teki' + i))._y = null; (eval('_root.teki' + i)).time = null; (eval('_root.teki' + i)).hp = null; (eval('_root.teki' + i)).spdx = null; (eval('_root.teki' + i)).spdy = null; (eval('_root.teki' + i)).kasokux = null; (eval('_root.teki' + i)).kasokuy = null; (eval('_root.teki' + i)).removeMovieClip(); } var q = 0; while (q < _root.jiki.tama_max) { obj = eval('_root.tama' + q); if (_root.jiki.tama_flag[q] == 1 && obj.hitTest(eval('_root.teki' + i))) { _root.jiki.tama_flag[q] = 0; _root.jiki.Effect(obj._x, obj._y); obj.removeMovieClip(); if (--(eval('_root.teki' + i)).hp <= 0) { var z = 0; while (z < _root.gold_max) { createItem((eval('_root.teki' + i))._x, (eval('_root.teki' + i))._y); ++z; } teki_flag[i] = null; (eval('_root.teki' + i))._x = null; (eval('_root.teki' + i))._y = null; (eval('_root.teki' + i)).time = null; (eval('_root.teki' + i)).hp = null; (eval('_root.teki' + i)).spdx = null; (eval('_root.teki' + i)).spdy = null; (eval('_root.teki' + i)).kasokux = null; (eval('_root.teki' + i)).kasokuy = null; (eval('_root.teki' + i)).removeMovieClip(); } _root.se_hit.start(); break; } ++q; } } ++i; } } var i = 0; while (i < item_max) { if (item_flag[i] == 1) { ++(eval('_root.item' + i)).time; if ((eval('_root.item' + i)).spdx >= -5) { (eval('_root.item' + i)).spdx -= 0.05; } if ((eval('_root.item' + i))._y < Stage.height / 2) { (eval('_root.item' + i)).spdy += 0.1; } else { (eval('_root.item' + i)).spdy -= 0.1; } (eval('_root.item' + i))._x += (eval('_root.item' + i)).spdx; (eval('_root.item' + i))._y += (eval('_root.item' + i)).spdy; if (_root.jiki.absorb_flag) { if (Math.abs(_root.jiki._x - (eval('_root.item' + i))._x) <= 200 && Math.abs(_root.jiki._y - (eval('_root.item' + i))._y) <= 200) { (eval('_root.item' + i)).spdy = 0; (eval('_root.item' + i))._x += (_root.jiki._x - (eval('_root.item' + i))._x) * 0.2; (eval('_root.item' + i))._y += (_root.jiki._y - (eval('_root.item' + i))._y) * 0.2; } } if ((eval('_root.item' + i))._x < 0 || (eval('_root.item' + i))._y >= Stage.height || (eval('_root.item' + i)).time >= 1200) { item_flag[i] = null; (eval('_root.item' + i))._x = null; (eval('_root.item' + i))._y = null; (eval('_root.item' + i)).time = null; (eval('_root.item' + i)).removeMovieClip(); } if (_root.jiki.hitTest(eval('_root.item' + i))) { item_flag[i] = null; (eval('_root.item' + i))._x = null; (eval('_root.item' + i))._y = null; (eval('_root.item' + i)).time = null; (eval('_root.item' + i)).removeMovieClip(); ++_root.item_num; _root.txt_item = _root.item_num; _root.se_item.start(); } } ++i; } } } movieClip 257 { } instance of movieClip 257 { onClipEvent (load) { fr = 60; time = 1000; time_count = 0; old_timer = getTimer(); fps = fr + '/' + fr; } onClipEvent (enterFrame) { time_count += 1; if (getTimer() - old_timer >= time) { fps = Math.floor(time_count * 1000 / (getTimer() - old_timer)) + '/' + fr; this.txt_fps = fps; old_timer = getTimer(); time_count = 0; } } } instance of movieClip 52 { onClipEvent (load) { this._visible = false; this.txt_name = 'つぎへすすむ'; } onClipEvent (enterFrame) { if (_root.jiki.pause_flag) { this._visible = true; } else { this._visible = false; } } onClipEvent (press) { stopAllSounds(); _root.se_btn.start(); _root.jiki.GoTo('frm_clear'); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } movieClip 269 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 278 { } movieClip 279 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } frame 5 { stop(); } movieClip 284 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 291 { frame 5 { stop(); } } movieClip 294 { frame 5 { stop(); } } movieClip 299 { } movieClip 300 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 307 { frame 1 { stop(); } } movieClip 312 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 317 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 322 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 327 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 332 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 333 { frame 1 { } instance sox2 of movieClip 284 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance kao of movieClip 300 { onClipEvent (load) { hit_flag = false; timer = 0; time_max = 30; face = 1; } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag == true) { this.gotoAndStop(5); _root.kaogra.gotoAndStop(4); if (++timer >= time_max) { timer = 0; hit_flag = false; } } else { if (_root.destroy_count >= 6) { face = 3; } else { if (_root.destroy_count >= 4) { face = 2; } } this.gotoAndStop(face); _root.kaogra.gotoAndStop(face); } } } } instance oppai of movieClip 307 { onClipEvent (load) { function Oppai() { _root.se_opi.start(); this.gotoAndPlay(2); state = _root.chara.kao._currentframe; _root.chara.kao.gotoAndStop(4); face_flag = true; } timer = 0; face_flag = false; state = 1; } onClipEvent (enterFrame) { if (face_flag) { ++timer; if (timer >= 30) { timer = 0; face_flag = false; _root.chara.kao.gotoAndStop(state); } } } onClipEvent (press) { if (_root.chara.fuku._currentframe == 3 && _root.chara.bura._currentframe == 3 && face_flag == false) { Oppai(); } } } instance pantu of movieClip 312 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance bura of movieClip 317 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 10; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.oppai.Oppai(); _root.boss.rate = 1; } } } } } } instance sox of movieClip 322 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 20 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance soxB of movieClip 284 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 20 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance skart of movieClip 327 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 70 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance fuku of movieClip 332 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 70 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.sox; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.fuku; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.skart; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.soxB; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } } instance boss of movieClip 333 { onClipEvent (load) { size_rate = 1; MY_W = Math.floor(2000 * size_rate); MY_H = Math.floor(2400 * size_rate); SC_W = Stage.width; SC_H = Stage.height; this._xscale = 100 * size_rate; this._yscale = 100 * size_rate; this._x = -SC_W / 2; this._y = 0; spdy = -3; spdx = -2; clear_flag = false; scrl_spd = 4; scrlx = 0; scrly = 0; rate = 1; } onClipEvent (enterFrame) { if (_root.jiki.pause_flag) { } else { if (clear_flag) { if (_root._xmouse < SC_W / 5 && this._x < 0) { this._x += scrl_spd; } else { if (_root._xmouse > SC_W * 4 / 5 && this._x > -MY_W + SC_W) { this._x -= scrl_spd; } } if (_root._ymouse < SC_H / 5 && this._y < 0) { this._y += scrl_spd; } else { if (_root._ymouse > SC_H * 4 / 5 && this._y > -MY_H + SC_H) { this._y -= scrl_spd; } } } else { if (this._x > 0) { spdx *= -1; } else { if (this._x < -MY_W + SC_W) { spdx *= -1; } } this._x += spdx * rate; scrlx += spdx * rate; if (this._y > 0) { spdy *= -1; } else { if (this._y < -MY_H + SC_H) { spdy *= -1; } } this._y += spdy * rate; scrly += spdy * rate; } } if (push_flag) { rate = 0.5; } else { rate = 1; } } onClipEvent (press) { push_flag = true; rate = 0.5; if (_root.jiki.clear_flag) { if (!_root.jiki.pause_flag) { Mouse.show(); _root.jiki.pause_flag = true; } else { Mouse.hide(); _root.jiki.pause_flag = false; } } } onClipEvent (release) { push_flag = false; rate = 1; } } instance jiki of movieClip 209 { onClipEvent (load) { function hitTama() { var i = 0; while (i < tama_max) { if (tama_flag[i] == 1) { tama_x = (eval('_root.tama' + i))._x; tama_y = (eval('_root.tama' + i))._y; atari_flag = false; var obj1 = _root.boss.skart; var obj2 = _root.boss.fuku; var obj3 = _root.boss.sox; var obj4 = _root.boss.soxB; var obj5 = _root.boss.pantu; var obj6 = _root.boss.bura; if (obj1.atari.hitTest(eval('_root.tama' + i)) && !obj1.destroy_flag) { target = obj1; atari_flag = true; } else { if (obj2.atari.hitTest(eval('_root.tama' + i)) && !obj2.destroy_flag) { target = obj2; atari_flag = true; } else { if (obj3.atari.hitTest(eval('_root.tama' + i)) && !obj3.destroy_flag) { target = obj3; atari_flag = true; } else { if (obj4.atari.hitTest(eval('_root.tama' + i)) && !obj4.destroy_flag) { target = obj4; atari_flag = true; } else { if (obj5.atari.hitTest(eval('_root.tama' + i)) && !obj5.destroy_flag && _root.area >= 2 && _root.destroy_count >= 4) { target = obj5; atari_flag = true; } else { if (obj6.atari.hitTest(eval('_root.tama' + i)) && !obj6.destroy_flag && _root.area >= 2 && _root.destroy_count >= 4) { target = obj6; atari_flag = true; } } } } } } if (atari_flag) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).spdx = null; (eval('_root.tama' + i)).spdy = null; (eval('_root.tama' + i)).removeMovieClip(); _root.boss.kao.hit_flag = true; Hit(target); _root.boss_hp.obj = target; _root.mc_star.InitStar(tama_x, tama_y); Effect(tama_x, tama_y); } } ++i; } } function DelTama() { var i = 0; while (i < tama_max) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).removeMovieClip(); ++i; } } function Effect(a_x, a_y) { var i = 0; while (i < effect_max) { if (effect_flag[i] == 0) { effect_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('effect', 'effect' + i, depth); (eval('_root.effect' + i))._x = a_x; (eval('_root.effect' + i))._y = a_y; (eval('_root.effect' + i)).time = 0; _root.se_hit.start(); break; } ++i; } } function DelEffect() { var i = 0; while (i < effect_max) { if (effect_flag[i] == 1) { effect_flag[i] = null; (eval('_root.effect' + i))._x = null; (eval('_root.effect' + i))._y = null; (eval('_root.effect' + i)).time = null; (eval('_root.effect' + i)).removeMovieClip(); } ++i; } } function Damage() { if (!damage_flag) { --hp; _root.heart.gotoAndStop(hp_max - hp + 1); if (hp <= 0) { destroy_flag = true; } damage_flag = true; damage_time = 0; Effect(this._x, this._y); _root.se_dmg.start(); var v3 = _root.heart_max - hp + 1; if (v3 > 5) { v3 = 5; } _root.rara.gotoAndStop(v3); _root.rara_kaogra.gotoAndStop(v3); } } function GoTo(a_name) { DelTama(); DelEffect(); _root.teki_generator.DelTeki(); _root.teki_generator.DelItem(); Mouse.show(); _root.feed.In(a_name); } function Hit(objname) { objname.hit_flag = true; objname.timer = 0; --objname.hp; if (objname.hp == objname.hp_max / 2) { ++objname.state; objname.gotoAndStop(objname.state); } } this._visible = false; Mouse.hide(); _root.destroy_count = 0; if (_root.area == 1) { destroy_max = 4; } else { destroy_max = 6; } effect_max = 30; effect_flag = null; effect_flag = new Array(); var i = 0; while (i < effect_max) { effect_flag[i] = 0; ++i; } if (_root.pow_max == 10) { douji_max = 18; } else { douji_max = _root.pow_max; } tama_kakudo = 20 * (douji_max - 1); tama_max = (_root.rensha_max + 2) * douji_max; tama_speed = _root.spd_max * 2 + 10; tama_wtmax = 10 - _root.reload_max + 2; tama_flag = null; tama_flag = new Array(); var i = 0; while (i < tama_max) { tama_flag[i] = 0; ++i; } tama_wait = tama_wtmax; hp = _root.heart_max; hp_max = 10; _root.heart.gotoAndStop(hp_max - hp + 1); push_flag = false; clear_flag = false; timer = 0; damage_flag = false; damage_time_max = 60; damage_time = 0; absorb_flag = true; destroy_flag = false; pause_flag = false; if (_root.difficulty == NULL) { _root.difficulty = 0; } _root.txt_difficulty = _root.difficulty; stopAllSounds(); _root.bgm04.start(0, 99); } onClipEvent (enterFrame) { ++timer; _root.txt_destroy = destroy_max - _root.destroy_count; if (!destroy_flag && !pause_flag) { this._x += Math.floor((_root._xmouse - this._x) / 10); this._y += Math.floor((_root._ymouse - this._y) / 10); } if (push_flag && !_root.msg.visible_flag && !destroy_flag) { if (--tama_wait == 0) { tama_wait = tama_wtmax; now_douji = 0; var i = 0; while (i < tama_max) { if (tama_flag[i] == 0) { tama_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('tama', 'tama' + i, depth); (eval('_root.tama' + i)).kakudo = tama_kakudo; (eval('_root.tama' + i))._x = this._x; (eval('_root.tama' + i))._y = this._y; (eval('_root.tama' + i)).time = 0; if (douji_max > 1) { tama_r = (eval('_root.tama' + i)).kakudo / (douji_max - 1); if (douji_max != 2) { init_r = -(eval('_root.tama' + i)).kakudo / 2 + 90; } else { init_r = -(eval('_root.tama' + i)).kakudo / 2 - 10 + 90; } rad = init_r + Math.floor(i % douji_max) * tama_r; } else { rad = 90; } if (i % douji_max == 0) { _root.se_shot.start(); } (eval('_root.tama' + i)).spdx = Math.sin(rad * Math.PI / 180) * tama_speed; (eval('_root.tama' + i)).spdy = Math.cos(rad * Math.PI / 180) * tama_speed; ++now_douji; if (now_douji == douji_max) { break; } } ++i; } } } else { tama_wait = 1; } var i = 0; while (i < tama_max) { if (tama_flag[i] == 1) { ++(eval('_root.tama' + i)).time; (eval('_root.tama' + i))._x += (eval('_root.tama' + i)).spdx; (eval('_root.tama' + i))._y -= (eval('_root.tama' + i)).spdy; if ((eval('_root.tama' + i))._y < 0 || (eval('_root.tama' + i))._y > Stage.height || (eval('_root.tama' + i))._x < 0 || (eval('_root.tama' + i))._x > Stage.width) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).spdx = null; (eval('_root.tama' + i)).spdy = null; (eval('_root.tama' + i)).removeMovieClip(); } } ++i; } hitTama(); if (_root.destroy_count == destroy_max && clear_flag == false) { clear_flag = true; pause_flag = true; Mouse.show(); _root.now_hp = hp; _root.boss.clear_flag = true; if (_root.clear_flag2 < _root.area) { _root.clear_flag2 = _root.area; } _root.msg.dispMsg(2, 0, false); stopAllSounds(); _root.bgmClear.start(0, 1); } var i = 0; while (i < effect_max) { if (effect_flag[i] == 1) { ++(eval('_root.effect' + i)).time; if ((eval('_root.effect' + i)).time >= 30) { effect_flag[i] = 0; (eval('_root.effect' + i))._x = null; (eval('_root.effect' + i))._y = null; (eval('_root.effect' + i)).time = null; (eval('_root.effect' + i)).removeMovieClip(); } } ++i; } if (damage_flag) { var obj = _root.rara; if (Math.floor(timer / 2) % 2 == 0) { obj._visible = true; } else { obj._visible = false; } ++damage_time; if (destroy_flag) { obj._rotation += 30; if (timer % 10 == 0) { Effect(this._x + Math.random() * 50, this._y + Math.random() * 50); } if (damage_time >= damage_time_max * 2) { GoTo('frm_gameover'); } } else { if (damage_time >= damage_time_max) { damage_flag = false; obj._visible = true; } } } if (Key.isDown(1)) { push_flag = true; } else { push_flag = false; } } } movieClip 342 { } movieClip 343 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } frame 6 { stop(); } movieClip 352 { frame 1 { stop(); } } movieClip 357 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 362 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 367 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 372 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 377 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 382 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 389 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 394 { frame 4 { stop(); } } movieClip 397 { frame 5 { stop(); } } movieClip 402 { } movieClip 403 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 404 { instance oppai of movieClip 352 { onClipEvent (load) { function Oppai() { _root.se_opi.start(); this.gotoAndPlay(2); state = _root.chara.kao._currentframe; _root.chara.kao.gotoAndStop(4); face_flag = true; } timer = 0; face_flag = false; state = 1; } onClipEvent (enterFrame) { if (face_flag) { ++timer; if (timer >= 30) { timer = 0; face_flag = false; _root.chara.kao.gotoAndStop(state); } } } onClipEvent (press) { if (_root.chara.fuku._currentframe == 3 && _root.chara.bura._currentframe == 3 && face_flag == false) { Oppai(); } } } instance soxB of movieClip 357 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 30 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance sox of movieClip 362 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 30 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance pantu of movieClip 367 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 100 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance bura of movieClip 372 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 10; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.oppai.Oppai(); _root.boss.rate = 1; } } } } } } instance skart of movieClip 377 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 100 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance fuku of movieClip 382 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 100 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance kami of movieClip 389 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 20 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance kao of movieClip 403 { onClipEvent (load) { hit_flag = false; timer = 0; time_max = 30; face = 1; } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag == true) { this.gotoAndStop(5); _root.kaogra.gotoAndStop(4); if (++timer >= time_max) { timer = 0; hit_flag = false; } } else { if (_root.destroy_count >= 7) { face = 3; } else { if (_root.destroy_count >= 5) { face = 2; } } this.gotoAndStop(face); _root.kaogra.gotoAndStop(face); } } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.skart; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.sox; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.fuku; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.soxB; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.kami; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } } instance boss of movieClip 404 { onClipEvent (load) { size_rate = 0.75; MY_W = Math.floor(this._width * size_rate); MY_H = Math.floor(this._height * size_rate); SC_W = Stage.width; SC_H = Stage.height; this._xscale = 100 * size_rate; this._yscale = 100 * size_rate; this._x = 0; this._y = 0; spdy = -2; spdx = -3; clear_flag = false; scrl_spd = 4; scrlx = 0; scrly = 0; rate = 1; } onClipEvent (enterFrame) { if (_root.jiki.pause_flag) { } else { if (clear_flag) { if (_root._xmouse < SC_W / 5 && this._x < 0) { this._x += scrl_spd; } else { if (_root._xmouse > SC_W * 4 / 5 && this._x > -MY_W + SC_W) { this._x -= scrl_spd; } } if (_root._ymouse < SC_H / 5 && this._y < 0) { this._y += scrl_spd; } else { if (_root._ymouse > SC_H * 4 / 5 && this._y > -MY_H + SC_H) { this._y -= scrl_spd; } } } else { if (this._x > 0) { spdx *= -1; } else { if (this._x < -MY_W + SC_W) { spdx *= -1; } } this._x += spdx * rate; scrlx += spdx * rate; if (this._y > 0) { spdy *= -1; } else { if (this._y < -MY_H + SC_H) { spdy *= -1; } } this._y += spdy * rate; scrly += spdy * rate; } } if (push_flag) { rate = 0.5; } else { rate = 1; } } onClipEvent (press) { push_flag = true; rate = 0.5; if (_root.jiki.clear_flag) { if (!_root.jiki.pause_flag) { Mouse.show(); _root.jiki.pause_flag = true; } else { Mouse.hide(); _root.jiki.pause_flag = false; } } } onClipEvent (release) { push_flag = false; rate = 1; } } instance jiki of movieClip 209 { onClipEvent (load) { function hitTama() { var i = 0; while (i < tama_max) { if (tama_flag[i] == 1) { tama_x = (eval('_root.tama' + i))._x; tama_y = (eval('_root.tama' + i))._y; atari_flag = false; var obj1 = _root.boss.skart; var obj2 = _root.boss.fuku; var obj3 = _root.boss.sox; var obj4 = _root.boss.soxB; var obj5 = _root.boss.kami; var obj6 = _root.boss.pantu; var obj7 = _root.boss.bura; if (obj1.atari.hitTest(eval('_root.tama' + i)) && !obj1.destroy_flag) { target = obj1; atari_flag = true; } else { if (obj2.atari.hitTest(eval('_root.tama' + i)) && !obj2.destroy_flag) { target = obj2; atari_flag = true; } else { if (obj3.atari.hitTest(eval('_root.tama' + i)) && !obj3.destroy_flag) { target = obj3; atari_flag = true; } else { if (obj4.atari.hitTest(eval('_root.tama' + i)) && !obj4.destroy_flag) { target = obj4; atari_flag = true; } else { if (obj5.atari.hitTest(eval('_root.tama' + i)) && !obj5.destroy_flag) { target = obj5; atari_flag = true; } else { if (obj6.atari.hitTest(eval('_root.tama' + i)) && !obj6.destroy_flag && _root.area >= 2 && _root.destroy_count >= 5) { target = obj6; atari_flag = true; } else { if (obj7.atari.hitTest(eval('_root.tama' + i)) && !obj7.destroy_flag && _root.area >= 2 && _root.destroy_count >= 5) { target = obj7; atari_flag = true; } } } } } } } if (atari_flag) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).spdx = null; (eval('_root.tama' + i)).spdy = null; (eval('_root.tama' + i)).removeMovieClip(); _root.boss.kao.hit_flag = true; Hit(target); _root.boss_hp.obj = target; _root.mc_star.InitStar(tama_x, tama_y); Effect(tama_x, tama_y); } } ++i; } } function DelTama() { var i = 0; while (i < tama_max) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).removeMovieClip(); ++i; } } function Effect(a_x, a_y) { var i = 0; while (i < effect_max) { if (effect_flag[i] == 0) { effect_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('effect', 'effect' + i, depth); (eval('_root.effect' + i))._x = a_x; (eval('_root.effect' + i))._y = a_y; (eval('_root.effect' + i)).time = 0; _root.se_hit.start(); break; } ++i; } } function DelEffect() { var i = 0; while (i < effect_max) { if (effect_flag[i] == 1) { effect_flag[i] = null; (eval('_root.effect' + i))._x = null; (eval('_root.effect' + i))._y = null; (eval('_root.effect' + i)).time = null; (eval('_root.effect' + i)).removeMovieClip(); } ++i; } } function Damage() { if (!damage_flag) { --hp; _root.heart.gotoAndStop(hp_max - hp + 1); if (hp <= 0) { destroy_flag = true; } damage_flag = true; damage_time = 0; Effect(this._x, this._y); _root.se_dmg.start(); var v3 = _root.heart_max - hp + 1; if (v3 > 5) { v3 = 5; } _root.rara.gotoAndStop(v3); _root.rara_kaogra.gotoAndStop(v3); } } function GoTo(a_name) { DelTama(); DelEffect(); _root.teki_generator.DelTeki(); _root.teki_generator.DelItem(); Mouse.show(); _root.feed.In(a_name); } function Hit(objname) { objname.hit_flag = true; objname.timer = 0; --objname.hp; if (objname.hp == objname.hp_max / 2) { ++objname.state; objname.gotoAndStop(objname.state); } } this._visible = false; Mouse.hide(); _root.destroy_count = 0; if (_root.area == 1) { destroy_max = 5; } else { destroy_max = 7; } effect_max = 30; effect_flag = null; effect_flag = new Array(); var i = 0; while (i < effect_max) { effect_flag[i] = 0; ++i; } if (_root.pow_max == 10) { douji_max = 18; } else { douji_max = _root.pow_max; } tama_kakudo = 20 * (douji_max - 1); tama_max = (_root.rensha_max + 2) * douji_max; tama_speed = _root.spd_max * 2 + 10; tama_wtmax = 10 - _root.reload_max + 2; tama_flag = null; tama_flag = new Array(); var i = 0; while (i < tama_max) { tama_flag[i] = 0; ++i; } tama_wait = tama_wtmax; hp = _root.heart_max; hp_max = 10; _root.heart.gotoAndStop(hp_max - hp + 1); push_flag = false; clear_flag = false; timer = 0; damage_flag = false; damage_time_max = 60; damage_time = 0; absorb_flag = true; destroy_flag = false; pause_flag = false; if (_root.difficulty == NULL) { _root.difficulty = 0; } _root.txt_difficulty = _root.difficulty; stopAllSounds(); _root.bgm05.start(0, 99); } onClipEvent (enterFrame) { ++timer; _root.txt_destroy = destroy_max - _root.destroy_count; if (!destroy_flag && !pause_flag) { this._x += Math.floor((_root._xmouse - this._x) / 10); this._y += Math.floor((_root._ymouse - this._y) / 10); } if (push_flag && !_root.msg.visible_flag && !destroy_flag) { if (--tama_wait == 0) { tama_wait = tama_wtmax; now_douji = 0; var i = 0; while (i < tama_max) { if (tama_flag[i] == 0) { tama_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('tama', 'tama' + i, depth); (eval('_root.tama' + i)).kakudo = tama_kakudo; (eval('_root.tama' + i))._x = this._x; (eval('_root.tama' + i))._y = this._y; (eval('_root.tama' + i)).time = 0; if (douji_max > 1) { tama_r = (eval('_root.tama' + i)).kakudo / (douji_max - 1); if (douji_max != 2) { init_r = -(eval('_root.tama' + i)).kakudo / 2 + 90; } else { init_r = -(eval('_root.tama' + i)).kakudo / 2 - 10 + 90; } rad = init_r + Math.floor(i % douji_max) * tama_r; } else { rad = 90; } if (i % douji_max == 0) { _root.se_shot.start(); } (eval('_root.tama' + i)).spdx = Math.sin(rad * Math.PI / 180) * tama_speed; (eval('_root.tama' + i)).spdy = Math.cos(rad * Math.PI / 180) * tama_speed; ++now_douji; if (now_douji == douji_max) { break; } } ++i; } } } else { tama_wait = 1; } var i = 0; while (i < tama_max) { if (tama_flag[i] == 1) { ++(eval('_root.tama' + i)).time; (eval('_root.tama' + i))._x += (eval('_root.tama' + i)).spdx; (eval('_root.tama' + i))._y -= (eval('_root.tama' + i)).spdy; if ((eval('_root.tama' + i))._y < 0 || (eval('_root.tama' + i))._y > Stage.height || (eval('_root.tama' + i))._x < 0 || (eval('_root.tama' + i))._x > Stage.width) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).spdx = null; (eval('_root.tama' + i)).spdy = null; (eval('_root.tama' + i)).removeMovieClip(); } } ++i; } hitTama(); if (_root.destroy_count == destroy_max && clear_flag == false) { clear_flag = true; pause_flag = true; Mouse.show(); _root.now_hp = hp; _root.boss.clear_flag = true; if (_root.clear_flag3 < _root.area) { _root.clear_flag3 = _root.area; } _root.msg.dispMsg(2, 0, false); stopAllSounds(); _root.bgmClear.start(0, 1); } var i = 0; while (i < effect_max) { if (effect_flag[i] == 1) { ++(eval('_root.effect' + i)).time; if ((eval('_root.effect' + i)).time >= 30) { effect_flag[i] = 0; (eval('_root.effect' + i))._x = null; (eval('_root.effect' + i))._y = null; (eval('_root.effect' + i)).time = null; (eval('_root.effect' + i)).removeMovieClip(); } } ++i; } if (damage_flag) { var obj = _root.rara; if (Math.floor(timer / 2) % 2 == 0) { obj._visible = true; } else { obj._visible = false; } ++damage_time; if (destroy_flag) { obj._rotation += 30; if (timer % 10 == 0) { Effect(this._x + Math.random() * 50, this._y + Math.random() * 50); } if (damage_time >= damage_time_max * 2) { GoTo('frm_gameover'); } } else { if (damage_time >= damage_time_max) { damage_flag = false; obj._visible = true; } } } if (Key.isDown(1)) { push_flag = true; } else { push_flag = false; } } } movieClip 413 { } movieClip 414 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } } frame 7 { stop(); } movieClip 423 { frame 1 { stop(); } } movieClip 428 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 433 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 438 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 443 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 446 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 454 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 459 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 464 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 469 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 476 { frame 5 { stop(); } } movieClip 479 { frame 8 { stop(); } } movieClip 486 { } movieClip 487 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } } movieClip 488 { instance oppai of movieClip 423 { onClipEvent (load) { function Oppai() { _root.se_opi.start(); this.gotoAndPlay(2); state = _root.chara.kao._currentframe; _root.chara.kao.gotoAndStop(4); face_flag = true; } timer = 0; face_flag = false; state = 1; } onClipEvent (enterFrame) { if (face_flag) { ++timer; if (timer >= 30) { timer = 0; face_flag = false; _root.chara.kao.gotoAndStop(state); } } } onClipEvent (press) { if (_root.chara.fuku._currentframe == 3 && _root.chara.fuku2._currentframe == 3 && _root.chara.bura._currentframe == 3 && face_flag == false) { Oppai(); } } } instance pantu of movieClip 428 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 200 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance bura of movieClip 433 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 100 * (_root.difficulty + 1); hp = hp_max; max_time = 10; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.oppai.Oppai(); _root.boss.rate = 1; } } } } } } instance fuku2 of movieClip 438 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance skart of movieClip 443 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance taiyaki of movieClip 446 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance sox of movieClip 454 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance soxB of movieClip 459 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 50 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance fuku of movieClip 464 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 70 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance fuku3 of movieClip 469 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 30 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance kao of movieClip 487 { onClipEvent (load) { hit_flag = false; timer = 0; time_max = 30; face = 1; } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag == true) { this.gotoAndStop(6); _root.kaogra.gotoAndStop(5); if (++timer >= time_max) { timer = 0; hit_flag = false; } } else { if (_root.destroy_count >= 9) { face = 4; } else { if (_root.destroy_count >= 7) { face = 3; } else { if (_root.destroy_count >= 4) { face = 2; } } } this.gotoAndStop(face); _root.kaogra.gotoAndStop(face); } } } } instance of movieClip 206 { onClipEvent (load) { destroy_flag = true; target = _root.boss.fuku3; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (destroy_flag && target.hp > 0 && diffx <= 100 * _root.boss.size_rate && diffy <= 100 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.taiyaki; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.sox; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { destroy_flag = false; target = _root.boss.fuku; this._visible = false; } onClipEvent (enterFrame) { if (_root.boss.fuku3.destroy_flag && destroy_flag == false) { destroy_flag = true; } myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (destroy_flag && target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { destroy_flag = false; target = _root.boss.fuku2; this._visible = false; } onClipEvent (enterFrame) { if (_root.boss.fuku.destroy_flag && destroy_flag == false) { destroy_flag = true; } myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (destroy_flag && target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.soxB; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { destroy_flag = false; target = _root.boss.skart; this._visible = false; } onClipEvent (enterFrame) { if (_root.boss.taiyaki.destroy_flag && destroy_flag == false) { destroy_flag = true; } myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (destroy_flag && target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } } instance boss of movieClip 488 { onClipEvent (load) { size_rate = 1; MY_W = Math.floor(this._width * size_rate); MY_H = Math.floor(this._height * size_rate); SC_W = Stage.width; SC_H = Stage.height; this._xscale = 100 * size_rate; this._yscale = 100 * size_rate; this._x = -SC_W / 2; this._y = 0; spdy = -3; spdx = -3; clear_flag = false; scrl_spd = 4; scrlx = 0; scrly = 0; rate = 1; } onClipEvent (enterFrame) { if (_root.jiki.pause_flag) { } else { if (clear_flag) { if (_root._xmouse < SC_W / 5 && this._x < 0) { this._x += scrl_spd; } else { if (_root._xmouse > SC_W * 4 / 5 && this._x > -MY_W + SC_W) { this._x -= scrl_spd; } } if (_root._ymouse < SC_H / 5 && this._y < 0) { this._y += scrl_spd; } else { if (_root._ymouse > SC_H * 4 / 5 && this._y > -MY_H + SC_H) { this._y -= scrl_spd; } } } else { if (this._x > 0) { spdx *= -1; } else { if (this._x < -MY_W + SC_W) { spdx *= -1; } } this._x += spdx * rate; scrlx += spdx * rate; if (this._y > 0) { spdy *= -1; } else { if (this._y < -MY_H + SC_H) { spdy *= -1; } } this._y += spdy * rate; scrly += spdy * rate; } } if (push_flag) { rate = 0.5; } else { rate = 1; } } onClipEvent (press) { push_flag = true; rate = 0.5; if (_root.jiki.clear_flag) { if (!_root.jiki.pause_flag) { Mouse.show(); _root.jiki.pause_flag = true; } else { Mouse.hide(); _root.jiki.pause_flag = false; } } } onClipEvent (release) { push_flag = false; rate = 1; } } instance jiki of movieClip 209 { onClipEvent (load) { function hitTama() { var i = 0; while (i < tama_max) { if (tama_flag[i] == 1) { tama_x = (eval('_root.tama' + i))._x; tama_y = (eval('_root.tama' + i))._y; atari_flag = false; var obj1 = _root.boss.skart; var obj2 = _root.boss.fuku; var obj3 = _root.boss.fuku2; var obj4 = _root.boss.fuku3; var obj5 = _root.boss.sox; var obj6 = _root.boss.soxB; var obj7 = _root.boss.pantu; var obj8 = _root.boss.bura; var obj9 = _root.boss.taiyaki; if (obj1.atari.hitTest(eval('_root.tama' + i)) && !obj1.destroy_flag && obj9.destroy_flag) { target = obj1; atari_flag = true; } else { if (obj2.atari.hitTest(eval('_root.tama' + i)) && !obj2.destroy_flag && obj4.destroy_flag) { target = obj2; atari_flag = true; } else { if (obj3.atari.hitTest(eval('_root.tama' + i)) && !obj3.destroy_flag && obj2.destroy_flag) { target = obj3; atari_flag = true; } else { if (obj4.atari.hitTest(eval('_root.tama' + i)) && !obj4.destroy_flag) { target = obj4; atari_flag = true; } else { if (obj5.atari.hitTest(eval('_root.tama' + i)) && !obj5.destroy_flag) { target = obj5; atari_flag = true; } else { if (obj6.atari.hitTest(eval('_root.tama' + i)) && !obj6.destroy_flag) { target = obj6; atari_flag = true; } else { if (obj9.atari.hitTest(eval('_root.tama' + i)) && !obj9.destroy_flag) { target = obj9; atari_flag = true; } else { if (obj7.atari.hitTest(eval('_root.tama' + i)) && !obj7.destroy_flag && _root.area >= 2 && _root.destroy_count >= 7) { target = obj7; atari_flag = true; } else { if (obj8.atari.hitTest(eval('_root.tama' + i)) && !obj8.destroy_flag && _root.area >= 2 && _root.destroy_count >= 7) { target = obj8; atari_flag = true; } } } } } } } } } if (atari_flag) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).spdx = null; (eval('_root.tama' + i)).spdy = null; (eval('_root.tama' + i)).removeMovieClip(); _root.boss.kao.hit_flag = true; Hit(target); _root.boss_hp.obj = target; _root.mc_star.InitStar(tama_x, tama_y); Effect(tama_x, tama_y); } } ++i; } } function DelTama() { var i = 0; while (i < tama_max) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).removeMovieClip(); ++i; } } function Effect(a_x, a_y) { var i = 0; while (i < effect_max) { if (effect_flag[i] == 0) { effect_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('effect', 'effect' + i, depth); (eval('_root.effect' + i))._x = a_x; (eval('_root.effect' + i))._y = a_y; (eval('_root.effect' + i)).time = 0; _root.se_hit.start(); break; } ++i; } } function DelEffect() { var i = 0; while (i < effect_max) { if (effect_flag[i] == 1) { effect_flag[i] = null; (eval('_root.effect' + i))._x = null; (eval('_root.effect' + i))._y = null; (eval('_root.effect' + i)).time = null; (eval('_root.effect' + i)).removeMovieClip(); } ++i; } } function Damage() { if (!damage_flag) { --hp; _root.heart.gotoAndStop(hp_max - hp + 1); if (hp <= 0) { destroy_flag = true; } damage_flag = true; damage_time = 0; Effect(this._x, this._y); _root.se_dmg.start(); var v3 = _root.heart_max - hp + 1; if (v3 > 5) { v3 = 5; } _root.rara.gotoAndStop(v3); _root.rara_kaogra.gotoAndStop(v3); } } function GoTo(a_name) { DelTama(); DelEffect(); _root.teki_generator.DelTeki(); _root.teki_generator.DelItem(); Mouse.show(); _root.feed.In(a_name); } function Hit(objname) { objname.hit_flag = true; objname.timer = 0; --objname.hp; if (objname.hp == objname.hp_max / 2) { ++objname.state; objname.gotoAndStop(objname.state); } } this._visible = false; Mouse.hide(); _root.destroy_count = 0; if (_root.area == 1) { destroy_max = 7; } else { destroy_max = 9; } effect_max = 30; effect_flag = null; effect_flag = new Array(); var i = 0; while (i < effect_max) { effect_flag[i] = 0; ++i; } if (_root.pow_max == 10) { douji_max = 18; } else { douji_max = _root.pow_max; } tama_kakudo = 20 * (douji_max - 1); tama_max = (_root.rensha_max + 2) * douji_max; tama_speed = _root.spd_max * 2 + 10; tama_wtmax = 10 - _root.reload_max + 2; tama_flag = null; tama_flag = new Array(); var i = 0; while (i < tama_max) { tama_flag[i] = 0; ++i; } tama_wait = tama_wtmax; hp = _root.heart_max; hp_max = 10; _root.heart.gotoAndStop(hp_max - hp + 1); push_flag = false; clear_flag = false; timer = 0; damage_flag = false; damage_time_max = 60; damage_time = 0; absorb_flag = true; destroy_flag = false; pause_flag = false; if (_root.difficulty == NULL) { _root.difficulty = 0; } _root.txt_difficulty = _root.difficulty; stopAllSounds(); _root.bgm02.start(0, 99); } onClipEvent (enterFrame) { ++timer; _root.txt_destroy = destroy_max - _root.destroy_count; if (!destroy_flag && !pause_flag) { this._x += Math.floor((_root._xmouse - this._x) / 10); this._y += Math.floor((_root._ymouse - this._y) / 10); } if (push_flag && !_root.msg.visible_flag && !destroy_flag) { if (--tama_wait == 0) { tama_wait = tama_wtmax; now_douji = 0; var i = 0; while (i < tama_max) { if (tama_flag[i] == 0) { tama_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('tama', 'tama' + i, depth); (eval('_root.tama' + i)).kakudo = tama_kakudo; (eval('_root.tama' + i))._x = this._x; (eval('_root.tama' + i))._y = this._y; (eval('_root.tama' + i)).time = 0; if (douji_max > 1) { tama_r = (eval('_root.tama' + i)).kakudo / (douji_max - 1); if (douji_max != 2) { init_r = -(eval('_root.tama' + i)).kakudo / 2 + 90; } else { init_r = -(eval('_root.tama' + i)).kakudo / 2 - 10 + 90; } rad = init_r + Math.floor(i % douji_max) * tama_r; } else { rad = 90; } if (i % douji_max == 0) { _root.se_shot.start(); } (eval('_root.tama' + i)).spdx = Math.sin(rad * Math.PI / 180) * tama_speed; (eval('_root.tama' + i)).spdy = Math.cos(rad * Math.PI / 180) * tama_speed; ++now_douji; if (now_douji == douji_max) { break; } } ++i; } } } else { tama_wait = 1; } var i = 0; while (i < tama_max) { if (tama_flag[i] == 1) { ++(eval('_root.tama' + i)).time; (eval('_root.tama' + i))._x += (eval('_root.tama' + i)).spdx; (eval('_root.tama' + i))._y -= (eval('_root.tama' + i)).spdy; if ((eval('_root.tama' + i))._y < 0 || (eval('_root.tama' + i))._y > Stage.height || (eval('_root.tama' + i))._x < 0 || (eval('_root.tama' + i))._x > Stage.width) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).spdx = null; (eval('_root.tama' + i)).spdy = null; (eval('_root.tama' + i)).removeMovieClip(); } } ++i; } hitTama(); if (_root.destroy_count == destroy_max && clear_flag == false) { clear_flag = true; pause_flag = true; Mouse.show(); _root.now_hp = hp; _root.boss.clear_flag = true; if (_root.clear_flag4 < _root.area) { _root.clear_flag4 = _root.area; } _root.msg.dispMsg(2, 0, false); stopAllSounds(); _root.bgmClear.start(0, 1); } var i = 0; while (i < effect_max) { if (effect_flag[i] == 1) { ++(eval('_root.effect' + i)).time; if ((eval('_root.effect' + i)).time >= 30) { effect_flag[i] = 0; (eval('_root.effect' + i))._x = null; (eval('_root.effect' + i))._y = null; (eval('_root.effect' + i)).time = null; (eval('_root.effect' + i)).removeMovieClip(); } } ++i; } if (damage_flag) { var obj = _root.rara; if (Math.floor(timer / 2) % 2 == 0) { obj._visible = true; } else { obj._visible = false; } ++damage_time; if (destroy_flag) { obj._rotation += 30; if (timer % 10 == 0) { Effect(this._x + Math.random() * 50, this._y + Math.random() * 50); } if (damage_time >= damage_time_max * 2) { GoTo('frm_gameover'); } } else { if (damage_time >= damage_time_max) { damage_flag = false; obj._visible = true; } } } if (Key.isDown(1)) { push_flag = true; } else { push_flag = false; } } } movieClip 499 { } movieClip 500 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } frame 8 { stop(); } movieClip 507 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 512 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 517 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 522 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 527 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 532 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 537 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 542 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 549 { frame 1 { stop(); } } movieClip 554 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 559 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 567 { frame 5 { stop(); } } movieClip 570 { frame 5 { stop(); } } movieClip 577 { } movieClip 578 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } } movieClip 579 { frame 1 { } frame 1 { } instance mantoB of movieClip 507 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 20 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); _parent.manto.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance pantu of movieClip 512 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 250 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance skart of movieClip 517 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 80 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance manto of movieClip 522 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 80 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); _parent.mantoB.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance migi_ashi of movieClip 527 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 80 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance hidari_ashi of movieClip 532 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 80 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance hidari_te of movieClip 537 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 20 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance migi_te of movieClip 542 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 80 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance oppai of movieClip 549 { onClipEvent (load) { function Oppai() { _root.se_opi.start(); this.gotoAndPlay(2); state = _root.chara.kao._currentframe; _root.chara.kao.gotoAndStop(4); face_flag = true; } timer = 0; face_flag = false; state = 1; } onClipEvent (enterFrame) { if (face_flag) { ++timer; if (timer >= 30) { timer = 0; face_flag = false; _root.chara.kao.gotoAndStop(state); } } } onClipEvent (press) { if (_root.chara.fuku._currentframe == 3 && _root.chara.bura._currentframe == 3 && face_flag == false) { Oppai(); } } } instance bura of movieClip 554 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 150 * (_root.difficulty + 1); hp = hp_max; max_time = 10; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.oppai.Oppai(); _root.boss.rate = 1; } } } } } } instance fuku of movieClip 559 { onClipEvent (load) { if (_root.kaisou == false) { hp_max = 100 * (_root.difficulty + 1); hp = hp_max; max_time = 30; max_dead_time = 120; timer = 0; dead_timer = 0; yure_lv1 = 1; yure_lv2 = 2; yure_lv3 = 4; yure = yure_lv1; init_x = this._x; init_y = this._y; hit_flag = false; destroy_flag = false; state = 1; this.gotoAndStop(state); color_obj = new Color(this); } } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag) { if (timer++ >= max_time) { hit_flag = false; timer = 0; } if (Math.floor(timer / 2) % 2 == 0) { this._x = init_x; } else { if (hp <= hp_max / 4) { yure = yure_lv3; } else { if (hp <= hp_max / 2) { yure = yure_lv2; } else { yure = yure_lv1; } } this._x = init_x - yure; } if (timer < 2 && timer > 0) { if (hp <= hp_max / 2) { color_obj.setRGB(16711680); } else { color_obj.setRGB(16777215); } } else { if (timer == 2) { color_obj.setTransform({'ra': 100, 'ga': 100, 'ba': 100, 'aa': 100, 'rb': 0, 'gb': 0, 'bb': 0, 'ab': 0}); } } } if (hp <= 0) { ++dead_timer; hp = 0; if (!destroy_flag) { _root.boss.rate = 0.1; if (Math.floor(dead_timer / 2) % 2 == 0) { this._x = init_x; } else { this._x = init_x - yure_lv3; } if (Math.floor(dead_timer / 4) % 2 == 0) { _root.jiki.Effect(_root.boss._x + (init_x - this._width / 2 + Math.random() * this._width) * _root.boss.size_rate, _root.boss._y + (init_y - this._height / 2 + Math.random() * this._height) * _root.boss.size_rate); } if (dead_timer > max_dead_time) { dead_timer = max_dead_time; ++state; this.gotoAndStop(state); ++_root.destroy_count; destroy_flag = true; _root.boss.rate = 1; } } } } } } instance kao of movieClip 578 { onClipEvent (load) { hit_flag = false; timer = 0; time_max = 30; face = 1; } onClipEvent (enterFrame) { if (_root.kaisou == false) { if (hit_flag == true) { this.gotoAndStop(6); _root.kaogra.gotoAndStop(5); if (++timer >= time_max) { timer = 0; hit_flag = false; } } else { if (_root.destroy_count >= 9) { face = 4; } else { if (_root.destroy_count >= 7) { face = 3; } else { if (_root.destroy_count >= 5) { face = 2; } } } this.gotoAndStop(face); _root.kaogra.gotoAndStop(face); } } } } instance of movieClip 206 { onClipEvent (load) { destroy_flag = false; target = _root.boss.skart; this._visible = false; } onClipEvent (enterFrame) { if (_root.boss.mantoB.destroy_flag && destroy_flag == false) { destroy_flag = true; } myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (destroy_flag && target.hp > 0 && diffx <= 100 * _root.boss.size_rate && diffy <= 100 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.mantoB; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.hidari_te; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.migi_te; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { destroy_flag = true; target = _root.boss.fuku; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (destroy_flag && target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.hidari_ashi; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } instance of movieClip 206 { onClipEvent (load) { target = _root.boss.migi_ashi; this._visible = false; } onClipEvent (enterFrame) { myx = _parent._x + this._x * _root.boss.size_rate; myy = _parent._y + this._y * _root.boss.size_rate; diffx = Math.abs(_root.jiki._x - myx); diffy = Math.abs(_root.jiki._y - myy); if (target.hp > 0 && diffx <= 400 * _root.boss.size_rate && diffy <= 400 * _root.boss.size_rate) { this._visible = true; } else { this._visible = false; } } } } instance boss of movieClip 579 { onClipEvent (load) { size_rate = 0.75; MY_W = Math.floor(this._width * size_rate); MY_H = Math.floor(this._height * size_rate); SC_W = Stage.width; SC_H = Stage.height; this._xscale = 100 * size_rate; this._yscale = 100 * size_rate; this._x = -SC_W / 2; this._y = -MY_H / 2; spdy = -3; spdx = -2; clear_flag = false; scrl_spd = 4; scrlx = 0; scrly = 0; rate = 1; } onClipEvent (enterFrame) { if (_root.jiki.pause_flag) { } else { if (clear_flag) { if (_root._xmouse < SC_W / 5 && this._x < 0) { this._x += scrl_spd; } else { if (_root._xmouse > SC_W * 4 / 5 && this._x > -MY_W + SC_W) { this._x -= scrl_spd; } } if (_root._ymouse < SC_H / 5 && this._y < 0) { this._y += scrl_spd; } else { if (_root._ymouse > SC_H * 4 / 5 && this._y > -MY_H + SC_H) { this._y -= scrl_spd; } } } else { if (this._x > 0) { spdx *= -1; } else { if (this._x < -MY_W + SC_W) { spdx *= -1; } } this._x += spdx * rate; scrlx += spdx * rate; if (this._y > 0) { spdy *= -1; } else { if (this._y < -MY_H + SC_H) { spdy *= -1; } } this._y += spdy * rate; scrly += spdy * rate; } } if (push_flag) { rate = 0.5; } else { rate = 1; } } onClipEvent (press) { push_flag = true; rate = 0.5; if (_root.jiki.clear_flag) { if (!_root.jiki.pause_flag) { Mouse.show(); _root.jiki.pause_flag = true; } else { Mouse.hide(); _root.jiki.pause_flag = false; } } } onClipEvent (release) { push_flag = false; rate = 1; } } instance jiki of movieClip 209 { onClipEvent (load) { function hitTama() { var i = 0; while (i < tama_max) { if (tama_flag[i] == 1) { tama_x = (eval('_root.tama' + i))._x; tama_y = (eval('_root.tama' + i))._y; atari_flag = false; var obj1 = _root.boss.skart; var obj2 = _root.boss.fuku; var obj3 = _root.boss.migi_te; var obj4 = _root.boss.hidari_te; var obj5 = _root.boss.mantoB; var obj6 = _root.boss.migi_ashi; var obj7 = _root.boss.hidari_ashi; var obj8 = _root.boss.bura; var obj9 = _root.boss.pantu; if (obj1.atari.hitTest(eval('_root.tama' + i)) && !obj1.destroy_flag && obj5.destroy_flag) { target = obj1; atari_flag = true; } else { if (obj2.atari.hitTest(eval('_root.tama' + i)) && !obj2.destroy_flag) { target = obj2; atari_flag = true; } else { if (obj3.atari.hitTest(eval('_root.tama' + i)) && !obj3.destroy_flag) { target = obj3; atari_flag = true; } else { if (obj4.atari.hitTest(eval('_root.tama' + i)) && !obj4.destroy_flag) { target = obj4; atari_flag = true; } else { if (obj5.atari.hitTest(eval('_root.tama' + i)) && !obj5.destroy_flag) { target = obj5; atari_flag = true; } else { if (obj6.atari.hitTest(eval('_root.tama' + i)) && !obj6.destroy_flag) { target = obj6; atari_flag = true; } else { if (obj7.atari.hitTest(eval('_root.tama' + i)) && !obj7.destroy_flag) { target = obj7; atari_flag = true; } else { if (obj8.atari.hitTest(eval('_root.tama' + i)) && !obj8.destroy_flag && _root.area == 2 && _root.destroy_count >= 7) { target = obj8; atari_flag = true; } else { if (obj9.atari.hitTest(eval('_root.tama' + i)) && !obj9.destroy_flag && _root.area == 2 && _root.destroy_count >= 7) { target = obj9; atari_flag = true; } } } } } } } } } if (atari_flag) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).spdx = null; (eval('_root.tama' + i)).spdy = null; (eval('_root.tama' + i)).removeMovieClip(); _root.boss.kao.hit_flag = true; Hit(target); _root.boss_hp.obj = target; _root.mc_star.InitStar(tama_x, tama_y); Effect(tama_x, tama_y); } } ++i; } } function DelTama() { var i = 0; while (i < tama_max) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).removeMovieClip(); ++i; } } function Effect(a_x, a_y) { var i = 0; while (i < effect_max) { if (effect_flag[i] == 0) { effect_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('effect', 'effect' + i, depth); (eval('_root.effect' + i))._x = a_x; (eval('_root.effect' + i))._y = a_y; (eval('_root.effect' + i)).time = 0; _root.se_hit.start(); break; } ++i; } } function DelEffect() { var i = 0; while (i < effect_max) { if (effect_flag[i] == 1) { effect_flag[i] = null; (eval('_root.effect' + i))._x = null; (eval('_root.effect' + i))._y = null; (eval('_root.effect' + i)).time = null; (eval('_root.effect' + i)).removeMovieClip(); } ++i; } } function Damage() { if (!damage_flag) { --hp; _root.heart.gotoAndStop(hp_max - hp + 1); if (hp <= 0) { destroy_flag = true; } damage_flag = true; damage_time = 0; Effect(this._x, this._y); _root.se_dmg.start(); var v3 = _root.heart_max - hp + 1; if (v3 > 5) { v3 = 5; } _root.rara.gotoAndStop(v3); _root.rara_kaogra.gotoAndStop(v3); } } function GoTo(a_name) { DelTama(); DelEffect(); _root.teki_generator.DelTeki(); _root.teki_generator.DelItem(); Mouse.show(); _root.feed.In(a_name); } function Hit(objname) { objname.hit_flag = true; objname.timer = 0; --objname.hp; if (objname.hp == objname.hp_max / 2) { ++objname.state; objname.gotoAndStop(objname.state); } } this._visible = false; Mouse.hide(); _root.destroy_count = 0; if (_root.area == 1) { destroy_max = 7; } else { destroy_max = 9; } effect_max = 30; effect_flag = null; effect_flag = new Array(); var i = 0; while (i < effect_max) { effect_flag[i] = 0; ++i; } if (_root.pow_max == 10) { douji_max = 18; } else { douji_max = _root.pow_max; } tama_kakudo = 20 * (douji_max - 1); tama_max = (_root.rensha_max + 2) * douji_max; tama_speed = _root.spd_max * 2 + 10; tama_wtmax = 10 - _root.reload_max + 2; tama_flag = null; tama_flag = new Array(); var i = 0; while (i < tama_max) { tama_flag[i] = 0; ++i; } tama_wait = tama_wtmax; hp = _root.heart_max; hp_max = 10; _root.heart.gotoAndStop(hp_max - hp + 1); push_flag = false; clear_flag = false; timer = 0; damage_flag = false; damage_time_max = 60; damage_time = 0; absorb_flag = true; destroy_flag = false; pause_flag = false; if (_root.difficulty == NULL) { _root.difficulty = 0; } _root.txt_difficulty = _root.difficulty; stopAllSounds(); _root.bgm03.start(0, 99); } onClipEvent (enterFrame) { ++timer; _root.txt_destroy = destroy_max - _root.destroy_count; if (!destroy_flag && !pause_flag) { this._x += Math.floor((_root._xmouse - this._x) / 10); this._y += Math.floor((_root._ymouse - this._y) / 10); } if (push_flag && !_root.msg.visible_flag && !destroy_flag) { if (--tama_wait == 0) { tama_wait = tama_wtmax; now_douji = 0; var i = 0; while (i < tama_max) { if (tama_flag[i] == 0) { tama_flag[i] = 1; depth = _root.getNextHighestDepth(); _root.attachMovie('tama', 'tama' + i, depth); (eval('_root.tama' + i)).kakudo = tama_kakudo; (eval('_root.tama' + i))._x = this._x; (eval('_root.tama' + i))._y = this._y; (eval('_root.tama' + i)).time = 0; if (douji_max > 1) { tama_r = (eval('_root.tama' + i)).kakudo / (douji_max - 1); if (douji_max != 2) { init_r = -(eval('_root.tama' + i)).kakudo / 2 + 90; } else { init_r = -(eval('_root.tama' + i)).kakudo / 2 - 10 + 90; } rad = init_r + Math.floor(i % douji_max) * tama_r; } else { rad = 90; } if (i % douji_max == 0) { _root.se_shot.start(); } (eval('_root.tama' + i)).spdx = Math.sin(rad * Math.PI / 180) * tama_speed; (eval('_root.tama' + i)).spdy = Math.cos(rad * Math.PI / 180) * tama_speed; ++now_douji; if (now_douji == douji_max) { break; } } ++i; } } } else { tama_wait = 1; } var i = 0; while (i < tama_max) { if (tama_flag[i] == 1) { ++(eval('_root.tama' + i)).time; (eval('_root.tama' + i))._x += (eval('_root.tama' + i)).spdx; (eval('_root.tama' + i))._y -= (eval('_root.tama' + i)).spdy; if ((eval('_root.tama' + i))._y < 0 || (eval('_root.tama' + i))._y > Stage.height || (eval('_root.tama' + i))._x < 0 || (eval('_root.tama' + i))._x > Stage.width) { tama_flag[i] = 0; (eval('_root.tama' + i)).kakudo = null; (eval('_root.tama' + i))._x = null; (eval('_root.tama' + i))._y = null; (eval('_root.tama' + i)).time = null; (eval('_root.tama' + i)).spdx = null; (eval('_root.tama' + i)).spdy = null; (eval('_root.tama' + i)).removeMovieClip(); } } ++i; } hitTama(); if (_root.destroy_count == destroy_max && clear_flag == false) { clear_flag = true; pause_flag = true; Mouse.show(); _root.now_hp = hp; _root.boss.clear_flag = true; if (_root.clear_flag5 < _root.area) { _root.clear_flag5 = _root.area; } _root.msg.dispMsg(2, 0, false); stopAllSounds(); _root.bgmClear.start(0, 1); } var i = 0; while (i < effect_max) { if (effect_flag[i] == 1) { ++(eval('_root.effect' + i)).time; if ((eval('_root.effect' + i)).time >= 30) { effect_flag[i] = 0; (eval('_root.effect' + i))._x = null; (eval('_root.effect' + i))._y = null; (eval('_root.effect' + i)).time = null; (eval('_root.effect' + i)).removeMovieClip(); } } ++i; } if (damage_flag) { var obj = _root.rara; if (Math.floor(timer / 2) % 2 == 0) { obj._visible = true; } else { obj._visible = false; } ++damage_time; if (destroy_flag) { obj._rotation += 30; if (timer % 10 == 0) { Effect(this._x + Math.random() * 50, this._y + Math.random() * 50); } if (damage_time >= damage_time_max * 2) { GoTo('frm_gameover'); } } else { if (damage_time >= damage_time_max) { damage_flag = false; obj._visible = true; } } } if (Key.isDown(1)) { push_flag = true; } else { push_flag = false; } } } movieClip 584 { frame 5 { stop(); } } movieClip 587 { frame 5 { stop(); } } movieClip 594 { } movieClip 595 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } frame 9 { stop(); } instance of movieClip 71 { onClipEvent (load) { } onClipEvent (enterFrame) { this._x -= 1; if (this._x < -133.2) { this._x = 0; } this._y -= 1; if (this._y < -150) { this._y = 0; } } } instance of movieClip 52 { onClipEvent (load) { this._visible = false; this.txt_name = 'セーブする'; var so = SharedObject.getLocal(_root.dataName, '/'); if (so) { var obj = so.data; obj.item_num = _root.item_num; obj.total_cost = _root.total_cost; obj.rensha_max = _root.rensha_max; obj.spd_max = _root.spd_max; obj.reload_max = _root.reload_max; obj.pow_max = _root.pow_max; obj.gold_max = _root.gold_max; obj.heart_max = _root.heart_max; obj.clear_flag1 = _root.clear_flag1; obj.clear_flag2 = _root.clear_flag2; obj.clear_flag3 = _root.clear_flag3; obj.clear_flag4 = _root.clear_flag4; obj.clear_flag5 = _root.clear_flag5; obj.newmsg_flag = _root.newmsg_flag; var ret = so.flush(300); switch (ret) { case true: _root.se_item.start(); _root.txt_msg = 'セーブしました。'; break; case 'pending': root.txt_msg = 'ユーザきょかがひつようです。'; break; case false: root.txt_msg = 'かきこみしっぱいです。'; } } } onClipEvent (press) { } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { _root.txt_msg = ''; this._xscale = 100; this._yscale = 100; } } instance of movieClip 52 { onClipEvent (load) { this.txt_name = 'つづける'; _root.txt_msg = ''; _root.bgmGameOver = new Sound(); _root.bgmGameOver.attachSound('bgmGameOver'); stopAllSounds(); _root.bgmGameOver.setVolume(25 * _root.vol / 100); _root.bgmGameOver.start(0, 1); } onClipEvent (press) { _root.se_btn.start(); if (_root.stage == 1) { _root.feed.In('frm_stage1'); } else { if (_root.stage == 2) { _root.feed.In('frm_stage2'); } else { if (_root.stage == 3) { _root.feed.In('frm_stage3'); } else { if (_root.stage == 4) { _root.feed.In('frm_stage4'); } else { if (_root.stage == 5) { _root.feed.In('frm_stage5'); } } } } } } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 52 { onClipEvent (load) { this.txt_name = 'きょうかする'; } onClipEvent (press) { _root.se_btn.start(); _root.feed.In('frm_menu'); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 52 { onClipEvent (load) { this.txt_name = 'ステージセレクトへ'; } onClipEvent (press) { _root.se_btn.start(); _root.feed.In('frm_select'); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } frame 10 { stop(); } instance of movieClip 71 { onClipEvent (enterFrame) { this._x -= 1; if (this._x < -133.2) { this._x = 0; } this._y -= 1; if (this._y < -150) { this._y = 0; } } } instance of movieClip 52 { onClipEvent (load) { this.txt_name = 'つぎへすすむ'; } onClipEvent (press) { if (_root.stage == 5 && _root.area == 2 && _root.clear_flag1 == 2 && _root.clear_flag2 == 2 && _root.clear_flag3 == 2 && _root.clear_flag4 == 2 && _root.clear_flag5 == 2) { _root.se_btn.start(); _root.feed.In('frm_ed'); } else { _root.se_btn.start(); _root.feed.In('frm_select'); } } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } movieClip 605 { } instance of movieClip 605 { onClipEvent (load) { _root.txt_msg = ''; stage_bonus = (_root.difficulty * 2 + 1) * _root.stage * 50; bonus = _root.now_hp * stage_bonus; old_item = _root.item_num; _root.item_num = old_item + bonus; _root.txt_hp = ''; _root.txt_item = ''; _root.txt_bonus = ''; _root.txt_rate = ''; timer = 0; cnt = 0; } onClipEvent (enterFrame) { ++timer; if (timer == 60) { _root.se_btn.start(); _root.txt_hp = _root.now_hp; } else { if (timer == 120) { _root.se_btn.start(); _root.txt_rate = stage_bonus; } else { if (timer == 180) { _root.se_btn.start(); _root.txt_bonus = bonus; _root.txt_item = old_item; } else { if (timer >= 240) { if (cnt < bonus) { ++cnt; _root.se_item.start(); _root.txt_bonus = bonus - cnt; _root.txt_item = old_item + cnt; } } } } } } onClipEvent (press) { obj = this; if (obj.timer < 180) { _root.se_btn.start(); obj.timer = 180; _root.txt_hp = _root.now_hp; _root.txt_rate = stage_bonus; _root.txt_bonus = obj.bonus; _root.txt_item = obj.old_item; } else { if (obj.cnt != obj.bonus) { _root.se_item.start(); obj.cnt = obj.bonus; _root.txt_bonus = 0; _root.txt_item = obj.old_item + obj.bonus; } } } } instance of movieClip 74 { onClipEvent (load) { this._visible = false; this.txt_name = 'セーブする'; var so = SharedObject.getLocal(_root.dataName, '/'); if (so) { var obj = so.data; obj.item_num = _root.item_num; obj.rensha_max = _root.rensha_max; obj.spd_max = _root.spd_max; obj.reload_max = _root.reload_max; obj.pow_max = _root.pow_max; obj.gold_max = _root.gold_max; obj.heart_max = _root.heart_max; obj.clear_flag1 = _root.clear_flag1; obj.clear_flag2 = _root.clear_flag2; obj.clear_flag3 = _root.clear_flag3; obj.clear_flag4 = _root.clear_flag4; obj.clear_flag5 = _root.clear_flag5; obj.newmsg_flag = _root.newmsg_flag; var ret = so.flush(300); switch (ret) { case true: _root.se_item.start(); _root.txt_msg = 'セーブしました。'; break; case 'pending': root.txt_msg = 'ユーザきょかがひつようです。'; break; case false: root.txt_msg = 'かきこみしっぱいです。'; } } } onClipEvent (press) { } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { _root.txt_msg = ''; this._xscale = 100; this._yscale = 100; } } frame 11 { stop(); } instance chara of movieClip 207 { onClipEvent (load) { function changeRate(rate) { size_rate = rate; var v2 = this._width; var v3 = this._height; var v4 = Math.floor(2000 * size_rate); var v5 = Math.floor(2400 * size_rate); var v6 = Stage.width; var v7 = Stage.height; this._xscale = 100 * size_rate; this._yscale = 100 * size_rate; this._x -= (this._width - v2) / 2; this._y -= 0; } size_rate = 1; changeRate(size_rate); _root.txt_zoom = size_rate * 100 + '%'; _root.chara = this; } } movieClip 618 { } instance of movieClip 618 { onClipEvent (load) { scrl_spd = 5; push_flag = false; } onClipEvent (enterFrame) { if (push_flag) { if (_root.chara._x > -_root.chara._width + Stage.width) { _root.chara._x -= scrl_spd; } } } onClipEvent (press) { push_flag = true; } onClipEvent (release) { push_flag = false; } onClipEvent (releaseOutside) { push_flag = false; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } instance of movieClip 618 { onClipEvent (load) { scrl_spd = 5; push_flag = false; } onClipEvent (enterFrame) { if (push_flag) { if (_root.chara._y > -_root.chara._height + Stage.height) { _root.chara._y -= scrl_spd; } } } onClipEvent (press) { push_flag = true; } onClipEvent (release) { push_flag = false; } onClipEvent (releaseOutside) { push_flag = false; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } instance of movieClip 618 { onClipEvent (load) { scrl_spd = 5; push_flag = false; } onClipEvent (enterFrame) { if (push_flag) { if (_root.chara._x < 0) { _root.chara._x += scrl_spd; } } } onClipEvent (press) { push_flag = true; } onClipEvent (release) { push_flag = false; } onClipEvent (releaseOutside) { push_flag = false; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } instance of movieClip 618 { onClipEvent (load) { scrl_spd = 5; push_flag = false; } onClipEvent (enterFrame) { if (push_flag) { if (_root.chara._y < 0) { _root.chara._y += scrl_spd; } } } onClipEvent (press) { push_flag = true; } onClipEvent (release) { push_flag = false; } onClipEvent (releaseOutside) { push_flag = false; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } movieClip 621 { } instance of movieClip 621 { onClipEvent (press) { _root.se_btn.start(); size_rate = _root.chara.size_rate; size_rate += 0.1; if (size_rate > 2) { size_rate = 2; } _root.chara.changeRate(size_rate); _root.txt_zoom = Math.round(size_rate * 100) + '%'; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } movieClip 623 { } instance of movieClip 623 { onClipEvent (press) { _root.se_btn.start(); size_rate = _root.chara.size_rate; size_rate -= 0.1; if (size_rate < 0.1) { size_rate = 0.1; } _root.chara.changeRate(size_rate); _root.txt_zoom = Math.round(size_rate * 100) + '%'; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'スカート'; state = 1; obj = _root.chara.skart; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ブラ'; state = 1; obj = _root.chara.bura; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); if (state == 3) { _root.chara.oppai.Oppai(); } } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ふく'; state = 1; obj = _root.chara.fuku; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ぱんつ'; state = 1; obj = _root.chara.pantu; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'もどる'; } onClipEvent (press) { _root.se_btn.start(); _root.feed.In('frm_select'); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'かお'; state = 1; obj = _root.chara.kao; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 4) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } movieClip 627 { } instance of movieClip 627 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.pantu; var obj4 = _root.chara.bura; obj1.gotoAndStop(1); obj2.gotoAndStop(1); obj3.gotoAndStop(1); obj4.gotoAndStop(1); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } movieClip 629 { } instance of movieClip 629 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.pantu; var obj4 = _root.chara.bura; obj1.gotoAndStop(3); obj2.gotoAndStop(3); obj3.gotoAndStop(1); obj4.gotoAndStop(1); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } movieClip 631 { } instance of movieClip 631 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.pantu; var obj4 = _root.chara.bura; obj1.gotoAndStop(3); obj2.gotoAndStop(3); obj3.gotoAndStop(3); obj4.gotoAndStop(3); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } frame 12 { stop(); } instance chara of movieClip 333 { onClipEvent (load) { function changeRate(rate) { size_rate = rate; var v2 = this._width; var v3 = this._height; var v4 = Math.floor(800 * size_rate); var v5 = Math.floor(960 * size_rate); var v6 = Stage.width; var v7 = Stage.height; this._xscale = 100 * size_rate; this._yscale = 100 * size_rate; this._x -= (this._width - v2) / 2; this._y -= 0; } size_rate = 1; changeRate(size_rate); _root.txt_zoom = size_rate * 100 + '%'; _root.chara = this; } } instance of movieClip 618 { onClipEvent (load) { scrl_spd = 5; push_flag = false; } onClipEvent (enterFrame) { if (push_flag) { if (_root.chara._x > -_root.chara._width + Stage.width) { _root.chara._x -= scrl_spd; } } } onClipEvent (press) { push_flag = true; } onClipEvent (release) { push_flag = false; } onClipEvent (releaseOutside) { push_flag = false; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } instance of movieClip 618 { onClipEvent (load) { scrl_spd = 5; push_flag = false; } onClipEvent (enterFrame) { if (push_flag) { if (_root.chara._y > -_root.chara._height + Stage.height) { _root.chara._y -= scrl_spd; } } } onClipEvent (press) { push_flag = true; } onClipEvent (release) { push_flag = false; } onClipEvent (releaseOutside) { push_flag = false; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } instance of movieClip 618 { onClipEvent (load) { scrl_spd = 5; push_flag = false; } onClipEvent (enterFrame) { if (push_flag) { if (_root.chara._x < 0) { _root.chara._x += scrl_spd; } } } onClipEvent (press) { push_flag = true; } onClipEvent (release) { push_flag = false; } onClipEvent (releaseOutside) { push_flag = false; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } instance of movieClip 618 { onClipEvent (load) { scrl_spd = 5; push_flag = false; } onClipEvent (enterFrame) { if (push_flag) { if (_root.chara._y < 0) { _root.chara._y += scrl_spd; } } } onClipEvent (press) { push_flag = true; } onClipEvent (release) { push_flag = false; } onClipEvent (releaseOutside) { push_flag = false; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } instance of movieClip 621 { onClipEvent (press) { _root.se_btn.start(); size_rate = _root.chara.size_rate; size_rate += 0.1; if (size_rate > 2) { size_rate = 2; } _root.chara.changeRate(size_rate); _root.txt_zoom = size_rate * 100 + '%'; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } instance of movieClip 623 { onClipEvent (press) { _root.se_btn.start(); size_rate = _root.chara.size_rate; size_rate -= 0.1; if (size_rate < 0.1) { size_rate = 0.1; } _root.chara.changeRate(size_rate); _root.txt_zoom = size_rate * 100 + '%'; } onClipEvent (rollOver) { _root.se_onmouse.start(); } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'くつした'; state = 1; obj = _root.chara.sox; obj2 = _root.chara.soxB; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); obj2.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'スカート'; state = 1; obj = _root.chara.skart; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ブラ'; state = 1; obj = _root.chara.bura; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); if (state == 3) { _root.chara.oppai.Oppai(); } } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ふく'; state = 1; obj = _root.chara.fuku; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ぱんつ'; state = 1; obj = _root.chara.pantu; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'もどる'; } onClipEvent (press) { _root.se_btn.start(); _root.feed.In('frm_select'); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 627 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.sox; var obj4 = _root.chara.soxB; var obj5 = _root.chara.pantu; var obj6 = _root.chara.bura; obj1.gotoAndStop(1); obj2.gotoAndStop(1); obj3.gotoAndStop(1); obj4.gotoAndStop(1); obj5.gotoAndStop(1); obj6.gotoAndStop(1); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 629 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.sox; var obj4 = _root.chara.soxB; var obj5 = _root.chara.pantu; var obj6 = _root.chara.bura; obj1.gotoAndStop(3); obj2.gotoAndStop(3); obj3.gotoAndStop(3); obj4.gotoAndStop(3); obj5.gotoAndStop(1); obj6.gotoAndStop(1); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 631 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.sox; var obj4 = _root.chara.soxB; var obj5 = _root.chara.pantu; var obj6 = _root.chara.bura; obj1.gotoAndStop(3); obj2.gotoAndStop(3); obj3.gotoAndStop(3); obj4.gotoAndStop(3); obj5.gotoAndStop(3); obj6.gotoAndStop(3); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } frame 13 { stop(); } instance chara of movieClip 404 { onClipEvent (load) { function changeRate(rate) { size_rate = rate; var v3 = this._width; var v2 = this._height; var v4 = Math.floor(3200 * size_rate); var v5 = Math.floor(2400 * size_rate); var v6 = Stage.width; var v7 = Stage.height; this._xscale = 100 * size_rate; this._yscale = 100 * size_rate; this._x -= 0; this._y -= (this._height - v2) / 2; } size_rate = 0.5; changeRate(size_rate); _root.txt_zoom = size_rate * 100 + '%'; _root.chara = this; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'もどる'; } onClipEvent (press) { _root.se_btn.start(); _root.feed.In('frm_select'); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'くつした'; state = 1; obj = _root.chara.sox; obj2 = _root.chara.soxB; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); obj2.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'スカート'; state = 1; obj = _root.chara.skart; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ブラ'; state = 1; obj = _root.chara.bura; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); if (state == 3) { _root.chara.oppai.Oppai(); } } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ふく'; state = 1; obj = _root.chara.fuku; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ぱんつ'; state = 1; obj = _root.chara.pantu; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'かお'; state = 1; obj = _root.chara.kao; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 4) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'かみ'; state = 1; obj = _root.chara.kami; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (state == 1) { state = 3; } else { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 627 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.sox; var obj4 = _root.chara.soxB; var obj5 = _root.chara.kami; var obj6 = _root.chara.pantu; var obj7 = _root.chara.bura; obj1.gotoAndStop(1); obj2.gotoAndStop(1); obj3.gotoAndStop(1); obj4.gotoAndStop(1); obj5.gotoAndStop(1); obj6.gotoAndStop(1); obj7.gotoAndStop(1); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 629 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.sox; var obj4 = _root.chara.soxB; var obj5 = _root.chara.kami; var obj6 = _root.chara.pantu; var obj7 = _root.chara.bura; obj1.gotoAndStop(3); obj2.gotoAndStop(3); obj3.gotoAndStop(3); obj4.gotoAndStop(3); obj5.gotoAndStop(3); obj6.gotoAndStop(1); obj7.gotoAndStop(1); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 631 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.sox; var obj4 = _root.chara.soxB; var obj5 = _root.chara.kami; var obj6 = _root.chara.pantu; var obj7 = _root.chara.bura; obj1.gotoAndStop(3); obj2.gotoAndStop(3); obj3.gotoAndStop(3); obj4.gotoAndStop(3); obj5.gotoAndStop(3); obj6.gotoAndStop(3); obj7.gotoAndStop(3); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } frame 14 { stop(); } instance chara of movieClip 488 { onClipEvent (load) { function changeRate(rate) { size_rate = rate; var v2 = this._width; var v3 = this._height; var v4 = Math.floor(3200 * size_rate); var v5 = Math.floor(2400 * size_rate); var v6 = Stage.width; var v7 = Stage.height; this._xscale = 100 * size_rate; this._yscale = 100 * size_rate; this._x -= (this._width - v2) / 2; this._y -= 0; } size_rate = 1; changeRate(size_rate); _root.txt_zoom = size_rate * 100 + '%'; _root.chara = this; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'くつした'; state = 1; obj = _root.chara.sox; obj2 = _root.chara.soxB; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); obj2.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'スカート'; state = 1; obj = _root.chara.skart; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ブラ'; state = 1; obj = _root.chara.bura; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); if (state == 3) { _root.chara.oppai.Oppai(); } } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'リボン'; state = 1; obj = _root.chara.fuku3; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ぱんつ'; state = 1; obj = _root.chara.pantu; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'かお'; state = 1; obj = _root.chara.kao; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 5) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ふく'; state = 1; obj = _root.chara.fuku; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ふく2'; state = 1; obj = _root.chara.fuku2; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'もどる'; } onClipEvent (press) { _root.se_btn.start(); _root.feed.In('frm_select'); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'たいやき'; state = 1; obj = _root.chara.taiyaki; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (state == 1) { state = 3; } else { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 627 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.fuku2; var obj4 = _root.chara.fuku3; var obj5 = _root.chara.sox; var obj6 = _root.chara.soxB; var obj7 = _root.chara.pantu; var obj8 = _root.chara.bura; var obj9 = _root.chara.taiyaki; obj1.gotoAndStop(1); obj2.gotoAndStop(1); obj3.gotoAndStop(1); obj4.gotoAndStop(1); obj5.gotoAndStop(1); obj6.gotoAndStop(1); obj7.gotoAndStop(1); obj8.gotoAndStop(1); obj9.gotoAndStop(1); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 629 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.fuku2; var obj4 = _root.chara.fuku3; var obj5 = _root.chara.sox; var obj6 = _root.chara.soxB; var obj7 = _root.chara.pantu; var obj8 = _root.chara.bura; var obj9 = _root.chara.taiyaki; obj1.gotoAndStop(3); obj2.gotoAndStop(3); obj3.gotoAndStop(3); obj4.gotoAndStop(3); obj5.gotoAndStop(3); obj6.gotoAndStop(3); obj7.gotoAndStop(1); obj8.gotoAndStop(1); obj9.gotoAndStop(3); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 631 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.fuku2; var obj4 = _root.chara.fuku3; var obj5 = _root.chara.sox; var obj6 = _root.chara.soxB; var obj7 = _root.chara.pantu; var obj8 = _root.chara.bura; var obj9 = _root.chara.taiyaki; obj1.gotoAndStop(3); obj2.gotoAndStop(3); obj3.gotoAndStop(3); obj4.gotoAndStop(3); obj5.gotoAndStop(3); obj6.gotoAndStop(3); obj7.gotoAndStop(3); obj8.gotoAndStop(3); obj9.gotoAndStop(3); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } frame 15 { stop(); } instance of movieClip 579 { onClipEvent (load) { function changeRate(rate) { size_rate = rate; var v2 = this._width; var v3 = this._height; var v4 = Math.floor(3200 * size_rate); var v5 = Math.floor(3800 * size_rate); var v6 = Stage.width; var v7 = Stage.height; this._xscale = 100 * size_rate; this._yscale = 100 * size_rate; this._x -= (this._width - v2) / 2; this._y -= 0; } size_rate = 0.5; changeRate(size_rate); _root.txt_zoom = size_rate * 100 + '%'; _root.chara = this; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'もどる'; } onClipEvent (press) { _root.se_btn.start(); _root.feed.In('frm_select'); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'くつ'; state = 1; obj = _root.chara.hidari_ashi; obj2 = _root.chara.migi_ashi; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); obj2.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'て'; state = 1; obj = _root.chara.hidari_te; obj2 = _root.chara.migi_te; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); obj2.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ブラ'; state = 1; obj = _root.chara.bura; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); if (state == 3) { _root.chara.oppai.Oppai(); } } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ふく'; state = 1; obj = _root.chara.fuku; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ぱんつ'; state = 1; obj = _root.chara.pantu; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'かお'; state = 1; obj = _root.chara.kao; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 5) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'ズボン'; state = 1; obj = _root.chara.skart; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 74 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'マント'; state = 1; obj = _root.chara.manto; obj2 = _root.chara.mantoB; } onClipEvent (press) { _root.se_btn.start(); state = obj._currentframe; if (++state > 3) { state = 1; } obj.gotoAndStop(state); obj2.gotoAndStop(state); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 627 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.migi_te; var obj4 = _root.chara.hidari_te; var obj5 = _root.chara.manto; var obj6 = _root.chara.mantoB; var obj7 = _root.chara.migi_ashi; var obj8 = _root.chara.hidari_ashi; var obj9 = _root.chara.bura; var obj10 = _root.chara.pantu; obj1.gotoAndStop(1); obj2.gotoAndStop(1); obj3.gotoAndStop(1); obj4.gotoAndStop(1); obj5.gotoAndStop(1); obj6.gotoAndStop(1); obj7.gotoAndStop(1); obj8.gotoAndStop(1); obj9.gotoAndStop(1); obj10.gotoAndStop(1); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 629 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.migi_te; var obj4 = _root.chara.hidari_te; var obj5 = _root.chara.manto; var obj6 = _root.chara.mantoB; var obj7 = _root.chara.migi_ashi; var obj8 = _root.chara.hidari_ashi; var obj9 = _root.chara.bura; var obj10 = _root.chara.pantu; obj1.gotoAndStop(3); obj2.gotoAndStop(3); obj3.gotoAndStop(3); obj4.gotoAndStop(3); obj5.gotoAndStop(3); obj6.gotoAndStop(3); obj7.gotoAndStop(3); obj8.gotoAndStop(3); obj9.gotoAndStop(1); obj10.gotoAndStop(1); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } instance of movieClip 631 { onClipEvent (press) { _root.se_btn.start(); var obj1 = _root.chara.skart; var obj2 = _root.chara.fuku; var obj3 = _root.chara.migi_te; var obj4 = _root.chara.hidari_te; var obj5 = _root.chara.manto; var obj6 = _root.chara.mantoB; var obj7 = _root.chara.migi_ashi; var obj8 = _root.chara.hidari_ashi; var obj9 = _root.chara.bura; var obj10 = _root.chara.pantu; obj1.gotoAndStop(3); obj2.gotoAndStop(3); obj3.gotoAndStop(3); obj4.gotoAndStop(3); obj5.gotoAndStop(3); obj6.gotoAndStop(3); obj7.gotoAndStop(3); obj8.gotoAndStop(3); obj9.gotoAndStop(3); obj10.gotoAndStop(3); } onClipEvent (rollOver) { _root.se_onmouse.start(); this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } frame 16 { stop(); } movieClip 645 { } instance of movieClip 645 { onClipEvent (load) { this._x = 850 + Math.floor(Math.random() * 10); spd = Math.random() * 5 + 1; } onClipEvent (enterFrame) { this._x -= spd; if (this._x < -50) { this._x = 850 + Math.floor(Math.random() * 10); spd = Math.random() * 5 + 1; } } } instance of movieClip 645 { onClipEvent (load) { this._x = 850 + Math.floor(Math.random() * 10); spd = Math.random() * 5 + 1; } onClipEvent (enterFrame) { this._x -= spd; if (this._x < -50) { this._x = 850 + Math.floor(Math.random() * 10); spd = Math.random() * 5 + 1; } } } instance of movieClip 645 { onClipEvent (load) { this._x = 850 + Math.floor(Math.random() * 10); spd = Math.random() * 5 + 1; } onClipEvent (enterFrame) { this._x -= spd; if (this._x < -50) { this._x = 850 + Math.floor(Math.random() * 10); spd = Math.random() * 5 + 1; } } } instance of movieClip 645 { onClipEvent (load) { this._x = 850 + Math.floor(Math.random() * 10); spd = Math.random() * 5 + 1; } onClipEvent (enterFrame) { this._x -= spd; if (this._x < -50) { this._x = 850 + Math.floor(Math.random() * 10); spd = Math.random() * 5 + 1; } } } instance of movieClip 52 { onClipEvent (load) { this._xscale = 100; this._yscale = 100; this.txt_name = 'タイトルへ'; _root.bgmSelect = new Sound(); _root.bgmSelect.attachSound('bgmED'); stopAllSounds(); _root.bgmSelect.setVolume(25 * _root.vol / 100); _root.bgmSelect.start(0, 1); } onClipEvent (press) { _root.feed.In('frm_title'); } onClipEvent (rollOver) { this._xscale = 110; this._yscale = 110; } onClipEvent (rollOut) { this._xscale = 100; this._yscale = 100; } } movieClip 655 { frame 1 { stop(); } } movieClip 666 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } } movieClip 669 { instance oppai of movieClip 655 { onClipEvent (load) { function Oppai() { _root.se_opi.start(); this.gotoAndPlay(2); state = _root.chara.kao._currentframe; _root.chara.kao.gotoAndStop(4); face_flag = true; } timer = 0; face_flag = false; state = 1; } onClipEvent (enterFrame) { if (face_flag) { ++timer; if (timer >= 30) { timer = 0; face_flag = false; _root.chara.kao.gotoAndStop(state); } } } onClipEvent (press) { if (face_flag == false) { Oppai(); } } } instance of movieClip 39 teki { onClipEvent (load) { timer = 0; init_x = this._x; init_y = this._y; visible_flag = true; } onClipEvent (enterFrame) { ++timer; this._x = init_x; this._y = init_y + Math.sin((timer / 180) * Math.PI) * 10; } onClipEvent (press) { _root.se_btn.start(); this._visible = false; visible_flag = false; } } instance of movieClip 39 teki { onClipEvent (load) { timer = 90; init_x = this._x; init_y = this._y; visible_flag = true; } onClipEvent (enterFrame) { ++timer; this._x = init_x; this._y = init_y + Math.sin((timer / 180) * Math.PI) * 10; } onClipEvent (press) { _root.se_btn.start(); this._visible = false; visible_flag = false; } } instance of movieClip 39 teki { onClipEvent (load) { timer = 0; init_x = this._x; init_y = this._y; visible_flag = true; } onClipEvent (enterFrame) { ++timer; this._x = init_x; this._y = init_y + Math.sin((timer / 180) * Math.PI) * 10; } onClipEvent (press) { _root.se_btn.start(); this._visible = false; visible_flag = false; } } } instance chara of movieClip 669 { onClipEvent (load) { timer = 0; max_time = 3000; scrl_flag = true; } onClipEvent (enterFrame) { if (scrl_flag) { ++timer; if (timer > max_time) { timer = max_time; } if (timer < max_time) { this._y -= 0.2; } } if (Key.isDown(38)) { this._y -= 5; scrl_flag = false; } if (Key.isDown(40)) { this._y += 5; scrl_flag = false; } if (Key.isDown(37)) { this._x -= 5; scrl_flag = false; } if (Key.isDown(39)) { this._x += 5; scrl_flag = false; } if (this._y < 600) { this._y = 600; } } } movieClip 678 { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } frame 4 { stop(); } frame 5 { stop(); } frame 6 { stop(); } } movieClip 679 { } instance of movieClip 679 { onClipEvent (load) { staff = new Array(); staffB = new Array(); staff = ['スタッフ', 'プログラム', 'グラフィック', 'サウンド', 'いろいろ', 'おしまい']; staffB = ['', 'たこやき少女', 'たこやき少女', 'PANICPUMPKIN\n\nたこやき少女', 'たこやき少女', '遊んでくれて\nありがとう']; cnt_max = 5; cnt = 0; this.txt_title = staff[cnt]; this.txt_msg = staffB[cnt]; timer = 0; stop_flag = 0; stop_count = 0; } onClipEvent (enterFrame) { ++timer; if (this._x <= 400 && stop_flag == 0) { stop_flag = 1; } else { if (this._x <= -100) { this._x = 900; if (cnt < cnt_max) { ++cnt; } this.txt_title = staff[cnt]; this.txt_msg = staffB[cnt]; stop_flag = 0; this.face.gotoAndStop(cnt + 1); } } if (stop_flag != 1) { this._x -= 2; } else { if (cnt < cnt_max) { ++stop_count; } if (stop_count >= 120) { stop_count = 0; stop_flag = 2; } } } }




http://swfchan.com/42/209624/info.shtml
Created: 22/7 -2019 14:01:35 Last modified: 22/7 -2019 14:01:35 Server time: 24/04 -2024 09:25:40