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

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

<action label="stage6C_middle_boss">

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

	<!-- ボス体力定義 -->
	<repeat><times>$__twins_set-eq0</times>
		<global name="yuki_vital1">1700-70</global>
		<global name="yuki_vital2">1500-70</global>
		<global name="yuki_vital3">1600-70</global>
		<global name="yuki_vital4">2000-100</global>
		<global name="yuki_vital5">2000-100</global>
	</repeat>
	<repeat><times>$__twins_set-eq1</times>
		<global name="yuki_vital1">270-20</global>
		<global name="yuki_vital2">320-20</global>
		<global name="yuki_vital3">480-20</global>
		<global name="yuki_vital4">830-50</global>
		<global name="yuki_vital5">320-30</global>
	</repeat>

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

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

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

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

	<!-- 出現用ボスを消去 -->
	<targetRevenge label="stage6C_boss_enemy_appear_yuki"></targetRevenge>

	<!-- *** 最初のボスオブジェクト作成 *** -->
	<createRef label="enemy_create_middle_boss"></createRef>


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

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

</action>


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

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

<create label="enemy_create_middle_boss">

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

</create>

<create label="enemy_create_middle_boss2">

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

</create>

<create label="enemy_create_middle_boss3">

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

</create>

<create label="enemy_create_middle_boss4">

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

</create>

<create label="enemy_create_middle_boss5">

	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
 	<vital>$__yuki_vital5</vital>
	<inv>40</inv>
	<score>500000</score>
	<prate>$__middle_boss_prate3</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="stage6C_boss_present_yuki"></presentRef>

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

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

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

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

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

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

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

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

</enemy>

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

	<eval name="make_rand">($_player_cx*13)%11</eval>
	<wait>30</wait>
<global name="counter_tmp">$_counter</global>
<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>

<!-- 弾幕開始 -->
<repeat><times>3</times>
	<!-- No3 雪空 -->

	<eval name="ver_num">7</eval>

	<repeat><times>4</times>
	<wait>1</wait>
	<eval name="hori_num">9</eval>
	<evaladd name="make_rand">7</evaladd>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_02"><param>$hori_num</param><param>0</param><param>$ver_num</param><param>$make_rand</param><param>$make_rand</param></fireRef>
	<fireRef label="middle_boss_fire_02"><param>-1*$hori_num</param><param>0</param><param>-1*$ver_num</param><param>$make_rand</param></fireRef>
	<repeat><times>2</times>
		<wait>2</wait>
		<evaladd name="make_rand">2</evaladd>
		<evaladd name="hori_num">-0.45</evaladd>
		<fireRef label="middle_boss_fire_02"><param>$hori_num</param><param>0</param><param>$ver_num</param><param>$make_rand</param></fireRef>
		<fireRef label="middle_boss_fire_02"><param>-1*$hori_num</param><param>0</param><param>-1*$ver_num</param><param>$make_rand</param></fireRef>
		<wait>2</wait>
		<evaladd name="make_rand">4</evaladd>
		<evaladd name="hori_num">-0.45</evaladd>
		<fireRef label="middle_boss_fire_02n"><param>$hori_num</param><param>1</param><param>$ver_num</param><param>$make_rand</param></fireRef>
		<fireRef label="middle_boss_fire_02"><param>-1*$hori_num</param><param>1</param><param>-1*$ver_num</param><param>$make_rand</param></fireRef>
		<wait>2</wait>
		<evaladd name="make_rand">2</evaladd>
		<evaladd name="hori_num">-0.45</evaladd>
		<fireRef label="middle_boss_fire_02"><param>$hori_num</param><param>0</param><param>$ver_num</param><param>$make_rand</param></fireRef>
		<fireRef label="middle_boss_fire_02"><param>-1*$hori_num</param><param>0</param><param>-1*$ver_num</param><param>$make_rand</param></fireRef>
		<wait>2</wait>
		<evaladd name="make_rand">4</evaladd>
		<evaladd name="hori_num">-0.45</evaladd>
		<fireRef label="middle_boss_fire_02"><param>$hori_num</param><param>1</param><param>$ver_num</param><param>$make_rand</param></fireRef>
		<fireRef label="middle_boss_fire_02n"><param>-1*$hori_num</param><param>1</param><param>-1*$ver_num</param><param>$make_rand</param></fireRef>
	</repeat>
	<repeat><times>4</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<repeat><times>2</times>
			<wait>2</wait>
			<evaladd name="make_rand">9</evaladd>
			<evaladd name="hori_num">-0.45</evaladd>
			<fireRef label="middle_boss_fire_02"><param>$hori_num</param><param>0</param><param>$ver_num</param><param>$make_rand</param></fireRef>
			<fireRef label="middle_boss_fire_02n"><param>-1*$hori_num</param><param>0</param><param>-1*$ver_num</param><param>$make_rand</param></fireRef>
			<wait>2</wait>
			<evaladd name="hori_num">-0.45</evaladd>
			<evaladd name="make_rand">3</evaladd>
			<fireRef label="middle_boss_fire_02"><param>$hori_num</param><param>1</param><param>$ver_num</param><param>$make_rand</param></fireRef>
			<fireRef label="middle_boss_fire_02"><param>-1*$hori_num</param><param>1</param><param>-1*$ver_num</param><param>$make_rand</param></fireRef>
			<wait>2</wait>
			<evaladd name="make_rand">9</evaladd>
			<evaladd name="hori_num">-0.45</evaladd>
			<fireRef label="middle_boss_fire_02n"><param>$hori_num</param><param>0</param><param>$ver_num</param><param>$make_rand</param></fireRef>
			<fireRef label="middle_boss_fire_02"><param>-1*$hori_num</param><param>0</param><param>-1*$ver_num</param><param>$make_rand</param></fireRef>
			<wait>2</wait>
			<evaladd name="hori_num">-0.45</evaladd>
			<evaladd name="make_rand">3</evaladd>
			<fireRef label="middle_boss_fire_02"><param>$hori_num</param><param>1</param><param>$ver_num</param><param>$make_rand</param></fireRef>
			<fireRef label="middle_boss_fire_02"><param>-1*$hori_num</param><param>1</param><param>-1*$ver_num</param><param>$make_rand</param></fireRef>
		</repeat>
	</repeat>
	<evaladd name="ver_num">-1.4</evaladd>
	<eval name="make_rand">($_player_cx+$make_rand)%11</eval>
	</repeat>

	<eval name="mv_dir">1-(($_player_cx%2)*2)</eval>
	<changeDirection>
		<direction type="absolute">75*$mv_dir</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">2</speed><term>15</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>15</term>
	</changeSpeed>
	<wait>170-3+25</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->


	<!-- No2 狙いレーザー -->
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="middle_boss_laser_01_top"><param>-60*$mv_dir</param></fireRef>
	<wait>26</wait>
	<changeDirection>
		<direction type="absolute">-95*$mv_dir</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">2</speed><term>15</term>
	</changeSpeed>

	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="middle_boss_laser_01_top_s"><param>10*$mv_dir</param></fireRef>
	<wait>26</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="middle_boss_laser_01_top_s"><param>20*$mv_dir</param></fireRef>
	<wait>26</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="middle_boss_laser_01_top_s"><param>60*$mv_dir</param></fireRef>
	<wait>26</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="middle_boss_laser_01_top_s"><param>20*$mv_dir</param></fireRef>
	<wait>2</wait>

	<changeSpeed>
		<speed type="absolute">0</speed><term>15</term>
	</changeSpeed>
	<wait>24</wait>
