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

<!-- ********************************************************************* -->
<!-- *** 中ボス戦はここから始ま					*** -->
<!-- *** stage6B中ボス easy					   *** -->

<action label="stage6B_middle_boss">

	<!-- *** 第 N 形態 *** -->
	<global name="boss_state">1</global>
	
	<!-- *** ボスの初期ライフ *** -->
	<global name="boss_life">2</global>
	
	<!-- *** 最初のボスオブジェクト作成 *** -->
	<createRef label="enemy_create_middle_boss"><param>200</param><param>-12</param></createRef>


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

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

</action>



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

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

<create label="enemy_create_middle_boss">

	<speed>4</speed>
	<direction type="absolute">135</direction>
	<cx>$1</cx><cy>$2</cy>
 	<vital>1500</vital>
	<inv>40</inv>
	<score>220000</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>
	<vital>1600</vital>
	<inv>40</inv>
	<score>250000</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>
	<vital>1700</vital>
	<inv>40</inv>
	<score>300000</score>
	<prate>$__middle_boss_prate2</prate>
	<enemyRef label="enemy_middle_boss"></enemyRef>

</create>



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

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

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

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

	<!-- *** 第 N 形態ごとのアクション *** -->
	<repeat><times>$__boss_state-eq1</times>
		<revengeRef label="stage6B_middle_boss_01_revenge"></revengeRef>
		<global name="timer">9</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6B_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="stage6B_middle_boss_02_revenge"></revengeRef>
		<global name="timer">10</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6B_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="stage6B_middle_boss_03_revenge"></revengeRef>
		<global name="timer">16</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6B_middle_boss_03_action"></actionRef>
	</repeat>

</enemy>


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

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

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

<!-- 弾幕開始 -->
<repeat><times>3</times>
	<!-- No1 4way + ウィルスばらまき -->
	<repeat><times>3</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<wait>3</wait>
	</repeat>

		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01"><param>-30</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>55</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>55</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>55</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_03"><param>105</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<wait>3</wait>


	<eval name="bul_dir">1.5</eval>
	<repeat><times>2</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">2</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01"><param>-30</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>65</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>65</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>55</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>65</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
	</repeat>

	<evaladd name="bul_dir">-1.5</evaladd>
	<repeat><times>4</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1.5</evaladd>
		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1.5</evaladd>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01"><param>-30</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>65</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>65</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>65</param><param>4</param><param>2</param></fireRef>
		<wait>1</wait>

		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1.5</evaladd>
		<wait>3</wait>
	</repeat>

	<evaladd name="bul_dir">1.5</evaladd>
	<repeat><times>4</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01"><param>-30</param><param>5</param><param>2</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>2</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>2</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>6</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>2</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>2</param><param>4</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>2</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>6</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>2</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>2</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>2</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>6</param><param>4</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1.5</evaladd>
		<wait>3</wait>
	</repeat>


	<evaladd name="bul_dir">-1</evaladd>
	<repeat><times>2</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>

		<wait>1</wait>
		<fireRef label="middle_boss_fire_01"><param>-30</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>65</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>55</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>65</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>55</param><param>255</param><param>2</param></fireRef>
		<wait>1</wait>

		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
	</repeat>

	<repeat><times>3</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01"><param>-30</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>65</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>55</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>255</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>55</param><param>255</param><param>2</param></fireRef>
		<wait>1</wait>

		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>3</wait>
	</repeat>

	<evaladd name="bul_dir">1</evaladd>
	<repeat><times>5</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01"><param>-30</param><param>5</param><param>2</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>2</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>2</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>125</param><param>5</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>2</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>2</param><param>4</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>2</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>125</param><param>5</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>60</param><param>5</param><param>2</param><param>255</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>255</param><param>2</param><param>4</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>5</param><param>255</param><param>2</param><param>2</param></fireRef>
		<fireRef label="middle_boss_fire_01_s"><param>20</param><param>125</param><param>5</param><param>255</param><param>2</param></fireRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>3</wait>
		<fireRef label="middle_boss_fire_03"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<fireRef label="middle_boss_fire_03_s"><param>50</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>3</wait>
	</repeat>

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

	<!-- ウィルスなし高速ばらまき -->

	<changeDirection>
		<direction type="absolute">-88+176*($_player_cx-gt320)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">0.3</speed><term>20</term>
	</changeSpeed>

	<eval name="bul_dir">0</eval>
	<repeat><times>10</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">6</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_05"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">8</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">4</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_05"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">6</evaladd>
		<wait>2</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">8</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">4</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">6</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_05"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">10</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">8+$_player_cx%7</evaladd>
		<wait>2</wait>
	</repeat>
	<changeDirection>
		<direction type="relative">180</direction><term>1</term>
	</changeDirection>

	<repeat><times>10</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">6</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_05"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">8</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">4</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_05"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">6</evaladd>
		<wait>2</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">8</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">4</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">6</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_05"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">10</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_04"><param>105+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<fireRef label="middle_boss_fire_04_s"><param>60</param></fireRef>
		<evaladd name="bul_dir">8+$_player_cx%7</evaladd>
		<wait>2</wait>
	</repeat>

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

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

	<!-- No3 網目 -->
	<eval name="bul_dir">0</eval>
	<repeat><times>2</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir</param></fireRef>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir</param></fireRef>
		<wait>2</wait>

		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir</param></fireRef>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir</param></fireRef>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir</param></fireRef>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir</param></fireRef>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir</param></fireRef>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir</param></fireRef>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir</param></fireRef>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir</param></fireRef>
		<wait>2</wait>

	</repeat>

	<eval name="bul_dir2">1</eval>

	<repeat><times>4</times>
	<evaladd name="bul_dir">1</evaladd>
	<repeat><times>2</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>2</wait>

		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>2</wait>
	</repeat>
	<evaladd name="bul_dir">-1</evaladd>
	<repeat><times>2</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>2</wait>

		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-15+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>120+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-120+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">1</evaladd>
		<wait>2</wait>
		<fireRef label="middle_boss_fire_06"><param>142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-142+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>165+$bul_dir*$bul_dir2</param></fireRef>
		<fireRef label="middle_boss_fire_06"><param>-165+$bul_dir*$bul_dir2</param></fireRef>
		<evaladd name="bul_dir">-1</evaladd>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_05_aim"><param>-39</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>13</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>13</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>13</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>13</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>13</param></fireRef>
		<fireRef label="middle_boss_fire_05_s"><param>13</param></fireRef>
		<wait>1</wait>
	</repeat>
	<eval name="bul_dir2">($bul_dir2+1)%3</eval>

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

</repeat>

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

</action>

<!-- fire -->
<fire label="middle_boss_fire_01">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_01"><param>$2</param><param>$3</param><param>$4</param><param>$5</param></bulletRef>
</fire>

<fire label="middle_boss_fire_01_ab">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<bulletRef label="middle_boss_bullet_01"><param>$2</param><param>$3</param><param>$4</param><param>$5</param></bulletRef>
</fire>

<fire label="middle_boss_fire_01_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_01"><param>$2</param><param>$3</param><param>$4</param><param>$5</param></bulletRef>
</fire>

<fire label="middle_boss_fire_02">
	<speed>2</speed>
	<direction type="absolute">0</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_02"><param>$1</param><param>$2</param><param>$3</param><param>$4</param></bulletRef>
</fire>

<fire label="middle_boss_fire_02_s">
	<speed>2</speed>
	<direction type="sequence">120</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_02"><param>$1</param><param>$2</param><param>$3</param><param>$4</param></bulletRef>
</fire>

<fire label="middle_boss_fire_03">
	<speed>2.7</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_03"></bulletRef>
</fire>

<fire label="middle_boss_fire_03_s">
	<speed>2.7</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_03"></bulletRef>
</fire>

<fire label="middle_boss_fire_04">
	<speed>2.2</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_04"></bulletRef>
</fire>

<fire label="middle_boss_fire_04_aim">
	<speed>2.2</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_04"></bulletRef>
</fire>

<fire label="middle_boss_fire_04_s">
	<speed>2.2</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_04"></bulletRef>
</fire>

<fire label="middle_boss_fire_05">
	<speed>2.2</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_05"></bulletRef>
</fire>

<fire label="middle_boss_fire_05_aim">
	<speed>2.2</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_05"></bulletRef>
</fire>

<fire label="middle_boss_fire_05_s">
	<speed>2.2</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_05"></bulletRef>
</fire>

<fire label="middle_boss_fire_06">
	<speed>3</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_06"></bulletRef>
</fire>

<fire label="middle_boss_fire_06_s">
	<speed>3</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="middle_boss_bullet_06"></bulletRef>
</fire>


<!-- bullet -->
<bullet label="middle_boss_bullet_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</radius></collision>
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>20</width><height>20</height>
		<alpha>255</alpha><red>$1</red><green>$2</green><blue>$3</blue>
	</img>
	<rotateImg>
		<direction>1.8</direction><term>-1</term>
	</rotateImg>

	<action>
		<fireRef label="middle_boss_fire_02"><param>$1</param><param>$2</param><param>$3</param><param>10</param></fireRef>
		<fireRef label="middle_boss_fire_02_s"><param>$1</param><param>$2</param><param>$3</param><param>10</param></fireRef>
		<fireRef label="middle_boss_fire_02_s"><param>$1</param><param>$2</param><param>$3</param><param>10</param></fireRef>

		<changeSpeed>
			<speed type="absolute">$4</speed><term>8</term>
		</changeSpeed>

		<wait>120</wait>
	</action>

</bullet>

<bullet label="middle_boss_bullet_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>5</radius></collision>
	<child>1</child>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

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


	<action>
		<changeSpeed>
			<speed type="absolute">0.04*$4</speed><term>$4</term>
		</changeSpeed>
		<wait>$4+1</wait>

		<changeDirection>
			<direction type="relative">90</direction><term>1</term>
		</changeDirection>
		<wait>1</wait>

		<repeat><times>-1</times>
			<changeDirection>
				<direction type="relative">360</direction><term>200</term>
			</changeDirection>
			<wait>200</wait>
		</repeat>
	</action>

</bullet>


<bullet label="middle_boss_bullet_03">

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

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

</bullet>

<bullet label="middle_boss_bullet_04">

	<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>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

</bullet>

<bullet label="middle_boss_bullet_05">

	<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>255</green><blue>2</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

</bullet>

<bullet label="middle_boss_bullet_06">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>6</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>14</width><height>14</height>
		<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<setReflect>
		<flag>7</flag><num>6</num>
	</setReflect>


</bullet>

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

<action  label="stage6B_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>

<!-- 弾幕開始 -->
<repeat><times>2</times>
	<eval name="MOVEX">0</eval>
	<eval name="RANDOMD">(($RANDOMD+$_self_cx*13+$_player_cy*77)%360)</eval>

	<wait>1</wait>

	<!-- 周り弾 1回目 -->
	<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
	<createRef label="middle_boss_duumy_2_01"><param>$RANDOMD</param><param>-1</param></createRef>
	<repeat><times>4</times>
		<wait>1</wait>
		<createRef label="middle_boss_duumy_2_01"><param>216</param><param>-1</param></createRef>
	</repeat>
	<wait>60</wait>

	<wait>100-3</wait>

	<actionRef label="stage6B_subAction_0X0400A">
		<param>$MOVEX</param>
	</actionRef>
	<eval name="MOVEX">(($MOVEX+1)%4)</eval>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->
	<wait>200</wait>

	<!-- 周り弾 2回目 -->
	<eval name="RANDOMD">(($RANDOMD+$_self_cx*13+$_player_cy*77)%360)</eval>
	<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
	<createRef label="middle_boss_duumy_2_01"><param>$RANDOMD</param><param>1</param></createRef>
	<repeat><times>4</times>
		<wait>1</wait>
		<createRef label="middle_boss_duumy_2_01"><param>-216</param><param>1</param></createRef>
	</repeat>
	<wait>100-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<actionRef label="stage6B_subAction_0X0400A">
		<param>$MOVEX</param>
	</actionRef>
	<eval name="MOVEX">(($MOVEX+1)%4)</eval>
	<wait>300-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<!-- 4色バラマキ 1回目 -->
	<eval name="RANDOMD">(($RANDOMD+$_self_cx*13+$_player_cy*77)%360)</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>

	<eval name="SPD">0</eval>
	<fireRef label="stage6B_bossFire_0X0404A">
		<param>$RANDOMD</param>	       <!--弾角度-->
		<param>(1.8*$SPD/8+0.5)</param>
		<param>1</param>		<!--上にぶつかったときの弾数-->
		<param>255</param>	      <!--赤-->
		<param>32</param>	       <!--緑-->
		<param>32</param>	       <!--青-->
	</fireRef>
	<fireRef label="stage6B_bossFire_0X0405">
		<param>180</param>
		<param>(1.8*$SPD/8+0.5)</param>
		<param>1</param>
		<param>32</param>
		<param>32</param>
		<param>255</param>
	</fireRef>
	<wait>3</wait>
	<eval name="SPD">(($SPD+3)%8)</eval>
	<fireRef label="stage6B_bossFire_0X0404A_s">
		<param>180-2.8125</param>
		<param>(1.8*$SPD/8+0.5)</param>
		<param>1</param>
		<param>224</param>
		<param>128</param>
		<param>32</param>
	</fireRef>
	<fireRef label="stage6B_bossFire_0X0405">
		<param>180</param>
		<param>(1.8*$SPD/8+0.5)</param>
		<param>1</param>
		<param>32</param>
		<param>128</param>
		<param>224</param>
	</fireRef>

	<repeat><times>19</times>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<repeat><times>5</times>
		<wait>3</wait>
		<eval name="SPD">(($SPD+3)%8)</eval>
		<fireRef label="stage6B_bossFire_0X0404A_s">
			<param>(180-2.8125)</param>
			<param>(1.8*$SPD/8+0.5)</param>
			<param>1</param>
			<param>255</param>
			<param>32</param>
			<param>32</param>
		</fireRef>
		<fireRef label="stage6B_bossFire_0X0405">
			<param>180</param>
			<param>(1.8*$SPD/8+0.5)</param>
			<param>1</param>
			<param>32</param>
			<param>32</param>
			<param>255</param>
		</fireRef>
		<wait>3</wait>
		<eval name="SPD">(($SPD+3)%8)</eval>
		<fireRef label="stage6B_bossFire_0X0404A_s">
			<param>(180-2.8125)</param>
			<param>(1.8*$SPD/8+0.5)</param>
			<param>2</param>
			<param>224</param>
			<param>128</param>
			<param>32</param>
		</fireRef>
		<fireRef label="stage6B_bossFire_0X0405">
			<param>180</param>
			<param>(1.8*$SPD/8+0.5)</param>
			<param>1</param>
			<param>32</param>
			<param>128</param>
			<param>224</param>
		</fireRef>
	</repeat>
	</repeat>
	<actionRef label="stage6B_subAction_0X0400A">
		<param>$MOVEX</param>
	</actionRef>
	<eval name="MOVEX">(($MOVEX+1)%4)</eval>
	<wait>100-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<!-- 4色バラマキ 2回目 -->
	<eval name="SPD">0</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_bossFire_0X0404A">
		<param>$RANDOMD+180</param>	       <!--弾角度-->
		<param>(1.8*$SPD/8+0.5)</param>
		<param>1</param>		<!--上にぶつかったときの弾数-->
		<param>255</param>	      <!--赤-->
		<param>32</param>	       <!--緑-->
		<param>32</param>	       <!--青-->
	</fireRef>
	<fireRef label="stage6B_bossFire_0X0405">
		<param>180</param>
		<param>(1.8*$SPD/8+0.5)</param>
		<param>1</param>
		<param>32</param>
		<param>32</param>
		<param>255</param>
	</fireRef>
	<wait>3</wait>
	<eval name="SPD">(($SPD+3)%8)</eval>
	<fireRef label="stage6B_bossFire_0X0404A_s">
		<param>180+2.8125</param>
		<param>(1.8*$SPD/8+0.5)</param>
		<param>1.8</param>
		<param>224</param>
		<param>128</param>
		<param>32</param>
	</fireRef>
	<fireRef label="stage6B_bossFire_0X0405">
		<param>180</param>
		<param>(1.8*$SPD/8+0.5)</param>
		<param>1</param>
		<param>32</param>
		<param>128</param>
		<param>224</param>
	</fireRef>

	<repeat><times>19</times>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<repeat><times>5</times>
		<wait>3</wait>
		<eval name="SPD">(($SPD+3)%8)</eval>
		<fireRef label="stage6B_bossFire_0X0404A_s">
			<param>(180+2.8125)</param>
			<param>(1.8*$SPD/8+0.5)</param>
			<param>1</param>
			<param>255</param>
			<param>32</param>
			<param>32</param>
		</fireRef>
		<fireRef label="stage6B_bossFire_0X0405">
			<param>180</param>
			<param>(1.8*$SPD/8+0.5)</param>
			<param>1</param>
			<param>32</param>
			<param>32</param>
			<param>255</param>
		</fireRef>
		<wait>3</wait>
		<eval name="SPD">(($SPD+3)%8)</eval>
		<fireRef label="stage6B_bossFire_0X0404A_s">
			<param>(180+2.8125)</param>
			<param>(1.8*$SPD/8+0.5)</param>
			<param>1</param>
			<param>224</param>
			<param>128</param>
			<param>32</param>
		</fireRef>
		<fireRef label="stage6B_bossFire_0X0405">
			<param>180</param>
			<param>(1.8*$SPD/8+0.5)</param>
			<param>1</param>
			<param>32</param>
			<param>128</param>
			<param>224</param>
		</fireRef>
	</repeat>
	</repeat>
	
	<wait>30</wait>

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

