<?xml version="1.0" encoding="shift-jis"?>
<exbulletml>

<!-- ********************************************************************* -->
<!-- *** 中ボス戦はここから始ま					*** -->
<!-- *** stage6C中ボス normal					   *** -->

<action label="stage6C_middle_boss">

	<!-- 会話シーン  -->
	<actionRef label="stage_midboss_comm_text_action"></actionRef>

	<!-- ボス体力定義 -->
	<repeat><times>$__twins_set-eq0</times>
		<global name="misa_vital1">1800-90</global>
		<global name="misa_vital2">1780-90</global>
		<global name="misa_vital3">2250-120</global>
		<global name="misa_vital4">2550-120</global>
		<global name="misa_vital5">2700-120</global>
	</repeat>
	<repeat><times>$__twins_set-eq2</times>
		<global name="misa_vital1">1950-90</global>
		<global name="misa_vital2">1880-90</global>
		<global name="misa_vital3">2250-120</global>
		<global name="misa_vital4">2550-120</global>
		<global name="misa_vital5">2700-120</global>
	</repeat>
	<repeat><times>$__twins_set-eq3</times>
		<global name="misa_vital1">940-40</global>
		<global name="misa_vital2">930-40</global>
		<global name="misa_vital3">1060-40</global>
		<global name="misa_vital4">1100-60</global>
		<global name="misa_vital5">1300-50</global>
	</repeat>

	<setSharedVitalNum>
		<num>1</num><vital>$__misa_vital1</vital>
	</setSharedVitalNum>
	<setSharedVitalNum>
		<num>2</num><vital>$__misa_vital2</vital>
	</setSharedVitalNum>
	<setSharedVitalNum>
		<num>3</num><vital>$__misa_vital3</vital>
	</setSharedVitalNum>
	<setSharedVitalNum>
		<num>4</num><vital>$__misa_vital4</vital>
	</setSharedVitalNum>
	<setSharedVitalNum>
		<num>5</num><vital>$__misa_vital5</vital>
	</setSharedVitalNum>
	<wait>1</wait>

	<actionRef label="boss_warning_action"></actionRef>

	<changeTargetVolume label="bgm">
		<num>-10000</num><term>30</term>
	</changeTargetVolume>
	<wait>30</wait>
	<targetVanish label="bgm"></targetVanish>

	<sound label="bgm" type="bgm">
		<track>
			<file type="ogg">17_stage6c_secondhalf</file>
		</track>
		<play>
			<flag>1</flag><loop>44100*2*2*25</loop>
		</play>
	</sound>
	<actionRef label="stage6_4_bgm_title_action"></actionRef>

	<!-- *** 第 N 形態 *** -->
	<global name="boss_state">1</global>
	
	<!-- *** ボスの初期ライフ *** -->
	<global name="boss_life">4</global>


	<!-- *** 最初のボスオブジェクト作成 *** -->
	<createRef label="enemy_create_middle_boss"></createRef>
	<createRef label="enemy_create_middle_boss_misa"></createRef>
	<!-- 出現用ボスを消去 -->
	<targetRevenge label="stage6C_boss_enemy_appear_misa"></targetRevenge>
	<targetRevenge label="stage6C_boss_enemy_appear_as"></targetRevenge>



	<!-- *** ボスのライフ表示オブジェクト作成 *** -->
	<wait>1</wait>
	<createRef label="boss_life_create"></createRef>
	<!-- *** ボスの名称表示オブジェクト作成 *** -->
	<createRef label="boss_name_stage6_misa"></createRef>

	<!-- *** ボス戦が終わるまで待機		  *** -->	
	<!-- *** 最終形態が終わると Lock 10 が開放される *** -->
	<setLock><num>10</num></setLock>
	<waitLock><num>10</num></waitLock>

</action>


<!-- ********************************************************************* -->

<!-- *** 中ボス第 1 形態のボスオブジェクト作成			 *** -->
<!-- ***							       *** -->

<create label="enemy_create_middle_boss">

	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$__boss_cx</cx><cy>$__boss_cy</cy>
	<inv>40</inv>
	<score>240000</score>
	<prate>$__middle_boss_prate</prate>
	<enemyRef label="enemy_middle_boss"></enemyRef>

</create>

<create label="enemy_create_middle_boss2">

	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<inv>40</inv>
	<score>280000</score>
	<prate>$__middle_boss_prate2</prate>
	<enemyRef label="enemy_middle_boss"></enemyRef>

</create>

<create label="enemy_create_middle_boss3">

	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<inv>40</inv>
	<score>320000</score>
	<prate>$__middle_boss_prate2</prate>
	<enemyRef label="enemy_middle_boss"></enemyRef>

</create>

<create label="enemy_create_middle_boss4">

	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<inv>40</inv>
	<score>400000</score>
	<prate>$__middle_boss_prate2</prate>
	<enemyRef label="enemy_middle_boss"></enemyRef>

</create>

<create label="enemy_create_middle_boss5">

	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<inv>40</inv>
	<score>500000</score>
	<prate>$__middle_boss_prate3</prate>
	<enemyRef label="enemy_middle_boss"></enemyRef>

</create>

<create label="enemy_create_middle_boss_misa">

	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$__boss_cx2</cx><cy>$__boss_cy2</cy>
	<inv>0</inv>
	<score>0</score>
	<prate>0</prate>
	<vital>1</vital>
	<enemyRef label="enemy_middle_boss_misa"></enemyRef>

</create>

<!-- ********************************************************************* -->
<!-- *** 中ボスオブジェクト					    *** -->
<enemy label="enemy_middle_boss_misa">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>
	<presentRef label="stage6C_boss_present_misa"></presentRef>
	<revengeRef label="stage6C_middle_boss_misa_revenge"></revengeRef>

</enemy>

<!-- ********************************************************************* -->
<!-- *** 中ボスオブジェクト					    *** -->
<enemy label="enemy_middle_boss">


	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>
<!--	<presentRef label="stage6C_boss_present_misa"></presentRef> -->
	<presentRef label="enemy_present_as2"/>

	<!-- vital指定 -->
	<repeat><times>$__boss_state-eq1</times>
		<shareVital><num>1</num></shareVital>
	</repeat>
	<repeat><times>$__boss_state-eq2</times>
		<shareVital><num>2</num></shareVital>
	</repeat>
	<repeat><times>$__boss_state-eq3</times>
		<shareVital><num>3</num></shareVital>
	</repeat>
	<repeat><times>$__boss_state-eq4</times>
		<shareVital><num>4</num></shareVital>
	</repeat>
	<repeat><times>$__boss_state-eq5</times>
		<shareVital><num>5</num></shareVital>
	</repeat>



	<!-- *** VITAL ゲージはボスの子オブジェクトなのでここで作成 *** -->
	<createRef label="boss_vital_create"></createRef>

	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>

	<!-- *** 第 N 形態ごとのアクション *** -->
	<repeat><times>$__boss_state-eq1</times>
		<revengeRef label="stage6C_middle_boss_01_revenge"></revengeRef>
		<global name="timer">12</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_middle_boss_01_action"></actionRef>

	</repeat>
	<repeat><times>$__boss_state-eq2</times>
		<global name="prate_average">$__prate_average+$_prate</global>
		<global name="prate_average_num">$__prate_average_num+1</global>

		<revengeRef label="stage6C_middle_boss_02_revenge"></revengeRef>
		<global name="timer">14</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_middle_boss_02_action"></actionRef>
	</repeat>
	<repeat><times>$__boss_state-eq3</times>
		<global name="prate_average">$__prate_average+$_prate</global>
		<global name="prate_average_num">$__prate_average_num+1</global>

		<revengeRef label="stage6C_middle_boss_03_revenge"></revengeRef>
		<global name="timer">13</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_middle_boss_03_action"></actionRef>
	</repeat>
	<repeat><times>$__boss_state-eq4</times>
		<global name="prate_average">$__prate_average+$_prate</global>
		<global name="prate_average_num">$__prate_average_num+1</global>

		<revengeRef label="stage6C_middle_boss_04_revenge"></revengeRef>
		<global name="timer">12</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_middle_boss_04_action"></actionRef>
	</repeat>
	<repeat><times>$__boss_state-eq5</times>
		<global name="prate_average">$__prate_average+$_prate</global>
		<global name="prate_average_num">$__prate_average_num+1</global>

		<revengeRef label="stage6C_middle_boss_05_revenge"></revengeRef>
		<global name="timer">14</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_middle_boss_05_action"></actionRef>
	</repeat>

</enemy>


<!-- ********************************************************************* -->
<!-- *** 中ボスのアクション　第１形態　				*** -->
<action  label="stage6C_middle_boss_01_action">

	<wait>29</wait>
<global name="counter_tmp">$_counter</global>
<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>

<!-- 弾幕開始 -->
	<eval name="dir_judge">1-2*($_player_cx-lt320)</eval>
	<eval name="wait_time">($_player_cx*13+$_player_cy*5)%7</eval>
	<eval name="def_x">$_self_cx</eval>
	<eval name="def_y">$_self_cy</eval>
	<wait>1</wait>

	<createRef label="misa_as_create_01"><param>75</param><param>$dir_judge</param><param>$wait_time</param></createRef>
<repeat><times>3</times>

	<changeDirection>
		<direction type="absolute">-80*$dir_judge</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">2</speed><term>10</term>
	</changeSpeed>
	<wait>20</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>10</term>
	</changeSpeed>
	<wait>40</wait>
	<createRef label="misa_as_create_02_dummy"></createRef>
	<wait>24</wait>
	<createRef label="misa_as_create_03_dummy"></createRef>
	
	<changeDirection>
		<direction type="absolute">65*$dir_judge</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">2</speed><term>10</term>
	</changeSpeed>
	<wait>40</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>10</term>
	</changeSpeed>
	<wait>40</wait>
	<createRef label="misa_as_create_02_dummy"></createRef>
	<wait>24</wait>
	<createRef label="misa_as_create_03_dummy"></createRef>

	<changeDirection>
		<direction type="absolute">-140*$dir_judge</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.6</speed><term>10</term>
	</changeSpeed>
	<wait>25</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>10</term>
	</changeSpeed>
	<wait>40</wait>
	<createRef label="misa_as_create_02_dummy"></createRef>
	<wait>24</wait>
	<createRef label="misa_as_create_03_dummy"></createRef>

	<wait>60-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<eval name="dir_judge">1-2*($_player_cx-lt320)</eval>

	<changeDirection>
		<direction type="absolute">90*$dir_judge</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.76</speed><term>20</term>
	</changeSpeed>
	<repeat><times>4</times>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_laser"><param>-30</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<wait>20</wait>
	</repeat>
	<changeSpeed>
		<speed type="absolute">0</speed><term>10</term>
	</changeSpeed>
	<wait>10</wait>

	<changeDirection>
		<direction type="absolute">-90*$dir_judge</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.76</speed><term>20</term>
	</changeSpeed>
	<repeat><times>8</times>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_laser"><param>-30</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<wait>20</wait>
	</repeat>
	<changeSpeed>
		<speed type="absolute">0</speed><term>10</term>
	</changeSpeed>
	<wait>10</wait>

	<changeDirection>
		<direction type="absolute">90*$dir_judge</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.76</speed><term>20</term>
	</changeSpeed>
	<repeat><times>4</times>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_laser"><param>-30</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<wait>20</wait>
	</repeat>
	<changeSpeed>
		<speed type="absolute">0</speed><term>10</term>
	</changeSpeed>
	<wait>10-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_laser_ab"><param>180-45</param></fireRef>
	<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
	<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
	<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
	<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
	<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
	<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
	<wait>9</wait>
	<repeat><times>12</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_laser_s"><param>-88</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<wait>9</wait>
	</repeat>
	<repeat><times>20</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_laser_s"><param>-92</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<wait>9</wait>
	</repeat>
	<repeat><times>12</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_laser_s"><param>-88</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<fireRef label="middle_boss_fire_laser_s"><param>15</param></fireRef>
		<wait>9</wait>
	</repeat>
	<wait>60-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->
	<wait>60</wait>

	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="middle_boss_laser_01_top"><param>0</param></fireRef>
	<wait>13</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="middle_boss_laser_01_top_s"><param>70</param></fireRef>
	<wait>13</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="middle_boss_laser_01_top_s"><param>-140</param></fireRef>
	<wait>239-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<changeSpeed>
		<speed type="absolute">0.8</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<changePosition type="center">
		<x>$def_x</x><y>$def_y</y>
	</changePosition>
	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
</repeat>

<wait>60</wait>
<targetRevenge label="enemy_middle_boss"></targetRevenge>
<targetRevenge label="misa_as_enemy_01"></targetRevenge>

</action>

<create label="misa_as_create_01">
	<speed>2.7</speed>
	<direction type="absolute">$1*$2</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_01"><param>$2</param><param>$3</param></enemyRef>
</create>