<!--
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="middle_boss_laser_01_top_s"><param>10*$mv_dir</param></fireRef>
-->
	<wait>66</wait>
	
	<changeDirection>
		<direction type="absolute">91*$mv_dir</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">3.4</speed><term>15</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>15</term>
	</changeSpeed>
	<wait>50-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

	<!-- No3 よれる水色弾 -->
	<eval name="bul_sp">1.8</eval>
	<eval name="bul_dir">0</eval>
	<eval name="bul_wait">9</eval>
	<eval name="bul_wait2">40</eval>
	<wait>1</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_01"><param>180</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
	<repeat><times>3</times>
		<evaladd name="bul_dir">15</evaladd>
		<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
	</repeat>
	<repeat><times>2</times>
		<wait>1</wait>
		<evaladd name="bul_wait">-1</evaladd>
		<repeat><times>4</times>
			<evaladd name="bul_dir">15</evaladd>
			<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
		</repeat>
	</repeat>
	<eval name="bul_dir">0</eval>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="bul_wait">-1</evaladd>
		<repeat><times>4</times>
			<evaladd name="bul_dir">15</evaladd>
			<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
		</repeat>
	</repeat>
	<eval name="bul_dir">0</eval>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="bul_wait">-1</evaladd>
		<repeat><times>4</times>
			<evaladd name="bul_dir">15</evaladd>
			<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
		</repeat>
	</repeat>
	<wait>3</wait>
	<evaladd name="bul_wait2">-2</evaladd>
	<eval name="bul_dir">0</eval>
	<evaladd name="bul_sp">-0.05</evaladd>
	<eval name="bul_wait">9</eval>
	<wait>1</wait>

	<repeat><times>18</times>
		<fireRef label="middle_boss_fire_01_s"><param>16</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
		<repeat><times>3</times>
			<evaladd name="bul_dir">15</evaladd>
			<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
		</repeat>
		<repeat><times>2</times>
			<wait>1</wait>
			<evaladd name="bul_wait">-1</evaladd>
			<repeat><times>4</times>
				<evaladd name="bul_dir">15</evaladd>
				<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
			</repeat>
		</repeat>
		<eval name="bul_dir">0</eval>
		<repeat><times>3</times>
			<wait>1</wait>
			<evaladd name="bul_wait">-1</evaladd>
			<repeat><times>4</times>
				<evaladd name="bul_dir">15</evaladd>
				<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
			</repeat>
		</repeat>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<eval name="bul_dir">0</eval>
		<repeat><times>3</times>
			<wait>1</wait>
			<evaladd name="bul_wait">-1</evaladd>
			<repeat><times>4</times>
				<evaladd name="bul_dir">15</evaladd>
				<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
			</repeat>
		</repeat>
		<wait>3</wait>
		<evaladd name="bul_wait2">-1</evaladd>
		<eval name="bul_dir">0</eval>
		<evaladd name="bul_sp">-0.05</evaladd>
		<eval name="bul_wait">9</eval>
		<wait>1</wait>

		<fireRef label="middle_boss_fire_01_s"><param>16</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
		<repeat><times>3</times>
			<evaladd name="bul_dir">-15</evaladd>
			<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
		</repeat>
		<repeat><times>2</times>
			<wait>1</wait>
			<evaladd name="bul_wait">-1</evaladd>
			<repeat><times>4</times>
				<evaladd name="bul_dir">-15</evaladd>
				<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
			</repeat>
		</repeat>
		<eval name="bul_dir">0</eval>
		<repeat><times>3</times>
			<wait>1</wait>
			<evaladd name="bul_wait">-1</evaladd>
			<repeat><times>4</times>
				<evaladd name="bul_dir">-15</evaladd>
				<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
			</repeat>
		</repeat>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<eval name="bul_dir">0</eval>
		<repeat><times>3</times>
			<wait>1</wait>
			<evaladd name="bul_wait">-1</evaladd>
			<repeat><times>4</times>
				<evaladd name="bul_dir">-15</evaladd>
				<fireRef label="middle_boss_fire_01_s"><param>10</param><param>$bul_sp</param><param>$bul_wait2</param><param>$bul_dir</param><param>$bul_wait</param></fireRef>
			</repeat>
		</repeat>
		<wait>3</wait>
		<evaladd name="bul_wait2">-1</evaladd>
		<eval name="bul_dir">0</eval>
		<eval name="bul_wait">9</eval>
		<wait>1</wait>
	</repeat>

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

<!-- param 1:dir 2:最終速度 3:止まるまでの時間 4:最終角度 5:最初のずれを修正するwait -->
<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_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>

<bullet label="middle_boss_bullet_01">

	<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>15</green><blue>255</blue>
	</img>

	<action>
		<wait>$4</wait>
		<changeSpeed>
			<speed type="absolute">2</speed><term>1</term>
		</changeSpeed>
		<wait>$2</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>15</term>
		</changeSpeed>
		<wait>30</wait>
		<changeSpeed>
			<speed type="absolute">$1</speed><term>15</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">$3</direction><term>60</term>
		</changeDirection>


	</action>

</bullet>

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

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

<bullet label="middle_boss_laser_bullet_01">

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

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

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

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

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

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

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

	</action>
</bullet>

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

<bullet label="middle_boss_laser_bullet_01_tail">

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

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

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

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

	</action>
</bullet>

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

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

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

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

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

	</action>
</enemy>




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

<bullet label="middle_boss_laser_bullet_02_tail">

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

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

		<wait>2</wait>

		<vanish/>

	</action>
</bullet>

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

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

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

		<vanish/>

	</action>
</enemy>

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

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

<bullet label="middle_boss_bullet_02">

	<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>2</red><green>105</green><blue>255</blue>
	</img>

	<action>
		<wait>1</wait>
		<accel>
			<vertical>$3</vertical><term>1</term>
			<horizontal>$1</horizontal><term>1</term>
		</accel>
		<wait>1</wait>
		<accel>
			<vertical>0</vertical><term>1</term>
			<horizontal>0</horizontal><term>1</term>
		</accel>
		<wait>20</wait>

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

		<wait>80</wait>

		<actionRef label="enemy_bullet_action2"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_03"><param>180*$2-10+($4*3+$_player_cx*9+$_self_cx*7)%21</param></fireRef>

		<wait>10</wait>		
		<changeDirection>
			<direction type="absolute">180*$2-10+($4*7+$_player_cx*9+$_self_cx*7)%21</direction><term>1</term>
		</changeDirection>

		<changeSpeed>
			<speed type="absolute">1.4</speed><term>85</term>
		</changeSpeed>

	</action>
</bullet>

<fire label="middle_boss_fire_02n">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<bulletRef label="middle_boss_bullet_02n"><param>$1</param><param>$2</param><param>$3</param><param>$4</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_02n">

	<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>2</red><green>105</green><blue>255</blue>
	</img>

	<action>
		<wait>1</wait>
		<accel>
			<vertical>$3</vertical><term>1</term>
			<horizontal>$1</horizontal><term>1</term>
		</accel>
		<wait>1</wait>
		<accel>
			<vertical>0</vertical><term>1</term>
			<horizontal>0</horizontal><term>1</term>
		</accel>
		<wait>20</wait>

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

		<wait>80</wait>

		<wait>10</wait>		
		<changeDirection>
			<direction type="absolute">180*$2-10+($4*7+$_player_cx*9+$_self_cx*7)%21</direction><term>1</term>
		</changeDirection>

		<changeSpeed>
			<speed type="absolute">1.4</speed><term>85</term>
		</changeSpeed>

	</action>
</bullet>

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

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

<bullet label="middle_boss_bullet_03">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</radius></collision>
	<img type="maskadd">
		<file type="dds">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>105</green><blue>255</blue>
	</img>

	<action>
		<changeSpeed>
			<speed type="absolute">1.8-(($_self_cx*7+$_player_cx*7)%4)/10</speed><term>85</term>
		</changeSpeed>
	</action>
</bullet>


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

<action  label="stage6C_middle_boss_02_action">

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

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

<!-- 弾幕開始 -->
	<global name="set_laser_item">1</global>

	<createRef label="mahoujin_create_yuki_2_01"><param>0</param></createRef>
	<createRef label="mahoujin_create_yuki_2_01"><param>60</param></createRef>
	<createRef label="mahoujin_create_yuki_2_01"><param>120</param></createRef>
	<wait>1</wait>
	<createRef label="mahoujin_create_yuki_2_01"><param>180</param></createRef>
	<createRef label="mahoujin_create_yuki_2_01"><param>240</param></createRef>
	<createRef label="mahoujin_create_yuki_2_01"><param>300</param></createRef>
	<wait>79</wait>

	<createRef label="mahoujin_create_yuki_2_01d"></createRef>
	<wait>3</wait>

	<changeDirection>
		<direction type="absolute">-80+160*($_player_cx-gt320)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.5</speed><term>20</term>
	</changeSpeed>
	<wait>60</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
		<wait>52</wait>
		<wait>1</wait>
		<wait>7</wait>

	<changeDirection>
		<direction type="relative">180</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.5</speed><term>20</term>
	</changeSpeed>
	<wait>60</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
		<wait>52</wait>
		<wait>1</wait>
		<wait>7</wait>
	
	<changeDirection>
		<direction type="absolute">-80+160*($_player_cx-gt320)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.5</speed><term>20</term>
	</changeSpeed>
	<wait>60</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
		<wait>52</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_2_02"><param>0</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="middle_boss_fire_2_02_s"><param>40</param></fireRef>
		</repeat>
		<wait>7</wait>

	<repeat><times>7</times>
		<changeDirection>
			<direction type="absolute">-80+160*($_player_cx%2)</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">0.9</speed><term>20</term>
		</changeSpeed>
		<wait>60</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>

		<wait>52</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_2_02"><param>0</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="middle_boss_fire_2_02_s"><param>40</param></fireRef>
		</repeat>
		<wait>7</wait>

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


		<changeDirection>
			<direction type="relative">180</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">0.9</speed><term>20</term>
		</changeSpeed>
		<wait>60</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>
		<wait>52</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_2_02"><param>0</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="middle_boss_fire_2_02_s"><param>40</param></fireRef>
		</repeat>
		<wait>7</wait>

		<wait>60</wait>
		<wait>52</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<wait>1</wait>
		<fireRef label="middle_boss_fire_2_02"><param>0</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="middle_boss_fire_2_02_s"><param>40</param></fireRef>
		</repeat>
		<wait>7-3</wait>
		<!-- タイマーを１つ消す -->
		<global name="timer">$__timer-1</global>
		<actionRef label="vanish_timer"></actionRef>
		<!-- <wait>3</wait> -->

	</repeat>
	