</repeat>

<wait>120</wait>
<targetRevenge label="enemy_middle_boss"></targetRevenge>

</action>

<!-- 移動action -->
<action label="stage6B_subAction_0X0400A">
	<repeat><times>($1-eq0)</times>
		<eval name="XX">(200+240*($_player_cx-140)/360)</eval>
		<eval name="YY">(80+80*($_player_cy/480))</eval>
	</repeat>
	<repeat><times>($1-eq1)</times>
		<eval name="XX">(200+240*($_player_cy)/480)</eval>
		<eval name="YY">(80+80*(480-$_player_cx)/320)</eval>
	</repeat>
		<repeat><times>($1-eq2)</times>
		<eval name="XX">(200+240*(480-$_player_cx)/320)</eval>
		<eval name="YY">(80+80*(480-$_player_cy)/480)</eval>
	</repeat>
	<repeat><times>($1-eq3)</times>
		<eval name="XX">(200+240*(480-$_player_cy)/480)</eval>
		<eval name="YY">(80+80*($_player_cx-160)/320)</eval>
	</repeat>
	<changeSpeed>
		<speed type="absolute">2</speed><term>25</term>
	</changeSpeed>
	<wait>2</wait>
	<changePosition type="center">
		<x>$XX</x><y>$YY</y>
	</changePosition>
	<changeSpeed>
		<speed type="absolute">0</speed><term>4</term>
	</changeSpeed>
	<wait>4</wait>
</action>


<create label="middle_boss_duumy_2_01">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital>
	<child>1</child>
	<enemyRef label="middle_boss_duumy_enemy_2_01"><param>$2</param></enemyRef>
</create>

<create label="middle_boss_duumy_2_01">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital>
	<child>1</child>
	<enemyRef label="middle_boss_duumy_enemy_2_01"><param>$2</param></enemyRef>
</create>

<enemy label="middle_boss_duumy_enemy_2_01">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>255</red><green>4</green><blue>2</blue>
	</img>
	<collision type="circle"><cx>0</cx><cy>0</cy><radius>14</radius></collision>
	<setBreakable><num>1</num></setBreakable>

	<action>
		<eval name="OFFSET3">0</eval>
		<wait>5</wait>
		<changeSpeed>
			<speed>(3.14*80/108)</speed><term>1</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">360*$1</direction>
			<term>108</term>
		</changeDirection>
		<repeat><times>6</times>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<repeat><times>2</times>
			<wait>1</wait>
			<!--進行方向弾-->
			<fireRef label="stage6B_bossFire_0X0402">
				<param>3.14*80/96</param>
				<param>0</param>
			</fireRef>
			<fireRef label="stage6B_bossFire_0X0402">
				<param>3.14*40/96</param>
				<param>-22.5*$1</param>
			</fireRef>

			<!--一定時間後オフセットかまして狙う弾-->
			<fireRef label="stage6B_bossFire_0X0403">
				<param>45*$1</param>
				<param>160</param>
				<param>2.4</param>
				<param>$OFFSET3</param>
				<param>22.5*$1</param>
			</fireRef>
			<evaladd name="OFFSET3">6</evaladd>
			<wait>7</wait>
		</repeat>
		</repeat>
		<eval name="AFTEROFFSET">0</eval>
		<repeat><times>2</times>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<repeat><times>2</times>
			<wait>1</wait>
			<!--進行方向弾-->
			<fireRef label="stage6B_bossFire_0X0402">
				<param>3.14*80/96</param>
				<param>$AFTEROFFSET</param>
			</fireRef>
			<fireRef label="stage6B_bossFire_0X0402">
				<param>3.14*40/96</param>
				<param>-22.5*$1+$AFTEROFFSET</param>
			</fireRef>
			<evaladd name="AFTEROFFSET">22.5</evaladd>
			<wait>8</wait>
		</repeat>
		</repeat>

	</action>
</enemy>


<fire label="stage6B_bossFire_0X0402">
	<direction type="relative">$2</direction>
	<speed>$1</speed>
	<bulletRef label="stage6B_bullet0X0402">
	</bulletRef>
</fire>
<fire label="stage6B_bossFire_0X0403">
	<direction type="relative">0</direction>
	<speed>0</speed>
	<bulletRef label="stage6B_bullet0X0403">
	<param>$1</param>
	<param>$2</param>
	<param>$3</param>
	<param>$4</param>
	<param>$5</param>
	</bulletRef>
</fire>
<bullet label="stage6B_bullet0X0402">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>5</radius></collision>

	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>12</width><height>12</height>
		<alpha>255</alpha><red>255</red><green>4</green><blue>2</blue>
	</img>
	<action>
	</action>
</bullet>

<bullet label="stage6B_bullet0X0403">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>5</radius></collision>

	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>12</width><height>12</height>
		<alpha>255</alpha><red>40</red><green>242</green><blue>32</blue>
	</img>
	<action>
		<wait>$2</wait>
		<changeDirection>
			<direction type="relative">$1</direction>
			<term>1</term>
		</changeDirection>
		<wait>1</wait>
		<changeSpeed>
			<speed>$3</speed>
			<term>120</term>
		</changeSpeed>
		<!--３発くらい弾をだす？-->
		<wait>30</wait>
		<actionRef label="enemy_bullet_action"><param>48</param></actionRef>
		<fireRef label="stage6B_bossFire_0X0408A">
		<param>$3*0.75</param>
		<param>$4</param>
		<param>40</param>
		<param>224</param>
		<param>224</param>
		<param>32</param>
		</fireRef>
		<wait>30</wait>
		<actionRef label="enemy_bullet_action"><param>48</param></actionRef>
		<fireRef label="stage6B_bossFire_0X0408A_s">
		<param>$3*0.5</param>
		<param>$5</param>
		<param>20</param>
		<param>240</param>
		<param>128</param>
		<param>32</param>
		</fireRef>
<!--
		<wait>20</wait>
		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="stage6B_bossFire_0X0408A_s">
		<param>$3*0.25</param>
		<param>$5</param>
		<param>0</param>
		<param>255</param>
		<param>32</param>
		<param>32</param>
		</fireRef>
-->
	</action>
</bullet>

<fire label="stage6B_bossFire_0X0408A">
	<direction type="relative">$2</direction>
	<speed>0</speed>
	<bulletRef label="stage6B_bullet0X0408">
	<param>$1</param>
	<param>$3</param>
	<param>$4</param>
	<param>$5</param>
	<param>$6</param>
	</bulletRef>
</fire>

<fire label="stage6B_bossFire_0X0408A_s">
	<direction type="sequence">$2</direction>
	<speed>0</speed>
	<bulletRef label="stage6B_bullet0X0408">
	<param>$1</param>
	<param>$3</param>
	<param>$4</param>
	<param>$5</param>
	<param>$6</param>
	</bulletRef>
</fire>

<bullet label="stage6B_bullet0X0408">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>5</radius></collision>

	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>12</width><height>12</height>
		<alpha>255</alpha><red>$3</red><green>$4</green><blue>$5</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed>$1</speed>
			<term>120</term>
		</changeSpeed>
	</action>
</bullet>

<fire label="stage6B_bossFire_0X0404A">
	<direction type="absolute">$1</direction>
	<speed>$2</speed>
	<bulletRef label="stage6B_bullet0X0404">
	<param>$3</param>
	<param>$4</param>
	<param>$5</param>
	<param>$6</param>
	</bulletRef>
</fire>
<fire label="stage6B_bossFire_0X0404A_s">
	<direction type="sequence">$1</direction>
	<speed>$2</speed>
	<bulletRef label="stage6B_bullet0X0404">
	<param>$3</param>
	<param>$4</param>
	<param>$5</param>
	<param>$6</param>
	</bulletRef>
</fire>


<bullet label="stage6B_bullet0X0404">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>4</radius></collision>

	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>10</width><height>10</height>
		<alpha>255</alpha><red>$4</red><green>$3</green><blue>$2</blue>
	</img>
	<action>
		<repeat><times>(-1+($_self_cy-lt4))</times>
			<wait>1</wait>
		</repeat>
		<repeat><times>($1-gt0)</times>
			<fireRef label="stage6B_bossFire_0X0406">
			<param>0</param>
			</fireRef>
		</repeat>
		<repeat><times>($1-gt1)</times>
			<fireRef label="stage6B_bossFire_0X0406_s">
			<param>-(360/32)</param>
			</fireRef>
		</repeat>
		<vanish/>
	</action>
</bullet>

<fire label="stage6B_bossFire_0X0405">
	<direction type="sequence">$1</direction>
	<speed>$2</speed>
	<bulletRef label="stage6B_bullet0X0405">
	<param>$3</param>
	<param>$4</param>
	<param>$5</param>
	<param>$6</param>
	</bulletRef>
</fire>

<bullet label="stage6B_bullet0X0405">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>4</radius></collision>

	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>10</width><height>10</height>
		<alpha>255</alpha><red>$4</red><green>$3</green><blue>$2</blue>
	</img>
	<action>
		<repeat><times>(-1+($_self_cy-lt4))</times>
			<wait>1</wait>
		</repeat>

		<repeat><times>($1-gt0)</times>
			<fireRef label="stage6B_bossFire_0X0406">
			<param>0</param>
			</fireRef>
		</repeat>
		<repeat><times>($1-gt1)</times>
			<fireRef label="stage6B_bossFire_0X0406_s">
			<param>(360/32)</param>
			</fireRef>
		</repeat>
		<vanish/>
	</action>
</bullet>

<fire label="stage6B_bossFire_0X0406">
	<direction type="aim">$1</direction>
	<speed type="relative">0</speed>
	<bulletRef label="stage6B_bullet0X0406">
	</bulletRef>
</fire>
<fire label="stage6B_bossFire_0X0406_s">
	<direction type="sequence">$1</direction>
	<speed type="relative">0</speed>
	<bulletRef label="stage6B_bullet0X0406">
	</bulletRef>
</fire>
<bullet label="stage6B_bullet0X0406">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>4</radius></collision>

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


<!-- ********************************************************************* -->
<!-- *** 中ボスのアクション　第３形態　                                *** -->
<!-- *** 　EnemyTensionCicuit　                                        *** -->
<action  label="stage6B_middle_boss_03_action">
<!-- 魔方陣作成 -->
	<wait>10</wait>
	<actionRef label="mahoujin_middle"><param>190</param><param>5</param><param>100</param><param>205</param></actionRef>
	<wait>2</wait>

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

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

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