<enemy label="misa_as_enemy_01">
	<inv>30</inv>
	<shareVital>
		<num>1</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_01"></revengeRef>
	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
		<!-- *** 画面下のボス表示を作成 *** -->
		<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>29</wait>
		<eval name="bul_sp">2+(($_player_cx*4+$_self_cx*6)%8)/10</eval>
		<eval name="bul_sp2">2+(($_player_cx*5+$_self_cx*7)%8)/10</eval>
		<eval name="wait_time">$2</eval>
		<wait>1</wait>

	<repeat><times>50</times>
		<changeDirection>
			<direction type="absolute">-90*$1</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">2.9</speed><term>10</term>
		</changeSpeed>
		<wait>1</wait>
		<repeat><times>3</times>
			<actionRef label="enemy_bullet_action2"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp</param></fireRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp-0.5</param></fireRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp-1</param></fireRef>
			<wait>17-$wait_time</wait>
			<eval name="bul_sp">2+(($_player_cx*4+$_self_cx*6)%8)/10</eval>
			<wait>1+$wait_time</wait>
			<actionRef label="enemy_bullet_action2"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp2</param></fireRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp2-0.5</param></fireRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp2-1</param></fireRef>
			<wait>17-$wait_time</wait>
			<eval name="bul_sp2">2+(($_player_cx*7+$_self_cx*5)%8)/10</eval>
			<wait>1+$wait_time</wait>
		</repeat>
		<wait>2</wait>

		<changeSpeed>
			<speed type="absolute">0</speed><term>15</term>
		</changeSpeed>
		<actionRef label="enemy_bullet_action2"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_01"><param>$bul_sp</param></fireRef>
		<fireRef label="middle_boss_fire_01"><param>$bul_sp-0.5</param></fireRef>
		<fireRef label="middle_boss_fire_01"><param>$bul_sp-1</param></fireRef>
		<wait>14</wait>
		<eval name="wait_time">($wait_time*3+$_player_cx*11)%7</eval>
		<wait>1</wait>

		<changeDirection>
			<direction type="absolute">90*$1</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">2.9</speed><term>10</term>
		</changeSpeed>
		<wait>1+2</wait>
		<repeat><times>3</times>
			<actionRef label="enemy_bullet_action2"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp</param></fireRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp-0.5</param></fireRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp-1</param></fireRef>
			<wait>17-$wait_time</wait>
			<eval name="bul_sp">2+(($_player_cx*4+$_self_cx*6)%8)/10</eval>
			<wait>1+$wait_time</wait>
			<actionRef label="enemy_bullet_action2"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp2</param></fireRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp2-0.5</param></fireRef>
			<fireRef label="middle_boss_fire_01"><param>$bul_sp2-1</param></fireRef>
			<wait>17-$wait_time</wait>
			<eval name="bul_sp2">2+(($_player_cx*7+$_self_cx*5)%8)/10</eval>
			<wait>1+$wait_time</wait>
		</repeat>

		<changeSpeed>
			<speed type="absolute">0</speed><term>15</term>
		</changeSpeed>
		<actionRef label="enemy_bullet_action2"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_01"><param>$bul_sp2</param></fireRef>
		<fireRef label="middle_boss_fire_01"><param>$bul_sp2-0.5</param></fireRef>
		<fireRef label="middle_boss_fire_01"><param>$bul_sp2-1</param></fireRef>
		<wait>14</wait>
		<eval name="wait_time">($wait_time*3+$_player_cx*11)%7</eval>
		<wait>1</wait>
	</repeat>

	</action>
</enemy>

<revenge label="misa_as_revenge_01">

	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>

	<wait>3</wait>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>

	<wait>1</wait>
	<vanish/>

</revenge>


<create label="misa_as_create_02_dummy">
	<speed>1</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital>
	<child>1</child>
	<enemyRef label="misa_as_enemy_02_dummy"></enemyRef>
</create>

<enemy label="misa_as_enemy_02_dummy">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<img type="normal">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

	<action>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_02"><param>100</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.9</param></fireRef>
		<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.8</param></fireRef>
		<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.7</param></fireRef>
		<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.6</param></fireRef>
		<fireRef label="middle_boss_fire_02_s"><param>3</param><param>1.5</param></fireRef>
		<fireRef label="middle_boss_fire_02_s"><param>3</param><param>1.4</param></fireRef>
		<wait>2</wait>
		<repeat><times>8</times>
			<fireRef label="middle_boss_fire_02_s"><param>-21</param><param>2</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.9</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.8</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.7</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.6</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>3</param><param>1.5</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>3</param><param>1.4</param></fireRef>
			<wait>2</wait>
		</repeat>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<repeat><times>8</times>
			<fireRef label="middle_boss_fire_02_s"><param>-21</param><param>2</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.9</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.8</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.7</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>0</param><param>1.6</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>3</param><param>1.5</param></fireRef>
			<fireRef label="middle_boss_fire_02_s"><param>3</param><param>1.4</param></fireRef>
			<wait>2</wait>
		</repeat>
		<vanish/>
	</action>
</enemy>

<create label="misa_as_create_03_dummy">
	<speed>1</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital>
	<child>1</child>
	<enemyRef label="misa_as_enemy_03_dummy"></enemyRef>
</create>

<enemy label="misa_as_enemy_03_dummy">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<img type="normal">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

	<action>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>-105</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.9</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.8</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.7</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.6</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>-3</param><param>1.5</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>-3</param><param>1.4</param></fireRef>
		<wait>2</wait>
		<repeat><times>8</times>
			<fireRef label="middle_boss_fire_03_s"><param>21</param><param>2</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.9</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.8</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.7</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.6</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>-3</param><param>1.5</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>-3</param><param>1.4</param></fireRef>
			<wait>2</wait>
		</repeat>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<repeat><times>8</times>
			<fireRef label="middle_boss_fire_03_s"><param>21</param><param>2</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.9</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.8</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.7</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>0</param><param>1.6</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>-3</param><param>1.5</param></fireRef>
			<fireRef label="middle_boss_fire_03_s"><param>-3</param><param>1.4</param></fireRef>
			<wait>2</wait>
		</repeat>
		<vanish/>
	</action>
</enemy>


<fire label="middle_boss_fire_01">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<bulletRef label="middle_boss_bullet_01"><param>$1</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</radius></collision>
	<img type="maskadd">
		<file type="dds">dia32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>16</width><height>20</height>
		<alpha>255</alpha><red>255</red><green>200</green><blue>3</blue>
	</img>

	<action>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>100</term>
		</changeSpeed>
	</action>

</bullet>

<fire label="middle_boss_fire_01a">
	<speed>0</speed>
	<direction type="aim">0</direction>
	<bulletRef label="middle_boss_bullet_01a"><param>$1</param></bulletRef>
</fire>

<fire label="middle_boss_fire_01as">
	<speed>0</speed>
	<direction type="sequence">0</direction>
	<bulletRef label="middle_boss_bullet_01a"><param>$1</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_01a">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</radius></collision>
	<img type="maskadd">
		<file type="dds">dia32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>16</width><height>20</height>
		<alpha>255</alpha><red>25</red><green>255</green><blue>2</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>100</term>
		</changeSpeed>
	</action>

</bullet>

<fire label="middle_boss_fire_02">
	<speed>3</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_02"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_02_s">
	<speed>3</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_02"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</radius></collision>
	<img type="maskadd">
		<file type="dds">dia32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>16</width><height>16</height>
		<alpha>255</alpha><red>255</red><green>2</green><blue>123</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>15</term>
		</changeSpeed>
	</action>

</bullet>

<fire label="middle_boss_fire_03">
	<speed>3</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_03"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_03_s">
	<speed>3</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_03"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_03">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</radius></collision>
	<img type="maskadd">
		<file type="dds">dia32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>16</width><height>16</height>
		<alpha>255</alpha><red>5</red><green>2</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>15</term>
		</changeSpeed>
	</action>

</bullet>


<fire label="middle_boss_fire_laser">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet"></bulletRef>
</fire>

<fire label="middle_boss_fire_laser_ab">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet"></bulletRef>
</fire>

<fire label="middle_boss_fire_laser_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet"></bulletRef>
</fire>

<bullet label="middle_boss_fire_laser_bullet">
	<collision type="sync"><left>-2</left><top>-5</top><right>2</right><bottom>5</bottom></collision>
	
	<img type="add">
		<file type="dds">laser32xr</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>4</height>
		<alpha>255</alpha><red>255</red><green>240</green><blue>240</blue>
	</img>	
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeImgSize>
			<width>7</width><height>13</height><term>3</term>
		</changeImgSize>
<!--
		<createRef label="middle_boss_fire_laser_back"><param>$_self_cx</param><param>$_self_cy</param><param>7</param><param>220</param><param>255</param><param>100</param><param>100</param><param>2</param></createRef>
		<wait>1</wait>
		<createRef label="middle_boss_fire_laser_back"><param>$_self_cx</param><param>$_self_cy</param><param>7</param><param>220</param><param>255</param><param>100</param><param>100</param><param>1</param></createRef>
-->
		<wait>2</wait>
		<changeSpeed>
			<speed>2.2</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>


<!-- レーザー -->
<fire label="middle_boss_laser_01_top">
	<speed>3</speed>
	<direction type="absolute">$1</direction>
	<bulletRef label="middle_boss_laser_bullet_01"></bulletRef>
</fire>

<fire label="middle_boss_laser_01_top_s">
	<speed>3</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_laser_bullet_01"></bulletRef>
</fire>

<bullet label="middle_boss_laser_bullet_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</radius></collision>
	<img type="add">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>20</width><height>26</height>
		<alpha>230</alpha><red>255</red><green>105</green><blue>102</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
<!--
		<wait>50</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>20</param><param>9</param><param>230</param></fireRef>
-->

		<repeat><times>7</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
			<wait>1</wait>
			<createRef label="middle_boss_laser_01_c_tail"><param>19</param><param>9</param><param>230</param></createRef>
		</repeat>
		<changeSpeed>
			<speed type="absolute">2</speed><term>30</term>
		</changeSpeed>
		<repeat><times>15</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
			<wait>1</wait>
			<createRef label="middle_boss_laser_01_c_tail"><param>19</param><param>9</param><param>230</param></createRef>
		</repeat>

		<changeDirection>
			<direction type="aim">0</direction><term>20</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">4.4</speed><term>30</term>
		</changeSpeed>

		<repeat><times>9</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
			<wait>1</wait>
			<createRef label="middle_boss_laser_01_c_tail"><param>19</param><param>9</param><param>230</param></createRef>
		</repeat>
		<changeDirection>
			<direction type="aim">0</direction><term>18</term>
		</changeDirection>
		<repeat><times>16</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
		</repeat>

		<changeDirection>
			<direction type="aim">0</direction><term>14</term>
		</changeDirection>
		<repeat><times>6</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
			<wait>1</wait>
			<createRef label="middle_boss_laser_01_c_tail"><param>19</param><param>9</param><param>230</param></createRef>
		</repeat>
		<changeDirection>
			<direction type="aim">0</direction><term>10</term>
		</changeDirection>
		<repeat><times>4</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
			<wait>1</wait>
			<createRef label="middle_boss_laser_01_c_tail"><param>19</param><param>9</param><param>230</param></createRef>
		</repeat>
		<changeDirection>
			<direction type="aim">0</direction><term>10</term>
		</changeDirection>
		<repeat><times>3</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
			<wait>1</wait>
			<createRef label="middle_boss_laser_01_c_tail"><param>19</param><param>9</param><param>230</param></createRef>
		</repeat>
		<changeDirection>
			<direction type="aim">0</direction><term>10</term>
		</changeDirection>
		<repeat><times>2</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
			<wait>1</wait>
			<createRef label="middle_boss_laser_01_c_tail"><param>19</param><param>9</param><param>230</param></createRef>
		</repeat>
		<changeDirection>
			<direction type="aim">0</direction><term>10</term>
		</changeDirection>
		<repeat><times>1</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
			<wait>1</wait>
			<createRef label="middle_boss_laser_01_c_tail"><param>19</param><param>9</param><param>230</param></createRef>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
		</repeat>
		<changeDirection>
			<direction type="aim">0</direction><term>10</term>
		</changeDirection>
		<repeat><times>2</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
		</repeat>

		<repeat><times>3</times>
			<changeDirection>
				<direction type="aim">0</direction><term>10</term>
			</changeDirection>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
			<wait>1</wait>
			<createRef label="middle_boss_laser_01_c_tail"><param>19</param><param>9</param><param>230</param></createRef>
		</repeat>
			<changeDirection>
				<direction type="relative">0</direction><term>1</term>
			</changeDirection>
		<repeat><times>-1</times>
			<wait>1</wait>
			<fireRef label="middle_boss_laser_01_tail"><param>19</param><param>9</param><param>230</param></fireRef>
			<wait>1</wait>
			<createRef label="middle_boss_laser_01_c_tail"><param>19</param><param>9</param><param>230</param></createRef>
		</repeat>

	</action>
</bullet>

<!-- レーザー尾 -->
<fire label="middle_boss_laser_01_tail">
	<speed>0</speed>
	<direction type="relative">0</direction>
	<cx>0</cx><cy>0</cy>
	<bulletRef label="middle_boss_laser_bullet_01_tail"><param>$1</param><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="middle_boss_laser_bullet_01_tail">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>$2</radius></collision>
	<img type="add">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>$1</width><height>$1*1.3</height>
		<alpha>$3</alpha><red>255</red><green>105</green><blue>102</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>1</wait>
		<repeat><times>$1-gt5</times>

			<fireRef label="middle_boss_laser_02_tail"><param>$1-1</param><param>$2-0.5</param><param>$3</param></fireRef>

		</repeat>
		<wait>2</wait>
		<vanish/>

	</action>