<wait>120</wait>
<global name="set_laser_item">0</global>
<targetRevenge label="enemy_middle_boss"></targetRevenge>

</action>


<create label="mahoujin_create_yuki_2_01">
	<speed>2</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<objectRef label="mahoujin_enemy_yuki_2_01"><param>$1</param></objectRef>
</create>

<object label="mahoujin_enemy_yuki_2_01">

	<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>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg><direction>2</direction><term>-1</term></rotateImg>

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

		<wait>30</wait>

		<createRef label="yuki_laser_create_2_01"></createRef>

		<wait>30</wait>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_2_01"><param>0</param></fireRef>
		<repeat><times>11</times>
			<wait>2</wait>
			<fireRef label="middle_boss_fire_2_01_s"><param>30</param></fireRef>
		</repeat>
		<repeat><times>-1</times>
			<wait>74</wait>
			<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_2_01_s"><param>30+$1/30</param></fireRef>
			<repeat><times>11</times>
				<wait>2</wait>
				<fireRef label="middle_boss_fire_2_01_s"><param>30</param></fireRef>
			</repeat>
		</repeat>

	</action>
</object>

<create label="mahoujin_create_yuki_2_01d">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<objectRef label="mahoujin_enemy_yuki_2_01d"></objectRef>
</create>

<object label="mahoujin_enemy_yuki_2_01d">

	<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>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg><direction>2</direction><term>-1</term></rotateImg>

	<action>
	<createRef label="yuki_laser_create_2_02"><param>0</param></createRef>
	<createRef label="yuki_laser_create_2_02"><param>60</param></createRef>
	<createRef label="yuki_laser_create_2_02"><param>120</param></createRef>
	<wait>1</wait>
	<createRef label="yuki_laser_create_2_02"><param>180</param></createRef>
	<createRef label="yuki_laser_create_2_02"><param>240</param></createRef>
	<createRef label="yuki_laser_create_2_02"><param>300</param></createRef>
	<wait>3</wait>
	<sound type="se" label="laser_se">
		<track><file type="ogg">laser2</file></track>
		<play><flag>1</flag><loop>0</loop></play>
	</sound>

	</action>
</object>

<create label="yuki_laser_create_2_01">
	<speed>50</speed>
	<direction type="relative">120</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital>
	<child>1</child>
	<enemyRef label="yuki_laser_create_2_01"></enemyRef>
</create>

<enemy label="yuki_laser_create_2_01">
	<inv>85</inv>
	<revengeRef label="yuki_laser_revenge_2_01"></revengeRef>
	<collision type="sync"><left>-3</left><top>-50</top><right>3</right><bottom>50</bottom></collision>	
	<buzz type="sync"><left>-3</left><top>-50</top><right>3</right><bottom>50</bottom></buzz>	
	<child>1</child>
	<img type="add">
		<file type="dds">shot_la</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>100</height>
		<alpha>0</alpha><red>64</red><green>250</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<setBreakable><num>1</num></setBreakable>
	<action>
		<wait>1</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>1</term>
		</changeSpeed>
		<wait>1</wait>
		<changeColor>
			<alpha>225</alpha><red>64</red><green>250</green><blue>255</blue><term>75</term>
		</changeColor>
		<wait>1</wait>
		<wait>1</wait>
		<wait>28</wait>

		<changeImgSize>
			<width>8</width><height>100</height><term>54</term>
		</changeImgSize>
		<wait>53</wait>

		<repeat><times>-1</times>
			<changeColor>
				<alpha>225</alpha><red>164</red><green>170</green><blue>255</blue><term>30</term>
			</changeColor>
			<repeat><times>3</times>
				<wait>11</wait>
				<incBuzzCount></incBuzzCount>
			</repeat>
			<changeColor>
				<alpha>225</alpha><red>64</red><green>250</green><blue>255</blue><term>30</term>
			</changeColor>
			<repeat><times>7</times>
				<wait>11</wait>
				<incBuzzCount></incBuzzCount>
			</repeat>
		</repeat>

	</action>	
</enemy>

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

<enemy label="yuki_laser_create_2_02">
	<inv>85</inv>
	<revengeRef label="yuki_laser_revenge_2_01"></revengeRef>
	<collision type="sync"><left>-3</left><top>-182</top><right>3</right><bottom>182</bottom></collision>	
	<buzz type="sync"><left>-3</left><top>-182</top><right>3</right><bottom>182</bottom></buzz>	
	<child>1</child>
	<img type="add">
		<file type="dds">shot_la</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>364</height>
		<alpha>0</alpha><red>64</red><green>250</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<setBreakable><num>1</num></setBreakable>
	<action>
		<wait>1</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>1</term>
		</changeSpeed>
		<wait>1</wait>
		<changeColor>
			<alpha>225</alpha><red>64</red><green>250</green><blue>255</blue><term>75</term>
		</changeColor>
		<wait>1</wait>
		<wait>1</wait>
		<wait>28</wait>

		<changeImgSize>
			<width>8</width><height>364</height><term>54</term>
		</changeImgSize>
		<wait>53</wait>

		<repeat><times>-1</times>
			<changeColor>
				<alpha>225</alpha><red>164</red><green>170</green><blue>255</blue><term>30</term>
			</changeColor>
			<repeat><times>3</times>
				<wait>11</wait>
				<incBuzzCount></incBuzzCount>
			</repeat>
			<changeColor>
				<alpha>225</alpha><red>64</red><green>250</green><blue>255</blue><term>30</term>
			</changeColor>
			<repeat><times>7</times>
				<wait>11</wait>
				<incBuzzCount></incBuzzCount>
			</repeat>
		</repeat>

	</action>	
</enemy>

<revenge label="yuki_laser_revenge_2_01">
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<repeat><times>5*$__set_laser_item</times>
		<createRef label="item_create_01"></createRef>
	</repeat>
	<wait>1</wait>
	<changeColor>
		<alpha>32</alpha><red>64</red><green>250</green><blue>255</blue><term>30</term>
	</changeColor>

	<vanish></vanish>
</revenge>


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

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

<bullet label="middle_boss_bullet_2_01">

	<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>2</red><green>195</green><blue>255</blue>
	</img>

	<action>
		<changeSpeed>
			<speed type="absolute">1.1</speed><term>45</term>
		</changeSpeed>
	</action>
</bullet>

<fire label="middle_boss_fire_2_02">
	<speed>0</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_2_02"></bulletRef>
</fire>

<fire label="middle_boss_fire_2_02_s">
	<speed>0</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_2_02"></bulletRef>
</fire>

<bullet label="middle_boss_bullet_2_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>10</radius></collision>
	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*4</left><top>0</top><right>32*5</right><bottom>32</bottom>
		<width>24</width><height>24</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<action>
		<changeSpeed>
			<speed type="absolute">1.4</speed><term>65</term>
		</changeSpeed>
	</action>
</bullet>

<!-- ********************************************************************* -->
<!-- *** 中ボスのアクション　第３形態　				*** -->
<!-- 逆巻く吹雪 -->

<action  label="stage6C_middle_boss_03_action">

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

	<changePosition type="center">
		<x>320</x><y>180</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="mahoujin_create_yuki_3_01"></createRef>
	<createRef label="mahoujin_create_yuki_3_02"></createRef>