<!-- 弾幕開始 -->
<repeat><times>4</times>
	<eval name="red_x">140+6</eval>
	<eval name="red_y">480-6</eval>
	<eval name="red_sp">0.6+(($_player_cx*7)%6)/10</eval>

	<eval name="blue_x">500-6</eval>
	<eval name="blue_y">6</eval>
	<eval name="blue_sp">0.6+(($_player_cy*7)%6)/10</eval>

	<wait>5</wait>
	<createRef label="middle_boss_mahoujin_create_01"><param>$red_x</param><param>$red_y</param><param>90</param><param>$red_sp</param></createRef>
	<createRef label="middle_boss_mahoujin_create_02"><param>$blue_x</param><param>$blue_y</param><param>-90</param><param>$blue_sp</param></createRef>
	<wait>1</wait>

	<repeat><times>13</times>
		<evaladd name="red_y">-12</evaladd>
		<eval name="red_sp">0.3+(($red_sp+$_player_cy*4)%5)/10</eval>
		<evaladd name="blue_y">12</evaladd>
		<eval name="blue_sp">0.9+(($blue_sp+$_player_cy*4)%5)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_01"><param>$red_x</param><param>$red_y</param><param>90</param><param>$red_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_02"><param>$blue_x</param><param>$blue_y</param><param>-90</param><param>$blue_sp</param></createRef>
		<wait>1</wait>
		<evaladd name="red_y">-12</evaladd>
		<eval name="red_sp">0.6+(($red_sp+$_player_cx*9)%5)/10</eval>
		<evaladd name="blue_y">12</evaladd>
		<eval name="blue_sp">0.6+(($blue_sp+$_player_cx*9)%5)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_01"><param>$red_x</param><param>$red_y</param><param>90</param><param>$red_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_02"><param>$blue_x</param><param>$blue_y</param><param>-90</param><param>$blue_sp</param></createRef>
		<wait>1</wait>
		<evaladd name="red_y">-12</evaladd>
		<eval name="red_sp">0.9+(($red_sp*9)%5)/10</eval>
		<evaladd name="blue_y">12</evaladd>
		<eval name="blue_sp">0.3+(($blue_sp*9)%5)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_01"><param>$red_x</param><param>$red_y</param><param>90</param><param>$red_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_02"><param>$blue_x</param><param>$blue_y</param><param>-90</param><param>$blue_sp</param></createRef>
		<wait>1</wait>
	</repeat>

	<changeDirection>
		<direction type="absolute">-60+120*($_player_cx%2)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.8</speed><term>30</term>
	</changeSpeed>
	<wait>70</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>30</term>
	</changeSpeed>
	<wait>160-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->


	<eval name="green_x">140+6</eval>
	<eval name="green_y">6</eval>
	<eval name="green_sp">0.8+(($_player_cx*7)%6)/10</eval>
	<eval name="yell_x">500-6</eval>
	<eval name="yell_y">480-6</eval>
	<eval name="yell_sp">0.6+(($_player_cy*7)%6)/10</eval>
	<wait>5</wait>
	<createRef label="middle_boss_mahoujin_create_03"><param>$green_x</param><param>$green_y</param><param>180</param><param>$green_sp</param></createRef>
	<createRef label="middle_boss_mahoujin_create_04"><param>$yell_x</param><param>$yell_y</param><param>0</param><param>$yell_sp</param></createRef>
	<wait>1</wait>
	<repeat><times>10</times>
		<evaladd name="green_x">12</evaladd>
		<eval name="green_sp">0.6+(($green_sp+$_player_cy*4)%5)/10</eval>
		<evaladd name="yell_x">-12</evaladd>
		<eval name="yell_sp">1+(($yell_sp*9)%3)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_03"><param>$green_x</param><param>$green_y</param><param>180</param><param>$green_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_04"><param>$yell_x</param><param>$yell_y</param><param>0</param><param>$yell_sp</param></createRef>
		<wait>1</wait>
		<evaladd name="green_x">12</evaladd>
		<eval name="green_sp">0.8+(($green_sp+$_player_cx*9)%5)/10</eval>
		<evaladd name="yell_x">-12</evaladd>
		<eval name="yell_sp">0.6+(($yell_sp+$_player_cx*9)%3)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_03"><param>$green_x</param><param>$green_y</param><param>180</param><param>$green_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_04"><param>$yell_x</param><param>$yell_y</param><param>0</param><param>$yell_sp</param></createRef>
		<wait>1</wait>
		<evaladd name="green_x">12</evaladd>
		<eval name="green_sp">1.1+(($green_sp*9)%5)/10</eval>
		<evaladd name="yell_x">-12</evaladd>
		<eval name="yell_sp">0.3+(($yell_sp+$_player_cy*4)%3)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_03"><param>$green_x</param><param>$green_y</param><param>180</param><param>$green_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_04"><param>$yell_x</param><param>$yell_y</param><param>0</param><param>$yell_sp</param></createRef>
		<wait>1</wait>
	</repeat>

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


	<eval name="red_x">140+6</eval>
	<eval name="red_y">480-6</eval>
	<eval name="red_sp">0.6+(($_player_cx*7)%6)/10</eval>

	<eval name="blue_x">500-6</eval>
	<eval name="blue_y">6</eval>
	<eval name="blue_sp">0.6+(($_player_cy*7)%6)/10</eval>

	<wait>5</wait>
	<createRef label="middle_boss_mahoujin_create_01"><param>$red_x</param><param>$red_y</param><param>90</param><param>$red_sp</param></createRef>
	<createRef label="middle_boss_mahoujin_create_02"><param>$blue_x</param><param>$blue_y</param><param>-90</param><param>$blue_sp</param></createRef>
	<wait>1</wait>

	<repeat><times>13</times>
		<evaladd name="red_y">-12</evaladd>
		<eval name="red_sp">0.3+(($red_sp+$_player_cy*4)%5)/10</eval>
		<evaladd name="blue_y">12</evaladd>
		<eval name="blue_sp">0.9+(($blue_sp+$_player_cy*4)%5)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_01"><param>$red_x</param><param>$red_y</param><param>90</param><param>$red_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_02"><param>$blue_x</param><param>$blue_y</param><param>-90</param><param>$blue_sp</param></createRef>
		<wait>1</wait>
		<evaladd name="red_y">-12</evaladd>
		<eval name="red_sp">0.6+(($red_sp+$_player_cx*9)%5)/10</eval>
		<evaladd name="blue_y">12</evaladd>
		<eval name="blue_sp">0.6+(($blue_sp+$_player_cx*9)%5)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_01"><param>$red_x</param><param>$red_y</param><param>90</param><param>$red_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_02"><param>$blue_x</param><param>$blue_y</param><param>-90</param><param>$blue_sp</param></createRef>
		<wait>1</wait>
		<evaladd name="red_y">-12</evaladd>
		<eval name="red_sp">0.9+(($red_sp*9)%5)/10</eval>
		<evaladd name="blue_y">12</evaladd>
		<eval name="blue_sp">0.3+(($blue_sp*9)%5)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_01"><param>$red_x</param><param>$red_y</param><param>90</param><param>$red_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_02"><param>$blue_x</param><param>$blue_y</param><param>-90</param><param>$blue_sp</param></createRef>
		<wait>1</wait>
	</repeat>

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


	<eval name="green_x">140+6</eval>
	<eval name="green_y">6</eval>
	<eval name="green_sp">0.8+(($_player_cx*7)%6)/10</eval>
	<eval name="yell_x">500-6</eval>
	<eval name="yell_y">480-6</eval>
	<eval name="yell_sp">0.6+(($_player_cy*7)%6)/10</eval>
	<wait>5</wait>
	<createRef label="middle_boss_mahoujin_create_03"><param>$green_x</param><param>$green_y</param><param>180</param><param>$green_sp</param></createRef>
	<createRef label="middle_boss_mahoujin_create_04"><param>$yell_x</param><param>$yell_y</param><param>0</param><param>$yell_sp</param></createRef>
	<wait>1</wait>
	<repeat><times>10</times>
		<evaladd name="green_x">12</evaladd>
		<eval name="green_sp">0.6+(($green_sp+$_player_cy*4)%5)/10</eval>
		<evaladd name="yell_x">-12</evaladd>
		<eval name="yell_sp">1+(($yell_sp*9)%3)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_03"><param>$green_x</param><param>$green_y</param><param>180</param><param>$green_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_04"><param>$yell_x</param><param>$yell_y</param><param>0</param><param>$yell_sp</param></createRef>
		<wait>1</wait>
		<evaladd name="green_x">12</evaladd>
		<eval name="green_sp">0.8+(($green_sp+$_player_cx*9)%5)/10</eval>
		<evaladd name="yell_x">-12</evaladd>
		<eval name="yell_sp">0.6+(($yell_sp+$_player_cx*9)%3)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_03"><param>$green_x</param><param>$green_y</param><param>180</param><param>$green_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_04"><param>$yell_x</param><param>$yell_y</param><param>0</param><param>$yell_sp</param></createRef>
		<wait>1</wait>
		<evaladd name="green_x">12</evaladd>
		<eval name="green_sp">1.1+(($green_sp*9)%5)/10</eval>
		<evaladd name="yell_x">-12</evaladd>
		<eval name="yell_sp">0.3+(($yell_sp+$_player_cy*4)%3)/10</eval>
		<wait>1</wait>
		<createRef label="middle_boss_mahoujin_create_03"><param>$green_x</param><param>$green_y</param><param>180</param><param>$green_sp</param></createRef>
		<createRef label="middle_boss_mahoujin_create_04"><param>$yell_x</param><param>$yell_y</param><param>0</param><param>$yell_sp</param></createRef>
		<wait>1</wait>
	</repeat>

	<wait>270-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>

</action>


<!-- 赤 -->
<create label="middle_boss_mahoujin_create_01">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="middle_boss_red_mahoujin"><param>$3</param><param>$4</param></objectRef>
</create>

<object label="middle_boss_red_mahoujin">
	<img type="normal">
		<file type="dds">s_mahoujin</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>16</width><height>16</height>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
		</changeColor>

		<wait>120</wait>

		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_3_01"><param>$2</param><param>$1</param><param>7</param></fireRef>
		<changeColor>
			<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>40</term>
		</changeColor>
		<wait>40</wait>
		<vanish/>
	</action>
</object>



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

<bullet label="middle_boss_bullet_3_01">

	<collision type="rect"><left>-6</left><top>-6</top><right>6</right><bottom>6</bottom></collision>

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*$3</left><top>32</top><right>32+32*$3</right><bottom>64</bottom>
		<width>18</width><height>14</height>
		<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<action>
		<wait>60</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>1</term>
		</changeSpeed>
		<changeDirection>
			<direction type="absolute">$2</direction><term>1</term>
		</changeDirection>
		

	</action>

</bullet>


<!-- 青 -->
<create label="middle_boss_mahoujin_create_02">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="middle_boss_blue_mahoujin"><param>$3</param><param>$4</param></objectRef>
</create>

<object label="middle_boss_blue_mahoujin">
	<img type="normal">
		<file type="dds">s_mahoujin5</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>16</width><height>16</height>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
		</changeColor>

		<wait>120</wait>

		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_3_02"><param>$2</param><param>$1</param><param>4</param></fireRef>
		<changeColor>
			<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>40</term>
		</changeColor>
		<wait>40</wait>
		<vanish/>
	</action>
</object>



<fire label="middle_boss_fire_3_02">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<bulletRef label="middle_boss_bullet_3_02"><param>$1</param><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_3_02">

	<collision type="rect"><left>-6</left><top>-6</top><right>6</right><bottom>6</bottom></collision>

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*$3</left><top>32</top><right>32+32*$3</right><bottom>64</bottom>
		<width>18</width><height>14</height>
		<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<action>
		<wait>60</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>1</term>
		</changeSpeed>
		<changeDirection>
			<direction type="absolute">$2</direction><term>1</term>
		</changeDirection>
		

	</action>

</bullet>


<!-- 緑 -->
<create label="middle_boss_mahoujin_create_03">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="middle_boss_green_mahoujin"><param>$3</param><param>$4</param></objectRef>
</create>

<object label="middle_boss_green_mahoujin">
	<img type="normal">
		<file type="dds">s_mahoujin3</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>16</width><height>16</height>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
		</changeColor>

		<wait>120</wait>

		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_3_03"><param>$2</param><param>$1</param><param>1</param></fireRef>
		<changeColor>
			<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>40</term>
		</changeColor>
		<wait>40</wait>
		<vanish/>
	</action>
</object>



<fire label="middle_boss_fire_3_03">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<bulletRef label="middle_boss_bullet_3_03"><param>$1</param><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_3_03">

	<collision type="rect"><left>-6</left><top>-6</top><right>6</right><bottom>6</bottom></collision>

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*$3</left><top>32</top><right>32+32*$3</right><bottom>64</bottom>
		<width>18</width><height>14</height>
		<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<action>
		<wait>60</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>1</term>
		</changeSpeed>
		<changeDirection>
			<direction type="absolute">$2</direction><term>1</term>
		</changeDirection>
		

	</action>

</bullet>

<!-- 黄色 -->
<create label="middle_boss_mahoujin_create_04">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="middle_boss_yell_mahoujin"><param>$3</param><param>$4</param></objectRef>
</create>

<object label="middle_boss_yell_mahoujin">
	<img type="normal">
		<file type="dds">s_mahoujin6</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>16</width><height>16</height>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
		</changeColor>

		<wait>120</wait>

		<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_3_04"><param>$2</param><param>$1</param><param>6</param></fireRef>
		<changeColor>
			<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>40</term>
		</changeColor>
		<wait>40</wait>
		<vanish/>
	</action>
</object>



<fire label="middle_boss_fire_3_04">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<bulletRef label="middle_boss_bullet_3_04"><param>$1</param><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_3_04">

	<collision type="rect"><left>-6</left><top>-6</top><right>6</right><bottom>6</bottom></collision>

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*$3</left><top>32</top><right>32+32*$3</right><bottom>64</bottom>
		<width>18</width><height>14</height>
		<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<action>
		<wait>60</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>1</term>
		</changeSpeed>
		<changeDirection>
			<direction type="absolute">$2</direction><term>1</term>
		</changeDirection>
		

	</action>

</bullet>



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

<revenge label="stage6B_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>28/2</param><param>$counter_e</param><param>1420</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="stage6B_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>
	<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>32/2</param><param>$counter_e</param><param>1200</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_boss3"></createRef>

	<!-- *** 終了 *** -->
	<vanish></vanish>	
	
</revenge>

<revenge label="stage6B_middle_boss_03_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>

	<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>

	<!-- *** ライフ表示を消す *** -->
	<targetRevenge label="boss_life"></targetRevenge>
	<!-- *** ボス名称表示を消す *** -->
	<targetRevenge label="boss_name_stage6middle"></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>

	<createRef label="mbreak_dummy"></createRef>
	<repeat><times>$_revenge_state-eq1</times>
		<repeat><times>$etb_num</times>
			<actionRef label="etb_letter"><param>1</param><param>4</param></actionRef>
			<createRef label="item_create_01_etb"><param>-14000</param><param>450000</param></createRef>
			<sysvar name="tbchain">$_tbchain+1</sysvar>
		</repeat>
		<eval name="counter_e">$__counter_tmp</eval>
		<actionRef label="item_counter_01_boss"><param>36/2</param><param>$counter_e</param><param>1400</param><param>24</param><param>$localcounter</param></actionRef>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<actionRef label="item_counter_01_red"><param>60</param></actionRef>
		<sysvar name="tbchain">0</sysvar>
	</repeat>

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

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

	
</revenge>


<!-- ********************************************************************* -->
<!-- *** ボス戦はここから始まる					*** -->
<action label="stage6B_boss_top_action">

	<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">19_stage6boss_second</file>
		</track>
		<play>
			<flag>1</flag><loop>44100*2*2*7</loop>
		</play>
	</sound>
	<actionRef label="stage6_5_bgm_title_action"></actionRef>


	<!-- *** 第 N 形態 *** -->
	<global name="boss_state">1</global>
	
	<!-- *** ボスの初期ライフ *** -->
	<global name="boss_life">5</global>
	
	<!-- 出現用ボスを消去 -->
	<targetRevenge label="stage6B_boss_enemy_appear"></targetRevenge>

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

	<!-- *** Enemy Tension判定用変数 *** -->
	<global name="ttc_start">0</global>
	<global name="miss_start">0</global>

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


<!-- ********************************************************************* -->
<!-- *** 第 1 形態のボスオブジェクト作成			       *** -->
<!-- ***							       *** -->
<!-- *** 初期位置が固定であることに注意				*** -->
<create label="stage6B_boss_01_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$__boss_cx</cx><cy>$__boss_cy</cy>
	<vital>$__vital_1</vital>
	<inv>40</inv>
	<score>320000</score>
	<prate>$__boss_prate</prate>
	<enemyRef label="stage6B_boss_enemy"></enemyRef>
</create>


<!-- *** 第 2 形態のボスオブジェクト作成			       *** -->
<!-- ***							       *** -->
<!-- *** 初期位置は前の形態のボスと同じ位置になる		      *** -->
<create label="stage6B_boss_02_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$__vital_2</vital>
	<inv>40</inv>
	<score>350000</score>
	<prate>$__boss_prate2</prate>
	<enemyRef label="stage6B_boss_enemy"></enemyRef>
</create>

<!-- *** 第 3 形態のボスオブジェクト作成			       *** -->
<!-- ***							       *** -->
<!-- *** 初期位置は前の形態のボスと同じ位置になる		      *** -->
<create label="stage6B_boss_03_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$__vital_3</vital>
	<inv>40</inv>
	<score>380000</score>
	<prate>$__boss_prate2</prate>
	<enemyRef label="stage6B_boss_enemy"></enemyRef>
</create>

<!-- *** 第 4 形態のボスオブジェクト作成			       *** -->
<!-- ***							       *** -->
<!-- *** 初期位置は前の形態のボスと同じ位置になる		      *** -->
<create label="stage6B_boss_04_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$__vital_4</vital>
	<inv>40</inv>
	<score>450000</score>
	<prate>$__boss_prate3</prate>
	<enemyRef label="stage6B_boss_enemy"></enemyRef>
</create>

<!-- *** 第 5 形態のボスオブジェクト作成			       *** -->
<!-- ***							       *** -->
<!-- *** 初期位置は前の形態のボスと同じ位置になる		      *** -->
<create label="stage6B_boss_05_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$__vital_5</vital>
	<inv>40</inv>
	<score>500000</score>
	<prate>$__boss_prate4</prate>
	<flag>16</flag>
	<enemyRef label="stage6B_boss_enemy"></enemyRef>
</create>

<!-- *** 第 6 形態のボスオブジェクト作成			       *** -->
<!-- ***							       *** -->
<!-- *** 初期位置は前の形態のボスと同じ位置になる		      *** -->
<create label="stage6B_boss_06_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$__vital_6</vital>
	<inv>40</inv>
	<!-- ここのscoreは加算されないので注意 -->
	<score>550000</score>
	<prate>$__boss_prate4</prate>
	<enemyRef label="stage6B_boss_enemy"></enemyRef>
</create>