</bullet>

<create label="middle_boss_laser_01_c_tail">
	<speed>0</speed>
	<direction type="relative">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital>
	<enemyRef label="middle_boss_laser_e_01_tail"><param>$1</param><param>$2</param><param>$3</param></enemyRef>
</create>

<enemy label="middle_boss_laser_e_01_tail">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>
	<revengeRef label="middle_boss_laser_e_01_tail_revenge"></revengeRef>
	<img type="add">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>$1</width><height>$1*1.3</height>
		<alpha>$3</alpha><red>255</red><green>105</green><blue>102</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<child>1</child>

	<action>
		<wait>1</wait>
		<repeat><times>$1-gt5</times>

			<createRef label="middle_boss_laser_02_c_tail"><param>$1-1</param><param>$2-0.5</param><param>$3</param></createRef>

		</repeat>
		<wait>2</wait>
		<vanish/>

	</action>
</enemy>

<revenge label="middle_boss_laser_e_01_tail_revenge">
	<vanish/>
</revenge>


<fire label="middle_boss_laser_02_tail">
	<speed>0</speed>
	<direction type="relative">0</direction>
	<cx>0</cx><cy>0</cy>
	<bulletRef label="middle_boss_laser_bullet_02_tail"><param>$1</param><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="middle_boss_laser_bullet_02_tail">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>
	<img type="add">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>$1</width><height>$1*1.3</height>
		<alpha>$3</alpha><red>255</red><green>105</green><blue>102</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<child>1</child>
	<action>

		<wait>1</wait>
		<repeat><times>$1-gt5</times>
			<fireRef label="middle_boss_laser_01_tail"><param>$1-1</param><param>$2-0.5</param><param>$3</param></fireRef>
		</repeat>

		<wait>2</wait>

		<vanish/>

	</action>
</bullet>

<create label="middle_boss_laser_02_c_tail">
	<speed>0</speed>
	<direction type="relative">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital>
	<enemyRef label="middle_boss_laser_e_02_tail"><param>$1</param><param>$2</param><param>$3</param></enemyRef>
</create>

<enemy label="middle_boss_laser_e_02_tail">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>
	<revengeRef label="middle_boss_laser_e_01_tail_revenge"></revengeRef>
	<img type="add">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>$1</width><height>$1*1.3</height>
		<alpha>$3</alpha><red>255</red><green>105</green><blue>102</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<child>1</child>

	<action>
		<wait>1</wait>
		<repeat><times>$1-gt5</times>
			<createRef label="middle_boss_laser_01_c_tail"><param>$1-1</param><param>$2-0.5</param><param>$3</param></createRef>
		</repeat>
		<wait>2</wait>

		<vanish/>

	</action>
</enemy>

<!-- ********************************************************************* -->
<!-- *** 中ボスのアクション　第２形態　				*** -->

<action  label="stage6C_middle_boss_02_action">

<!-- センターポイントへ移動 -->
	<changeSpeed>
		<speed type="absolute">1</speed><term>25</term>
	</changeSpeed>

	<changePosition type="center">
		<x>320</x><y>140</y>
	</changePosition>
	<changeSpeed>
		<speed type="absolute">0</speed><term>2</term>
	</changeSpeed>

	<wait>2</wait>
<global name="counter_tmp">$_counter</global>
<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>

<!-- 弾幕開始 -->
	<createRef label="misa_as_create_2_01"></createRef>
	<createRef label="misa_as_create_2_02"></createRef>

	<wait>69+130</wait>
	
	<changeDirection>
		<direction type="absolute">-80+160*($_player_cx-gt320)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">0.5</speed><term>20</term>
	</changeSpeed>
	<wait>120</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
	<wait>20</wait>

<repeat><times>7</times>
	<repeat><times>2</times>
	<eval name="wait_time">2</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_2_03"><param>0</param><param>$wait_time</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>1</wait>
	<evaladd name="wait_time">-1</evaladd>
	<repeat><times>9</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>19</wait>
	<eval name="wait_time">2</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_2_03_s"><param>30</param><param>$wait_time</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>1</wait>
	<evaladd name="wait_time">-1</evaladd>
	<repeat><times>9</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>19</wait>
	<eval name="wait_time">2</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_2_03_s"><param>28</param><param>$wait_time</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>1</wait>
	<evaladd name="wait_time">-1</evaladd>
	<repeat><times>9</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>19</wait>
	<eval name="wait_time">2</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_2_03_s"><param>12</param><param>$wait_time</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>1</wait>
	<evaladd name="wait_time">-1</evaladd>
	<repeat><times>9</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>19</wait>
	</repeat>
	<wait>110</wait>

	<wait>130</wait>	
	<changeDirection>
		<direction type="relative">180</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">0.5</speed><term>20</term>
	</changeSpeed>
	<wait>120</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
	<wait>20-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<repeat><times>2</times>
	<eval name="wait_time">2</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_2_03"><param>0</param><param>$wait_time</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>1</wait>
	<evaladd name="wait_time">-1</evaladd>
	<repeat><times>9</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>19</wait>
	<eval name="wait_time">2</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_2_03_s"><param>30</param><param>$wait_time</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>1</wait>
	<evaladd name="wait_time">-1</evaladd>
	<repeat><times>9</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>19</wait>
	<eval name="wait_time">2</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_2_03_s"><param>28</param><param>$wait_time</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>1</wait>
	<evaladd name="wait_time">-1</evaladd>
	<repeat><times>9</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>19</wait>
	<eval name="wait_time">2</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_2_03_s"><param>12</param><param>$wait_time</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>1</wait>
	<evaladd name="wait_time">-1</evaladd>
	<repeat><times>9</times>
		<fireRef label="middle_boss_fire_2_03_s"><param>20</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>19</wait>
	</repeat>
	<wait>110</wait>

	<wait>130</wait>	
	<changeDirection>
		<direction type="absolute">-80+160*($_player_cx-gt320)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">0.5</speed><term>20</term>
	</changeSpeed>
	<wait>120</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
	<wait>20-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

</repeat>

<wait>120+12</wait>
<targetRevenge label="enemy_middle_boss"></targetRevenge>
<targetRevenge label="misa_as_enemy_2_01"></targetRevenge>
<targetRevenge label="misa_as_enemy_2_02"></targetRevenge>

</action>


<create label="misa_as_create_2_01">
	<speed>2</speed>
	<direction type="absolute">75</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_2_01"></enemyRef>
</create>

<enemy label="misa_as_enemy_2_01">
	<inv>30</inv>
	<shareVital>
		<num>2</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_2_01"></revengeRef>
	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>

	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>10</wait>

		<repeat><times>-1</times>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>5</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>3</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>2</param></fireRef>
		<wait>90</wait>
<!--
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>8</param></fireRef>
-->
		<wait>270</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>5</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>3</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>2</param></fireRef>
		<wait>90</wait>
<!--
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>8</param></fireRef>
-->
		<wait>270</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>5</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>3</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>2</param></fireRef>
		<wait>90</wait>
<!--
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param><param>8</param></fireRef>
-->
		<wait>270</wait>

		</repeat>
	</action>
</enemy>

<create label="misa_as_create_2_02">
	<speed>2</speed>
	<direction type="absolute">-75</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_2_02"></enemyRef>
</create>

<enemy label="misa_as_enemy_2_02">
	<inv>30</inv>
	<shareVital>
		<num>2</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_2_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>10</wait>
		<wait>45</wait>

		<repeat><times>-1</times>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>5</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>3</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>2</param></fireRef>
		<wait>90</wait>
<!--
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>8</param></fireRef>
-->

		<wait>270</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>5</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>3</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>2</param></fireRef>
		<wait>90</wait>
<!--
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>8</param></fireRef>
-->
		<wait>270</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>5</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>3</param></fireRef>
		<wait>90</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>2</param></fireRef>
		<wait>90</wait>
<!--
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01b"><param>0</param><param>8</param></fireRef>
-->
		<wait>270</wait>
		</repeat>
	</action>
</enemy>

<revenge label="misa_as_revenge_2_01">

	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>

	<wait>3</wait>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>

	<wait>1</wait>
	<vanish/>

</revenge>

<fire label="middle_boss_fire_2_01">
	<speed>4.2</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_2_01"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_2_01_s">
	<speed>4.2</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_2_01"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_2_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>6</radius></collision>
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>14</width><height>14</height>
		<alpha>255</alpha><red>255</red><green>205</green><blue>25</blue>
	</img>

	<action>
		<changeSpeed>
			<speed type="absolute">3.2</speed><term>15</term>
		</changeSpeed>
		<eval name="x">0</eval>
		<eval name="y">0</eval>
		<eval name="base_dir">55</eval>
		<wait>1</wait>

		<repeat><times>5</times>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">$base_dir+($x*7+($_player_cx*13))%16</eval>
		<eval name="bul_sp">0.6+(($x*3+$_player_cx*17)%10)/10</eval>
		<eval name="x">10-$_self_cx%21</eval>
		<eval name="y">10-$_player_cx%21</eval>
		<fireRef label="middle_boss_fire_2_02"><param>$bul_dir</param><param>$bul_sp</param><param>$x</param><param>$y</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($x*7+($_self_cy*13))%16</eval>
		<eval name="bul_sp">0.6+(($x*3+$_player_cy*17)%10)/10</eval>
		<eval name="x">10-$_self_cy%21</eval>
		<eval name="y">10-$_player_cy%21</eval>
		<fireRef label="middle_boss_fire_2_02"><param>-1*$bul_dir</param><param>$bul_sp</param><param>$x+2</param><param>$y-2</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($bul_dir+7)%16</eval>
		<eval name="bul_sp">0.6+(($bul_sp*13+$_self_cx*17)%10)/10</eval>
		<eval name="x">10-$_self_cx%21</eval>
		<eval name="y">10-$_player_cy%21</eval>
		<fireRef label="middle_boss_fire_2_02"><param>$bul_dir</param><param>$bul_sp</param><param>$x-1</param><param>$y+1</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($bul_dir+11)%16</eval>
		<eval name="bul_sp">0.6+(($bul_sp*12+$_player_cy*17)%10)/10</eval>
		<eval name="x">10-$_self_cy%21</eval>
		<eval name="y">10-$_player_cx%21</eval>
		<fireRef label="middle_boss_fire_2_02"><param>-1*$bul_dir</param><param>$bul_sp</param><param>$x+2</param><param>$y-3</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($x*8+($_player_cx*11))%16</eval>
		<eval name="bul_sp">0.6+(($x*4+$_player_cy*15)%10)/10</eval>
		<eval name="x">6</eval>
		<eval name="y">10-$_player_cx%21</eval>
		<fireRef label="middle_boss_fire_2_02"><param>$bul_dir</param><param>$bul_sp</param><param>$x-3</param><param>$y+2</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($x*9+($_self_cy*15))%16</eval>
		<eval name="bul_sp">0.6+(($x*4+$_player_cy*14)%10)/10</eval>
		<eval name="x">10-$_self_cy%21</eval>
		<eval name="y">-6</eval>
		<fireRef label="middle_boss_fire_2_02"><param>-1*$bul_dir</param><param>$bul_sp</param><param>$x-3</param><param>$y+1</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($bul_dir+12)%16</eval>
		<eval name="bul_sp">0.6+(($bul_sp*15+$_self_cx*12)%10)/10</eval>
		<eval name="y">-7</eval>
		<eval name="x">10-$_player_cy%21</eval>
		<fireRef label="middle_boss_fire_2_02"><param>$bul_dir</param><param>$bul_sp</param><param>$x+1</param><param>$y-3</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($bul_dir+8)%16</eval>
		<eval name="bul_sp">0.6+(($bul_sp*9+$_player_cy*19)%10)/10</eval>
		<eval name="y">10-$_self_cy%21</eval>
		<eval name="x">9</eval>
		<fireRef label="middle_boss_fire_2_02"><param>-1*$bul_dir</param><param>$bul_sp</param><param>$x+2</param><param>$y-2</param></fireRef>
		</repeat>
	</action>

</bullet>

<fire label="middle_boss_fire_2_02">
	<speed>0.1</speed>
	<direction type="relative">$1</direction>
	<cx>$3</cx><cy>$4</cy>
	<bulletRef label="middle_boss_bullet_2_02"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_2_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</radius></collision>
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>8</width><height>8</height>
		<alpha>255</alpha><red>255</red><green>205</green><blue>2</blue>
	</img>

	<action>
		<wait>55</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>65</term>
		</changeSpeed>
	</action>

</bullet>