<repeat><times>12</times>
	<changeDirection>
		<direction type="absolute">-75+150*($_player_cx%2)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1</speed><term>10</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>10</term>
	</changeSpeed>

	<repeat><times>2</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_03"><param>5-10*($_player_cx%2)</param></fireRef>
		<wait>6</wait>
		<fireRef label="middle_boss_fire_3_03_s"><param>19</param></fireRef>
		<wait>6</wait>
		<fireRef label="middle_boss_fire_3_03_s"><param>-39</param></fireRef>
		<wait>6</wait>
		<fireRef label="middle_boss_fire_3_03_s"><param>29</param></fireRef>
		<wait>6</wait>
		<fireRef label="middle_boss_fire_3_03_s"><param>-8</param></fireRef>
		<wait>6</wait>
	</repeat>
	<wait>20</wait>

	<actionRef label="enemy_bullet_action_sword"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_3_02_org"></fireRef>
	<wait>35</wait>

	<changeDirection>
		<direction type="relative">180</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1</speed><term>10</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>10</term>
	</changeSpeed>
	<repeat><times>2</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="middle_boss_fire_3_03"><param>5-10*($_player_cx%2)</param></fireRef>
		<wait>6</wait>
		<fireRef label="middle_boss_fire_3_03_s"><param>-39</param></fireRef>
		<wait>6</wait>
		<fireRef label="middle_boss_fire_3_03_s"><param>19</param></fireRef>
		<wait>6</wait>
		<fireRef label="middle_boss_fire_3_03_s"><param>-8</param></fireRef>
		<wait>6</wait>
		<fireRef label="middle_boss_fire_3_03_s"><param>29</param></fireRef>
		<wait>6</wait>
	</repeat>
	<wait>20</wait>

	<actionRef label="enemy_bullet_action_sword"><param>64</param></actionRef>
	<fireRef label="middle_boss_fire_3_02_org"></fireRef>
	<wait>35-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>

<create label="mahoujin_create_yuki_3_01">
	<speed>4</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<objectRef label="mahoujin_enemy_yuki_3_01"></objectRef>
</create>

<object label="mahoujin_enemy_yuki_3_01">

	<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>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg><direction>2</direction><term>-1</term></rotateImg>

	<action>
		<changePosition type="center">
			<x>210</x><y>480-16</y>
		</changePosition>
		<changeSpeed>
			<speed type="absolute">0</speed><term>1</term>
		</changeSpeed>
		<wait>29</wait>


	<repeat><times>11</times>
		<eval name="count">3</eval>
		<repeat><times>3</times>
		<eval name="bul_wait">51</eval> <!-- 50〜60くらい -->
		<eval name="bul_sp1">6.1</eval>
		<eval name="bul_sp2">1.6</eval>
		<eval name="bul_dir">179</eval>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_3_01">
			<param>$bul_sp1</param><param>-3+$_player_cx%7</param><param>$bul_wait+($count%4)+11</param><param>$bul_sp2-0.1</param><param>$bul_dir-15</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.1</param><param>4</param><param>$bul_wait+($count%3)-9</param><param>$bul_sp2+0.1</param><param>$bul_dir+12</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.1</param><param>3</param><param>$bul_wait+($count%4)+10</param><param>$bul_sp2-0.2</param><param>$bul_dir-11</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.2</param><param>-8</param><param>$bul_wait+($count%5)+8</param><param>$bul_sp2+0.2</param><param>$bul_dir+8</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1</param><param>-3</param><param>$bul_wait+($count%4)-15</param><param>$bul_sp2-0.3</param><param>$bul_dir+15</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.3</param><param>7</param><param>$bul_wait+($count%3)+7</param><param>$bul_sp2+0.1</param><param>$bul_dir-9</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.1</param><param>2</param><param>$bul_wait+($count%5)-6</param><param>$bul_sp2</param><param>$bul_dir-14</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.2</param><param>-1</param><param>$bul_wait+($count%4)+9</param><param>$bul_sp2-0.1</param><param>$bul_dir+3</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.2</param><param>-6</param><param>$bul_wait+($count%3)</param><param>$bul_sp2+0.3</param><param>$bul_dir-10</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.4</param><param>5</param><param>$bul_wait+($count%4)-8</param><param>$bul_sp2-0.2</param><param>$bul_dir+5</param>
		</fireRef>
		<wait>3</wait>
<!--
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.5</param><param>-3</param><param>$bul_wait+($count%5)-14</param><param>$bul_sp2+0.2</param><param>$bul_dir-6</param>
		</fireRef>
-->
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
	
		<eval name="bul_wait">48</eval> <!-- 50〜60くらい -->
		<eval name="bul_sp1">5.9</eval>
		<eval name="bul_sp2">1.4</eval>
		<eval name="bul_dir">180</eval>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_3_01">
			<param>$bul_sp1</param><param>-3+$_player_cx%7</param><param>$bul_wait+($count%4)+5</param><param>$bul_sp2-0.1</param><param>$bul_dir-15</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.1</param><param>4</param><param>$bul_wait+($count%5)+2</param><param>$bul_sp2+0.1</param><param>$bul_dir+12</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.1</param><param>3</param><param>$bul_wait+($count%4)-9</param><param>$bul_sp2-0.2</param><param>$bul_dir-11</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.2</param><param>-8</param><param>$bul_wait+($count%3)-18</param><param>$bul_sp2+0.2</param><param>$bul_dir+8</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1</param><param>-3</param><param>$bul_wait+($count%4)+2</param><param>$bul_sp2-0.3</param><param>$bul_dir+15</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.3</param><param>7</param><param>$bul_wait+($count%5)+7</param><param>$bul_sp2+0.1</param><param>$bul_dir-9</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.1</param><param>2</param><param>$bul_wait+($count%4)-3</param><param>$bul_sp2</param><param>$bul_dir-14</param>
		</fireRef>

		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.2</param><param>-1</param><param>$bul_wait+($count%3)-9</param><param>$bul_sp2-0.1</param><param>$bul_dir+3</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.2</param><param>-6</param><param>$bul_wait+($count%4)</param><param>$bul_sp2+0.3</param><param>$bul_dir-10</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.4</param><param>5</param><param>$bul_wait+($count%3)-12</param><param>$bul_sp2-0.2</param><param>$bul_dir+5</param>
		</fireRef>
		<wait>3</wait>
<!--
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.5</param><param>-3</param><param>$bul_wait+($count%4)+3</param><param>$bul_sp2+0.2</param><param>$bul_dir-6</param>
		</fireRef>
-->
		<wait>3</wait>
		<eval name="count">$count%7</eval>
		</repeat>
		<wait>80</wait>
	</repeat>
	</action>
</object>

<create label="mahoujin_create_yuki_3_02">
	<speed>4</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<objectRef label="mahoujin_enemy_yuki_3_02"></objectRef>
</create>

<object label="mahoujin_enemy_yuki_3_02">

	<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>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg><direction>2</direction><term>-1</term></rotateImg>

	<action>
		<changePosition type="center">
			<x>430</x><y>480-16</y>
		</changePosition>
		<changeSpeed>
			<speed type="absolute">0</speed><term>1</term>
		</changeSpeed>

		<wait>29</wait>


	<repeat><times>11</times>
		<eval name="count">0</eval>
		<repeat><times>3</times>
		<eval name="bul_wait">50</eval> <!-- 50〜60くらい -->
		<eval name="bul_sp1">6</eval>
		<eval name="bul_sp2">1.5</eval>
		<eval name="bul_dir">180</eval>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_3_01">
			<param>$bul_sp1</param><param>-3+$_player_cx%7</param><param>$bul_wait+($count%4)+($count%4)+5</param><param>$bul_sp2-0.1</param><param>$bul_dir-15</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.1</param><param>4</param><param>$bul_wait+($count%3)+8</param><param>$bul_sp2+0.1</param><param>$bul_dir+12</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.1</param><param>3</param><param>$bul_wait+($count%4)+12</param><param>$bul_sp2-0.2</param><param>$bul_dir-11</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.2</param><param>-8</param><param>$bul_wait+($count%5)-8</param><param>$bul_sp2+0.2</param><param>$bul_dir+8</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1</param><param>-3</param><param>$bul_wait+($count%4)-5</param><param>$bul_sp2-0.3</param><param>$bul_dir+15</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.3</param><param>7</param><param>$bul_wait+($count%3)+7</param><param>$bul_sp2+0.1</param><param>$bul_dir-9</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.1</param><param>2</param><param>$bul_wait+($count%5)-7</param><param>$bul_sp2</param><param>$bul_dir-14</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.2</param><param>-1</param><param>$bul_wait+($count%4)+9</param><param>$bul_sp2-0.1</param><param>$bul_dir+3</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.2</param><param>-6</param><param>$bul_wait+($count%3)-16</param><param>$bul_sp2+0.3</param><param>$bul_dir-10</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.4</param><param>5</param><param>$bul_wait+($count%4)-9</param><param>$bul_sp2-0.2</param><param>$bul_dir+5</param>
		</fireRef>
		<wait>3</wait>