<!-- ********************************************************************* -->
<!-- *** ボスオブジェクト					      *** -->
<enemy label="stage6B_boss_enemy">
	<presentRef label="stage6B_boss_present"></presentRef>

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

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

	<repeat><times>$__boss_state-lt5</times>
		<createRef label="boss_vital_create"></createRef>
	</repeat>
	<repeat><times>$__boss_state-eq5</times>
		<createRef label="boss_vital_create3"></createRef>
	</repeat>
	<repeat><times>$__boss_state-eq6</times>
		<createRef label="boss_vital_create2"></createRef>
	</repeat>

	<!-- *** 画面下のボス表示を作成 *** -->
	<repeat><times>1-($__boss_state-eq5)</times>
		<createRef label="boss_underbar_create"></createRef>
	</repeat>
	<repeat><times>$__boss_state-eq5</times>
		<createRef label="boss_underbar_create2"></createRef>
	</repeat>


	<!-- *** 第 N 形態ごとのアクション *** -->
	<repeat><times>$__boss_state-eq1</times>
		<revengeRef label="stage6B_boss_01_revenge"></revengeRef>
		<global name="timer">16</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6B_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="stage6B_boss_02_revenge"></revengeRef>
		<global name="timer">14</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6B_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="stage6B_boss_03_revenge"></revengeRef>
		<global name="timer">15</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6B_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="stage6B_boss_04_revenge"></revengeRef>
		<global name="timer">12</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6B_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="stage6B_boss_05_revenge"></revengeRef>
		<global name="timer">16</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6B_boss_05_action"></actionRef>

	</repeat>
	<repeat><times>$__boss_state-eq6</times>
		<global name="prate_average">$__prate_average+$_prate</global>
		<global name="prate_average_num">$__prate_average_num+1</global>
		<revengeRef label="stage6B_boss_06_revenge"></revengeRef>
		<actionRef  label="stage6B_boss_06_action"></actionRef>

	</repeat>
</enemy>


<!-- ********************************************************************* -->
<!-- *** ボスのアクション					      *** -->
<!-- *** 第１形態						      *** -->
<action  label="stage6B_boss_01_action">
	<wait>60</wait>
<global name="counter_tmp">$_counter</global>
<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>

<!-- 弾幕開始 -->
<!-- 01line:黄 02line:青 03line:赤 -->
<!-- 01-03:黄 04-06:青、07-09:赤 -->

<repeat><times>4</times>
	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>320</param>
		<param>320</param>
		<param>100</param>
		<param>80</param>
	</createRef>

	<soundRef label="enemy_laser_se"></soundRef>
	<createRef label="stage6B_boss_create_line_01"><param>220</param></createRef>
	<wait>60</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param><param>218</param></actionRef>
	<fireRef label="stage6B_boss_fire_01"><param>-90</param><param>218</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>18</param><param>218</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>18</param><param>218</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>18</param><param>218</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_06_s"><param>18+7</param><param>218</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>218</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>218</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>218</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_09_s"><param>18+7</param><param>218</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>218</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>218</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>218</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<wait>15</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_01"><param>-90</param><param>218</param><param>3</param></fireRef>
	<fireRef label="stage6B_boss_fire_06_s"><param>20</param><param>218</param><param>3</param></fireRef>
	<repeat><times>2</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>20</param><param>218</param><param>3</param></fireRef>
		<fireRef label="stage6B_boss_fire_06_s"><param>20</param><param>218</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>20</param><param>218</param><param>2</param></fireRef>
		<fireRef label="stage6B_boss_fire_06_s"><param>20</param><param>218</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>20</param><param>218</param><param>1</param></fireRef>
		<fireRef label="stage6B_boss_fire_06_s"><param>20</param><param>218</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<fireRef label="stage6B_boss_fire_01_s"><param>20+9</param><param>218</param><param>3</param></fireRef>
	<fireRef label="stage6B_boss_fire_09_s"><param>20</param><param>218</param><param>3</param></fireRef>
	<repeat><times>2</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>20</param><param>218</param><param>3</param></fireRef>
		<fireRef label="stage6B_boss_fire_09_s"><param>20</param><param>218</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>20</param><param>218</param><param>2</param></fireRef>
		<fireRef label="stage6B_boss_fire_09_s"><param>20</param><param>218</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>20</param><param>218</param><param>1</param></fireRef>
		<fireRef label="stage6B_boss_fire_09_s"><param>20</param><param>218</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_06_s"><param>18+7</param><param>218</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>218</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>218</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>218</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_09_s"><param>18+7</param><param>218</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>218</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>218</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>218</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>

	<wait>30</wait>
	<changeDirection>
		<direction type="absolute">-76</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed>1</speed><term>30</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed>0</speed><term>30</term>
	</changeSpeed>
	<wait>60-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<!-- 黄色終了 青 -->
	<targetRevenge label="stage6B_boss_line_01"></targetRevenge>
	<soundRef label="enemy_laser_se"></soundRef>
	<createRef label="stage6B_boss_create_line_02"><param>400</param></createRef>
	<wait>60</wait>


	<actionRef label="enemy_bullet_action8"><param>64</param><param>398</param></actionRef>
	<fireRef label="stage6B_boss_fire_03"><param>-90</param><param>398</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>398</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>398</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>398</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_04_s"><param>18+7</param><param>398</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>18</param><param>398</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>18</param><param>398</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>18</param><param>398</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_09_s"><param>18+7</param><param>398</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>398</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>398</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>398</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<wait>15</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_03"><param>-90</param><param>398</param><param>3</param></fireRef>
	<fireRef label="stage6B_boss_fire_04_s"><param>20</param><param>398</param><param>3</param></fireRef>
	<repeat><times>2</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>20</param><param>398</param><param>3</param></fireRef>
		<fireRef label="stage6B_boss_fire_04_s"><param>20</param><param>398</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>20</param><param>398</param><param>2</param></fireRef>
		<fireRef label="stage6B_boss_fire_04_s"><param>20</param><param>398</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>20</param><param>398</param><param>1</param></fireRef>
		<fireRef label="stage6B_boss_fire_04_s"><param>20</param><param>398</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<fireRef label="stage6B_boss_fire_04_s"><param>20+12</param><param>398</param><param>3</param></fireRef>
	<fireRef label="stage6B_boss_fire_09_s"><param>20</param><param>398</param><param>3</param></fireRef>
	<repeat><times>2</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>20</param><param>398</param><param>3</param></fireRef>
		<fireRef label="stage6B_boss_fire_09_s"><param>20</param><param>398</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>20</param><param>398</param><param>2</param></fireRef>
		<fireRef label="stage6B_boss_fire_09_s"><param>20</param><param>398</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>20</param><param>398</param><param>1</param></fireRef>
		<fireRef label="stage6B_boss_fire_09_s"><param>20</param><param>398</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_04_s"><param>18+7</param><param>398</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>398</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>398</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>398</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_09_s"><param>18+7</param><param>398</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>398</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>398</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_09_s"><param>18</param><param>398</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>


	<wait>30</wait>
	<changeDirection>
		<direction type="absolute">90</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed>2.2</speed><term>30</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed>0</speed><term>30</term>
	</changeSpeed>
	<wait>60-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->
	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>400</param>
		<param>400</param>
		<param>100</param>
		<param>80</param>
	</createRef>

	<!-- 青終了 赤 -->
	<targetRevenge label="stage6B_boss_line_02"></targetRevenge>
	<soundRef label="enemy_laser_se"></soundRef>
	<createRef label="stage6B_boss_create_line_03"><param>230</param></createRef>
	<wait>60</wait>


	<actionRef label="enemy_bullet_action8"><param>64</param><param>232</param></actionRef>
	<fireRef label="stage6B_boss_fire_03"><param>-90</param><param>232</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>232</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>232</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>232</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_06_s"><param>18+7</param><param>232</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>232</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>232</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>232</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_07_s"><param>18+7</param><param>232</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>18</param><param>232</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>18</param><param>232</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>18</param><param>232</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<wait>15</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_03"><param>-90</param><param>232</param><param>3</param></fireRef>
	<fireRef label="stage6B_boss_fire_07_s"><param>20</param><param>232</param><param>3</param></fireRef>
	<repeat><times>2</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>20</param><param>232</param><param>3</param></fireRef>
		<fireRef label="stage6B_boss_fire_07_s"><param>20</param><param>232</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>20</param><param>232</param><param>2</param></fireRef>
		<fireRef label="stage6B_boss_fire_07_s"><param>20</param><param>232</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>20</param><param>232</param><param>1</param></fireRef>
		<fireRef label="stage6B_boss_fire_07_s"><param>20</param><param>232</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<fireRef label="stage6B_boss_fire_06_s"><param>20+9</param><param>232</param><param>3</param></fireRef>
	<fireRef label="stage6B_boss_fire_07_s"><param>20</param><param>232</param><param>3</param></fireRef>
	<repeat><times>2</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>20</param><param>232</param><param>3</param></fireRef>
		<fireRef label="stage6B_boss_fire_07_s"><param>20</param><param>232</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>20</param><param>232</param><param>2</param></fireRef>
		<fireRef label="stage6B_boss_fire_07_s"><param>20</param><param>232</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>20</param><param>232</param><param>1</param></fireRef>
		<fireRef label="stage6B_boss_fire_07_s"><param>20</param><param>232</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_03_s"><param>18+7</param><param>232</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>232</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>232</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_03_s"><param>18</param><param>232</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_06_s"><param>18+7</param><param>232</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>232</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>232</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6B_boss_fire_06_s"><param>18</param><param>232</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>

	<wait>30</wait>
	<changeDirection>
		<direction type="absolute">-104</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed>1</speed><term>30</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed>0</speed><term>30</term>
	</changeSpeed>
	<wait>60-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->


	<!-- ３色 -->
	<targetRevenge label="stage6B_boss_line_03"></targetRevenge>
	<soundRef label="enemy_laser_se"></soundRef>
	<createRef label="stage6B_boss_create_line_01"><param>220</param></createRef>
	<createRef label="stage6B_boss_create_line_02"><param>420</param></createRef>
	<createRef label="stage6B_boss_create_line_03"><param>210</param></createRef>
	<wait>60</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_01"><param>-90</param><param>218</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>36</param><param>218</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>36</param><param>218</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>36</param><param>218</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_04_s"><param>30+11</param><param>418</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>36</param><param>418</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>36</param><param>418</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>36</param><param>418</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_07_s"><param>36+14</param><param>212</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>36</param><param>212</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>36</param><param>212</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>36</param><param>212</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>30+15</wait>

<!--
	<wait>45</wait>
-->

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_01"><param>-90</param><param>218</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>36</param><param>218</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>36</param><param>218</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>36</param><param>218</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_04_s"><param>36+14</param><param>418</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>36</param><param>418</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>36</param><param>418</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>36</param><param>418</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_07_s"><param>36+14</param><param>218</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>36</param><param>212</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>36</param><param>212</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>36</param><param>212</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>30+15</wait>


	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_01"><param>-90</param><param>218</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>36</param><param>218</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>36</param><param>218</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_01_s"><param>36</param><param>218</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_04_s"><param>36+14</param><param>418</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>36</param><param>418</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>36</param><param>418</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_04_s"><param>36</param><param>418</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_07_s"><param>36+14</param><param>218</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>36</param><param>212</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>36</param><param>212</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6B_boss_fire_07_s"><param>36</param><param>212</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

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

	<!-- ３色終了 -->
	<targetRevenge label="stage6B_boss_line_01"></targetRevenge>
	<targetRevenge label="stage6B_boss_line_02"></targetRevenge>
	<targetRevenge label="stage6B_boss_line_03"></targetRevenge>

</repeat>

<wait>120</wait>
<targetRevenge label="stage6B_boss_enemy"></targetRevenge>

</action>


<create label="stage6B_boss_create_line_01">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>320</cx><cy>$1</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_01"></objectRef>
</create>

<object label="stage6B_boss_line_01">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>400</height>
		<alpha>32</alpha><red>255</red><green>255</green><blue>2</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>
	<imgDirection type="sync">90</imgDirection>

	<action>
		<changeColor>
			<alpha>180</alpha><red>255</red><green>255</green><blue>2</blue><term>14</term>
		</changeColor>
	</action>
</object>


<create label="stage6B_boss_create_line_02">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>240</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_02"></objectRef>
</create>

<object label="stage6B_boss_line_02">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>480</height>
		<alpha>32</alpha><red>2</red><green>65</green><blue>255</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>

	<action>
		<changeColor>
			<alpha>220</alpha><red>32</red><green>125</green><blue>255</blue><term>14</term>
		</changeColor>
	</action>
</object>


<create label="stage6B_boss_create_line_03">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>240</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_03"></objectRef>
</create>

<object label="stage6B_boss_line_03">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>480</height>
		<alpha>32</alpha><red>255</red><green>65</green><blue>2</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>

	<action>
		<changeColor>
			<alpha>220</alpha><red>255</red><green>2</green><blue>120</blue><term>14</term>
		</changeColor>
	</action>
</object>

<revenge label="stage6B_boss_line_revenge">

	<changeColor>
		<alpha>10</alpha><red>255</red><green>255</green><blue>2</blue><term>60</term>		
	</changeColor>
	<wait>60</wait>
	<vanish/>

</revenge>


<!-- 黄色系（はじける） -->
<fire label="stage6B_boss_fire_01">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_01"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_01_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_01"><param>$2</param><param>$3</param></bulletRef>
</fire>


<bullet label="stage6B_boss_bullet_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</radius></collision>
<!--	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>26</width><height>26</height>
		<alpha>255</alpha><red>255</red><green>64</green><blue>3</blue>
	</img>
-->
	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*6</left><top>0</top><right>32*7</right><bottom>32</bottom>
		<width>20</width><height>20</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed>1.7</speed><term>1</term>
		</changeSpeed>
		<wait>1</wait>
		<repeat><times>-1</times>
			<repeat><times>$_self_cy-gt$1</times>
				<changeSpeed>
					<speed>0</speed><term>1</term>
				</changeSpeed>
				<wait>1</wait>
				<actionRef label="enemy_bullet_action8"><param>22</param></actionRef>
				<fireRef label="stage6B_boss_fire_02_ab"><param>90+$_self_cx%12</param><param>2</param></fireRef>
				<repeat><times>2</times>
					<fireRef label="stage6B_boss_fire_02_s"><param>24</param><param>2</param></fireRef>
				</repeat>
				<wait>1</wait>
				<repeat><times>4</times>
					<fireRef label="stage6B_boss_fire_02_s"><param>24</param><param>1</param></fireRef>
				</repeat>
				<vanish/>
			</repeat>
			<wait>2</wait>
		</repeat>
	</action>

</bullet>

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

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


<bullet label="stage6B_boss_bullet_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>255</green><blue>3</blue>
	</img>
	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed>1.1</speed><term>60</term>
		</changeSpeed>

	</action>
</bullet>

<!-- 黄色系（はじけない） -->
<fire label="stage6B_boss_fire_03">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_03"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_03_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_03"><param>$2</param><param>$3</param></bulletRef>
</fire>


<bullet label="stage6B_boss_bullet_03">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</radius></collision>
	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*6</left><top>0</top><right>32*7</right><bottom>32</bottom>
		<width>20</width><height>20</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed>1.7</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>


<!-- 青系（はじける） -->
<fire label="stage6B_boss_fire_04">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_04"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_04_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_04"><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="stage6B_boss_bullet_04">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</radius></collision>
<!--
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>26</width><height>26</height>
		<alpha>255</alpha><red>3</red><green>64</green><blue>255</blue>
	</img>