<fire label="middle_boss_fire_2_01b">
	<speed>4.2</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_2_01b"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_2_01b_s">
	<speed>4.2</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_2_01b"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_2_01b">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>6</radius></collision>
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>14</width><height>14</height>
		<alpha>255</alpha><red>2</red><green>55</green><blue>255</blue>
	</img>

	<action>
		<changeSpeed>
			<speed type="absolute">3.8</speed><term>15</term>
		</changeSpeed>
		<eval name="x">0</eval>
		<eval name="y">0</eval>
		<eval name="base_dir">45</eval>
		<wait>1</wait>

		<repeat><times>5</times>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">$base_dir+($x*7+($_player_cx*13))%16</eval>
		<eval name="bul_sp">0.6+(($x*3+$_player_cx*17)%10)/10</eval>
		<eval name="x">10-$_self_cx%21</eval>
		<eval name="y">10-$_player_cx%21</eval>
		<fireRef label="middle_boss_fire_2_02b"><param>$bul_dir</param><param>$bul_sp</param><param>$x</param><param>$y</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($x*7+($_self_cy*13))%16</eval>
		<eval name="bul_sp">0.6+(($x*3+$_player_cy*17)%10)/10</eval>
		<eval name="x">10-$_self_cy%21</eval>
		<eval name="y">10-$_player_cy%21</eval>
		<fireRef label="middle_boss_fire_2_02b"><param>-1*$bul_dir</param><param>$bul_sp</param><param>$x+2</param><param>$y-2</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($bul_dir+7)%16</eval>
		<eval name="bul_sp">0.6+(($bul_sp*13+$_self_cx*17)%10)/10</eval>
		<eval name="x">10-$_self_cx%21</eval>
		<eval name="y">10-$_player_cy%21</eval>
		<fireRef label="middle_boss_fire_2_02b"><param>$bul_dir</param><param>$bul_sp</param><param>$x-1</param><param>$y+1</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($bul_dir+11)%16</eval>
		<eval name="bul_sp">0.6+(($bul_sp*12+$_player_cy*17)%10)/10</eval>
		<eval name="x">10-$_self_cy%21</eval>
		<eval name="y">10-$_player_cx%21</eval>
		<fireRef label="middle_boss_fire_2_02b"><param>-1*$bul_dir</param><param>$bul_sp</param><param>$x+2</param><param>$y-3</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($x*8+($_player_cx*11))%16</eval>
		<eval name="bul_sp">0.6+(($x*4+$_player_cy*15)%10)/10</eval>
		<eval name="x">6</eval>
		<eval name="y">10-$_player_cx%21</eval>
		<fireRef label="middle_boss_fire_2_02b"><param>$bul_dir</param><param>$bul_sp</param><param>$x-3</param><param>$y+2</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($x*9+($_self_cy*15))%16</eval>
		<eval name="bul_sp">0.6+(($x*4+$_player_cy*14)%10)/10</eval>
		<eval name="x">10-$_self_cy%21</eval>
		<eval name="y">-6</eval>
		<fireRef label="middle_boss_fire_2_02b"><param>-1*$bul_dir</param><param>$bul_sp</param><param>$x-3</param><param>$y+1</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($bul_dir+12)%16</eval>
		<eval name="bul_sp">0.6+(($bul_sp*15+$_self_cx*12)%10)/10</eval>
		<eval name="y">-7</eval>
		<eval name="x">10-$_player_cy%21</eval>
		<fireRef label="middle_boss_fire_2_02b"><param>$bul_dir</param><param>$bul_sp</param><param>$x+1</param><param>$y-3</param></fireRef>
		<wait>3</wait>
		<evaladd name="base_dir">-1</evaladd>
		<eval name="bul_dir">($bul_dir+8)%16</eval>
		<eval name="bul_sp">0.6+(($bul_sp*9+$_player_cy*19)%10)/10</eval>
		<eval name="y">10-$_self_cy%21</eval>
		<eval name="x">9</eval>
		<fireRef label="middle_boss_fire_2_02b"><param>-1*$bul_dir</param><param>$bul_sp</param><param>$x+2</param><param>$y-2</param></fireRef>
		</repeat>
	</action>

</bullet>

<fire label="middle_boss_fire_2_02b">
	<speed>0.1</speed>
	<direction type="relative">$1</direction>
	<cx>$3</cx><cy>$4</cy>
	<bulletRef label="middle_boss_bullet_2_02b"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_2_02b">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</radius></collision>
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>8</width><height>8</height>
		<alpha>255</alpha><red>2</red><green>55</green><blue>255</blue>
	</img>

	<action>
		<wait>55</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>65</term>
		</changeSpeed>
	</action>

</bullet>

<fire label="middle_boss_fire_2_03">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_2_03"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="middle_boss_fire_2_03_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_2_03"><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_2_03">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>11</radius></collision>

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*4</left><top>0</top><right>32+32*4</right><bottom>32</bottom>
		<width>26</width><height>26</height>
		<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed type="absolute">1.8</speed><term>10</term>
		</changeSpeed>
	</action>
</bullet>

<!-- ********************************************************************* -->
<!-- *** 中ボスのアクション　第３形態　				*** -->

<action  label="stage6C_middle_boss_03_action">

<!-- センターポイントへ移動 -->
	<changeSpeed>
		<speed type="absolute">1</speed><term>25</term>
	</changeSpeed>

	<changePosition type="center">
		<x>320</x><y>140</y>
	</changePosition>
	<changeSpeed>
		<speed type="absolute">0</speed><term>2</term>
	</changeSpeed>

	<wait>2</wait>
<global name="counter_tmp">$_counter</global>
<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>

<!-- 弾幕開始 -->
	<createRef label="misa_as_create_3_01"></createRef>
	<createRef label="misa_as_create_3_02"></createRef>
	<createRef label="misa_as_create_3_03"></createRef>

	<wait>1</wait>
	<changeDirection>
		<direction type="absolute">-90+180*($_player_cx%2)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">0.9</speed><term>20</term>
	</changeSpeed>
	<wait>50</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
<!--
	<wait>100</wait>
-->
	<repeat><times>6</times>
		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01"><param>0</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>

		<repeat><times>3</times>
		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01_s"><param>27</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>
		</repeat>
		<wait>20</wait>

		<changeDirection>
			<direction type="relative">180</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1.8</speed><term>20</term>
		</changeSpeed>
		<wait>25</wait>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_02"></fireRef>
		<wait>25</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>
		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01"><param>0</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>
<!--	
		<repeat><times>3</times>
		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01_s"><param>27</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>
		</repeat>
-->
		<wait>20+60</wait>

		<wait>25</wait>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_02"></fireRef>
		<wait>25-3</wait>
		<!-- タイマーを１つ消す -->
		<global name="timer">$__timer-1</global>
		<actionRef label="vanish_timer"></actionRef>
		<!-- <wait>3</wait> -->

		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>


		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01"><param>0</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>
<!--
		<repeat><times>3</times>
		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01_s"><param>27</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>
		</repeat>
-->
		<wait>20+60</wait>

		<changeDirection>
			<direction type="relative">180</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1.8</speed><term>20</term>
		</changeSpeed>
		<wait>25</wait>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_02"></fireRef>
		<wait>25</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>
		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01"><param>0</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>
	
<!--
		<repeat><times>3</times>
		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01_s"><param>27</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>
		</repeat>
-->
		<wait>20+60</wait>

		<wait>25</wait>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_02"></fireRef>
		<wait>25-3</wait>
		<!-- タイマーを１つ消す -->
		<global name="timer">$__timer-1</global>
		<actionRef label="vanish_timer"></actionRef>
		<!-- <wait>3</wait> -->

		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>

	</repeat>

		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01"><param>0</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>

		<repeat><times>3</times>
		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01_s"><param>27</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>
		</repeat>
		<wait>20</wait>

		<changeDirection>
			<direction type="relative">180</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1.8</speed><term>20</term>
		</changeSpeed>
		<wait>25</wait>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_02"></fireRef>
		<wait>25</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>
		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01"><param>0</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>
	
		<repeat><times>3</times>
		<eval name="wait_time">3</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_01_s"><param>27</param><param>1.3</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_3_01_s"><param>20</param><param>1.3</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>18</wait>
		</repeat>
		<wait>20</wait>

		<wait>25</wait>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_02"></fireRef>
		<wait>25-3</wait>
		<!-- タイマーを１つ消す -->
		<global name="timer">$__timer-1</global>
		<actionRef label="vanish_timer"></actionRef>
		<!-- <wait>3</wait> -->
		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>
<wait>60+12</wait>
<targetRevenge label="enemy_middle_boss"></targetRevenge>
<targetRevenge label="misa_as_enemy_3_01"></targetRevenge>
<targetRevenge label="misa_as_enemy_3_02"></targetRevenge>
<targetRevenge label="misa_as_enemy_3_03"></targetRevenge>

</action>


<create label="misa_as_create_3_01">
	<speed>2</speed>
	<direction type="absolute">-115</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_3_01"></enemyRef>
</create>

<enemy label="misa_as_enemy_3_01">
	<inv>30</inv>
	<shareVital>
		<num>3</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_3_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>10</wait>
		<wait>44</wait>
		<eval name="wait_time">11</eval>
		<wait>1</wait>

		<repeat><times>26</times>
		<eval name="wait_time">11</eval>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_3_01"><param>70</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		<repeat><times>10</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<fireRef label="middle_boss_fire_laser_3_01_s"><param>-9</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		</repeat>
		<wait>108</wait>
	
		<eval name="wait_time">11</eval>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_3_01"><param>77</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		<repeat><times>10</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<fireRef label="middle_boss_fire_laser_3_01_s"><param>-9</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		</repeat>
		<wait>108</wait>
	
		<eval name="wait_time">11</eval>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_3_01"><param>65</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		<repeat><times>10</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<fireRef label="middle_boss_fire_laser_3_01_s"><param>-9</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		</repeat>
		<wait>108</wait>
		</repeat>


	</action>
</enemy>

<create label="misa_as_create_3_02">
	<speed>2</speed>
	<direction type="absolute">115</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_3_02"></enemyRef>
</create>

<enemy label="misa_as_enemy_3_02">
	<inv>30</inv>
	<shareVital>
		<num>3</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_3_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>10</wait>
		<wait>14</wait>
		<eval name="wait_time">11</eval>
		<wait>1</wait>

		<repeat><times>26</times>
		<eval name="wait_time">11</eval>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_3_01"><param>70</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		<repeat><times>10</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<fireRef label="middle_boss_fire_laser_3_01_s"><param>-9</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		</repeat>
		<wait>111</wait>
	
		<eval name="wait_time">11</eval>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_3_01"><param>77</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		<repeat><times>10</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<fireRef label="middle_boss_fire_laser_3_01_s"><param>-9</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		</repeat>
		<wait>111</wait>
	
		<eval name="wait_time">11</eval>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_3_01"><param>65</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		<repeat><times>10</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<fireRef label="middle_boss_fire_laser_3_01_s"><param>-9</param><param>$wait_time</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="middle_boss_fire_laser_3_01_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		</repeat>
		<wait>111</wait>
		</repeat>


	</action>
</enemy>

<create label="misa_as_create_3_03">
	<speed>1</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_3_03"></enemyRef>
</create>

<enemy label="misa_as_enemy_3_03">
	<inv>30</inv>
	<shareVital>
		<num>3</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_3_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>10</wait>
		<wait>34</wait>
		<eval name="wait_time">11</eval>
		<wait>1</wait>

		<repeat><times>26</times>
			<eval name="wait_time">11</eval>
			<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_laser_3_01b"><param>60</param><param>$wait_time</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="middle_boss_fire_laser_3_01b_s"><param>-1</param><param>$wait_time</param></fireRef>
			</repeat>
			<repeat><times>10</times>
			<wait>1</wait>
			<evaladd name="wait_time">-1</evaladd>
			<fireRef label="middle_boss_fire_laser_3_01b_s"><param>-8</param><param>$wait_time</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="middle_boss_fire_laser_3_01b_s"><param>-1</param><param>$wait_time</param></fireRef>
			</repeat>
			</repeat>
			<wait>122</wait>
	
		<eval name="wait_time">11</eval>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_3_01b"><param>67</param><param>$wait_time</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="middle_boss_fire_laser_3_01b_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		<repeat><times>10</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<fireRef label="middle_boss_fire_laser_3_01b_s"><param>-8</param><param>$wait_time</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="middle_boss_fire_laser_3_01b_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		</repeat>
		<wait>122</wait>
	
		<eval name="wait_time">11</eval>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_3_01b"><param>55</param><param>$wait_time</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="middle_boss_fire_laser_3_01b_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		<repeat><times>10</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<fireRef label="middle_boss_fire_laser_3_01b_s"><param>-8</param><param>$wait_time</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="middle_boss_fire_laser_3_01b_s"><param>-1</param><param>$wait_time</param></fireRef>
		</repeat>
		</repeat>
		<wait>122</wait>
		</repeat>


	</action>
</enemy>

<revenge label="misa_as_revenge_3_01">

	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>

	<wait>3</wait>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>

	<wait>1</wait>
	<vanish/>

</revenge>


<fire label="middle_boss_fire_laser_3_01">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_3_01"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_laser_3_01_ab">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_3_01"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_laser_3_01_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_3_01"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_fire_laser_bullet_3_01">
	<collision type="sync"><left>-1</left><top>-5</top><right>1</right><bottom>5</bottom></collision>
	
	<img type="add">
		<file type="dds">laser32xr</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>4</height>
		<alpha>255</alpha><red>255</red><green>240</green><blue>240</blue>
	</img>	
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>$1</wait>
		<changeImgSize>
			<width>6</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>2</wait>
		<changeSpeed>
			<speed>1</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>