<!--
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.5</param><param>-3</param><param>$bul_wait+($count%5)+8</param><param>$bul_sp2+0.2</param><param>$bul_dir-6</param>
		</fireRef>
-->
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
	
		<eval name="bul_wait">49</eval> <!-- 50〜60くらい -->
		<eval name="bul_sp1">5.8</eval>
		<eval name="bul_sp2">1.4</eval>
		<eval name="bul_dir">181</eval>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_3_01">
			<param>$bul_sp1</param><param>-3+$_player_cx%7</param><param>$bul_wait+($count%4)+5</param><param>$bul_sp2-0.1</param><param>$bul_dir-15</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.1</param><param>4</param><param>$bul_wait+($count%5)+12</param><param>$bul_sp2+0.1</param><param>$bul_dir+12</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.1</param><param>3</param><param>$bul_wait+($count%4)-10</param><param>$bul_sp2-0.2</param><param>$bul_dir-11</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.2</param><param>-8</param><param>$bul_wait+($count%3)-8</param><param>$bul_sp2+0.2</param><param>$bul_dir+8</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1</param><param>-3</param><param>$bul_wait+($count%4)-15</param><param>$bul_sp2-0.3</param><param>$bul_dir+15</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.3</param><param>7</param><param>$bul_wait+($count%5)+7</param><param>$bul_sp2+0.1</param><param>$bul_dir-9</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.1</param><param>2</param><param>$bul_wait+($count%4)-4</param><param>$bul_sp2</param><param>$bul_dir-14</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.2</param><param>-1</param><param>$bul_wait+($count%3)+9</param><param>$bul_sp2-0.1</param><param>$bul_dir+3</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.2</param><param>-6</param><param>$bul_wait+($count%4)-19</param><param>$bul_sp2+0.3</param><param>$bul_dir-10</param>
		</fireRef>
		<wait>3</wait>
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1+0.4</param><param>5</param><param>$bul_wait+($count%3)-8</param><param>$bul_sp2-0.2</param><param>$bul_dir+5</param>
		</fireRef>
		<wait>3</wait>
<!--
		<evaladd name="count">1</evaladd>
		<fireRef label="middle_boss_fire_3_01_s">
			<param>$bul_sp1-0.5</param><param>-3</param><param>$bul_wait+($count%4)+11</param><param>$bul_sp2+0.2</param><param>$bul_dir-6</param>
		</fireRef>
-->
		<wait>3</wait>
		<eval name="count">$count%7</eval>
		</repeat>
		<wait>80</wait>
	</repeat>
	</action>
</object>

<!-- param1:初速 2:初期角度 3:wait 4:最終速度 5:最終角度   -->
<fire label="middle_boss_fire_3_01">
	<speed>$1</speed>
	<direction type="absolute">$2</direction>
	<bulletRef label="middle_boss_bullet_3_01"><param>$3</param><param>$4</param><param>$5</param></bulletRef>
</fire>

<fire label="middle_boss_fire_3_01_s">
	<speed>$1</speed>
	<direction type="absolute">$2</direction>
	<bulletRef label="middle_boss_bullet_3_01"><param>$3</param><param>$4</param><param>$5</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_3_01">

	<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>2</red><green>195</green><blue>255</blue>
	</img>

	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>30</term>
		</changeSpeed>
		<wait>30</wait>
		<changeSpeed>
			<speed type="absolute">$2</speed><term>30</term>
		</changeSpeed>
		<changeDirection>
			<direction type="absolute">$3+10-(($_player_cx+$_self_cy*13)%21)</direction><term>1</term>
		</changeDirection>

	</action>
</bullet>

<fire label="middle_boss_fire_3_02_org">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<bulletRef label="middle_boss_bullet_3_02_org"></bulletRef>
</fire>

<bullet label="middle_boss_bullet_3_02_org">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>
	<img type="add">
		<file type="dds">dia32</file>
		<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>102</red><green>105</green><blue>255</blue>
	</img>
	<action>
		<wait>1</wait>
		<eval name="bul_width">24</eval>
		<fireRef label="middle_boss_fire_3_02"><param>0</param><param>5</param><param>$bul_width</param></fireRef>
		<fireRef label="middle_boss_fire_3_02_s"><param>30</param><param>5</param><param>$bul_width</param></fireRef>
		<fireRef label="middle_boss_fire_3_02_s"><param>-60</param><param>5</param><param>$bul_width</param></fireRef>
		<repeat><times>4</times>
			<wait>1</wait>
			<evaladd name="bul_width">-1</evaladd>
			<fireRef label="middle_boss_fire_3_02_s"><param>30</param><param>4</param><param>$bul_width</param></fireRef>
			<fireRef label="middle_boss_fire_3_02_s"><param>30</param><param>4</param><param>$bul_width</param></fireRef>
			<fireRef label="middle_boss_fire_3_02_s"><param>-60</param><param>4</param><param>$bul_width</param></fireRef>
		</repeat>
		<repeat><times>4</times>
			<wait>1</wait>
			<evaladd name="bul_width">-1</evaladd>
			<fireRef label="middle_boss_fire_3_02_s"><param>30</param><param>3</param><param>$bul_width</param></fireRef>
			<fireRef label="middle_boss_fire_3_02_s"><param>30</param><param>3</param><param>$bul_width</param></fireRef>
			<fireRef label="middle_boss_fire_3_02_s"><param>-60</param><param>3</param><param>$bul_width</param></fireRef>
		</repeat>
		<repeat><times>2</times>
			<wait>1</wait>
			<evaladd name="bul_width">-2</evaladd>
			<fireRef label="middle_boss_fire_3_02_s"><param>30</param><param>2</param><param>$bul_width</param></fireRef>
			<fireRef label="middle_boss_fire_3_02_s"><param>30</param><param>2</param><param>$bul_width</param></fireRef>
			<fireRef label="middle_boss_fire_3_02_s"><param>-60</param><param>2</param><param>$bul_width</param></fireRef>
		</repeat>
		<repeat><times>4</times>
			<wait>1</wait>
			<evaladd name="bul_width">-2</evaladd>
			<fireRef label="middle_boss_fire_3_02_s"><param>30</param><param>1</param><param>$bul_width</param></fireRef>
			<fireRef label="middle_boss_fire_3_02_s"><param>30</param><param>1</param><param>$bul_width</param></fireRef>
			<fireRef label="middle_boss_fire_3_02_s"><param>-60</param><param>1</param><param>$bul_width</param></fireRef>
		</repeat>
		<vanish/>
	</action>
</bullet>


<fire label="middle_boss_fire_3_02">
	<speed>1</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_3_02"><param>$2</param><param>$3</param></bulletRef>
</fire>
<fire label="middle_boss_fire_3_02_s">
	<speed>1</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_3_02"><param>$2</param><param>$3</param></bulletRef>
</fire>

<bullet label="middle_boss_bullet_3_02">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>$1</radius></collision>
	<img type="add">
		<file type="dds">dia32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>$2</width><height>$2</height>
		<alpha>255</alpha><red>102</red><green>105</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<action>
		<wait>30</wait>
		<changeSpeed>
			<speed type="absolute">3.2</speed><term>30</term>
		</changeSpeed>

	</action>
</bullet>


<fire label="middle_boss_fire_3_03">
	<speed>2</speed>
	<direction type="aim">$1</direction>
	<bulletRef label="middle_boss_bullet_3_03"></bulletRef>
</fire>

<fire label="middle_boss_fire_3_03_s">
	<speed>2</speed>
	<direction type="sequence">$1</direction>
	<bulletRef label="middle_boss_bullet_3_03"></bulletRef>
</fire>

<bullet label="middle_boss_bullet_3_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>2</red><green>5</green><blue>255</blue>
	</img>

	<action>
		<changeSpeed>
			<speed type="absolute">1.2</speed><term>12</term>
		</changeSpeed>
	</action>
</bullet>
<!-- ********************************************************************* -->
<!-- *** 中ボスのアクション　第４形態　				*** -->
<!-- 降る雪 -->

<action  label="stage6C_middle_boss_04_action">

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

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