-->
	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*5</left><top>0</top><right>32*6</right><bottom>32</bottom>
		<width>20</width><height>20</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed>1.7</speed><term>1</term>
		</changeSpeed>

		<wait>1</wait>
		<repeat><times>-1</times>
			<repeat><times>($_self_cx-gt$1)*($_self_cy-lt470)</times>
				<changeSpeed>
					<speed>0</speed><term>1</term>
				</changeSpeed>
				<wait>1</wait>
				<actionRef label="enemy_bullet_action8"><param>22</param></actionRef>
				<fireRef label="stage6B_boss_fire_05_ab"><param>89+$_self_cy%12</param><param>2</param></fireRef>
				<repeat><times>2</times>
					<fireRef label="stage6B_boss_fire_05_s"><param>24</param><param>2</param></fireRef>
				</repeat>
				<wait>1</wait>
				<repeat><times>4</times>
					<fireRef label="stage6B_boss_fire_05_s"><param>24</param><param>1</param></fireRef>
				</repeat>
				<vanish/>
			</repeat>
			<wait>2</wait>
		</repeat>
	</action>

</bullet>

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

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


<bullet label="stage6B_boss_bullet_05">

	<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>3</red><green>35</green><blue>255</blue>
	</img>
	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed>1.1</speed><term>60</term>
		</changeSpeed>

	</action>
</bullet>

<!-- 青系（はじけない） -->
<fire label="stage6B_boss_fire_06">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_06"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_06_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_06"><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="stage6B_boss_bullet_06">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</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>20</width><height>20</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed>1.7</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>


<!-- 赤系（はじける） -->
<fire label="stage6B_boss_fire_07">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_07"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_07_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_07"><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="stage6B_boss_bullet_07">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</radius></collision>
<!--
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>26</width><height>26</height>
		<alpha>255</alpha><red>255</red><green>3</green><blue>12</blue>
	</img>
-->
	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*7</left><top>0</top><right>32*8</right><bottom>32</bottom>
		<width>20</width><height>20</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed>1.7</speed><term>1</term>
		</changeSpeed>

		<wait>1</wait>
		<repeat><times>-1</times>
			<repeat><times>($_self_cx-lt$1)*($_self_cy-lt470)</times>
				<changeSpeed>
					<speed>0</speed><term>1</term>
				</changeSpeed>
				<wait>1</wait>
				<actionRef label="enemy_bullet_action8"><param>22</param></actionRef>
				<fireRef label="stage6B_boss_fire_08_ab"><param>89+$_self_cy%13</param><param>2</param></fireRef>
				<repeat><times>2</times>
					<fireRef label="stage6B_boss_fire_08_s"><param>24</param><param>2</param></fireRef>
				</repeat>
				<wait>1</wait>
				<repeat><times>4</times>
					<fireRef label="stage6B_boss_fire_08_s"><param>24</param><param>1</param></fireRef>
				</repeat>
				<vanish/>
			</repeat>
			<wait>2</wait>
		</repeat>
	</action>

</bullet>

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

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


<bullet label="stage6B_boss_bullet_08">

	<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>2</green><blue>34</blue>
	</img>
	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed>1.1</speed><term>60</term>
		</changeSpeed>

	</action>
</bullet>

<!-- 赤系（はじけない） -->
<fire label="stage6B_boss_fire_09">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_09"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_09_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_09"><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="stage6B_boss_bullet_09">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</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>20</width><height>20</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed>1.7</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>


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

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

	<changePosition type="center">
		<x>320</x><y>145</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="stage6_sara_prate_area">
	<param>420</param>
	<param>380</param>
	<param>60</param>
	<param>40</param>
</createRef>
<createRef label="stage6_sara_prate_area2">
	<param>400</param>
	<param>200</param>
	<param>80</param>
	<param>30</param>
</createRef>
<createRef label="stage6_sara_prate_area3">
	<param>240</param>
	<param>200</param>
	<param>80</param>
	<param>30</param>
</createRef>
<wait>1</wait>

<eval name="mahoujin_y">480-24</eval>
<createRef label="stage6B_boss_mahoujin_create_01"><param>140+16</param><param>$mahoujin_y</param><param>1</param></createRef>
<createRef label="stage6B_boss_mahoujin_create_01"><param>500-16</param><param>$mahoujin_y-24</param><param>-1</param></createRef>
<wait>3</wait>
<repeat><times>5</times>
	<evaladd name="mahoujin_y">-76</evaladd>
	<createRef label="stage6B_boss_mahoujin_create_01"><param>140+16</param><param>$mahoujin_y</param><param>1</param></createRef>
	<createRef label="stage6B_boss_mahoujin_create_01"><param>500-16</param><param>$mahoujin_y-24</param><param>-1</param></createRef>
	<wait>3</wait>
</repeat>

<eval name="pos_area">1</eval>

<repeat><times>7</times>
	<wait>120</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_2_02"></fireRef>
	<wait>100-10</wait>
	<createRef label="stage6B_boss_create_line_2_01"></createRef>
	<wait>30</wait>

	<changeSpeed>
		<speed type="aboslute">1.2</speed><term>20</term>
	</changeSpeed>
	<changeDirection>
		<direction type="absolute">-70+($_player_cx%2)*140</direction><term>1</term>
	</changeDirection>
	<wait>30</wait>
	<changeSpeed>
		<speed type="aboslute">0</speed><term>20</term>
	</changeSpeed>
	<wait>30-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->
	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>420-200*$pos_area</param>
		<param>380</param>
		<param>60</param>
		<param>40</param>
	</createRef>
	<eval name="pos_area">1-$pos_area</eval>

	<wait>120</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_2_02"></fireRef>
	<wait>100-10</wait>
	<createRef label="stage6B_boss_create_line_2_01"></createRef>
	<wait>30</wait>

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

<wait>120</wait>
<targetRevenge label="stage6B_boss_enemy"></targetRevenge>

</action>

<create label="stage6B_boss_mahoujin_create_01">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_mahoujin_object_01"><param>$3</param></objectRef>

</create>

<object label="stage6B_boss_mahoujin_object_01">
	<img type="normal">
		<file type="dds">s_mahoujin5</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>48</width><height>48</height>
		<alpha>32</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg>
		<direction>5</direction><term>-1</term>
	</rotateImg>

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>60+$_self_cy%120</wait>
		<repeat><times>-1</times>
			<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
			<fireRef label="stage6B_boss_fire_2_01"><param>$1</param></fireRef>
			<repeat><times>3</times>
				<wait>140</wait>
				<repeat><times>$_self_cy-lt180</times>
					<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
					<fireRef label="stage6B_boss_fire_laser_2_01"><param>-60</param><param>1</param></fireRef>
					<fireRef label="stage6B_boss_fire_laser_2_01_s"><param>30</param><param>1</param></fireRef>
					<fireRef label="stage6B_boss_fire_laser_2_01_s"><param>30</param><param>1</param></fireRef>
					<fireRef label="stage6B_boss_fire_laser_2_01_s"><param>30</param><param>1</param></fireRef>
					<fireRef label="stage6B_boss_fire_laser_2_01_s"><param>30</param><param>1</param></fireRef>
				</repeat>
			</repeat>
		</repeat>
	</action>
</object>

<create label="stage6B_boss_create_line_2_01">
	<speed>0</speed>
	<direction type="sequence">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_2_01"></objectRef>
</create>

<object label="stage6B_boss_line_2_01">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>600</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>2</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>
	<imgDirection type="syncedge">0</imgDirection>

	<action>
		<wait>5</wait>
		<actionRef label="boss_sword2"></actionRef>
		<changeSpeed>
			<speed type="absolute">0</speed><term>1</term>
		</changeSpeed>
		<wait>1</wait>
		<changeColor>
			<alpha>180</alpha><red>255</red><green>255</green><blue>2</blue><term>6</term>
		</changeColor>
		<wait>40</wait>
		<changeColor>
			<alpha>0</alpha><red>255</red><green>255</green><blue>2</blue><term>80</term>
		</changeColor>
		<wait>80</wait>
		<vanish/>
	</action>
</object>

<fire label="stage6B_boss_fire_2_01">
	<speed>0.8</speed>
	<direction type="absolute">90*$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_2_01"><param>$1</param></bulletRef>
</fire>

<bullet label="stage6B_boss_bullet_2_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>10</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>22</width><height>22</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg><direction>3*$1</direction><term>-1</term></rotateImg>
	<action>
	</action>
</bullet>


<fire label="stage6B_boss_fire_2_02">
	<speed>1.1</speed>
	<direction type="aim">0</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_2_02"></bulletRef>
</fire>

<bullet label="stage6B_boss_bullet_2_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>21</radius></collision>
	<img type="maskadd">
		<file type="dds">bullet64_1</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>48</width><height>48</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>2</blue>
	</img>
	<action>
		<wait>100</wait>
		<changeSpeed>
			<speed type="aboslute">0</speed><term>1</term>
		</changeSpeed>
		<changeImgSize>
			<width>24</width><height>24</height><term>10</term>
		</changeImgSize>
		<wait>1</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="stage6B_boss_fire_2_03"><param>3</param><param>2</param></fireRef>
		<repeat><times>7</times>
			<fireRef label="stage6B_boss_fire_2_03_s"><param>24</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>7</times>
			<fireRef label="stage6B_boss_fire_2_03_s"><param>24</param><param>1</param></fireRef>
		</repeat>
		<wait>10</wait>
		<fireRef label="stage6B_boss_fire_2_03_s"><param>24+12</param><param>2</param></fireRef>
		<repeat><times>7</times>
			<fireRef label="stage6B_boss_fire_2_03_s"><param>24</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>7</times>
			<fireRef label="stage6B_boss_fire_2_03_s"><param>24</param><param>1</param></fireRef>
		</repeat>
		<vanish/>
	</action>
</bullet>

<fire label="stage6B_boss_fire_2_03">
	<speed>0</speed>
	<direction type="relative">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_2_03"><param>$2</param></bulletRef>
</fire>

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

<bullet label="stage6B_boss_bullet_2_03">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>4</radius></collision>
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>10</width><height>10</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>2</blue>
	</img>
	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed type="aboslute">1.2</speed><term>120</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">180</direction><term>120</term>
		</changeDirection>
	</action>
</bullet>



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

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

<bullet label="stage6B_boss_fire_laser_bullet_2_01">
	<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>
		<wait>1</wait>
		<changeSpeed>
			<speed>1.6</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>



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

<!-- センターポイントへ移動 -->
	<wait>20</wait>
	<changeSpeed>
		<speed type="absolute">1.5</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>

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

<!-- 弾幕開始 -->

<createRef label="stage6B_boss_create_line_3_01"><param>255</param></createRef>
<createRef label="stage6B_boss_create_line_3_01"><param>40</param></createRef>
<createRef label="stage6B_boss_create_line_3_01"><param>470</param></createRef>
<createRef label="stage6B_boss_create_line_3_02"><param>260</param></createRef>
<createRef label="stage6B_boss_create_line_3_03"><param>380</param></createRef>
<createRef label="stage6B_boss_create_line_3_02"><param>490</param></createRef>
<createRef label="stage6B_boss_create_line_3_03"><param>150</param></createRef>

<eval name="move_flag">0</eval>
<wait>1</wait>

<repeat><times>14</times>
	<!-- 移動位置 -->
	<eval name="move_flag">1-$move_flag</eval>
	<eval name="move_judge">(($_player_cx*3+$_player_cy*7)%3)</eval>
	<eval name="x">200+120*$move_judge</eval>
	<eval name="y">100+240*$move_flag</eval>
	<wait>1</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_3_02"><param>0</param><param>1</param><param>3</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6B_boss_fire_3_02_s"><param>40</param><param>1</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6B_boss_fire_3_02_s"><param>40</param><param>1</param><param>2</param></fireRef>
	</repeat>
	<wait>11</wait>
	<fireRef label="stage6B_boss_fire_3_02_s"><param>40+18</param><param>-1</param><param>3</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6B_boss_fire_3_02_s"><param>40</param><param>-1</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6B_boss_fire_3_02_s"><param>40</param><param>-1</param><param>2</param></fireRef>
	</repeat>
	<wait>11</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_3_02_s"><param>40+18</param><param>1</param><param>3</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_3_02_s"><param>60</param><param>1</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
<!--
	<repeat><times>4</times>
		<fireRef label="stage6B_boss_fire_3_02_s"><param>40</param><param>1</param><param>2</param></fireRef>
	</repeat>
-->
	<wait>11</wait>
	<fireRef label="stage6B_boss_fire_3_02_s"><param>60+18</param><param>-1</param><param>3</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6B_boss_fire_3_02_s"><param>60</param><param>-1</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
<!--
	<repeat><times>4</times>
		<fireRef label="stage6B_boss_fire_3_02_s"><param>40</param><param>-1</param><param>2</param></fireRef>
	</repeat>
-->
	<wait>11</wait>

	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>205+115*(($_player_cx*7+$_player_cy*3)%3)</param>
		<param>147+215*(1-$move_flag)</param>
		<param>55</param>
		<param>106</param>
	</createRef>

	<createRef label="stage6B_boss_mahoujin_create_3_01"><param>$x</param><param>$y</param></createRef>
	<wait>110</wait>
	<soundRef label="enemy_move_se"></soundRef>
	<wait>10</wait>
	<actionRef label="setPosition_action"><param>$x</param><param>$y</param></actionRef>
	<wait>30</wait>

	<createRef label="stage6B_boss_mahoujin_create_3_02r">
		<param>150+($move_judge-gt0)*230</param><param>$y-30</param><param>90+$move_judge*180</param><param>2</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_mahoujin_create_3_02r">
		<param>150+($move_judge-gt0)*230</param><param>$y+20</param><param>90+$move_judge*180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_mahoujin_create_3_02r">
		<param>150+($move_judge-gt0)*230</param><param>$y+70</param><param>90+$move_judge*180</param><param>3</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_mahoujin_create_3_02b">
		<param>260+($move_judge-gt1)*230</param><param>$y-30</param><param>-90+$move_judge*180</param><param>2</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_mahoujin_create_3_02b">
		<param>260+($move_judge-gt1)*230</param><param>$y+20</param><param>-90+$move_judge*180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_mahoujin_create_3_02b">
		<param>260+($move_judge-gt1)*230</param><param>$y+70</param><param>-90+$move_judge*180</param><param>3</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_mahoujin_create_3_02y">
		<param>$x-25</param><param>40+215*$move_flag</param><param>180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_mahoujin_create_3_02y">
		<param>$x+25</param><param>40+215*$move_flag</param><param>180</param><param>3</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_mahoujin_create_3_02y">
		<param>$x-25</param><param>255+215*$move_flag</param><param>0</param><param>2</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_mahoujin_create_3_02y">
		<param>$x+25</param><param>255+215*$move_flag</param><param>0</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<wait>60-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->
</repeat>

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

<targetRevenge label="stage6B_boss_enemy"></targetRevenge>

</action>

<!-- setPosition pack -->
<action label="setPosition_action">
	<targetRevenge label="option_middleboss_object"></targetRevenge>
	<targetRevenge label="boss_underbar"></targetRevenge>
	<setPosition type="center">
		<x>$1</x><y>$2</y>
	</setPosition>
	<wait>1</wait>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>200</param><param>255</param></actionRef>	
	<createRef label="boss_underbar_create"></createRef>
</action>


<create label="stage6B_boss_create_line_3_01">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>320</cx><cy>$1</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_3_01"></objectRef>
</create>

<object label="stage6B_boss_line_3_01">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>400</height>
		<alpha>32</alpha><red>255</red><green>255</green><blue>2</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>
	<imgDirection type="sync">90</imgDirection>

	<action>
		<changeColor>
			<alpha>180</alpha><red>255</red><green>255</green><blue>2</blue><term>14</term>
		</changeColor>
	</action>
</object>


<create label="stage6B_boss_create_line_3_02">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>240</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_3_02"></objectRef>
</create>