<fire label="middle_boss_fire_laser_3_01b">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_3_01b"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_laser_3_01b_ab">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_3_01b"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_laser_3_01b_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_3_01b"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_fire_laser_bullet_3_01b">
	<collision type="sync"><left>-1</left><top>-5</top><right>1</right><bottom>5</bottom></collision>
	
	<img type="add">
		<file type="dds">laser32xb</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>4</height>
		<alpha>255</alpha><red>240</red><green>240</green><blue>255</blue>
	</img>	
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>$1</wait>
		<changeImgSize>
			<width>6</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>2</wait>
		<changeSpeed>
			<speed>1</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>


<fire label="middle_boss_fire_3_01">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_3_01"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="middle_boss_fire_3_01_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_3_01"><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_3_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>2</radius></collision>

	<img type="maskadd">
		<file type="dds">dia32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>12</width><height>12</height>
		<alpha>255</alpha><red>125</red><green>155</green><blue>5</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed type="absolute">3</speed><term>1</term>
		</changeSpeed>
		<wait>1</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>12</term>
		</changeSpeed>
	</action>
</bullet>

<fire label="middle_boss_fire_3_02">
	<speed>2</speed>
	<direction type="aim">0</direction>
	<bulletRef label="middle_boss_bullet_3_02"></bulletRef>
</fire>
<bullet label="middle_boss_bullet_3_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>13</radius></collision>

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*4</left><top>0</top><right>32*5</right><bottom>32</bottom>
		<width>28</width><height>28</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeSpeed>
			<speed type="absolute">1</speed><term>12</term>
		</changeSpeed>
	</action>
</bullet>


<!-- ********************************************************************* -->
<!-- *** 中ボスのアクション　第４形態　				*** -->

<action  label="stage6C_middle_boss_04_action">

<!-- センターポイントへ移動 -->
	<changeSpeed>
		<speed type="absolute">1</speed><term>25</term>
	</changeSpeed>

	<changePosition type="center">
		<x>320</x><y>140</y>
	</changePosition>
	<changeSpeed>
		<speed type="absolute">0</speed><term>2</term>
	</changeSpeed>

	<wait>2</wait>
<global name="counter_tmp">$_counter</global>
<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>

<!-- 弾幕開始 -->
<createRef label="misa_as_create_4_01"></createRef>
<createRef label="misa_as_create_4_02"></createRef>
<createRef label="misa_as_create_4_03"></createRef>
<createRef label="misa_as_create_4_04"></createRef>

<wait>60</wait>

<repeat><times>12</times>
	<repeat><times>2</times>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_4_02"><param>0</param><param>0</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>-7</param><param>-7</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>7</param><param>0</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>7</param><param>7</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>-21</param><param>-14</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>14</param><param>0</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>14</param><param>14</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>-35</param><param>-21</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>21</param><param>0</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>21</param><param>21</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>-21</param><param>0</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>0</param><param>0</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>0</param><param>0</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>0</param><param>0</param></fireRef>
	<wait>60</wait>

	<wait>3</wait>
	<wait>3</wait>
	<wait>3</wait>
	<wait>3</wait>
	<wait>3</wait>
	<wait>3</wait>
	<wait>3</wait>
	<wait>60</wait>
	</repeat>
<!--
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_4_02"><param>0</param><param>0</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>-7</param><param>-7</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>7</param><param>0</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>7</param><param>7</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>-21</param><param>-14</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>14</param><param>0</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>14</param><param>14</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>-35</param><param>-21</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>21</param><param>0</param></fireRef>
	<fireRef label="middle_boss_fire_4_02_s"><param>21</param><param>21</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>-21</param><param>0</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>0</param><param>0</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>0</param><param>0</param></fireRef>
	<wait>3</wait>
	<fireRef label="middle_boss_fire_4_02_s"><param>0</param><param>0</param></fireRef>
-->
	<wait>21</wait>
	<wait>60-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

</repeat>

<wait>60+12</wait>
<targetRevenge label="enemy_middle_boss"></targetRevenge>
<targetRevenge label="misa_as_enemy_4_01"></targetRevenge>
<targetRevenge label="misa_as_enemy_4_02"></targetRevenge>
<targetRevenge label="misa_as_enemy_4_03"></targetRevenge>
<targetRevenge label="misa_as_enemy_4_04"></targetRevenge>

</action>

<create label="misa_as_create_4_01">
	<speed>1</speed>
	<direction type="absolute">45</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_4_01"></enemyRef>
</create>

<enemy label="misa_as_enemy_4_01">
	<inv>30</inv>
	<shareVital>
		<num>4</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_4_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>10</wait>

		<repeat><times>-1</times>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_4_01"><param>-112</param><param>1.4</param><param>3</param></fireRef>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_4_01_s"><param>12</param><param>1.4</param><param>3</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_4_01_s"><param>12</param><param>1.4</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_4_01_s"><param>12</param><param>1.4</param><param>1</param></fireRef>
		</repeat>
		<wait>1</wait>

		<wait>105</wait>
		</repeat>

	</action>
</enemy>

<create label="misa_as_create_4_02">
	<speed>1</speed>
	<direction type="absolute">-45</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_4_02"></enemyRef>
</create>

<enemy label="misa_as_enemy_4_02">
	<inv>30</inv>
	<shareVital>
		<num>4</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_4_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>11</wait>

		<repeat><times>-1</times>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_4_01"><param>-108</param><param>1.4</param><param>3</param></fireRef>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_4_01_s"><param>12</param><param>1.4</param><param>3</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_4_01_s"><param>12</param><param>1.4</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="middle_boss_fire_4_01_s"><param>12</param><param>1.4</param><param>1</param></fireRef>
		</repeat>
		<wait>1</wait>

		<wait>105</wait>
		</repeat>

	</action>
</enemy>



<create label="misa_as_create_4_03">
	<speed>2</speed>
	<direction type="absolute">75</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_4_03"></enemyRef>
</create>

<enemy label="misa_as_enemy_4_03">
	<inv>30</inv>
	<shareVital>
		<num>4</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_4_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>10</wait>

		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_ab"><param>5</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+5</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-6</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+3</param><param>7</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+5</param><param>2</param></fireRef>
		<wait>8</wait>
		<repeat><times>-1</times>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>35</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+5</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-6</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+3</param><param>7</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+5</param><param>2</param></fireRef>
		<wait>9</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>27</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+17</param><param>8</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+21</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>8</wait>
		<fireRef label="middle_boss_fire_laser_4_01b"><param>0</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+37</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-35</param><param>6</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+31</param><param>1</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>8</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>48</param><param>9</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+7</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-5</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+1</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>8</wait>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>68</param><param>6</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+11</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-13</param><param>7</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+9</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>7</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>-8</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+11</param><param>9</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-13</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+9</param><param>8</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>6</wait>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>8</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+21</param><param>1</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-23</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+29</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>7</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>35</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+5</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-6</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+3</param><param>7</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>8</wait>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>27</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+17</param><param>8</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+21</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>9</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>99</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+17</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>6</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+11</param><param>1</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>7</wait>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>48</param><param>9</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+7</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-5</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+1</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-5</param><param>2</param></fireRef>
		<wait>9</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>68</param><param>6</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+11</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-13</param><param>7</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+9</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>7</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>-8</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+11</param><param>9</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-13</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+9</param><param>8</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>8</wait>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>8</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+21</param><param>1</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-23</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+29</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>9</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>-91</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+5</param><param>9</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-13</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+8</param><param>8</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>6</wait>
		<wait>10</wait>
		</repeat>
	</action>
</enemy>

<create label="misa_as_create_4_04">
	<speed>2</speed>
	<direction type="absolute">-75</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_4_04"></enemyRef>
</create>

<enemy label="misa_as_enemy_4_04">
	<inv>30</inv>
	<shareVital>
		<num>4</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_4_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>15</wait>

		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_ab"><param>-5</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-5</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+6</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-3</param><param>7</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-5</param><param>2</param></fireRef>
		<wait>6</wait>
		<repeat><times>-1</times>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>-5</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-5</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+6</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-3</param><param>7</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-5</param><param>2</param></fireRef>
		<wait>8</wait>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>-27</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+17</param><param>8</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+21</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-25</param><param>2</param></fireRef>
		<wait>7</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>-9</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+17</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>6</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+11</param><param>1</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>8</wait>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>-48</param><param>9</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+7</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-5</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+1</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-5</param><param>2</param></fireRef>
		<wait>9</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>-68</param><param>6</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+11</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-13</param><param>7</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+9</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-5</param><param>2</param></fireRef>
		<wait>7</wait>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>94</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+11</param><param>9</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-13</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+9</param><param>8</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>8</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>-48</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+21</param><param>1</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-23</param><param>3</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+29</param><param>4</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-25</param><param>2</param></fireRef>
		<wait>6</wait>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>94</param><param>5</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+12</param><param>9</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72+11</param><param>8</param></fireRef>
		<fireRef label="middle_boss_fire_laser_4_01b_s"><param>72-15</param><param>2</param></fireRef>
		<wait>7</wait>
		<wait>10</wait>
		</repeat>
	</action>
</enemy>

<revenge label="misa_as_revenge_4_01">

	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>

	<wait>3</wait>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>

	<wait>1</wait>
	<vanish/>

</revenge>


<fire label="middle_boss_fire_4_01">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_4_01"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="middle_boss_fire_4_01_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_4_01"><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_4_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>7</radius></collision>

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*7</left><top>0</top><right>32*8</right><bottom>32</bottom>
		<width>16</width><height>16</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>85</term>
		</changeSpeed>
	</action>
</bullet>

<fire label="middle_boss_fire_laser_4_01b">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_4_01b"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_laser_4_01b_ab">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_4_01b"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_laser_4_01b_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_4_01b"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_fire_laser_bullet_4_01b">
	<collision type="sync"><left>-1</left><top>-5</top><right>1</right><bottom>5</bottom></collision>
	
	<img type="add">
		<file type="dds">laser32xb</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>4</height>
		<alpha>255</alpha><red>240</red><green>240</green><blue>255</blue>
	</img>	
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>$1</wait>
		<changeImgSize>
			<width>6</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>2</wait>
		<changeSpeed>
			<speed>1.7</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>

<fire label="middle_boss_fire_4_02">
	<speed>2.1</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_4_02"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_4_02_s">
	<speed>2.1</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_4_02"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_4_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</radius></collision>

	<img type="maskadd">
		<file type="dds">dia32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>16</width><height>16</height>
		<alpha>255</alpha><red>155</red><green>155</green><blue>2</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>10</wait>
		<changeDirection>
			<direction type="relative">-1*$1</direction><term>1</term>
		</changeDirection>
	</action>
</bullet>

<!-- ********************************************************************* -->
<!-- *** 中ボスのアクション　第５形態（最終形態）			*** -->

<action  label="stage6C_middle_boss_05_action">

<!-- 魔法陣呼び出し -->
<actionRef label="mahoujin"><param>190</param><param>5</param><param>100</param><param>205</param></actionRef>
<!-- 画像呼び出し -->
<createRef label="stage6C_boss_et_misa"></createRef>

<eval name="max_vital">$_self_vital</eval>

<!-- センターポイントへ移動 -->
	<wait>20</wait>
	<changeSpeed>
		<speed type="absolute">1.0</speed><term>25</term>
	</changeSpeed>

	<changePosition type="center">
		<x>320</x><y>160</y>
	</changePosition>
	<changeSpeed>
		<speed type="absolute">0</speed><term>2</term>
	</changeSpeed>
	<global name="ttc_start_check">$_ttc_frame</global>
	<global name="miss_start">$_misscount</global>

	<wait>2</wait>
<global name="counter_tmp">$_counter</global>
<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>

<!-- 弾幕開始 -->

<createRef label="misa_as_create_5_01"></createRef>
<createRef label="misa_as_create_5_02"></createRef>
<createRef label="misa_as_create_5_03"></createRef>
<createRef label="misa_as_create_5_04"></createRef>
<createRef label="misa_as_create_5_05"></createRef>
<createRef label="misa_as_create_5_06"></createRef>

<repeat><times>14</times>
	<repeat><times>$_self_vital-lt($max_vital*0.6)</times>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_5_02"></fireRef>
	</repeat>
	<wait>135</wait>
	<repeat><times>$_self_vital-lt($max_vital*0.2)</times>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_5_02"></fireRef>
	</repeat>
	<wait>135-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

</repeat>

<wait>60+12</wait>
<targetRevenge label="enemy_middle_boss"></targetRevenge>
<targetRevenge label="misa_as_enemy_5_01"></targetRevenge>
<targetRevenge label="misa_as_enemy_5_02"></targetRevenge>
<targetRevenge label="misa_as_enemy_5_03"></targetRevenge>
<targetRevenge label="misa_as_enemy_5_04"></targetRevenge>
<targetRevenge label="misa_as_enemy_5_05"></targetRevenge>
<targetRevenge label="misa_as_enemy_5_06"></targetRevenge>

</action>

<create label="misa_as_create_5_01">
	<speed>3.3</speed>
	<direction type="absolute">121</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_5_01"></enemyRef>
</create>