<!-- 弾幕開始 -->
	<!-- 雪を斜めに動かすためのglobal変数 -->
	<global name="snow_dir">180</global>
	<global name="snow_term">60</global>
	<global name="snow_wait">5</global>
	<global name="snow_sp">0</global>
	<eval name="cound_x">140+12</eval>
	<eval name="max_vital">$_self_vital</eval>
	<eval name="count">1</eval>
	<wait>1</wait>

	<!-- create雪雲 -->
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>7</param><param>4</param><param>9</param><param>34</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>8</param><param>3</param><param>8</param><param>38</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>3</param><param>1</param><param>3</param><param>32</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>9</param><param>9</param><param>2</param><param>35</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>11</param><param>6</param><param>5</param><param>39</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>13</param><param>5</param><param>7</param><param>33</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>8</param><param>4</param><param>1</param><param>37</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>4</param><param>3</param><param>6</param><param>38</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>6</param><param>2</param><param>4</param><param>24</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>2</param><param>9</param><param>10</param><param>38</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>10</param><param>7</param><param>7</param><param>41</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>5</param><param>8</param><param>11</param><param>41</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>7</param><param>3</param><param>5</param><param>43</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>4</param><param>4</param><param>3</param><param>38</param></createRef>
	<evaladd name="cound_x">24</evaladd>
	<createRef label="dummy_create_yuki_4_01"><param>$cound_x</param><param>16</param><param>9</param><param>7</param><param>6</param><param>44</param></createRef>

	<eval name="cound_x">140+24</eval>

	<wait>30</wait>

	<repeat><times>12</times>
		<changeDirection>
			<direction type="absolute">-65+130*($_player_cx%2)</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1</speed><term>10</term>
		</changeSpeed>
		<wait>60</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>	

		<repeat><times>($count-gt3)</times>
			<soundRef label="wind_se"/>
			<eval name="offset">$count*(1-2*($_player_cx%2))</eval>
			<global name="snow_dir">180+$offset</global>
			<global name="snow_term">80+$count</global>
			<global name="snow_wait">$__snow_wait+1*($__snow_wait-lt9)</global>
			<global name="snow_sp">$__snow_sp+0.03</global>
		</repeat>
		<repeat><times>(1-($count-gt3))*($_self_vital/$max_vital-lt0.6)</times>
			<soundRef label="wind_se"/>
			<eval name="offset">$count*(1-2*($_player_cx%2))</eval>
			<global name="snow_dir">180+$offset</global>
			<global name="snow_term">80+$count</global>
			<global name="snow_wait">$__snow_wait+1*($__snow_wait-lt9)</global>
			<global name="snow_sp">$__snow_sp+0.03</global>
		</repeat>

		<wait>120</wait>
		<evaladd name="count">1</evaladd>

		<changeDirection>
			<direction type="relative">180</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1</speed><term>10</term>
		</changeSpeed>
		<wait>60</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>	

		<repeat><times>($count-gt3)</times>
			<soundRef label="wind_se"/>
			<eval name="offset">$count*(1-2*($_player_cx%2))</eval>
			<global name="snow_dir">180+$offset</global>
			<global name="snow_term">80+$count</global>
			<global name="snow_wait">$__snow_wait+1*($__snow_wait-lt9)</global>
		</repeat>
		<repeat><times>(1-($count-gt3))*($_self_vital/$max_vital-lt0.6)</times>
			<soundRef label="wind_se"/>
			<eval name="offset">$count*(1-2*($_player_cx%2))</eval>
			<global name="snow_dir">180+$offset</global>
			<global name="snow_term">80+$count</global>
			<global name="snow_wait">$__snow_wait+1*($__snow_wait-lt9)</global>
		</repeat>

		<wait>120-3</wait>
		<evaladd name="count">1</evaladd>
		<!-- タイマーを１つ消す -->
		<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>

<sound type="se" label="wind_se">
	<track><file type="ogg">wind</file></track>
	<play><flag>0</flag><loop>0</loop></play>
</sound>

<!-- 1:x 2:y 3:初期wait 4:random値 5:random値2 6:snow_fireの間隔 -->
<create label="dummy_create_yuki_4_01">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="dummy_enemy_yuki_4_01"><param>$3</param><param>$4</param><param>$5</param><param>$6</param></objectRef>
</create>

<object label="dummy_enemy_yuki_4_01">

	<img type="add">
		<file type="dds">cloud</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>64</width><height>64</height>
		<alpha>30</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>28</num></setDrawLevel>				
	<action>
		<changeColor>
			<alpha>150</alpha><red>255</red><green>255</green><blue>255</blue><term>15</term>
		</changeColor>
		<wait>$1</wait>
		<eval name="snow1">$1</eval>
		<eval name="snow2">$2</eval>
		<repeat><times>-1</times>
			<repeat><times>($snow2%3)-eq0</times>
				<fireRef label="middle_boss_fire_4_01"><param>$__snow_sp+(($2+$_player_cx*3+$_self_cx*4)%4)/10</param><param>12-$snow1%25</param><param>1-$snow2%2</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>($snow2%3)-eq1</times>
				<fireRef label="middle_boss_fire_4_02"><param>$__snow_sp+(($2+$_player_cy*3+$_self_cx*4)%4)/10</param><param>8-$snow1%17</param><param>4-$snow2%9</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>($snow2%3)-eq2</times>
				<fireRef label="middle_boss_fire_4_03"><param>$__snow_sp+(($2*7+$_player_cx*3+$_self_cx*4)%4)/10</param><param>9-$snow1%19</param><param>3-$snow2%7</param></fireRef>
			</repeat>
			<wait>$4-$__snow_wait</wait>
			<evaladd name="snow1">($2*7+$count+$_player_cx*13)%5</evaladd>
			<evaladd name="snow2">($1*3+$count+$_player_cx*11)%5</evaladd>
		</repeat>
	</action>
</object>


<fire label="middle_boss_fire_4_01">
	<speed>1.4+$1</speed>
	<direction type="absolute">180</direction>
	<cx>$2</cx><cy>$3</cy>
	<bulletRef label="middle_boss_bullet_4_01"></bulletRef>
</fire>

<bullet label="middle_boss_bullet_4_01">

	<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>52</red><green>215</green><blue>255</blue>
	</img>

	<action>

		<repeat><times>-1</times>
			<changeDirection>
				<direction type="absolute">$__snow_dir</direction><term>$__snow_term</term>
			</changeDirection>
			<wait>$__snow_term</wait>
		</repeat>

	</action>
</bullet>

<fire label="middle_boss_fire_4_02">
	<speed>1.1+$1</speed>
	<direction type="absolute">180</direction>
	<cx>$2</cx><cy>$3</cy>
	<bulletRef label="middle_boss_bullet_4_02"></bulletRef>
</fire>

<bullet label="middle_boss_bullet_4_02">

	<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>52</red><green>215</green><blue>255</blue>
	</img>

	<action>

		<repeat><times>-1</times>
			<changeDirection>
				<direction type="absolute">$__snow_dir</direction><term>$__snow_term</term>
			</changeDirection>
			<wait>$__snow_term</wait>
		</repeat>
	</action>
</bullet>

<fire label="middle_boss_fire_4_03">
	<speed>0.7+$1</speed>
	<direction type="absolute">180</direction>
	<cx>$2</cx><cy>$3</cy>
	<bulletRef label="middle_boss_bullet_4_03"></bulletRef>
</fire>

<bullet label="middle_boss_bullet_4_03">

	<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>52</red><green>215</green><blue>255</blue>
	</img>

	<action>

		<repeat><times>-1</times>
			<changeDirection>
				<direction type="absolute">$__snow_dir</direction><term>$__snow_term</term>
			</changeDirection>
			<wait>$__snow_term</wait>
		</repeat>

	</action>
</bullet>


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

<action  label="stage6C_middle_boss_05_action">

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

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

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