<object label="stage6B_boss_line_3_02">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>480</height>
		<alpha>32</alpha><red>2</red><green>65</green><blue>255</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>

	<action>
		<changeColor>
			<alpha>220</alpha><red>32</red><green>125</green><blue>255</blue><term>14</term>
		</changeColor>
	</action>
</object>


<create label="stage6B_boss_create_line_3_03">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>240</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_3_03"></objectRef>
</create>

<object label="stage6B_boss_line_3_03">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>480</height>
		<alpha>32</alpha><red>255</red><green>65</green><blue>2</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>

	<action>
		<changeColor>
			<alpha>220</alpha><red>255</red><green>2</green><blue>120</blue><term>14</term>
		</changeColor>
	</action>
</object>


<create label="stage6B_boss_mahoujin_create_3_01">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_mahoujin_object_3_01"></objectRef>

</create>

<object label="stage6B_boss_mahoujin_object_3_01">
	<img type="normal">
		<file type="dds">s_mahoujin2</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>48</width><height>48</height>
		<alpha>32</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg>
		<direction>5</direction><term>-1</term>
	</rotateImg>

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>120</wait>
		<changeColor>
			<alpha>2</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>60</wait>
		<vanish/>
	</action>
</object>


<create label="stage6B_boss_mahoujin_create_3_02r">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_mahoujin_object_3_02r"><param>$3</param><param>$4</param></objectRef>

</create>

<object label="stage6B_boss_mahoujin_object_3_02r">
	<img type="normal">
		<file type="dds">s_mahoujin</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>32</width><height>32</height>
		<alpha>32</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg>
		<direction>5</direction><term>-1</term>
	</rotateImg>

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>80</wait>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<fireRef label="stage6B_boss_fire_3_01"><param>$1-85+(($_player_cx+$2)%5)</param><param>255</param><param>5</param><param>2</param><param>1.2</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6B_boss_fire_3_01_s"><param>53</param><param>255</param><param>5</param><param>2</param><param>1.2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_3_01"><param>$1-85+(($_player_cx+$2)%5)</param><param>255</param><param>5</param><param>2</param><param>0.9</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6B_boss_fire_3_01_s"><param>53</param><param>255</param><param>5</param><param>2</param><param>0.9</param></fireRef>
		</repeat>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_3_01"><param>$1-85+(($_player_cx+$2)%5)</param><param>255</param><param>5</param><param>2</param><param>0.6</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6B_boss_fire_3_01_s"><param>53</param><param>255</param><param>5</param><param>2</param><param>0.6</param></fireRef>
		</repeat>
		<changeColor>
			<alpha>2</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>60</wait>
		<vanish/>
	</action>
</object>

<create label="stage6B_boss_mahoujin_create_3_02b">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_mahoujin_object_3_02b"><param>$3</param><param>$4</param></objectRef>

</create>

<object label="stage6B_boss_mahoujin_object_3_02b">
	<img type="normal">
		<file type="dds">s_mahoujin5</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>32</width><height>32</height>
		<alpha>32</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg>
		<direction>5</direction><term>-1</term>
	</rotateImg>

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>80</wait>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<fireRef label="stage6B_boss_fire_3_01"><param>$1-85+(($_player_cx+$2)%5)</param><param>5</param><param>2</param><param>255</param><param>1.2</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6B_boss_fire_3_01_s"><param>53</param><param>5</param><param>2</param><param>255</param><param>1.2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_3_01"><param>$1-85+(($_player_cx+$2)%5)</param><param>5</param><param>2</param><param>255</param><param>0.9</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6B_boss_fire_3_01_s"><param>53</param><param>5</param><param>2</param><param>255</param><param>0.9</param></fireRef>
		</repeat>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_3_01"><param>$1-85+(($_player_cx+$2)%5)</param><param>5</param><param>2</param><param>255</param><param>0.6</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6B_boss_fire_3_01_s"><param>53</param><param>5</param><param>2</param><param>255</param><param>0.6</param></fireRef>
		</repeat>
		<changeColor>
			<alpha>2</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>60</wait>
		<vanish/>
	</action>
</object>

<create label="stage6B_boss_mahoujin_create_3_02y">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_mahoujin_object_3_02y"><param>$3</param><param>$4</param></objectRef>

</create>

<object label="stage6B_boss_mahoujin_object_3_02y">
	<img type="normal">
		<file type="dds">s_mahoujin6</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>32</width><height>32</height>
		<alpha>32</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg>
		<direction>5</direction><term>-1</term>
	</rotateImg>

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>80</wait>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<fireRef label="stage6B_boss_fire_3_01"><param>$1-85+(($_player_cx+$2)%5)</param><param>255</param><param>255</param><param>2</param><param>1.2</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6B_boss_fire_3_01_s"><param>53</param><param>255</param><param>255</param><param>2</param><param>1.2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_3_01"><param>$1-85+(($_player_cx+$2)%5)</param><param>255</param><param>255</param><param>2</param><param>0.9</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6B_boss_fire_3_01_s"><param>53</param><param>255</param><param>255</param><param>2</param><param>0.9</param></fireRef>
		</repeat>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_3_01"><param>$1-85+(($_player_cx+$2)%5)</param><param>255</param><param>255</param><param>2</param><param>0.6</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6B_boss_fire_3_01_s"><param>53</param><param>255</param><param>255</param><param>2</param><param>0.6</param></fireRef>
		</repeat>
		<changeColor>
			<alpha>2</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>60</wait>
		<vanish/>
	</action>
</object>



<fire label="stage6B_boss_fire_3_01">
	<speed>0.1</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_3_01"><param>$2</param><param>$3</param><param>$4</param><param>$5</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_3_01_s">
	<speed>0.1</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_3_01"><param>$2</param><param>$3</param><param>$4</param><param>$5</param></bulletRef>
</fire>

<bullet label="stage6B_boss_bullet_3_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>$1</red><green>$2</green><blue>$3</blue>
	</img>
	<action>
		<changeSpeed>
			<speed>$4</speed><term>120</term>
		</changeSpeed>
	</action>
</bullet>


<fire label="stage6B_boss_fire_3_02">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_3_02"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_3_02_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_3_02"><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="stage6B_boss_bullet_3_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>8</radius></collision>
	<img type="normal">
		<file type="dds">bullet</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>18</width><height>18</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed>1.2</speed><term>120</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">120*$1</direction><term>240</term>
		</changeDirection>
	</action>
</bullet>



<!-- ********************************************************************* -->
<!-- *** ボスのアクション					      *** -->
<!-- *** 第４形態						      *** -->
<!-- 魔獣の咆哮 -->

<action  label="stage6B_boss_04_action">

<!-- センターポイントへ移動 -->
	<wait>20</wait>
	<changeSpeed>
		<speed type="absolute">1.5</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>

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

<!-- 弾幕開始 -->
<createRef label="stage6_sara_prate_area">
	<param>320</param>
	<param>380</param>
	<param>60</param>
	<param>40</param>
</createRef>
<createRef label="stage6_sara_prate_area2">
	<param>400</param>
	<param>260</param>
	<param>80</param>
	<param>30</param>
</createRef>
<createRef label="stage6_sara_prate_area3">
	<param>240</param>
	<param>260</param>
	<param>80</param>
	<param>30</param>
</createRef>
<wait>30</wait>

<repeat><times>4</times>
	<soundRef label="enemy_laser_se"></soundRef>
	<createRef label="stage6B_boss_laser_4_01_dummy"></createRef>
	<wait>1</wait>

	<eval name="bul_dir">90</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_4_02"><param>-90</param><param>$bul_dir</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
	</repeat>
	<wait>9</wait>
	<evaladd name="bul_dir">-12</evaladd>
	<wait>1</wait>
	<fireRef label="stage6B_boss_fire_4_02_s"><param>24+7</param><param>$bul_dir</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
	</repeat>

	<repeat><times>2</times>
	<repeat><times>6</times>
		<wait>9</wait>
		<evaladd name="bul_dir">-12</evaladd>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_4_02_s"><param>24+7</param><param>$bul_dir</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
		<wait>9</wait>
		<evaladd name="bul_dir">-12</evaladd>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_4_02_s"><param>24+7</param><param>$bul_dir</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
	</repeat>


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

	<repeat><times>3</times>
	<repeat><times>6</times>
		<wait>9</wait>
		<evaladd name="bul_dir">-12</evaladd>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_4_02_s"><param>24+7</param><param>$bul_dir</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
		<wait>9</wait>
		<evaladd name="bul_dir">-12</evaladd>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_4_02_s"><param>24+7</param><param>$bul_dir</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6B_boss_fire_4_02_s"><param>24</param><param>$bul_dir</param></fireRef>
		</repeat>
	</repeat>


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

	<wait>120</wait>
	<soundRef label="enemy_laser_se"></soundRef>
	<createRef label="stage6B_boss_laser_4_02_dummy"><param>$_player_cx</param></createRef>
	<wait>1</wait>

	<repeat><times>2</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_4_03"><param>-90</param><param>30</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="stage6B_boss_fire_4_03_s"><param>30</param><param>30</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="stage6B_boss_fire_4_03_s"><param>30</param><param>30</param></fireRef>
		</repeat>
		<wait>43</wait>

		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<wait>1</wait>
		<fireRef label="stage6B_boss_fire_4_03"><param>-90</param><param>-30</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="stage6B_boss_fire_4_03_s"><param>30</param><param>-30</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="stage6B_boss_fire_4_03_s"><param>30</param><param>-30</param></fireRef>
		</repeat>
		<wait>43</wait>
	</repeat>
	<wait>120-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

</repeat>
<wait>120</wait>

<targetRevenge label="stage6B_boss_enemy"></targetRevenge>

</action>

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


<enemy label="stage6B_boss_laser_enemy_4_01_dummy">

	<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>2</right><bottom>2</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>240</red><green>255</green><blue>106</blue>
	</img>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

	<action>
		<fireRef label="stage6B_boss_laser_4_01"><param>0</param></fireRef>
		<repeat><times>30</times>
			<wait>1</wait>
			<fireRef label="stage6B_boss_laser_4_01_s"><param>0</param></fireRef>
			<wait>1</wait>
			<createRef label="stage6B_boss_laser_create_4_01_s"><param>0</param></createRef>
		</repeat>
			<wait>1</wait>
			<fireRef label="stage6B_boss_laser_4_01_s"><param>0</param></fireRef>
			<wait>240</wait>
		<vanish/>
	</action>
</enemy>


<fire label="stage6B_boss_laser_4_01">
	<speed>3</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_laser_bullet_4_01"></bulletRef>
</fire>

<fire label="stage6B_boss_laser_4_01_s">
	<speed>3</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_laser_bullet_4_01"></bulletRef>
</fire>


<bullet label="stage6B_boss_laser_bullet_4_01">

	<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>2</width><height>6</height>
		<alpha>100</alpha><red>240</red><green>255</green><blue>106</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeImgSize>
			<width>26</width><height>42</height><term>20</term>
		</changeImgSize>

		<eval name="col">2</eval>
		<repeat><times>10</times>
			<wait>2</wait>
			<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>$col</radius></collision>
			<evaladd name="col">1</evaladd>
		</repeat>
		<wait>34</wait>
		<changeSpeed>
			<speed type="absolute">4</speed><term>60</term>
		</changeSpeed>
	</action>

</bullet>


<create label="stage6B_boss_laser_create_4_01_s">
	<speed>3</speed>
	<direction type="sequence">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy+1</cy>
	<vital>1</vital>
	<child>1</child>
	<enemyRef label="stage6B_boss_laser_enemy_4_01"></enemyRef>
</create>


<enemy label="stage6B_boss_laser_enemy_4_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>1</radius></collision>
	<revengeRef label="stage6B_boss_laser_revenge_02"></revengeRef>
	<flag>6</flag>
	<img type="add">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>6</height>
		<alpha>100</alpha><red>240</red><green>255</green><blue>106</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<setBreakable><num>1</num></setBreakable>

	<action>
		<changeImgSize>
			<width>32</width><height>42</height><term>15</term>
		</changeImgSize>
		<wait>54</wait>

		<changeSpeed>
			<speed type="absolute">4</speed><term>60</term>
		</changeSpeed>

	</action>
</enemy>

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



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


<enemy label="stage6B_boss_laser_enemy_4_02_dummy">

	<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>2</right><bottom>2</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>240</red><green>255</green><blue>106</blue>
	</img>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

	<action>
		<fireRef label="stage6B_boss_laser_4_02"><param>0</param></fireRef>
		<fireRef label="stage6B_boss_laser_4_02_s"><param>120</param></fireRef>
		<fireRef label="stage6B_boss_laser_4_02_s"><param>120</param></fireRef>
		<repeat><times>45</times>
			<wait>1</wait>
			<fireRef label="stage6B_boss_laser_4_02_s"><param>120</param></fireRef>
			<fireRef label="stage6B_boss_laser_4_02_s"><param>120</param></fireRef>
			<fireRef label="stage6B_boss_laser_4_02_s"><param>120</param></fireRef>
			<wait>1</wait>
			<createRef label="stage6B_boss_laser_create_4_02_s"><param>120</param></createRef>
			<createRef label="stage6B_boss_laser_create_4_02_s"><param>120</param></createRef>
			<createRef label="stage6B_boss_laser_create_4_02_s"><param>120</param></createRef>
		</repeat>
		<eval name="dir">0.6-1.2*($1-lt$_player_cx)</eval>
		<repeat><times>45</times>
			<wait>1</wait>
			<fireRef label="stage6B_boss_laser_4_02_s"><param>120+$dir</param></fireRef>
			<fireRef label="stage6B_boss_laser_4_02_s"><param>120</param></fireRef>
			<fireRef label="stage6B_boss_laser_4_02_s"><param>120</param></fireRef>
			<wait>1</wait>
			<createRef label="stage6B_boss_laser_create_4_02_s"><param>120</param></createRef>
			<createRef label="stage6B_boss_laser_create_4_02_s"><param>120</param></createRef>
			<createRef label="stage6B_boss_laser_create_4_02_s"><param>120</param></createRef>
		</repeat>
			<wait>1</wait>
			<fireRef label="stage6B_boss_laser_4_02_s"><param>120+$dir</param></fireRef>
			<fireRef label="stage6B_boss_laser_4_02_s"><param>120</param></fireRef>
			<fireRef label="stage6B_boss_laser_4_02_s"><param>120</param></fireRef>
			<wait>240</wait>
		<vanish/>
	</action>
</enemy>


<fire label="stage6B_boss_laser_4_02">
	<speed>2.6</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_laser_bullet_4_02"></bulletRef>
</fire>

<fire label="stage6B_boss_laser_4_02_s">
	<speed>2.6</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_laser_bullet_4_02"></bulletRef>
</fire>


<bullet label="stage6B_boss_laser_bullet_4_02">

	<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>2</width><height>6</height>
		<alpha>100</alpha><red>132</red><green>200</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeImgSize>
			<width>52</width><height>68</height><term>20</term>
		</changeImgSize>

		<eval name="col">3</eval>
		<repeat><times>11</times>
			<wait>2</wait>
			<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>$col</radius></collision>
			<evaladd name="col">2</evaladd>
		</repeat>
		<wait>34</wait>
		<changeSpeed>
			<speed type="absolute">3.2</speed><term>60</term>
		</changeSpeed>
	</action>

</bullet>


<create label="stage6B_boss_laser_create_4_02_s">
	<speed>2.6</speed>
	<direction type="sequence">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy+1</cy>
	<vital>1</vital>
	<child>1</child>
	<enemyRef label="stage6B_boss_laser_enemy_4_02"></enemyRef>
</create>