<enemy label="misa_as_enemy_5_01">
	<inv>30</inv>
	<shareVital>
		<num>5</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_5_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>50</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>20</wait>

		<repeat><times>-1</times>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<repeat><times>3</times>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>-3</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>-26</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>-49</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>-72</param></fireRef>
			<wait>2</wait>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>-95</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>-118</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>-141</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>-164</param></fireRef>
			<wait>2</wait>
		</repeat>
		<wait>28</wait>
		</repeat>

	</action>
</enemy>

<create label="misa_as_create_5_02">
	<speed>3.3</speed>
	<direction type="absolute">-121</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_5_02"></enemyRef>
</create>

<enemy label="misa_as_enemy_5_02">
	<inv>30</inv>
	<shareVital>
		<num>5</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_5_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>50</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>19</wait>

		<repeat><times>-1</times>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<repeat><times>3</times>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>3</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>26</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>49</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>72</param></fireRef>
			<wait>2</wait>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>95</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>118</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>141</param></fireRef>
			<fireRef label="middle_boss_fire_laser_5_01b_ab"><param>164</param></fireRef>
			<wait>2</wait>
		</repeat>
		<wait>28</wait>
		</repeat>

	</action>
</enemy>


<create label="misa_as_create_5_03">
	<speed>2.3</speed>
	<direction type="absolute">-25</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_5_03"></enemyRef>
</create>

<enemy label="misa_as_enemy_5_03">
	<inv>30</inv>
	<shareVital>
		<num>5</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_5_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>50</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>19</wait>

			<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_5_01"><param>10</param><param>-1</param></fireRef>
			<repeat><times>5</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>13</wait>
		<repeat><times>-1</times>
		<repeat><times>5</times>
			<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_5_01_s"><param>15</param><param>-1</param></fireRef>
			<repeat><times>5</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>18</wait>
		</repeat>
		<wait>45</wait>
		</repeat>

	</action>
</enemy>
<create label="misa_as_create_5_04">
	<speed>2.3</speed>
	<direction type="absolute">-55</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_5_04"></enemyRef>
</create>

<enemy label="misa_as_enemy_5_04">
	<inv>30</inv>
	<shareVital>
		<num>5</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_5_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>50</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>19</wait>

			<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_5_01"><param>10</param><param>-1</param></fireRef>
			<repeat><times>5</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>13</wait>

		<repeat><times>-1</times>
		<repeat><times>5</times>
			<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_5_01_s"><param>12</param><param>-1</param></fireRef>
			<repeat><times>5</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="middle_boss_fire_5_01_s"><param>20</param><param>-1</param></fireRef>
			</repeat>
			<wait>19</wait>
		</repeat>
		<wait>45</wait>
		</repeat>

	</action>
</enemy>

<create label="misa_as_create_5_05">
	<speed>2.3</speed>
	<direction type="absolute">25</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_5_05"></enemyRef>
</create>

<enemy label="misa_as_enemy_5_05">
	<inv>30</inv>
	<shareVital>
		<num>5</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_5_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>50</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>19</wait>

		<repeat><times>-1</times>
		<wait>120</wait>
		<createRef label="middle_boss_laser_create_5_01"><param>10</param><param>-0.1</param></createRef>
		<wait>400</wait>
		</repeat>
	</action>
</enemy>

<create label="misa_as_create_5_06">
	<speed>2.3</speed>
	<direction type="absolute">55</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="misa_as_enemy_5_06"></enemyRef>
</create>

<enemy label="misa_as_enemy_5_06">
	<inv>30</inv>
	<shareVital>
		<num>5</num>
	</shareVital>

	<revengeRef label="misa_as_revenge_5_01"></revengeRef>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
	<!-- *** 画面下のボス表示を作成 *** -->
	<createRef label="boss_underbar_create"></createRef>
		<wait>50</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>19</wait>

		<repeat><times>-1</times>
		<wait>380</wait>
		<createRef label="middle_boss_laser_create_5_01"><param>-10</param><param>0.1</param></createRef>
		<wait>140</wait>
		</repeat>
	</action>
</enemy>

<revenge label="misa_as_revenge_5_01">

	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>

	<wait>3</wait>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>

	<wait>1</wait>
	<vanish/>

</revenge>


<fire label="middle_boss_fire_laser_5_01b">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_5_01b"></bulletRef>
</fire>

<fire label="middle_boss_fire_laser_5_01b_ab">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_5_01b"></bulletRef>
</fire>

<fire label="middle_boss_fire_laser_5_01b_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_fire_laser_bullet_5_01b"></bulletRef>
</fire>

<bullet label="middle_boss_fire_laser_bullet_5_01b">
	<collision type="sync"><left>-1</left><top>-5</top><right>1</right><bottom>5</bottom></collision>
	
	<img type="add">
		<file type="dds">laser32xb</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>4</height>
		<alpha>255</alpha><red>240</red><green>240</green><blue>255</blue>
	</img>	
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>1</wait>
		<changeImgSize>
			<width>6</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>2</wait>
		<changeSpeed>
			<speed>2.4</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>


<fire label="middle_boss_fire_5_01">
	<speed>2.2</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_5_01"><param>$2</param></bulletRef>
</fire>

<fire label="middle_boss_fire_5_01_s">
	<speed>2.2</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_5_01"><param>$2</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_5_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</radius></collision>

	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>8</width><height>8</height>
		<alpha>255</alpha><red>155</red><green>1</green><blue>155</blue>
	</img>

	<action>
		<changeDirection>
			<direction type="relative">10*$1</direction><term>30</term>
		</changeDirection>
		<changeSpeed>
			<speed>1.2</speed><term>8</term>
		</changeSpeed>
	</action>
</bullet>


<create label="middle_boss_laser_create_5_01">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>$_self_cx-2</cx><cy>$_self_cy</cy>
	<vital>1</vital>
	<enemyRef label="middle_boss_laser_enemy_5_01"><param>$2</param></enemyRef>
</create>

<enemy label="middle_boss_laser_enemy_5_01">
	<inv>85</inv>
	<revengeRef label="middle_boss_laser_revenge_5_01"></revengeRef>
	<child>1</child>
	<flag>3</flag>
	<img type="add">
		<file type="dds">shot2l</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>540</height>
		<alpha>0</alpha><red>64</red><green>250</green><blue>255</blue>
	</img>
	<collision type="syncedge"><left>2</left><top>0</top><right>4</right><bottom>540</bottom></collision>
	<buzz type="syncedge"><left>2</left><top>0</top><right>4</right><bottom>540</bottom></buzz>
	<setBreakable><num>1</num></setBreakable>
	<imgDirection type="syncedge">0</imgDirection>

	<rotateImg>
		<direction>$1</direction><term>-1</term>
	</rotateImg>

	<action>

		<wait>1</wait>
		<wait>1</wait>
		<changeColor>
			<alpha>225</alpha><red>64</red><green>250</green><blue>255</blue><term>75</term>
		</changeColor>
		<wait>1</wait>
		<actionRef label="enemy_laser_action"></actionRef>
		<wait>1</wait>
		<wait>28</wait>

		<changeImgSize>
			<width>6</width><height>540</height><term>54</term>
		</changeImgSize>
		<wait>53</wait>


		<repeat><times>5</times>
			<wait>10</wait>
			<incBuzzCount></incBuzzCount>
		</repeat>

		<changeColor>
			<alpha>34</alpha><red>64</red><green>250</green><blue>255</blue><term>55</term>
		</changeColor>

		<repeat><times>5</times>
			<wait>10</wait>
			<incBuzzCount></incBuzzCount>
		</repeat>

		<wait>5</wait>
		<vanish/>
	</action>	

</enemy>

<revenge label="middle_boss_laser_revenge_5_01">
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>

	<changeColor>
		<alpha>32</alpha><red>64</red><green>250</green><blue>255</blue><term>30</term>
	</changeColor>

	<vanish></vanish>
</revenge>
<fire label="middle_boss_fire_5_02">
	<speed>1.2</speed>
	<direction type="aim">0</direction>
	<bulletRef label="middle_boss_bullet_5_02"></bulletRef>
</fire>

<bullet label="middle_boss_bullet_5_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>11</radius></collision>

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*5</left><top>0</top><right>32*6</right><bottom>32</bottom>
		<width>26</width><height>26</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
	</action>
</bullet>


<!-- ********************************************************************* -->
<!-- *** 中ボスのリベンジ						*** -->
<!-- ***							       *** -->

<revenge label="stage6C_middle_boss_01_revenge">

	<eval name="localcounter">$_counter</eval>
	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<actionRef label="boss_revenge_present_1"></actionRef>
	
	<!-- *** 形態変数の増加 *** -->
	<global name="boss_state">$__boss_state+1</global>

	<!-- *** 表示ライフの減少 *** -->
	<global name="boss_life">$__boss_life-1</global>

	<!-- *** 弾幕のアイテム化 *** -->
	<repeat><times>$_revenge_state-eq1</times>
		<wait>1</wait>
		<changeBulletToItem/>
	</repeat>

	<!-- *** アイテムの出現 *** -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>32-($_self_cx%9)*8</param><param>32-$_self_cx%64</param></createRef>
	<wait>1</wait>
	<repeat><times>$_revenge_state-eq1</times>
		<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		<createRef label="item_create_03"><param>12-$_self_cx%24</param><param>24-$_self_cx%48</param></createRef>
		<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
	</repeat>

	<wait>1</wait>

	<repeat><times>$_revenge_state-eq1</times>
		<eval name="counter_e">$__counter_tmp</eval>
		<actionRef label="item_counter_01_boss"><param>32/2</param><param>$counter_e</param><param>1520</param><param>24</param><param>$localcounter</param></actionRef>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<actionRef label="item_counter_01_red"><param>40</param></actionRef>
	</repeat>

	<!-- *** 次の形態のボスの作成 *** -->
	<createRef label="enemy_create_middle_boss2"></createRef>

	<!-- *** 最後に自殺 *** -->
	<vanish></vanish>	
</revenge>

<revenge label="stage6C_middle_boss_02_revenge">

	<eval name="localcounter">$_counter</eval>
	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<actionRef label="boss_revenge_present_1"></actionRef>
	
	<!-- *** 形態変数の増加 *** -->
	<global name="boss_state">$__boss_state+1</global>

	<!-- *** 表示ライフの減少 *** -->
	<global name="boss_life">$__boss_life-1</global>

	<!-- *** 弾幕のアイテム化 *** -->
	<repeat><times>$_revenge_state-eq1</times>
		<wait>1</wait>
		<changeBulletToItem/>
	</repeat>

	<!-- *** アイテムの出現 *** -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>32-($_self_cx%9)*8</param><param>32-$_self_cx%64</param></createRef>
	<wait>1</wait>
	<repeat><times>$_revenge_state-eq1</times>
		<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		<createRef label="item_create_03"><param>12-$_self_cx%24</param><param>24-$_self_cx%48</param></createRef>
		<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
	</repeat>

	<wait>1</wait>

	<repeat><times>$_revenge_state-eq1</times>
		<eval name="counter_e">$__counter_tmp</eval>
		<actionRef label="item_counter_01_boss"><param>38/2</param><param>$counter_e</param><param>1500</param><param>24</param><param>$localcounter</param></actionRef>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<actionRef label="item_counter_01_red"><param>40</param></actionRef>
	</repeat>

	<!-- *** 次の形態のボスの作成 *** -->
	<createRef label="enemy_create_middle_boss3"></createRef>

	<!-- *** 最後に自殺 *** -->
	<vanish></vanish>	
</revenge>

<revenge label="stage6C_middle_boss_03_revenge">

	<eval name="localcounter">$_counter</eval>
	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<actionRef label="boss_revenge_present_1"></actionRef>
	
	<!-- *** 形態変数の増加 *** -->
	<global name="boss_state">$__boss_state+1</global>

	<!-- *** 表示ライフの減少 *** -->
	<global name="boss_life">$__boss_life-1</global>

	<!-- *** 弾幕のアイテム化 *** -->
	<repeat><times>$_revenge_state-eq1</times>
		<wait>1</wait>
		<changeBulletToItem/>
	</repeat>

	<!-- *** アイテムの出現 *** -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>32-($_self_cx%9)*8</param><param>32-$_self_cx%64</param></createRef>
	<wait>1</wait>
	<repeat><times>$_revenge_state-eq1</times>
		<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		<createRef label="item_create_03"><param>12-$_self_cx%24</param><param>24-$_self_cx%48</param></createRef>
		<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
	</repeat>

	<wait>1</wait>

	<repeat><times>$_revenge_state-eq1</times>
		<eval name="counter_e">$__counter_tmp</eval>
		<actionRef label="item_counter_01_boss"><param>42/2</param><param>$counter_e</param><param>1560</param><param>24</param><param>$localcounter</param></actionRef>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<actionRef label="item_counter_01_red"><param>40</param></actionRef>
	</repeat>

	<!-- *** 次の形態のボスの作成 *** -->
	<createRef label="enemy_create_middle_boss4"></createRef>

	<!-- *** 最後に自殺 *** -->
	<vanish></vanish>	
</revenge>