<!-- 弾幕開始 -->
	<eval name="cloud_x">320</eval>
	<eval name="cloud_y">200</eval>
	<wait>1</wait>

	<createRef label="dummy_create_yuki_5_01"><param>0.1</param><param>180</param><param>2</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>0.1</param><param>60</param><param>1</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>0.1</param><param>60</param><param>8</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>0.1</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>0.1</param><param>60</param><param>3</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>0.1</param><param>60</param><param>7</param></createRef>
	<wait>20</wait>

	<createRef label="dummy_create_yuki_5_01"><param>2</param><param>10</param><param>4</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>2</param><param>60</param><param>2</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>2</param><param>60</param><param>6</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>2</param><param>60</param><param>7</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>2</param><param>60</param><param>9</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>2</param><param>60</param><param>3</param></createRef>
	<wait>20</wait>

	<createRef label="dummy_create_yuki_5_01"><param>4</param><param>40</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>4</param><param>60</param><param>4</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>4</param><param>60</param><param>7</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>4</param><param>60</param><param>6</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>4</param><param>60</param><param>3</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>4</param><param>60</param><param>8</param></createRef>

	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_00"></actionRef>
	<repeat><times>3</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
	</repeat>

	<createRef label="dummy_create_yuki_5_01"><param>6</param><param>31</param><param>3</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>6</param><param>60</param><param>1</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>6</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>6</param><param>60</param><param>6</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>6</param><param>60</param><param>8</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>6</param><param>60</param><param>7</param></createRef>

	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_01"></actionRef>
	<repeat><times>3</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
	</repeat>

	<createRef label="dummy_create_yuki_5_01"><param>8</param><param>12</param><param>4</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>8</param><param>60</param><param>3</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>8</param><param>60</param><param>2</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>8</param><param>60</param><param>9</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>8</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>8</param><param>60</param><param>12</param></createRef>

	<changeDirection>
		<direction type="absolute">-80+160*($_player_cx%2)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">0.6</speed><term>10</term>
	</changeSpeed>

	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_01"></actionRef>
	<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
	</repeat>

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

	<createRef label="dummy_create_yuki_5_01"><param>10</param><param>47</param><param>6</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>10</param><param>60</param><param>8</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>10</param><param>60</param><param>3</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>10</param><param>60</param><param>2</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>10</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>10</param><param>60</param><param>4</param></createRef>

	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_01"></actionRef>
	<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
	</repeat>

	<createRef label="dummy_create_yuki_5_01"><param>12</param><param>55</param><param>6</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>12</param><param>60</param><param>8</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>12</param><param>60</param><param>3</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>12</param><param>60</param><param>2</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>12</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>12</param><param>60</param><param>4</param></createRef>

	<changeDirection>
		<direction type="relative">180</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">0.6</speed><term>10</term>
	</changeSpeed>

	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_01"></actionRef>
	<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
	</repeat>

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

	<createRef label="dummy_create_yuki_5_01"><param>12</param><param>25</param><param>3</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>12</param><param>60</param><param>4</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>12</param><param>60</param><param>6</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>12</param><param>60</param><param>4</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>12</param><param>60</param><param>9</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>12</param><param>60</param><param>2</param></createRef>

	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_01"></actionRef>
	<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
	</repeat>

	<wait>10</wait>
	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_02"><param>79+$_player_cx%11</param></actionRef>
	<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
	</repeat>

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

	<changeDirection>
		<direction type="absolute">-80+160*($_player_cx%2)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1</speed><term>10</term>
	</changeSpeed>

	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_02"><param>39+$_player_cx%11</param></actionRef>
	<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_03"></actionRef>
	</repeat>

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

	<createRef label="dummy_create_yuki_5_01"><param>14</param><param>35</param><param>6</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>8</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>9</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>7</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>3</param></createRef>

	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_02"><param>67+$_player_cx%11</param></actionRef>
	<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
	</repeat>

	<wait>10</wait>
	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_02"><param>35+$_player_cx%11</param></actionRef>
	<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_03"></actionRef>
	</repeat>

	<wait>10</wait>
	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_02"><param>71+$_player_cx%11</param></actionRef>
	<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
	</repeat>

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

	<changeDirection>
		<direction type="relative">180</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1</speed><term>10</term>
	</changeSpeed>

	<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
	<actionRef label="yuki_laser_5_02"><param>38+$_player_cx%11</param></actionRef>
	<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_03"></actionRef>
	</repeat>

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

	<createRef label="dummy_create_yuki_5_01"><param>14</param><param>3</param><param>3</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>7</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>9</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>8</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>6</param></createRef>

		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>67+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_01"></actionRef>
		</repeat>

		<wait>10</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>35+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_03"></actionRef>
		</repeat>

		<wait>10</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>81+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
		</repeat>
	
		<wait>10-4</wait>

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

		<changeDirection>
			<direction type="absolute">-80+160*($_player_cx%2)</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1</speed><term>10</term>
		</changeSpeed>

		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>28+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_03"></actionRef>
		</repeat>

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


	<createRef label="dummy_create_yuki_5_01"><param>14</param><param>39</param><param>3</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>7</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>9</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>8</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>14</param><param>60</param><param>6</param></createRef>


		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>67+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_01"></actionRef>
		</repeat>

		<wait>10</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>35+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_03"></actionRef>
		</repeat>

		<wait>10</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>81+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
		</repeat>
	
		<wait>10-4</wait>
		<!-- タイマーを１つ消す -->
		<global name="timer">$__timer-1</global>
		<actionRef label="vanish_timer"></actionRef>
		<!-- <wait>3</wait> -->
		<wait>1</wait>

		<changeDirection>
			<direction type="relative">180</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1</speed><term>10</term>
		</changeSpeed>

		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>28+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_03"></actionRef>
		</repeat>

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

	<createRef label="dummy_create_yuki_5_01"><param>16</param><param>10</param><param>4</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>16</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>16</param><param>60</param><param>8</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>16</param><param>60</param><param>9</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>16</param><param>60</param><param>7</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>16</param><param>60</param><param>3</param></createRef>

		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>67+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_01"></actionRef>
		</repeat>

		<wait>10</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>35+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_03"></actionRef>
		</repeat>

		<wait>10</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>81+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
		</repeat>
	
		<wait>10-4</wait>
		<!-- タイマーを１つ消す -->
		<global name="timer">$__timer-1</global>
		<actionRef label="vanish_timer"></actionRef>
		<!-- <wait>3</wait> -->
		<wait>1</wait>

		<changeDirection>
			<direction type="absolute">-80+160*($_player_cx%2)</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1</speed><term>10</term>
		</changeSpeed>

		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>28+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_03"></actionRef>
		</repeat>

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

	<createRef label="dummy_create_yuki_5_01"><param>18</param><param>40</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>18</param><param>60</param><param>6</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>18</param><param>60</param><param>9</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>18</param><param>60</param><param>8</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>18</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>18</param><param>60</param><param>2</param></createRef>

		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>67+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_01"></actionRef>
		</repeat>

		<wait>10</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>35+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_03"></actionRef>
		</repeat>

		<wait>10</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>81+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
		</repeat>
	
		<wait>10-4</wait>
		<!-- タイマーを１つ消す -->
		<global name="timer">$__timer-1</global>
		<actionRef label="vanish_timer"></actionRef>
		<!-- <wait>3</wait> -->
		<wait>1</wait>
		<changeDirection>
			<direction type="relative">180</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1</speed><term>10</term>
		</changeSpeed>

		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>28+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_03"></actionRef>
		</repeat>

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

	<createRef label="dummy_create_yuki_5_01"><param>18</param><param>8</param><param>4</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>18</param><param>60</param><param>5</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>18</param><param>60</param><param>8</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>18</param><param>60</param><param>9</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>18</param><param>60</param><param>7</param></createRef>
	<wait>1</wait>
	<createRef label="dummy_create_yuki_5_01_s"><param>18</param><param>60</param><param>3</param></createRef>

		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>67+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_01"></actionRef>
		</repeat>

		<wait>10</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>35+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_03"></actionRef>
		</repeat>

		<wait>10</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>81+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
		<wait>10</wait>
		<actionRef label="yuki_laser_5_01"></actionRef>
		</repeat>
	
		<wait>10-4</wait>
		<!-- タイマーを１つ消す -->
		<global name="timer">$__timer-1</global>
		<actionRef label="vanish_timer"></actionRef>
		<!-- <wait>3</wait> -->
		<wait>1</wait>


		<changeDirection>
			<direction type="absolute">-80+160*($_player_cx%2)</direction><term>1</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1</speed><term>10</term>
		</changeSpeed>

		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<actionRef label="yuki_laser_5_02"><param>28+$_player_cx%11</param></actionRef>
		<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_03"></actionRef>
		</repeat>

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

		<repeat><times>3</times>
			<wait>10</wait>
			<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
				<actionRef label="yuki_laser_5_02"><param>81+$_player_cx%11</param></actionRef>
			<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_01"></actionRef>
			</repeat>
	
			<wait>10</wait>
			<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
			<actionRef label="yuki_laser_5_02"><param>28+$_player_cx%11</param></actionRef>
			<repeat><times>6</times>
				<wait>10</wait>
				<actionRef label="yuki_laser_5_03"></actionRef>
			</repeat>
			<wait>10</wait>
			<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
				<actionRef label="yuki_laser_5_02"><param>72+$_player_cx%11</param></actionRef>
			<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_01"></actionRef>
			</repeat>
	
			<wait>10-4</wait>
			<!-- タイマーを１つ消す -->
			<global name="timer">$__timer-1</global>
			<actionRef label="vanish_timer"></actionRef>
			<!-- <wait>3</wait> -->
			<wait>1</wait>

			<changeDirection>
				<direction type="relative">180</direction><term>1</term>
			</changeDirection>
			<changeSpeed>
				<speed type="absolute">1</speed><term>10</term>
			</changeSpeed>

			<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
			<actionRef label="yuki_laser_5_02"><param>38+$_player_cx%11</param></actionRef>
			<repeat><times>6</times>
				<wait>10</wait>
				<actionRef label="yuki_laser_5_03"></actionRef>
			</repeat>

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


			<wait>10</wait>
			<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
				<actionRef label="yuki_laser_5_02"><param>81+$_player_cx%11</param></actionRef>
			<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_01"></actionRef>
			</repeat>
	
			<wait>10</wait>
			<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
			<actionRef label="yuki_laser_5_02"><param>28+$_player_cx%11</param></actionRef>
			<repeat><times>6</times>
				<wait>10</wait>
				<actionRef label="yuki_laser_5_03"></actionRef>
			</repeat>
			<wait>10</wait>
			<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
				<actionRef label="yuki_laser_5_02"><param>72+$_player_cx%11</param></actionRef>
			<repeat><times>6</times>
			<wait>10</wait>
			<actionRef label="yuki_laser_5_01"></actionRef>
			</repeat>
	
			<wait>10-4</wait>
			<!-- タイマーを１つ消す -->
			<global name="timer">$__timer-1</global>
			<actionRef label="vanish_timer"></actionRef>
			<!-- <wait>3</wait> -->
			<wait>1</wait>

			<changeDirection>
				<direction type="absolute">-80+160*($_player_cx%2)</direction><term>1</term>
			</changeDirection>
			<changeSpeed>
				<speed type="absolute">1</speed><term>10</term>
			</changeSpeed>

			<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
			<actionRef label="yuki_laser_5_02"><param>38+$_player_cx%11</param></actionRef>
			<repeat><times>6</times>
				<wait>10</wait>
				<actionRef label="yuki_laser_5_03"></actionRef>
			</repeat>

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

		</repeat>

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