<enemy label="stage6B_boss_laser_enemy_4_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>1</radius></collision>
	<revengeRef label="stage6B_boss_laser_revenge_02"></revengeRef>
	<flag>6</flag>
	<img type="add">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>6</height>
		<alpha>100</alpha><red>132</red><green>200</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<setBreakable><num>1</num></setBreakable>

	<action>
		<changeImgSize>
			<width>52</width><height>68</height><term>15</term>
		</changeImgSize>
		<wait>56</wait>

		<changeSpeed>
			<speed type="absolute">3.2</speed><term>60</term>
		</changeSpeed>

	</action>
</enemy>





<fire label="stage6B_boss_fire_4_02">
	<speed>3</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_4_02"><param>$2</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_4_02_s">
	<speed>3</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_4_02"><param>$2</param></bulletRef>
</fire>


<bullet label="stage6B_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>240</red><green>3</green><blue>6</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeDirection>
			<direction type="relative">$1</direction><term>90</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1.4</speed><term>30</term>
		</changeSpeed>

	</action>
</bullet>


<fire label="stage6B_boss_fire_4_03">
	<speed>3</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_4_03"><param>$2</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_4_03_s">
	<speed>3</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_4_03"><param>$2</param></bulletRef>
</fire>


<bullet label="stage6B_boss_bullet_4_03">

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

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32</left><top>0</top><right>32*2</right><bottom>32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<changeDirection>
			<direction type="relative">$1</direction><term>90</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1.2</speed><term>30</term>
		</changeSpeed>

	</action>
</bullet>


<!-- ********************************************************************* -->
<!-- *** ボスのアクション					      *** -->
<!-- *** 第５形態（EnemyTension）				      *** -->
<action  label="stage6B_boss_05_action">

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

<!-- センターポイントへ移動 -->
	<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="stage6B_boss_create_5_dummy"></createRef>
<wait>1</wait>

<createRef label="stage6_sara_prate_area">
	<param>220</param>
	<param>340</param>
	<param>60</param>
	<param>100</param>
</createRef>
<createRef label="stage6_sara_prate_area2">
	<param>400</param>
	<param>260</param>
	<param>60</param>
	<param>100</param>
</createRef>
<wait>1</wait>


<!-- 弾幕開始 -->
<repeat><times>4</times>
	<!-- １回目 -->
	<eval name="time_y">316</eval>
	<eval name="time_b">9999</eval>
	<eval name="time_r">9999</eval>
	<wait>1</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y"><param>0</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	
	<repeat><times>8</times>
	<evaladd name="time_y">-22</evaladd>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y_s"><param>40+9</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	</repeat>

	<repeat><times>5</times>
	<evaladd name="time_y">-21</evaladd>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y_s"><param>40+9</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	</repeat>
	<actionRef label="yellow_flash"></actionRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>160</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>180</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>200</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>220</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>240</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>260</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_01"><param>280</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>300</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>320</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>340</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>360</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>380</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_01"><param>400</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>420</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>440</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>460</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>480</param></createRef>
	<wait>30</wait>

	<changeDirection>
		<direction type="absolute">-70+140*($_player_cx%2)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.3</speed><term>20</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
	<wait>80-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<!-- ２回目 -->
	<eval name="time_y">9999</eval>
	<eval name="time_b">316</eval>
	<eval name="time_r">9999</eval>
	<wait>1</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y"><param>0</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	
	<repeat><times>8</times>
	<evaladd name="time_b">-22</evaladd>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y_s"><param>40+9</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	</repeat>

	<repeat><times>5</times>
	<evaladd name="time_b">-21</evaladd>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y_s"><param>40+9</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	</repeat>
	<actionRef label="blue_flash"></actionRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>160</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>180</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>200</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>220</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>240</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>260</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_02"><param>280</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>300</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>320</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>340</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>360</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>380</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_02"><param>400</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>420</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>440</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>460</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>480</param></createRef>
	<wait>30</wait>

	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<targetRevenge label="stage6_sara_prate_area_ob2"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>400</param>
		<param>360</param>
		<param>60</param>
		<param>100</param>
	</createRef>
	<createRef label="stage6_sara_prate_area2">
		<param>220</param>
		<param>260</param>
		<param>60</param>
		<param>100</param>
	</createRef>

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

	<!-- ３回目 -->
	<eval name="time_y">9999</eval>
	<eval name="time_b">9999</eval>
	<eval name="time_r">316</eval>
	<wait>1</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y"><param>0</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	
	<repeat><times>8</times>
	<evaladd name="time_r">-22</evaladd>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y_s"><param>40+9</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	</repeat>

	<repeat><times>5</times>
	<evaladd name="time_r">-21</evaladd>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y_s"><param>40+9</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	</repeat>
	<actionRef label="red_flash"></actionRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>160</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>180</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>200</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>220</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>240</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>260</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_03"><param>280</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>300</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>320</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>340</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>360</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>380</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_03"><param>400</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>420</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>440</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>460</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>480</param></createRef>
	<wait>30</wait>

	<changeDirection>
		<direction type="absolute">-70+140*($_player_cx%2)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.3</speed><term>20</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
	<wait>80-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<!-- ４回目 -->
	<eval name="time_y">316</eval>
	<eval name="time_b">376</eval>
	<eval name="time_r">436</eval>
	<wait>1</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y"><param>0</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	
	<repeat><times>8</times>
	<evaladd name="time_y">-22</evaladd>
	<evaladd name="time_b">-22</evaladd>
	<evaladd name="time_r">-22</evaladd>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y_s"><param>40+9</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	</repeat>

	<repeat><times>5</times>
	<evaladd name="time_y">-21</evaladd>
	<evaladd name="time_b">-21</evaladd>
	<evaladd name="time_r">-21</evaladd>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6B_boss_fire_5_01y_s"><param>40+9</param><param>3</param><param>$time_y-3</param><param>80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>-80</param></fireRef>
	<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>3</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>3</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>3</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>2</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>2</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>2</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>1</wait>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01y_s"><param>20</param><param>1</param><param>$time_y-3</param><param>-80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01b_s"><param>20</param><param>1</param><param>$time_b-3</param><param>80</param></fireRef>
		<fireRef label="stage6B_boss_fire_5_01r_s"><param>20</param><param>1</param><param>$time_r-3</param><param>-80</param></fireRef>
	<wait>20</wait>
	</repeat>

	<actionRef label="yellow_flash"></actionRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>160</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>180</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>200</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>220</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>240</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>260</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_01"><param>280</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>300</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>320</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>340</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>360</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>380</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_01"><param>400</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>420</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>440</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>460</param></createRef>
	<createRef label="stage6B_boss_create_line_5_01"><param>480</param></createRef>
	<wait>59</wait>
	<actionRef label="blue_flash"></actionRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>160</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>180</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>200</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>220</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>240</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>260</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_02"><param>280</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>300</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>320</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>340</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>360</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>380</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_02"><param>400</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>420</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>440</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>460</param></createRef>
	<createRef label="stage6B_boss_create_line_5_02"><param>480</param></createRef>
	<wait>59</wait>
	<actionRef label="red_flash"></actionRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>160</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>180</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>200</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>220</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>240</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>260</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_03"><param>280</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>300</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>320</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>340</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>360</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>380</param></createRef>
	<wait>1</wait>
	<createRef label="stage6B_boss_create_line_5_03"><param>400</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>420</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>440</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>460</param></createRef>
	<createRef label="stage6B_boss_create_line_5_03"><param>480</param></createRef>
	<wait>30</wait>
	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<targetRevenge label="stage6_sara_prate_area_ob2"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>220</param>
		<param>340</param>
		<param>60</param>
		<param>100</param>
	</createRef>
	<createRef label="stage6_sara_prate_area2">
		<param>400</param>
		<param>260</param>
		<param>60</param>
		<param>100</param>
	</createRef>

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

<wait>120</wait>
<targetRevenge label="stage6B_boss_enemy"></targetRevenge>

</action>

<!-- dummy -->
<create label="stage6B_boss_create_5_dummy">
	<speed>0</speed>
	<direction type="sequence">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>99999999</vital>
	<child>1</child>
	<enemyRef label="stage6B_boss_enemy_5_dummy"></enemyRef>
</create>

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

	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>
</enemy>

<!-- 黄色弾 -->
<fire label="stage6B_boss_fire_5_01y">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_5_01y"><param>$2</param><param>$3</param><param>$4</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_5_01y_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_5_01y"><param>$2</param><param>$3</param><param>$4</param></bulletRef>
</fire>


<bullet label="stage6B_boss_bullet_5_01y">

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

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*6</left><top>0</top><right>32*7</right><bottom>32</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed type="absolute">1.6</speed><term>50</term>
		</changeSpeed>

		<changeDirection>
			<direction type="relative">$3</direction><term>360</term>
		</changeDirection>
		<wait>6</wait>
		<changeImgSize>
			<width>20</width><height>20</height><term>50</term>
		</changeImgSize>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>50</term>
		</changeColor>
		<wait>$2-6</wait>

		<changeSpeed>
			<speed type="absolute">0</speed><term>1</term>
		</changeSpeed>
		<changeImgSize>
			<width>12</width><height>12</height><term>10</term>
		</changeImgSize>
		<wait>1</wait>
		<repeat><times>$_self_cy-lt470</times>
			<createRef label="ring_cr"><param>32</param></createRef>
			<fireRef label="stage6B_boss_fire_5_02"><param>3</param><param>2</param><param>255</param><param>240</param><param>3</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6B_boss_fire_5_02_s"><param>72</param><param>2</param><param>255</param><param>240</param><param>3</param></fireRef>
			</repeat>
			<wait>1</wait>
		</repeat>
		<wait>5</wait>
		<vanish/>
	</action>
</bullet>

<!-- 青 -->
<fire label="stage6B_boss_fire_5_01b">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_5_01b"><param>$2</param><param>$3</param><param>$4</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_5_01b_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_5_01b"><param>$2</param><param>$3</param><param>$4</param></bulletRef>
</fire>


<bullet label="stage6B_boss_bullet_5_01b">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</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>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed type="absolute">1.6</speed><term>50</term>
		</changeSpeed>

		<changeDirection>
			<direction type="relative">$3</direction><term>360</term>
		</changeDirection>
		<wait>6</wait>
		<changeImgSize>
			<width>20</width><height>20</height><term>50</term>
		</changeImgSize>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>50</term>
		</changeColor>
		<wait>$2-6</wait>

		<changeSpeed>
			<speed type="absolute">0</speed><term>1</term>
		</changeSpeed>
		<changeImgSize>
			<width>12</width><height>12</height><term>10</term>
		</changeImgSize>
		<wait>1</wait>
		<repeat><times>$_self_cy-lt470</times>
			<createRef label="ring_cr"><param>32</param></createRef>
			<fireRef label="stage6B_boss_fire_5_02"><param>2</param><param>2</param><param>25</param><param>3</param><param>255</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6B_boss_fire_5_02_s"><param>72</param><param>2</param><param>25</param><param>3</param><param>255</param></fireRef>
			</repeat>
			<wait>1</wait>
		</repeat>
		<wait>5</wait>
		<vanish/>
	</action>
</bullet>


<!-- 赤 -->
<fire label="stage6B_boss_fire_5_01r">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_5_01r"><param>$2</param><param>$3</param><param>$4</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_5_01r_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_5_01r"><param>$2</param><param>$3</param><param>$4</param></bulletRef>
</fire>


<bullet label="stage6B_boss_bullet_5_01r">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</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>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed type="absolute">1.6</speed><term>50</term>
		</changeSpeed>

		<changeDirection>
			<direction type="relative">$3</direction><term>360</term>
		</changeDirection>
		<wait>6</wait>
		<changeImgSize>
			<width>20</width><height>20</height><term>50</term>
		</changeImgSize>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>50</term>
		</changeColor>
		<wait>$2-6</wait>

		<changeSpeed>
			<speed type="absolute">0</speed><term>1</term>
		</changeSpeed>
		<changeImgSize>
			<width>12</width><height>12</height><term>10</term>
		</changeImgSize>
		<wait>1</wait>
		<repeat><times>$_self_cy-lt470</times>
			<createRef label="ring_cr"><param>32</param></createRef>
			<fireRef label="stage6B_boss_fire_5_02"><param>0</param><param>2</param><param>255</param><param>2</param><param>3</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6B_boss_fire_5_02_s"><param>72</param><param>2</param><param>255</param><param>2</param><param>3</param></fireRef>
			</repeat>
			<wait>1</wait>
		</repeat>
		<wait>5</wait>
		<vanish/>
	</action>
</bullet>




<fire label="stage6B_boss_fire_5_02">
	<speed>0</speed>
	<direction type="relative">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_5_02"><param>$2</param><param>$3</param><param>$4</param><param>$5</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_5_02_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_5_02"><param>$2</param><param>$3</param><param>$4</param><param>$5</param></bulletRef>
</fire>


<bullet label="stage6B_boss_bullet_5_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>$2</red><green>$3</green><blue>$4</blue>
	</img>
	<action>
		<wait>$1</wait>
		<wait>30</wait>
		<changeSpeed>
			<speed type="absolute">0.8</speed><term>110</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">-30+60*($_self_cx%2)</direction><term>120</term>
		</changeDirection>
	</action>
</bullet>



<!-- 黄色フラッシュ -->
<action label="yellow_flash">
	<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>80</alpha><red>255</red><green>255</green><blue>60</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<wait>3</wait>
			<vanish/>
		</object>
	</create>
	<sound label="sword_se" type="se">
		<track><file type="ogg">sword</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>
</action>


<create label="stage6B_boss_create_line_5_01">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>240</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_5_01"></objectRef>
</create>

<object label="stage6B_boss_line_5_01">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>490</height>
		<alpha>32</alpha><red>255</red><green>255</green><blue>2</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>

	<action>
		<changeColor>
			<alpha>180</alpha><red>255</red><green>255</green><blue>2</blue><term>2</term>
		</changeColor>
		<wait>2</wait>
		<changeColor>
			<alpha>10</alpha><red>255</red><green>255</green><blue>2</blue><term>40</term>
		</changeColor>
		<wait>40</wait>
		<vanish/>
	</action>
</object>

<!-- 青フラッシュ -->
<action label="blue_flash">
	<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>80</alpha><red>60</red><green>60</green><blue>255</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<wait>3</wait>
			<vanish/>
		</object>
	</create>
	<sound label="sword_se" type="se">
		<track><file type="ogg">sword</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>
</action>


<create label="stage6B_boss_create_line_5_02">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>240</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_5_02"></objectRef>
</create>

<object label="stage6B_boss_line_5_02">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>490</height>
		<alpha>32</alpha><red>2</red><green>65</green><blue>255</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>

	<action>
		<changeColor>
			<alpha>180</alpha><red>2</red><green>65</green><blue>255</blue><term>2</term>
		</changeColor>
		<wait>2</wait>
		<changeColor>
			<alpha>10</alpha><red>2</red><green>65</green><blue>255</blue><term>40</term>
		</changeColor>
		<wait>40</wait>
		<vanish/>
	</action>
</object>

<!-- 赤フラッシュ -->
<action label="red_flash">
	<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>80</alpha><red>255</red><green>60</green><blue>60</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<wait>3</wait>
			<vanish/>
		</object>
	</create>
	<sound label="sword_se" type="se">
		<track><file type="ogg">sword</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>
</action>


<create label="stage6B_boss_create_line_5_03">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>240</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_5_03"></objectRef>
</create>

<object label="stage6B_boss_line_5_03">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>490</height>
		<alpha>32</alpha><red>255</red><green>6</green><blue>2</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>

	<action>
		<changeColor>
			<alpha>180</alpha><red>255</red><green>6</green><blue>2</blue><term>2</term>
		</changeColor>
		<wait>2</wait>
		<changeColor>
			<alpha>10</alpha><red>255</red><green>6</green><blue>2</blue><term>40</term>
		</changeColor>
		<wait>40</wait>
		<vanish/>
	</action>
</object>