<revenge label="stage6C_middle_boss_04_revenge">

	<eval name="localcounter">$_counter</eval>
	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<actionRef label="boss_revenge_present_1"></actionRef>
	
	<!-- *** 形態変数の増加 *** -->
	<global name="boss_state">$__boss_state+1</global>

	<!-- *** 表示ライフの減少 *** -->
	<global name="boss_life">$__boss_life-1</global>

	<!-- *** 弾幕のアイテム化 *** -->
	<repeat><times>$_revenge_state-eq1</times>
		<wait>1</wait>
		<changeBulletToItem/>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<wait>1</wait>
		<create>
			<speed>0</speed><direction>0</direction>
			<cx>320</cx><cy>240</cy><vital>0</vital>
			<bombRef label="bomb_clearbomb"></bombRef>
		</create>
	</repeat>

	<!-- *** アイテムの出現 *** -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>32-($_self_cx%9)*8</param><param>32-$_self_cx%64</param></createRef>
	<wait>1</wait>
	<repeat><times>$_revenge_state-eq1</times>
		<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		<createRef label="item_create_03"><param>12-$_self_cx%24</param><param>24-$_self_cx%48</param></createRef>
		<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
	</repeat>

	<wait>1</wait>

	<repeat><times>$_revenge_state-eq1</times>
		<eval name="counter_e">$__counter_tmp</eval>
		<actionRef label="item_counter_01_boss"><param>44/2</param><param>$counter_e</param><param>1560</param><param>24</param><param>$localcounter</param></actionRef>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<actionRef label="item_counter_01_red"><param>40</param></actionRef>
	</repeat>

	<!-- *** 次の形態のボスの作成 *** -->
	<!-- *** enemy tension形態のため、TTC発動、ミスのチェック *** -->
	<global name="ttc_start">$_ttc_frame</global>
	<createRef label="enemy_create_middle_boss5"></createRef>
	
	<!-- *** 最後に自殺 *** -->
	<vanish></vanish>	
</revenge>


<revenge label="stage6C_middle_boss_05_revenge">
	<!-- *** ボス戦の後始末 *** -->
	<eval name="localcounter">$_counter</eval>
	<actionRef label="bg_fadein_action"></actionRef>

	<!-- enemy tension形態のため、TTC発動、ミスのチェック *** -->
	<eval name="ttc_end">$_ttc_frame</eval>
	<eval name="miss_end">$_misscount</eval>

	<targetRevenge label="enemy_middle_boss_misa"/>

	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>

	<!-- 爆発アクション -->
	<actionRef label="boss_revenge_present_2"></actionRef>

	<!-- *** 弾幕のアイテム化 *** -->
	<!-- *** 自爆の場合は、弾けし *** -->
	<repeat><times>$_revenge_state-eq1</times>
		<wait>1</wait>
		<changeBulletToItem/>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<wait>1</wait>
		<create>
			<speed>0</speed><direction>0</direction>
			<cx>320</cx><cy>240</cy><vital>0</vital>
			<bombRef label="bomb_clearbomb"></bombRef>
		</create>
	</repeat>
	<!-- 敵ブルブルアクション -->
	<soundRef label="boss_break2"></soundRef>
	<soundRef label="boss_tremble_sound"></soundRef>
	<actionRef label="boss_tremble"></actionRef>

	<!-- *** ライフ表示を消す *** -->
	<targetRevenge label="boss_life"></targetRevenge>
	<!-- *** ボス名称表示を消す *** -->
	<targetRevenge label="boss_name_stage6_misa"></targetRevenge>

	<wait>1</wait>

	<!-- *** アイテムの出現 *** -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>32-($_self_cx%9)*8</param><param>32-$_self_cx%64</param></createRef>
	<wait>1</wait>
	<repeat><times>$_revenge_state-eq1</times>
		<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		<createRef label="item_create_03"><param>12-$_self_cx%24</param><param>24-$_self_cx%48</param></createRef>
		<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
	</repeat>

	<!-- *** ETC Break 判定 -->
	<eval name="etb_num">(($ttc_end-$__ttc_start)-eq$localcounter)*($miss_end-eq$__miss_start)*($__ttc_start_check-gt240)</eval>
	<repeat><times>$etb_num-eq0</times>
		<sysvar name="tbchain">0</sysvar>
	</repeat>

	<wait>1</wait>

	<!-- 01ばらまき -->
	<actionRef label="break_action"></actionRef>
	<repeat><times>($_revenge_state-eq1)</times>
		<repeat><times>$etb_num</times>
			<actionRef label="etb_letter"><param>2</param><param>5</param></actionRef>
			<createRef label="item_create_01_etb"><param>-25000</param><param>700000</param></createRef>
			<sysvar name="tbchain">$_tbchain+1</sysvar>
		</repeat>
		<eval name="counter_e">$__counter_tmp</eval>
		<actionRef label="item_counter_01_boss"><param>48/2</param><param>$counter_e</param><param>1800</param><param>24</param><param>$localcounter</param></actionRef>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<actionRef label="item_counter_01_red"><param>80</param></actionRef>
		<sysvar name="tbchain">0</sysvar>
	</repeat>

	<!-- *** ボス戦ロックを解除 *** -->
	<releaseLock><num>10</num></releaseLock>

	<changeColor>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>50</term>
	</changeColor>

	<wait>50</wait>
	<!-- *** 終了 *** -->
	<vanish></vanish>	

</revenge>

<revenge label="stage6C_middle_boss_misa_revenge">
	<wait>1</wait>

	<!-- 爆発アクション -->
	<actionRef label="boss_revenge_present_2"></actionRef>

	<wait>1</wait>
	<!-- 敵ブルブルアクション -->
	<actionRef label="boss_tremble"></actionRef>

	<wait>1</wait>

	<wait>1</wait>


	<wait>1</wait>

	<!-- 01ばらまき -->
	<actionRef label="break_action"></actionRef>

	<changeColor>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>50</term>
	</changeColor>

	<wait>50</wait>
	<!-- *** 終了 *** -->
	<vanish></vanish>	

</revenge>

<!-- ********************************************************************* -->
<!-- *** 6C道中　後半戦　　　　						*** -->
<action label="stage6C_second">


	<createRef label="enemy_create_100_dummy"><param>320</param><param>5</param><param>0.9</param></createRef>
	<wait>98</wait>
	<createRef label="enemy_create_101_dummy"><param>320</param><param>5</param><param>0.9</param></createRef>
	<wait>98</wait>
	<createRef label="enemy_create_100_dummy"><param>320</param><param>5</param><param>0.9</param></createRef>
	<wait>98</wait>
	<createRef label="enemy_create_101_dummy"><param>320</param><param>5</param><param>0.9</param></createRef>
	<wait>98+120</wait>

	<createRef label="enemy_create_102_dummy"><param>320</param><param>5</param><param>0.9</param></createRef>
	<wait>98</wait>
	<createRef label="enemy_create_103_dummy"><param>320</param><param>5</param><param>0.9</param></createRef>
	<wait>98</wait>
	<createRef label="enemy_create_102_dummy"><param>320</param><param>5</param><param>0.9</param></createRef>
	<wait>98</wait>
	<createRef label="enemy_create_103_dummy"><param>320</param><param>5</param><param>0.9</param></createRef>
	<skipwait>98+380</skipwait>


	<createRef label="mahoujin_create_02"><param>320</param><param>2</param></createRef>
	<wait>5</wait>
	<createRef label="enemy_create_104_dummy"><param>320</param><param>16</param><param>0</param></createRef>
	<wait>5</wait>
	<createRef label="enemy_create_107_dummy"><param>320</param><param>480-16</param><param>0</param></createRef>
	<wait>120</wait>


	<eval name="pos_x">320</eval>
	<eval name="pos_y">120</eval>
	<createRef label="mahoujin_create_01_2"><param>$pos_x</param><param>$pos_y</param><param>1</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x-40</param><param>$pos_y</param><param>1</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x+40</param><param>$pos_y</param><param>2</param><param>1</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x-80</param><param>$pos_y</param><param>1</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x+80</param><param>$pos_y</param><param>2</param><param>1</param></createRef>
	<wait>1</wait>
	<createRef label="mahoujin_create_01_2"><param>$pos_x</param><param>$pos_y-20</param><param>1</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x-40</param><param>$pos_y-20</param><param>3</param><param>1</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x+40</param><param>$pos_y-20</param><param>1</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x-80</param><param>$pos_y-20</param><param>2</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x+80</param><param>$pos_y-20</param><param>1</param><param>0</param></createRef>
	<wait>1</wait>
	<createRef label="mahoujin_create_01_2"><param>$pos_x</param><param>$pos_y-40</param><param>1</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x-40</param><param>$pos_y-40</param><param>3</param><param>1</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x+40</param><param>$pos_y-40</param><param>1</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x-80</param><param>$pos_y-40</param><param>2</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x+80</param><param>$pos_y-40</param><param>3</param><param>1</param></createRef>
	<wait>1</wait>
	<createRef label="mahoujin_create_01_2"><param>$pos_x</param><param>$pos_y-60</param><param>1</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x-40</param><param>$pos_y-60</param><param>2</param><param>1</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x+40</param><param>$pos_y-60</param><param>3</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x-80</param><param>$pos_y-60</param><param>2</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x+80</param><param>$pos_y-60</param><param>1</param><param>1</param></createRef>
	<wait>1</wait>
	<createRef label="mahoujin_create_02"><param>200</param><param>2</param></createRef>

	<wait>240</wait>


	<createRef label="mahoujin_create_02_2"><param>$_player_cx</param><param>2</param></createRef>
	<wait>5</wait>
	<createRef label="enemy_create_m_10"><param>400</param><param>-12</param></createRef>
	<wait>180</wait>

	<createRef label="enemy_create_m_10"><param>240</param><param>-12</param></createRef>
	<wait>5</wait>

	<wait>320</wait>
	<global name="prate_average">$__prate_average+$_prate</global>
	<global name="prate_average_num">$__prate_average_num+1</global>

	<eval name="pos_x">156</eval>
	<eval name="pos_y">140</eval>
	<createRef label="mahoujin_create_01_2"><param>$pos_x</param><param>$pos_y</param><param>1</param><param>0</param></createRef>
	<createRef label="mahoujin_create_01_2"><param>$pos_x</param><param>$pos_y-60</param><param>1</param><param>0</param></createRef>
	<wait>1</wait>

	<repeat><times>10</times>
		<evaladd name="pos_x">32</evaladd>
		<createRef label="mahoujin_create_01_2"><param>$pos_x</param><param>$pos_y</param><param>1</param><param>0</param></createRef>
		<createRef label="mahoujin_create_01_2"><param>$pos_x</param><param>$pos_y-60</param><param>1</param><param>0</param></createRef>
		<wait>1</wait>
	</repeat>

	<wait>320</wait>


	<wait>5</wait>
	<createRef label="enemy_create_105_dummy"><param>320</param><param>16+44</param><param>0</param></createRef>
	<wait>5</wait>
	<createRef label="enemy_create_106_dummy"><param>320</param><param>480-16-44</param><param>0</param></createRef>

	<wait>120</wait>

	<wait>5</wait>
	<createRef label="enemy_create_104_dummy"><param>320</param><param>16+44*2</param><param>0</param></createRef>
	<wait>5</wait>
	<createRef label="enemy_create_107_dummy"><param>320</param><param>480-16-44*2</param><param>0</param></createRef>

	<wait>360</wait>
	<global name="prate_average">$__prate_average+$_prate</global>
	<global name="prate_average_num">$__prate_average_num+1</global>

	<soundRef label="boss_break1"></soundRef>
	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>320</cx><cy>240</cy>
		<object>
			<child>1</child>
			<img type="normal">
				<file type="bmp">rectwhite</file>
				<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
				<width>360</width><height>480</height>
				<alpha>30</alpha><red>200</red><green>200</green><blue>200</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<changeColor>
				<alpha>64</alpha><red>200</red><green>200</green><blue>200</blue><term>10</term>
			</changeColor>
			<wait>10</wait>
			<changeColor>
				<alpha>10</alpha><red>200</red><green>200</green><blue>200</blue><term>20</term>
			</changeColor>
			<wait>20</wait>
			<vanish/>
			<vanish/>
		</object>
	</create>
	<wait>3</wait>
	<targetRevenge label="mahoujin_enemy_02"/>
	<targetRevenge label="mahoujin_enemy_02_2"/>
	<targetRevenge label="enemy_104_dummy"/>
	<targetRevenge label="enemy_105_dummy"/>
	<wait>1</wait>
	<targetRevenge label="enemy_106_dummy"/>
	<targetRevenge label="enemy_107_dummy"/>
	<wait>1</wait>
	<!-- アイテム化  -->
	<changeBulletToItem/>
	<wait>60</wait>

	<repeat><times>$__twins_set-eq2</times>
		<createRef label="enemy_create_x"></createRef>
		<wait>60</wait>
	</repeat>

</action>

<!-- create -->

<create label="enemy_create_100_dummy">
	<speed>$3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>1</vital>
	<enemyRef label="enemy_100_dummy"></enemyRef>
</create>

<create label="enemy_create_101_dummy">
	<speed>$3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>1</vital>
	<enemyRef label="enemy_101_dummy"></enemyRef>
</create>

<create label="enemy_create_102_dummy">
	<speed>$3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>1</vital>
	<enemyRef label="enemy_102_dummy"></enemyRef>