</action>

<create label="dummy_create_yuki_5_01">
	<speed>$1</speed>
	<direction type="absolute">$2</direction>
	<cx>320</cx><cy>180</cy>
	<child>1</child>
	<objectRef label="dummy_enemy_yuki_5_01"><param>$3</param></objectRef>
</create>

<create label="dummy_create_yuki_5_01_s">
	<speed>$1</speed>
	<direction type="sequence">$2</direction>
	<cx>320</cx><cy>180</cy>
	<child>1</child>
	<objectRef label="dummy_enemy_yuki_5_01_s"><param>$3</param></objectRef>
</create>

<object label="dummy_enemy_yuki_5_01">

	<img type="add">
		<file type="dds">cloud</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>64</width><height>64</height>
		<alpha>30</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>29</num></setDrawLevel>				
	<action>
		<changeColor>
			<alpha>150</alpha><red>255</red><green>255</green><blue>255</blue><term>15</term>
		</changeColor>
		<changeSpeed>
			<speed type="absolute">0</speed><term>15</term>
		</changeSpeed>
		<eval name="rand_num">$1</eval>
		<wait>15</wait>
		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<fireRef label="middle_boss_fire_5_01"><param>-10</param><param>1.4+($rand_num%4)/10</param></fireRef>
		<fireRef label="middle_boss_fire_5_01_s"><param>10</param><param>1.2+($rand_num%3)/10</param></fireRef>
		<fireRef label="middle_boss_fire_5_01_s"><param>10</param><param>1.3+($rand_num%5)/10</param></fireRef>

		<repeat><times>-1</times>
			<wait>145+$1</wait>
			<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
			<fireRef label="middle_boss_fire_5_01_s"><param>40+($rand_num*7+$_player_cx*5)%13</param><param>1.3+($rand_num%4)/10</param></fireRef>
			<fireRef label="middle_boss_fire_5_01_s"><param>10</param><param>1.1+($rand_num%3)/10</param></fireRef>
			<fireRef label="middle_boss_fire_5_01_s"><param>10</param><param>1.2+($rand_num%5)/10</param></fireRef>
		</repeat>
	</action>
</object>

<object label="dummy_enemy_yuki_5_01_s">

	<img type="add">
		<file type="dds">cloud</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>64</width><height>64</height>
		<alpha>30</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>29</num></setDrawLevel>				
	<action>
		<changeColor>
			<alpha>150</alpha><red>255</red><green>255</green><blue>255</blue><term>15</term>
		</changeColor>
		<changeSpeed>
			<speed type="absolute">0</speed><term>15</term>
		</changeSpeed>
		<eval name="rand_num">$1</eval>
		<wait>15</wait>
		<fireRef label="middle_boss_fire_5_01"><param>-10</param><param>1.4+($rand_num%4)/10</param></fireRef>
		<fireRef label="middle_boss_fire_5_01_s"><param>10</param><param>1.2+($rand_num%3)/10</param></fireRef>
		<fireRef label="middle_boss_fire_5_01_s"><param>10</param><param>1.3+($rand_num%5)/10</param></fireRef>

		<repeat><times>-1</times>
			<wait>130+$1</wait>
			<fireRef label="middle_boss_fire_5_01_s"><param>40+($rand_num*7+$_player_cx*5)%13</param><param>1.3+($rand_num%4)/10</param></fireRef>
			<fireRef label="middle_boss_fire_5_01_s"><param>10</param><param>1.1+($rand_num%3)/10</param></fireRef>
			<fireRef label="middle_boss_fire_5_01_s"><param>10</param><param>1.2+($rand_num%5)/10</param></fireRef>
		</repeat>
	</action>
</object>

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

<bullet label="middle_boss_bullet_5_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>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>52</red><green>215</green><blue>255</blue>
	</img>

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


<action label="yuki_laser_5_00">
	<fireRef label="middle_boss_laser_5_01"><param>0</param><param>1</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="middle_boss_laser_5_01_s"><param>60</param><param>1</param></fireRef>
	</repeat>
</action>
<action label="yuki_laser_5_01">
	<fireRef label="middle_boss_laser_5_01_s"><param>65</param><param>1</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="middle_boss_laser_5_01_s"><param>60</param><param>1</param></fireRef>
	</repeat>
</action>

<action label="yuki_laser_5_02">
	<fireRef label="middle_boss_laser_5_01_s"><param>$1</param><param>1</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="middle_boss_laser_5_01_s"><param>60</param><param>1</param></fireRef>
	</repeat>
</action>

<action label="yuki_laser_5_03">
	<fireRef label="middle_boss_laser_5_01_s"><param>52</param><param>1</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="middle_boss_laser_5_01_s"><param>60</param><param>1</param></fireRef>
	</repeat>
</action>


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

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

	<action>
		<changeImgSize>
			<width>7</width><height>17</height><term>3</term>
		</changeImgSize>
		<wait>2</wait>
		<wait>$1</wait>
		<changeSpeed>
			<speed>2.5</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>




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

<revenge label="stage6C_middle_boss_01_revenge">

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

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

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

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

	<wait>1</wait>

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

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

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

<revenge label="stage6C_middle_boss_02_revenge">

	<eval name="localcounter">$_counter</eval>
	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<!-- 効果音消去 -->
	<changeTargetVolume label="laser_se">
		<num>-10000</num><term>1</term>
	</changeTargetVolume>
	<wait>1</wait>
	<targetVanish label="laser_se"></targetVanish>

	<!-- 爆発アクション -->
	<actionRef label="boss_revenge_present_1"></actionRef>
	
	<!-- *** 形態変数の増加 *** -->
	<global name="boss_state">$__boss_state+1</global>

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

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

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

	<wait>1</wait>

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

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

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

<revenge label="stage6C_middle_boss_03_revenge">

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

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

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

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

	<wait>1</wait>

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

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

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

<revenge label="stage6C_middle_boss_04_revenge">

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

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

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

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

	<wait>1</wait>

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

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


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

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


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

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

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

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

	<wait>1</wait>

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

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

	<wait>1</wait>

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

	<!-- *** ボス戦ロックを解除 *** -->
	<releaseLock><num>10</num></releaseLock>
	<changeColor>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>50</term>
	</changeColor>

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

</revenge>

</exbulletml>