<!-- ********************************************************************* -->
<!-- *** ボスのアクション					      *** -->
<!-- *** 第６形態（FinalTension）				      *** -->
<action  label="stage6B_boss_06_action">

<!-- 魔法陣呼び出し -->
<actionRef label="mahoujin2"><param>190</param><param>5</param><param>100</param><param>205</param></actionRef>
<!-- wait 2 -->

<!-- 画像呼び出し -->
<createRef label="stage6B_boss_et2"></createRef>

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

	<changePosition type="center">
		<x>320</x><y>220</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>

	<targetRevenge label="stage1_boss_timer3"></targetRevenge>
	<actionRef  label="create_timer2"><param>790</param></actionRef>
	<wait>1</wait>

	<eval name="random_1">1</eval>
	<eval name="random_2">2</eval>
	<eval name="random_3">3</eval>
	<eval name="random_4">4</eval>
	<eval name="random_5">5</eval>
	<eval name="random_6">6</eval>

<!-- 弾幕開始 -->
<repeat><times>2</times>
	<wait>59</wait>
	<eval name="random_1">($_player_cx*17+$random_1)</eval>
	<eval name="random_2">($_player_cy*13+$random_2)</eval>
	<eval name="random_3">($_player_cx*11+$_player_cy*11+$random_3)</eval>
	<eval name="random_4">($_player_cx*11+$_player_cy*7+$random_4)</eval>
	<eval name="random_5">($__item_dir_01*9+$random_1*3)</eval>
	<eval name="random_6">($__item_dir_01*9+$random_3*3)</eval>
	<wait>1</wait>
	<actionRef label="white_flash"></actionRef>
	<createRef label="stage6B_boss_create_line_6_01"><param>90+32-($random_1%65)</param><param>280+($random_2%17)*5</param><param>80+($random_3%21)</param></createRef>
	<createRef label="stage6B_boss_create_line_6_02"><param>80+64-($random_3%65)*2</param><param>200+($random_4%17)*5</param><param>160+($random_5%21)</param></createRef>
	<createRef label="stage6B_boss_create_line_6_03"><param>100+16-($random_2%33)</param><param>400+($random_5%17)*5</param><param>240+($random_1%21)</param></createRef>
	<createRef label="stage6B_boss_create_line_6_01"><param>95+16-($random_1%33)</param><param>320</param><param>190</param></createRef>


	<wait>59</wait>
	<eval name="random_1">($_player_cx*21+$random_4)</eval>
	<eval name="random_2">($_player_cy*15+$random_5)</eval>
	<eval name="random_3">($_player_cx*12+$_player_cy*9+$random_6)</eval>
	<eval name="random_4">($_player_cx*7+$_player_cy*8+$random_2)</eval>
	<eval name="random_5">($__item_dir_01*7+$random_1*5)</eval>
	<eval name="random_6">($__item_dir_01*7+$random_3*5)</eval>
	<wait>1</wait>
	<actionRef label="white_flash"></actionRef>
	<createRef label="stage6B_boss_create_line_6_02"><param>90+32-($random_4%65)</param><param>420+($random_3%17)*5</param><param>300+($random_2%21)</param></createRef>
	<createRef label="stage6B_boss_create_line_6_03"><param>64-($random_5%65)*2</param><param>280+($random_1%17)*5</param><param>370+($random_4%21)</param></createRef>
	<createRef label="stage6B_boss_create_line_6_01"><param>32-($random_6%33)*2</param><param>190+($random_2%17)*5</param><param>440+($random_6%21)</param></createRef>
	<createRef label="stage6B_boss_create_line_6_02"><param>75+12-($random_1%25)</param><param>320</param><param>250</param></createRef>
</repeat>


<wait>550</wait>
<targetRevenge label="stage6B_boss_enemy"></targetRevenge>

</action>

<!-- フラッシュ -->
<action label="white_flash">
	<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>80</alpha><red>200</red><green>200</green><blue>200</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<wait>3</wait>
			<vanish/>
		</object>
	</create>
	<sound label="sword_se" type="se">
		<track><file type="ogg">sword</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>
</action>

<!-- 黄色 -->
<create label="stage6B_boss_create_line_6_01">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>$2</cx><cy>$3</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_6_01"></objectRef>
</create>

<object label="stage6B_boss_line_6_01">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>720</height>
		<alpha>32</alpha><red>255</red><green>255</green><blue>2</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeColor>
			<alpha>180</alpha><red>255</red><green>255</green><blue>2</blue><term>2</term>
		</changeColor>
		<wait>40</wait>
		<createRef label="stage6B_boss_create_line_6_dummy_y"><param>0</param></createRef>
		<wait>1</wait>
		<createRef label="stage6B_boss_create_line_6_dummy_y"><param>180</param></createRef>
		<wait>300</wait>
		<vanish/>
	</action>
</object>



<create label="stage6B_boss_create_line_6_dummy_y">
	<speed>6</speed>
	<direction type="relative">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_6_dummy_y"></objectRef>
</create>

<object label="stage6B_boss_line_6_dummy_y">
	<img type="add">
		<file type="bmp">rectwhite</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>2</blue>
	</img>

	<action>
		<eval name="wait_time">60</eval>
		<fireRef label="stage6B_boss_fire_6_01y_r"><param>90</param><param>1.2</param><param>$wait_time</param></fireRef>
		<fireRef label="stage6B_boss_fire_6_01y_s"><param>120</param><param>0.8</param><param>$wait_time</param></fireRef>
		<fireRef label="stage6B_boss_fire_6_01y_s"><param>120</param><param>0.4</param><param>$wait_time</param></fireRef>
		<repeat><times>10</times>
			<wait>5</wait>
			<evaladd name="wait_time">-6</evaladd>
			<fireRef label="stage6B_boss_fire_6_01y_s"><param>120+192</param><param>1.2</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6B_boss_fire_6_01y_s"><param>120</param><param>0.8</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6B_boss_fire_6_01y_s"><param>120</param><param>0.4</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<vanish/>
	</action>
</object>


<fire label="stage6B_boss_fire_6_01y">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_6_01y"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_6_01y_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_6_01y"><param>$2</param><param>$3</param></bulletRef>
</fire>

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

<bullet label="stage6B_boss_bullet_6_01y">

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

	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*6</left><top>0</top><right>32*7</right><bottom>32</bottom>
		<width>8</width><height>8</height>
		<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$2+90</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>100</term>
		</changeSpeed>
	</action>
</bullet>

<!-- 青色 -->
<create label="stage6B_boss_create_line_6_02">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>$2</cx><cy>$3</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_6_02"></objectRef>
</create>

<object label="stage6B_boss_line_6_02">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>720</height>
		<alpha>32</alpha><red>2</red><green>55</green><blue>255</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeColor>
			<alpha>180</alpha><red>2</red><green>55</green><blue>255</blue><term>2</term>
		</changeColor>
		<wait>40</wait>
		<createRef label="stage6B_boss_create_line_6_dummy_b"><param>0</param></createRef>
		<wait>1</wait>
		<createRef label="stage6B_boss_create_line_6_dummy_b"><param>180</param></createRef>
		<wait>300</wait>
		<vanish/>
	</action>
</object>



<create label="stage6B_boss_create_line_6_dummy_b">
	<speed>6</speed>
	<direction type="relative">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_6_dummy_b"></objectRef>
</create>

<object label="stage6B_boss_line_6_dummy_b">
	<img type="add">
		<file type="bmp">rectwhite</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>2</blue>
	</img>

	<action>
		<eval name="wait_time">60</eval>
		<fireRef label="stage6B_boss_fire_6_01b_r"><param>90</param><param>1.2</param><param>$wait_time</param></fireRef>
		<fireRef label="stage6B_boss_fire_6_01b_s"><param>120</param><param>0.8</param><param>$wait_time</param></fireRef>
		<fireRef label="stage6B_boss_fire_6_01b_s"><param>120</param><param>0.4</param><param>$wait_time</param></fireRef>
		<repeat><times>10</times>
			<wait>5</wait>
			<evaladd name="wait_time">-6</evaladd>
			<fireRef label="stage6B_boss_fire_6_01b_s"><param>120+192</param><param>1.2</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6B_boss_fire_6_01b_s"><param>120</param><param>0.8</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6B_boss_fire_6_01b_s"><param>120</param><param>0.4</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<vanish/>
	</action>
</object>


<fire label="stage6B_boss_fire_6_01b">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_6_01b"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_6_01b_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_6_01b"><param>$2</param><param>$3</param></bulletRef>
</fire>

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

<bullet label="stage6B_boss_bullet_6_01b">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</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>8</width><height>8</height>
		<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$2+90</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>100</term>
		</changeSpeed>
	</action>
</bullet>


<!-- 赤色 -->
<create label="stage6B_boss_create_line_6_03">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>$2</cx><cy>$3</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_6_03"></objectRef>
</create>

<object label="stage6B_boss_line_6_03">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>1</width><height>720</height>
		<alpha>32</alpha><red>255</red><green>2</green><blue>2</blue>
	</img>
	<revengeRef label="stage6B_boss_line_revenge"></revengeRef>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeColor>
			<alpha>180</alpha><red>255</red><green>2</green><blue>2</blue><term>2</term>
		</changeColor>
		<wait>40</wait>
		<createRef label="stage6B_boss_create_line_6_dummy_r"><param>0</param></createRef>
		<wait>1</wait>
		<createRef label="stage6B_boss_create_line_6_dummy_r"><param>180</param></createRef>
		<wait>300</wait>
		<vanish/>
	</action>
</object>



<create label="stage6B_boss_create_line_6_dummy_r">
	<speed>6</speed>
	<direction type="relative">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<objectRef label="stage6B_boss_line_6_dummy_r"></objectRef>
</create>

<object label="stage6B_boss_line_6_dummy_r">
	<img type="add">
		<file type="bmp">rectwhite</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>2</blue>
	</img>

	<action>
		<eval name="wait_time">60</eval>
		<fireRef label="stage6B_boss_fire_6_01r_r"><param>90</param><param>1.2</param><param>$wait_time</param></fireRef>
		<fireRef label="stage6B_boss_fire_6_01r_s"><param>120</param><param>0.8</param><param>$wait_time</param></fireRef>
		<fireRef label="stage6B_boss_fire_6_01r_s"><param>120</param><param>0.4</param><param>$wait_time</param></fireRef>
		<repeat><times>10</times>
			<wait>5</wait>
			<evaladd name="wait_time">-6</evaladd>
			<fireRef label="stage6B_boss_fire_6_01r_s"><param>120+180-12</param><param>1.2</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6B_boss_fire_6_01r_s"><param>120</param><param>0.8</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6B_boss_fire_6_01r_s"><param>120</param><param>0.4</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<vanish/>
	</action>
</object>


<fire label="stage6B_boss_fire_6_01r">
	<speed>0</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_6_01r"><param>$2</param><param>$3</param></bulletRef>
</fire>

<fire label="stage6B_boss_fire_6_01r_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6B_boss_bullet_6_01r"><param>$2</param><param>$3</param></bulletRef>
</fire>

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

<bullet label="stage6B_boss_bullet_6_01r">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</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>8</width><height>8</height>
		<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$2+90</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>100</term>
		</changeSpeed>
	</action>
</bullet>



<!-- ********************************************************************* -->
<!-- *** ボスのリベンジ						*** -->
<!-- ***							       *** -->
<!-- *** 次の形態のボスを作成する必要がある			    *** -->

<revenge label="stage6B_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>52-($_self_cx%9)*13</param><param>52-($_self_cx%14)*8</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>30/2</param><param>$counter_e</param><param>1400</param><param>24</param><param>$localcounter</param></actionRef>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<actionRef label="item_counter_01_red"><param>60</param></actionRef>
	</repeat>

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

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


<revenge label="stage6B_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>52-($_self_cx%9)*13</param><param>52-($_self_cx%14)*8</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>34/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>60</param></actionRef>
	</repeat>

	<!-- *** 次の形態のボスの作成 *** -->
	<createRef label="stage6B_boss_03_create"></createRef>
	
	<!-- *** 最後に自殺 *** -->
	<vanish></vanish>	
</revenge>

<revenge label="stage6B_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>52-($_self_cx%9)*13</param><param>52-($_self_cx%14)*8</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>1800</param><param>24</param><param>$localcounter</param></actionRef>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<actionRef label="item_counter_01_red"><param>60</param></actionRef>
	</repeat>

	<!-- *** 次の形態のボスの作成 *** -->
	
	<createRef label="stage6B_boss_04_create"><param>($_self_cx-lt210)+($_self_cx-lt270)+($_self_cx-gt370)+($_self_cx-gt430)+($_self_cy-gt240)</param></createRef>
	
	<!-- *** 最後に自殺 *** -->
	<vanish></vanish>	
</revenge>


<revenge label="stage6B_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>52-($_self_cx%9)*13</param><param>52-($_self_cx%14)*8</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>1500</param><param>24</param><param>$localcounter</param></actionRef>
	</repeat>
	<repeat><times>$_revenge_state-eq3</times>
		<actionRef label="item_counter_01_red"><param>60</param></actionRef>
	</repeat>

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

<revenge label="stage6B_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>

	<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>52-($_self_cx%9)*13</param><param>52-($_self_cx%14)*8</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>

	<!-- *** 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>

	<repeat><times>($_revenge_state-eq1)</times>
		<repeat><times>$etb_num</times>
			<actionRef label="etb_letter"><param>2</param><param>7</param></actionRef>
			<createRef label="item_create_01_etb"><param>-27000</param><param>800000</param></createRef>
			<sysvar name="tbchain">$_tbchain+1</sysvar>
		</repeat>
		<eval name="counter_e">$__counter_tmp</eval>
		<actionRef label="item_counter_01_boss"><param>46/2</param><param>$counter_e</param><param>3500</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>

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


<revenge label="stage6B_boss_06_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>


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


	<!-- *** 弾幕のアイテム化 *** -->
	<wait>1</wait>
	<changeBulletToItem/>

	<!-- 敵ブルブルアクション -->
	<soundRef label="boss_break2"></soundRef>
	<soundRef label="boss_tremble_sound"></soundRef>
	<actionRef label="boss_tremble"></actionRef>

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

	<!-- *** ライフ表示を消す *** -->
	<targetRevenge label="boss_life"></targetRevenge>
	<!-- *** ボス名称表示を消す *** -->
	<targetRevenge label="boss_name_stage6_maiha2"></targetRevenge>
	<targetRevenge label="prate_alarm_boss_object"></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>
	<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>

	<!-- *** 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>

	<!-- ミスしていたら１倍(50以上で1倍) -->
	<repeat><times>$miss_end-eq$__miss_start</times>
		<eval name="localcounter">19</eval>
	</repeat>
	<repeat><times>1-($miss_end-eq$__miss_start)</times>
		<eval name="localcounter">51</eval>
	</repeat>
	<!-- 自爆のためscoreが入らないので、ここでスコアを加算する -->
	<addScore>
		<score>550000</score>	
	</addScore>


	<!-- 01ばらまき -->
	<actionRef label="break_action2"></actionRef>
	<changeColor>
		<alpha>60</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
	</changeColor>

	<repeat><times>$etb_num</times>
		<actionRef label="etb_letter99"></actionRef>
		<createRef label="item_create_01_etb"><param>-999999</param><param>400000</param></createRef>
		<sysvar name="tbchain">$_tbchain+1</sysvar>
	</repeat>
	<repeat><times>1-($etb_num)</times>
		<actionRef label="etb_letter99e"></actionRef>
		<createRef label="item_create_01_etb"><param>-999999</param><param>0</param></createRef>
	</repeat>

	<actionRef label="item_counter_01_boss"><param>50/2</param><param>10</param><param>10</param><param>24</param><param>$localcounter</param></actionRef>

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


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

</revenge>



</exbulletml>