</create>

<create label="enemy_create_103_dummy">
	<speed>$3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>1</vital>
	<enemyRef label="enemy_103_dummy"></enemyRef>
</create>

<create label="enemy_create_104_dummy">
	<speed>$3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>1</vital>
	<enemyRef label="enemy_104_dummy"></enemyRef>
</create>

<create label="enemy_create_105_dummy">
	<speed>$3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>1</vital>
	<enemyRef label="enemy_105_dummy"></enemyRef>
</create>

<create label="enemy_create_106_dummy">
	<speed>$3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>1</vital>
	<enemyRef label="enemy_106_dummy"></enemyRef>
</create>

<create label="enemy_create_107_dummy">
	<speed>$3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>1</vital>
	<enemyRef label="enemy_107_dummy"></enemyRef>
</create>

<create label="enemy_create_10">
	<speed>$4</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>20</vital>
	<enemyRef label="enemy_10"></enemyRef>
</create>

<create label="enemy_create_10_score">
	<speed>$4</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>20</vital>
	<enemyRef label="enemy_10_score"></enemyRef>
</create>

<create label="enemy_create_11">
	<speed>$4</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>50</vital>
	<enemyRef label="enemy_11"></enemyRef>
</create>

<create label="enemy_create_11_score">
	<speed>$4</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>50</vital>
	<enemyRef label="enemy_11_score"></enemyRef>
</create>

<create label="enemy_create_12">
	<speed>$4</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>50</vital>
	<enemyRef label="enemy_12"></enemyRef>
</create>

<create label="enemy_create_12_score">
	<speed>$4</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>50</vital>
	<enemyRef label="enemy_12_score"></enemyRef>
</create>

<create label="enemy_create_m_10">
	<speed>4</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>32</vital>
	<enemyRef label="enemy_m_10"></enemyRef>
</create>

<create label="enemy_create_x">
	<speed>4</speed>
	<direction type="absolute">180</direction>
	<cx>320</cx><cy>-8</cy>
	<vital>250</vital>
	<enemyRef label="enemy_m_x"></enemyRef>
</create>

<!-- enemy -->

<enemy label="enemy_100_dummy">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<img type="maskadd">
		<file type="dds">laser32</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>40</width><height>40</height>
		<alpha>0</alpha><red>255</red><green>120</green><blue>120</blue>
	</img>	
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<action>
		<repeat><times>5</times>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_11_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		</repeat>
	</action>
</enemy>


<enemy label="enemy_101_dummy">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<img type="maskadd">
		<file type="dds">laser32</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>40</width><height>40</height>
		<alpha>0</alpha><red>255</red><green>120</green><blue>120</blue>
	</img>	
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<action>
		<repeat><times>5</times>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_11_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		</repeat>
	</action>
</enemy>

<enemy label="enemy_102_dummy">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<img type="maskadd">
		<file type="dds">laser32</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>40</width><height>40</height>
		<alpha>0</alpha><red>255</red><green>120</green><blue>120</blue>
	</img>	
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<action>

		<repeat><times>4</times>
			<createRef label="enemy_create_11_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
			<wait>50</wait>
		</repeat>
		<repeat><times>5</times>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>60</wait>
		</repeat>
	</action>
</enemy>

<enemy label="enemy_103_dummy">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<img type="maskadd">
		<file type="dds">laser32</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>40</width><height>40</height>
		<alpha>0</alpha><red>255</red><green>120</green><blue>120</blue>
	</img>	
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<action>

		<repeat><times>4</times>
			<createRef label="enemy_create_11_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
			<wait>50</wait>
		</repeat>
		<repeat><times>5</times>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>60</wait>
		</repeat>
	</action>
</enemy>


<enemy label="enemy_104_dummy">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<img type="maskadd">
		<file type="dds">laser32</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>40</width><height>40</height>
		<alpha>0</alpha><red>255</red><green>120</green><blue>120</blue>
	</img>	
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<action>

		<repeat><times>-1</times>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_11"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		</repeat>
	</action>
</enemy>

<enemy label="enemy_105_dummy">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<img type="maskadd">
		<file type="dds">laser32</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>40</width><height>40</height>
		<alpha>0</alpha><red>255</red><green>120</green><blue>120</blue>
	</img>	
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<action>

		<repeat><times>-1</times>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_11_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		</repeat>
	</action>
</enemy>

<enemy label="enemy_106_dummy">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<img type="maskadd">
		<file type="dds">laser32</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>40</width><height>40</height>
		<alpha>0</alpha><red>255</red><green>120</green><blue>120</blue>
	</img>	
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<action>

		<repeat><times>-1</times>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_12"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>140-12</param><param>$_self_cy</param><param>90</param><param>1.9</param></createRef>
		<wait>30</wait>
		</repeat>
	</action>
</enemy>

<enemy label="enemy_107_dummy">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<img type="maskadd">
		<file type="dds">laser32</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>40</width><height>40</height>
		<alpha>0</alpha><red>255</red><green>120</green><blue>120</blue>
	</img>	
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<action>

		<repeat><times>-1</times>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_12_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		<createRef label="enemy_create_10_score"><param>500+12</param><param>$_self_cy</param><param>-90</param><param>1.9</param></createRef>
		<wait>30</wait>
		</repeat>
	</action>
</enemy>

<enemy label="enemy_10">
	<score>800</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate3</prate>
	<presentRef label="enemy_present_07"></presentRef>
	<revengeRef label="enemy_revenge_01"><param>2</param><param>20</param><param>70</param></revengeRef>
	<collision type="rect"><left>-15</left><top>-15</top><right>15</right><bottom>15</bottom></collision>
	<child>1</child>
	<definedAction type="synctoparenty"></definedAction>

	<action>
	</action>
</enemy>

<enemy label="enemy_10_score">
	<score>800</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate3</prate>
	<presentRef label="enemy_present_07"></presentRef>
	<revengeRef label="enemy_revenge_01_s"><param>2</param><param>20</param><param>70</param></revengeRef>
	<collision type="rect"><left>-15</left><top>-15</top><right>15</right><bottom>15</bottom></collision>
	<child>1</child>
	<definedAction type="synctoparenty"></definedAction>

	<action>
	</action>
</enemy>

<enemy label="enemy_11">
	<score>800</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate3</prate>
	<presentRef label="enemy_present_08"></presentRef>
	<revengeRef label="enemy_revenge_01"><param>3</param><param>20</param><param>120</param></revengeRef>
	<collision type="rect"><left>-15</left><top>-15</top><right>15</right><bottom>15</bottom></collision>
	<child>1</child>
	<definedAction type="synctoparenty"></definedAction>

	<action>

		<wait>30</wait>

		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="enemy_fire_06"><param>108+($_self_cx*3+$_player_cx)%11</param><param>1.6</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="enemy_fire_06_s"><param>36</param><param>1.6</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="enemy_fire_06_s"><param>36</param><param>1.6</param></fireRef>
		</repeat>

		<repeat><times>2</times>
		<wait>30</wait>

		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="enemy_fire_06"><param>108+($_self_cx*3+$_player_cy)%11</param><param>1.6</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="enemy_fire_06_s"><param>36</param><param>1.6</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="enemy_fire_06_s"><param>36</param><param>1.6</param></fireRef>
		</repeat>
		</repeat>

	</action>
</enemy>

<enemy label="enemy_11_score">
	<score>800</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate3</prate>
	<presentRef label="enemy_present_08"></presentRef>
	<revengeRef label="enemy_revenge_01_s"><param>3</param><param>20</param><param>120</param></revengeRef>
	<collision type="rect"><left>-15</left><top>-15</top><right>15</right><bottom>15</bottom></collision>
	<child>1</child>
	<definedAction type="synctoparenty"></definedAction>

	<action>

		<wait>30</wait>

		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="enemy_fire_06"><param>108+($_self_cx*3+$_player_cx)%11</param><param>1.6</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="enemy_fire_06_s"><param>36</param><param>1.6</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="enemy_fire_06_s"><param>36</param><param>1.6</param></fireRef>
		</repeat>

		<repeat><times>2</times>
		<wait>30</wait>

		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="enemy_fire_06"><param>108+($_self_cx*3+$_player_cy)%11</param><param>1.6</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="enemy_fire_06_s"><param>36</param><param>1.6</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="enemy_fire_06_s"><param>36</param><param>1.6</param></fireRef>
		</repeat>
		</repeat>

	</action>
</enemy>

<enemy label="enemy_12">
	<score>800</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate3</prate>
	<presentRef label="enemy_present_08"></presentRef>
	<revengeRef label="enemy_revenge_01"><param>3</param><param>20</param><param>120</param></revengeRef>
	<collision type="rect"><left>-15</left><top>-15</top><right>15</right><bottom>15</bottom></collision>
	<child>1</child>
	<definedAction type="synctoparenty"></definedAction>

	<action>

		<wait>30</wait>

		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="enemy_fire_06"><param>90+($_self_cx*3+$_player_cx)%11</param><param>1.4</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="enemy_fire_06_s"><param>40</param><param>1.4</param></fireRef>
		</repeat>
<!--
		<repeat><times>2</times>
		<wait>30</wait>

		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="enemy_fire_06"><param>90+($_self_cx*3+$_player_cy)%11</param><param>1.4</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="enemy_fire_06_s"><param>40</param><param>1.4</param></fireRef>
		</repeat>
		</repeat>
-->
	</action>
</enemy>

<enemy label="enemy_12_score">
	<score>800</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate3</prate>
	<presentRef label="enemy_present_08"></presentRef>
	<revengeRef label="enemy_revenge_01_s"><param>3</param><param>20</param><param>120</param></revengeRef>
	<collision type="rect"><left>-15</left><top>-15</top><right>15</right><bottom>15</bottom></collision>
	<child>1</child>
	<definedAction type="synctoparenty"></definedAction>

	<action>

		<wait>30</wait>

		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="enemy_fire_06"><param>90+($_self_cx*3+$_player_cx)%11</param><param>1.4</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="enemy_fire_06_s"><param>40</param><param>1.4</param></fireRef>
		</repeat>

		<repeat><times>2</times>
		<wait>30</wait>

		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="enemy_fire_06"><param>90+($_self_cx*3+$_player_cy)%11</param><param>1.4</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="enemy_fire_06_s"><param>40</param><param>1.4</param></fireRef>
		</repeat>
		</repeat>

	</action>
</enemy>

<enemy label="enemy_m_10">
	<score>1000</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate</prate>
	<presentRef label="enemy_present_m_01"></presentRef>
	<revengeRef label="enemy_revenge_m_01"><param>6</param><param>20</param><param>110</param></revengeRef>
<!--	<collision type="rect"><left>-15</left><top>-15</top><right>15</right><bottom>15</bottom></collision> -->
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>18</radius></collision>

	<action>
		<actionRef label="create_option"><param>0</param><param>3</param></actionRef>
		<wait>17</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>
		<repeat><times>5</times>
			<wait>16</wait>
			<fireRef label="stage6C_fire_laser_dummy_aim"><param>180</param><param>24</param></fireRef>
			<wait>4</wait>
		</repeat>

		<wait>120</wait>

		<repeat><times>5</times>
			<wait>16</wait>
			<fireRef label="stage6C_fire_laser_dummy_aim"><param>180</param><param>24</param></fireRef>
			<wait>4</wait>
		</repeat>

		<wait>120</wait>

		<repeat><times>5</times>
			<wait>16</wait>
			<fireRef label="stage6C_fire_laser_dummy_aim"><param>180</param><param>24</param></fireRef>
			<wait>4</wait>
		</repeat>

		<changeSpeed>
			<speed type="absolute">2</speed><term>20</term>
		</changeSpeed>

	</action>
</enemy>

<enemy label="enemy_m_x">
	<score>10000</score>
	<inv>50</inv>
	<revengeRef label="enemy_revenge_x"></revengeRef>
	<prate>$__middle_enemy_prate</prate>

	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
		<wait>20</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>10</wait>
		<repeat><times>10</times>
			<eval name="seq">0</eval>

			<repeat><times>3</times>
				<eval name="wait_time">8</eval>
				<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
				<wait>1</wait>
				<fireRef label="stage6C_boss_fire_00_04"><param>-90+$seq</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				<repeat><times>2</times>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				</repeat>
				<wait>1</wait>
				<repeat><times>5</times>
					<evaladd name="wait_time">-1</evaladd>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
					<repeat><times>2</times>
						<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
						<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
						<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
					</repeat>
					<wait>1</wait>
				</repeat>
				<evaladd name="seq">5</evaladd>
				<wait>30</wait>
			</repeat>
		</repeat>

		<changeSpeed>
			<speed type="absolute">2</speed><term>10</term>
		</changeSpeed>

	</action>
</enemy>

<revenge label="enemy_revenge_x">

	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<eval name="localcounter">$_counter</eval>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	<changeBulletToItem/>
	<wait>1</wait>

	<actionRef label="item_counter_01"><param>10</param><param>20</param><param>230</param><param>12</param><param>$localcounter</param></actionRef>

	<wait>1</wait>
	<addItem><flag>1</flag><num>$_maxcrystal</num></addItem>
	<wait>15</wait>
	<vanish></vanish>

</revenge>



</exbulletml>
