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

<!-- ********************************************************************* -->
<!-- *** ボス戦はここから始まる(ラスボス１回目)		*** -->
<action label="stage6C_boss_top_action">

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

	<sound label="bgm" type="bgm">
		<track>
			<file type="ogg">19_stage6boss_second</file>
		</track>
		<play>
			<flag>1</flag><loop>44100*2*2*7</loop>
		</play>
	</sound>
	<actionRef label="stage6_5_bgm_title_action"></actionRef>

	<!-- *** 第 N 形態 *** -->
	<!-- 別で指定される -->
<!--	<global name="boss_state">0</global> -->
	
	<!-- *** ボスの初期ライフ *** -->
	<!-- 別で指定される -->
<!--	<global name="boss_life">7</global> -->
	
	<!-- 出現用ボスを消去 -->
	<targetRevenge label="stage6C_boss_enemy_appear_sara_common1"></targetRevenge>

	<!-- *** バリア判定用変数 *** -->
	<repeat><times>1-($_twinstype-eq2)</times>
		<global name="barrier_life">45</global>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<global name="barrier_life">75</global>
	</repeat>

	<!-- *** 最初のボスオブジェクト作成 *** -->
	<repeat><times>$__boss_state-eq0</times>
		<createRef label="stage6C_boss_00_create"></createRef>
	</repeat>
	<repeat><times>$__boss_state-eq1</times>
		<createRef label="stage6C_boss_01_twins_create"></createRef>
	</repeat>
	<repeat><times>$__boss_state-gt1</times>
		<createRef label="stage6C_boss_06_create"></createRef>
	</repeat>

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

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

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


<!-- ********************************************************************* -->
<!-- *** 第 0 形態のボスオブジェクト作成			       *** -->
<!-- ***							       *** -->
<create label="stage6C_boss_00_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$__boss_cx</cx><cy>$__boss_cy</cy>
	<vital>99999999</vital>
	<inv>40</inv>
	<!-- 実際にはここでは入らない -->
	<score>100000</score>
	<prate>0</prate>
	<flag>8</flag>
	<enemyRef label="stage6C_boss_enemy"></enemyRef>
</create>

<!-- ********************************************************************* -->
<!-- *** 第 1 形態のボスオブジェクト作成			       *** -->
<!-- ***							       *** -->
<create label="stage6C_boss_01_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>99999999</vital>
	<inv>40</inv>
	<!-- 実際にはここでは入らない -->
	<score>380000</score>
	<prate>$__boss_prate_x</prate>
	<flag>32</flag>
	<enemyRef label="stage6C_boss_enemy"></enemyRef>
</create>

<!-- 西條双子ルートのみ -->
<create label="stage6C_boss_01_twins_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$__boss_cx</cx><cy>$__boss_cy</cy>
	<vital>99999999</vital>
	<inv>40</inv>
	<!-- 実際にはここでは入らない -->
	<score>380000</score>
	<prate>$__boss_prate_x</prate>
	<flag>32</flag>
	<enemyRef label="stage6C_boss_enemy"></enemyRef>
</create>

<!-- 第１形態バリア破壊後 -->
<create label="stage6C_boss_01_2_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$__vital_1</vital>
	<inv>40</inv>
	<score>420000</score>
	<prate>$__boss_prate</prate>
	<enemyRef label="stage6C_boss_enemy_01_2"></enemyRef>
</create>


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

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

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

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

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


<!-- dummy -->
<create label="stage6C_boss_create_dummy">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>99999999</vital>
	<child>1</child>
	<enemyRef label="stage6C_boss_enemy_dummy"><param>$1</param></enemyRef>
</create>

<enemy label="stage6C_boss_enemy_dummy">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>30</radius></collision>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>64</width><height>64</height>
		<alpha>120</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
	<wait>$1</wait>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>
	</action>
</enemy>

<create label="stage6C_boss_create_dummy2">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>99999999</vital>
	<flag>16</flag>
	<child>1</child>
	<enemyRef label="stage6C_boss_enemy_dummy2"></enemyRef>
</create>

<enemy label="stage6C_boss_enemy_dummy2">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>32</radius></collision>
	<revengeRef label="stage6C_boss_enemy_dummy2_revenge"></revengeRef>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>64</width><height>64</height>
		<alpha>120</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>
	<action>
		<repeat><times>-1</times>
			<repeat><times>$__barrier_life-gt0</times>
				<createRef label="stage6C_boss_create_dummy3"></createRef>
			</repeat>
			<repeat><times>$__barrier_life-lt1</times>
				<targetRevenge label="stage6C_boss_enemy"></targetRevenge>
			</repeat>
			<wait>2</wait>
		</repeat>
	</action>
</enemy>

<revenge label="stage6C_boss_enemy_dummy2_revenge">

	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>10</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
	</changeColor>
	<wait>1</wait>
	<eval name="pa_dir">($_player_cx+$_player_cy)%27</eval>
	<eval name="pa_sp">3.5</eval>
	<createRef label="tension_partriclex"><param>$pa_dir</param><param>$pa_sp</param></createRef>

	<repeat><times>45</times>
		<createRef label="tension_partriclex_s"><param>$pa_dir+180</param><param>$pa_sp</param></createRef>
		<createRef label="tension_partriclex_s"><param>$pa_dir+240</param><param>$pa_sp</param></createRef>
		<createRef label="tension_partriclex_s"><param>$pa_dir+60</param><param>$pa_sp</param></createRef>
		<wait>1</wait>
		<createRef label="tension_partriclex_s"><param>$pa_dir</param><param>$pa_sp</param></createRef>
		<createRef label="tension_partriclex_s"><param>$pa_dir-60</param><param>$pa_sp</param></createRef>
		<createRef label="tension_partriclex_s"><param>$pa_dir-180</param><param>$pa_sp</param></createRef>
		<eval name="pa_dir">($pa_dir+$_self_cx+$_self_cy)%31</eval>
		<evaladd name="pa_sp">-0.05</evaladd>
		<wait>1</wait>
	</repeat>
	<wait>30</wait>

	<vanish/>
</revenge>

<create label="tension_partriclex">
	<speed>$2</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<object>
		<img type="maskadd">
			<file type="dds">tension_particle_8_3</file>
			<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
			<width>4</width><height>4</height>
			<alpha>60</alpha><red>0</red><green>0</green><blue>0</blue>
		</img>
		<setDrawLevel><num>16</num></setDrawLevel>
		<action>
			<changeSpeed>
				<speed type="absolute">0</speed><term>40</term>
			</changeSpeed>
			<wait>20</wait>
			<changeColor>
				<alpha>160</alpha><red>0</red><green>0</green><blue>0</blue><term>20</term>
			</changeColor>
			<wait>20</wait>
			<vanish/>
		</action>
	</object>
</create>

<create label="tension_partriclex_s">
	<speed>$2</speed>
	<direction type="sequence">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<object>
		<img type="maskadd">
			<file type="dds">tension_particle_8_3</file>
			<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
			<width>4</width><height>4</height>
			<alpha>60</alpha><red>0</red><green>0</green><blue>0</blue>
		</img>
		<setDrawLevel><num>16</num></setDrawLevel>
		<action>
			<changeSpeed>
				<speed type="absolute">0</speed><term>40</term>
			</changeSpeed>
			<wait>20</wait>
			<changeColor>
				<alpha>160</alpha><red>0</red><green>0</green><blue>0</blue><term>20</term>
			</changeColor>
			<wait>20</wait>
			<vanish/>
		</action>
	</object>
</create>

<create label="stage6C_boss_create_dummy3">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital>
	<flag>32</flag>
	<child>1</child>
	<enemyRef label="stage6C_boss_enemy_dummy3"></enemyRef>
</create>

<enemy label="stage6C_boss_enemy_dummy3">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>32</radius></collision>
	<revengeRef label="stage6C_boss_enemy_dummy3_revenge"></revengeRef>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>0</right><bottom>0</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
		<wait>2</wait>
		<vanish/>
	</action>
</enemy>

<revenge label="stage6C_boss_enemy_dummy3_revenge">

	<wait>1</wait>
	<global name="barrier_life">$__barrier_life-1</global>
	<vanish/>
</revenge>

<create label="stage6C_boss_create_4_dummy">
	<speed>0</speed>
	<direction type="sequence">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>99999999</vital>
	<child>1</child>
	<enemyRef label="stage6C_boss_enemy_4_dummy"></enemyRef>
</create>

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

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

<create label="stage6C_boss_create_5_dummy">
	<speed>0</speed>
	<direction type="sequence">0</direction>
	<cx>320</cx><cy>240</cy>
	<vital>1</vital>
	<enemyRef label="stage6C_boss_enemy_5_dummy"></enemyRef>
</create>

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

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

	<presentRef label="stage6C_boss_present_sara_common1"></presentRef>

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

	<!-- *** VITAL ゲージはボスの子オブジェクトなのでここで作成 *** -->
	<repeat><times>$__boss_state-eq0</times>
		<createRef label="boss_vital_create5"></createRef>
	</repeat>
	<repeat><times>$__boss_state-eq1</times>
		<targetRevenge label="boss_vital5"></targetRevenge>
		<createRef label="boss_vital_create5"></createRef>
		<createRef label="boss_vital_create4"></createRef>
	</repeat>
	<repeat><times>$__boss_state-gt1</times>
		<repeat><times>$__boss_state-eq6</times>
			<createRef label="boss_vital_create3"></createRef>
		</repeat>
		<repeat><times>1-($__boss_state-eq6)</times>
			<createRef label="boss_vital_create"></createRef>
		</repeat>
	</repeat>


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

	<!-- *** 第 N 形態ごとのアクション *** -->
	<repeat><times>$__boss_state-eq0</times>
		<revengeRef label="stage6C_boss_00_revenge"></revengeRef>
		<actionRef  label="stage6C_boss_00_action"></actionRef>
	</repeat>
	<repeat><times>$__boss_state-eq1</times>
		<actionRef  label="create_timer4"></actionRef>
		<revengeRef label="stage6C_boss_01_revenge"></revengeRef>
		<actionRef  label="stage6C_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_boss_02_revenge"></revengeRef>
		<global name="timer">14</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_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_boss_03_revenge"></revengeRef>
		<global name="timer">15</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_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_boss_04_revenge"></revengeRef>
		<global name="timer">13</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_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_boss_05_revenge"></revengeRef>
		<global name="timer">12</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_boss_05_action"></actionRef>

	</repeat>
	<repeat><times>$__boss_state-eq6</times>
		<global name="prate_average">$__prate_average+$_prate</global>
		<global name="prate_average_num">$__prate_average_num+1</global>
		<revengeRef label="stage6C_boss_06_revenge"></revengeRef>
		<global name="timer">15</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_boss_06_action"></actionRef>

	</repeat>
</enemy>

<enemy label="stage6C_boss_enemy_01_2">

	<presentRef label="stage6C_boss_present_sara_common1"></presentRef>

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

	<!-- *** 体力を作成 *** -->
	<targetRevenge label="boss_vital5"></targetRevenge>
	<createRef label="boss_vital_create"></createRef>

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

	<global name="timer">12</global>
	<actionRef  label="create_timer"></actionRef>
	<revengeRef label="stage6C_boss_01_2_revenge"></revengeRef>
	<actionRef  label="stage6C_boss_01_2_action"></actionRef>
</enemy>

<!-- ********************************************************************* -->
<!-- *** ボスのアクション					      *** -->
<!-- *** 第０形態						      *** -->
<!-- *** 倒せない。途中会話シーンあり。				      *** -->
<action  label="stage6C_boss_00_action">
<global name="counter_tmp">$_counter</global>
<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>

<createRef label="stage6C_boss_create_dummy"><param>1259+29+1+60</param></createRef>
<actionRef  label="create_timer3"></actionRef>

<wait>29</wait>
<targetRevenge label="stage1_boss_timer3"></targetRevenge>
<actionRef  label="create_timer2"><param>1260+60</param></actionRef>

<wait>1</wait>

<!-- 弾幕開始 -->
<createRef label="stage6C_boss_create_5_dummy"/>
<actionRef label="loop_action"><param>0</param></actionRef>
<wait>180</wait>

<!-- 攻撃をやめる -->
<targetRevenge label="stage6C_boss_enemy_5_dummy"/>
<soundRef label="boss_break2"></soundRef>
<changeBulletToItem/>
<!-- 自爆のためscoreが入らないので、ここでスコアを加算する -->
<addScore>
	<score>120000</score>	
</addScore>
<wait>1</wait>

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

<!-- 必ず４倍の数＋テンションが増えるだけのクリスタルが入る -->
<actionRef label="item_counter_01_boss"><param>40/2</param><param>80</param><param>2500</param><param>24</param><param>600</param></actionRef>
<addItem><flag>1</flag><num>$_maxcrystal</num></addItem>
<targetRevenge label="stage1_boss_timer2"></targetRevenge>
<wait>30</wait>

<wait>30</wait>
<system><command>playermovedisable</command></system>
<!-- 会話シーン実装 -->

	<changeTargetVolume label="bgm">
		<num>-800</num><term>30</term>
	</changeTargetVolume>
	<wait>60</wait>

	<actionRef label="stage_boss2_comm_text_action"></actionRef>

	<changeTargetVolume label="bgm">
		<num>0</num><term>30</term>
	</changeTargetVolume>
	<wait>60</wait>

	<system><command>playermoveenable</command></system>


<!-- 第１形態へ -->
<targetRevenge label="stage6C_boss_enemy"></targetRevenge>

</action>


<action label="loop_action">

	<!-- １回目　中央空き -->
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01"><param>-90</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>2</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>2</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>


	<!-- ２回目　右空き -->
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>2-$1</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
	<repeat><times>3+$1</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>2</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>

	<!-- ３回目　左空き -->
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>-3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>2</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>2</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>

	<!-- ４回目 以降は少し空き場所が遠くなる -->
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	<repeat><times>2</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	<repeat><times>2</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>


	<!-- ５回目  -->
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>2+$1</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	<repeat><times>3-$1</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>2+$1</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	<repeat><times>3-$1</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>

	<!-- ６回目　左空き -->
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>-3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
	<repeat><times>2</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>
	<eval name="wait_time">8</eval>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
	</repeat>
	<repeat><times>3</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3+10</param><param>$wait_time</param></fireRef>
	<repeat><times>2</times>
		<wait>1</wait>
		<evaladd name="wait_time">-1</evaladd>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_fire_00_01_s"><param>3</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	<wait>15</wait>

	<!-- 大赤丸 -->
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_00_02"><param>0</param><param>4</param></fireRef>
	<repeat><times>6</times>
		<fireRef label="stage6C_boss_fire_00_02_s"><param>12</param><param>4</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_00_02_s"><param>12</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_00_02_s"><param>12</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_00_02_s"><param>12</param><param>1</param></fireRef>
	</repeat>

	<changeDirection>
		<direction type="absolute">-80+160*($_player_cx%2)</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.3</speed><term>20</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
	<wait>105</wait>

	<!-- ２−１回目　３つずつ -->
	<eval name="seq">0</eval>
	<repeat><times>3</times>
		<eval name="wait_time">8</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<wait>1</wait>
		<fireRef label="stage6C_boss_fire_00_04"><param>-90+$seq</param><param>$wait_time</param></fireRef>
		<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
		<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
		<repeat><times>2</times>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<evaladd name="wait_time">-1</evaladd>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			<repeat><times>2</times>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			</repeat>
			<wait>1</wait>
		</repeat>

		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_00_03_s"><param>4</param><param>3</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>3</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>1</param></fireRef>
		</repeat>
		<wait>3</wait>

		<eval name="wait_time">8</eval>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<wait>1</wait>
		<fireRef label="stage6C_boss_fire_00_04_s"><param>15+2</param><param>$wait_time</param></fireRef>
		<fireRef label="stage6C_boss_fire_00_04_s"><param>4</param><param>$wait_time</param></fireRef>
		<repeat><times>2</times>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<evaladd name="wait_time">-1</evaladd>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			<repeat><times>2</times>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			</repeat>
			<wait>1</wait>
		</repeat>

		<wait>3</wait>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_00_03_s"><param>11</param><param>3</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>3</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>1</param></fireRef>
		</repeat>
		<wait>3</wait>

		<!-- ２−２回目　３つずつ -->
		<repeat><times>3</times>
			<eval name="wait_time">8</eval>
			<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
			<wait>1</wait>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>15+2</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			<repeat><times>2</times>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>5</times>
				<evaladd name="wait_time">-1</evaladd>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				<repeat><times>2</times>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				</repeat>
				<wait>1</wait>
			</repeat>

			<wait>3</wait>
			<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
			<fireRef label="stage6C_boss_fire_00_03_s"><param>11</param><param>3</param></fireRef>
			<repeat><times>5</times>
				<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>3</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>2</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>1</param></fireRef>
			</repeat>
			<wait>3</wait>

			<eval name="wait_time">8</eval>
			<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
			<wait>1</wait>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>15</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			<repeat><times>2</times>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>5</times>
				<evaladd name="wait_time">-1</evaladd>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				<repeat><times>2</times>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>6</param><param>$wait_time</param></fireRef>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
					<fireRef label="stage6C_boss_fire_00_04_s"><param>2</param><param>$wait_time</param></fireRef>
				</repeat>
				<wait>1</wait>
			</repeat>

			<wait>3</wait>
			<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
			<fireRef label="stage6C_boss_fire_00_03_s"><param>9</param><param>3</param></fireRef>
			<repeat><times>5</times>
				<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>3</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>2</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="stage6C_boss_fire_00_03_s"><param>20</param><param>1</param></fireRef>
			</repeat>
			<wait>3</wait>
		</repeat>
		<evaladd name="seq">13</evaladd>
	</repeat>

	<changeDirection>
		<direction type="relative">180</direction><term>1</term>
	</changeDirection>
	<changeSpeed>
		<speed type="absolute">1.3</speed><term>20</term>
	</changeSpeed>
	<wait>30</wait>
	<changeSpeed>
		<speed type="absolute">0</speed><term>20</term>
	</changeSpeed>
	<wait>30</wait>

	<!-- 周りレーザー -->
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_00_06"><param>-100</param><param>$wait_time</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_00_06_s"><param>72</param><param>$wait_time</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>15</times>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_00_05_s"><param>62</param><param>1</param></fireRef>
	<fireRef label="stage6C_boss_fire_00_05_s"><param>60</param><param>1</param></fireRef>
	<fireRef label="stage6C_boss_fire_00_05_s"><param>60</param><param>1</param></fireRef>
	<fireRef label="stage6C_boss_fire_00_05_s"><param>60</param><param>1</param></fireRef>
	<fireRef label="stage6C_boss_fire_00_05_s"><param>60</param><param>1</param></fireRef>
	<fireRef label="stage6C_boss_fire_00_05_s"><param>60</param><param>1</param></fireRef>
	<wait>1</wait>
	<repeat><times>10</times>
		<wait>2</wait>
		<fireRef label="stage6C_boss_fire_00_06_s"><param>72+5</param><param>$wait_time</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_00_06_s"><param>72</param><param>$wait_time</param></fireRef>
		</repeat>
	</repeat>
	</repeat>

</action>

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

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


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

	<action>
		<wait>$1</wait>
		<changeImgSize>
			<width>7</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<changeSpeed>
			<speed>1.3</speed><term>1</term>
		</changeSpeed>
	</action>

</bullet>

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

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


<bullet label="stage6C_boss_bullet_00_02">

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


	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed>1.6</speed><term>80</term>
		</changeSpeed>
	</action>

</bullet>

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

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


<bullet label="stage6C_boss_bullet_00_03">

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


	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed>1.6</speed><term>40</term>
		</changeSpeed>
	</action>

</bullet>

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

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


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

	<action>
		<wait>$1</wait>
		<changeImgSize>
			<width>7</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<changeSpeed>
			<speed>2.2</speed><term>1</term>
		</changeSpeed>
	</action>

</bullet>

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

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


<bullet label="stage6C_boss_bullet_00_05">

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


	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed>1.5</speed><term>80</term>
		</changeSpeed>
	</action>

</bullet>

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

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


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

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

</bullet>

<!-- ********************************************************************* -->
<!-- *** ボスのアクション					      *** -->
<!-- *** 第１形態						      *** -->
<!-- 自爆しない TWINS TENSIONでのみ攻撃可能 -->
<action  label="stage6C_boss_01_action">
	<global name="counter_tmp">$_counter</global>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>
	<changeSpeed>
		<speed>0</speed><term>60</term>
	</changeSpeed>
	<wait>60</wait>

<targetRevenge label="stage6C_boss_enemy_dummy"></targetRevenge>
<createRef label="stage6C_boss_create_dummy2"></createRef>
<createRef label="stage6C_boss_create_dummy_01_1"></createRef>

<!-- 弾幕開始 -->
<repeat><times>-1</times>
	<actionRef label="loop_action"><param>1</param></actionRef>
	<wait>180</wait>
	<actionRef label="loop_action"><param>-1</param></actionRef>
	<wait>180</wait>
</repeat>

</action>




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

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

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

	<action>
		<wait>2</wait>
		<vanish/>
	</action>
</enemy>

<revenge label="stage6C_boss_enemy_dummy3_revenge">

	<wait>1</wait>
	<global name="barrier_life">$__barrier_life-1</global>
	<vanish/>
</revenge>




<!-- 第１形態バリア破壊後 -->
<action  label="stage6C_boss_01_2_action">

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

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

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

<repeat><times>3</times>
	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>320</param>
		<param>320</param>
		<param>100</param>
		<param>80</param>
	</createRef>
	<!-- 青 -->
	<soundRef label="enemy_laser_se"></soundRef>
	<createRef label="stage6C_boss_create_line_01_1"><param>200</param></createRef>

	<actionRef label="enemy_bullet_action8"><param>64</param><param>198</param></actionRef>
	<fireRef label="stage6C_boss_fire_01"><param>-90</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_06_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_09_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<wait>15</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_01"><param>-90</param><param>198</param><param>3</param></fireRef>
	<fireRef label="stage6C_boss_fire_06_s"><param>18</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>18</param><param>198</param><param>3</param></fireRef>
		<fireRef label="stage6C_boss_fire_06_s"><param>18</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>18</param><param>198</param><param>2</param></fireRef>
		<fireRef label="stage6C_boss_fire_06_s"><param>18</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>18</param><param>198</param><param>1</param></fireRef>
		<fireRef label="stage6C_boss_fire_06_s"><param>18</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<fireRef label="stage6C_boss_fire_01_s"><param>18+7</param><param>198</param><param>3</param></fireRef>
	<fireRef label="stage6C_boss_fire_09_s"><param>18</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>18</param><param>198</param><param>3</param></fireRef>
		<fireRef label="stage6C_boss_fire_09_s"><param>18</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>18</param><param>198</param><param>2</param></fireRef>
		<fireRef label="stage6C_boss_fire_09_s"><param>18</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>18</param><param>198</param><param>1</param></fireRef>
		<fireRef label="stage6C_boss_fire_09_s"><param>18</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_06_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_09_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>

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

	<!-- 赤 -->
	<targetRevenge label="stage6C_boss_line_01_1"></targetRevenge>
	<soundRef label="enemy_laser_se"></soundRef>
	<createRef label="stage6C_boss_create_line_01_2"><param>200</param></createRef>
	<wait>60</wait>


	<actionRef label="enemy_bullet_action8"><param>64</param><param>198</param></actionRef>
	<fireRef label="stage6C_boss_fire_03"><param>-90</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_04_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_09_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<wait>15</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_03"><param>-90</param><param>198</param><param>3</param></fireRef>
	<fireRef label="stage6C_boss_fire_04_s"><param>18</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>18</param><param>198</param><param>3</param></fireRef>
		<fireRef label="stage6C_boss_fire_04_s"><param>18</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>18</param><param>198</param><param>2</param></fireRef>
		<fireRef label="stage6C_boss_fire_04_s"><param>18</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>18</param><param>198</param><param>1</param></fireRef>
		<fireRef label="stage6C_boss_fire_04_s"><param>18</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<fireRef label="stage6C_boss_fire_04_s"><param>18+7</param><param>198</param><param>3</param></fireRef>
	<fireRef label="stage6C_boss_fire_09_s"><param>18</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>18</param><param>198</param><param>3</param></fireRef>
		<fireRef label="stage6C_boss_fire_09_s"><param>18</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>18</param><param>198</param><param>2</param></fireRef>
		<fireRef label="stage6C_boss_fire_09_s"><param>18</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>18</param><param>198</param><param>1</param></fireRef>
		<fireRef label="stage6C_boss_fire_09_s"><param>18</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_04_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_09_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_09_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>


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

	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>420</param>
		<param>360</param>
		<param>100</param>
		<param>80</param>
	</createRef>

	<!-- 緑 -->
	<targetRevenge label="stage6C_boss_line_01_2"></targetRevenge>
	<soundRef label="enemy_laser_se"></soundRef>
	<createRef label="stage6C_boss_create_line_01_3"><param>200</param></createRef>
	<wait>60</wait>


	<actionRef label="enemy_bullet_action8"><param>64</param><param>198</param></actionRef>
	<fireRef label="stage6C_boss_fire_03"><param>-90</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_06_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_07_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<wait>15</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_03"><param>-90</param><param>198</param><param>3</param></fireRef>
	<fireRef label="stage6C_boss_fire_07_s"><param>18</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>18</param><param>198</param><param>3</param></fireRef>
		<fireRef label="stage6C_boss_fire_07_s"><param>18</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>18</param><param>198</param><param>2</param></fireRef>
		<fireRef label="stage6C_boss_fire_07_s"><param>18</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>18</param><param>198</param><param>1</param></fireRef>
		<fireRef label="stage6C_boss_fire_07_s"><param>18</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<fireRef label="stage6C_boss_fire_06_s"><param>18+11</param><param>198</param><param>3</param></fireRef>
	<fireRef label="stage6C_boss_fire_07_s"><param>18</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>18</param><param>198</param><param>3</param></fireRef>
		<fireRef label="stage6C_boss_fire_07_s"><param>18</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>18</param><param>198</param><param>2</param></fireRef>
		<fireRef label="stage6C_boss_fire_07_s"><param>18</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>18</param><param>198</param><param>1</param></fireRef>
		<fireRef label="stage6C_boss_fire_07_s"><param>18</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_03_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_03_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_06_s"><param>15+7</param><param>198</param><param>3</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_06_s"><param>15</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>

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

	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>$_player_cx</param>
		<param>$_player_cy-30</param>
		<param>100</param>
		<param>80</param>
	</createRef>

	<!-- ３色 -->
	<targetRevenge label="stage6C_boss_line_01_3"></targetRevenge>
	<soundRef label="enemy_laser_se"></soundRef>
	<createRef label="stage6C_boss_create_line_01_1"><param>200</param></createRef>
	<createRef label="stage6C_boss_create_line_01_2"><param>180</param></createRef>
	<createRef label="stage6C_boss_create_line_01_3"><param>190</param></createRef>
	<wait>60</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_01"><param>-90</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>30</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>30</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>30</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_04_s"><param>30+13</param><param>178</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>30</param><param>178</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>30</param><param>178</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>30</param><param>178</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_07_s"><param>30+13</param><param>188</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>30</param><param>188</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>30</param><param>188</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>30</param><param>188</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>30+15</wait>

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

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_01"><param>-90</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>30</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>30</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>30</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_04_s"><param>30+13</param><param>178</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>30</param><param>178</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>30</param><param>178</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>30</param><param>178</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_07_s"><param>30+13</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>30</param><param>188</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>30</param><param>188</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>30</param><param>188</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>30+15</wait>


	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_01"><param>-90</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>30</param><param>198</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>30</param><param>198</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_01_s"><param>30</param><param>198</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_04_s"><param>30+13</param><param>178</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>30</param><param>178</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>30</param><param>178</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_04_s"><param>30</param><param>178</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_07_s"><param>30+13</param><param>198</param><param>3</param></fireRef>
	<repeat><times>3</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>30</param><param>188</param><param>3</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>30</param><param>188</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_07_s"><param>30</param><param>188</param><param>1</param></fireRef>
	</repeat>
	<wait>1</wait>
	<wait>12</wait>

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

	<!-- ３色終了 -->
	<targetRevenge label="stage6C_boss_line_01_1"></targetRevenge>
	<targetRevenge label="stage6C_boss_line_01_2"></targetRevenge>
	<targetRevenge label="stage6C_boss_line_01_3"></targetRevenge>
	<wait>120</wait>
</repeat>

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

</action>

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

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

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

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

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

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


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

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

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

<revenge label="stage6C_boss_line_revenge">

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

</revenge>

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

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

<bullet label="stage6C_boss_bullet_01">

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

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

		<wait>1</wait>
		<repeat><times>-1</times>
			<repeat><times>$_self_cy-gt$1</times>
				<changeSpeed>
					<speed>0</speed><term>1</term>
				</changeSpeed>
				<wait>1</wait>
				<actionRef label="enemy_bullet_action4"><param>22</param></actionRef>
				<fireRef label="stage6C_boss_fire_02"><param>-34</param><param>2</param></fireRef>
				<repeat><times>4</times>
					<fireRef label="stage6C_boss_fire_02_s"><param>17</param><param>2</param></fireRef>
				</repeat>
				<vanish/>
			</repeat>
			<wait>2</wait>
		</repeat>
	</action>

</bullet>

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

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


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

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

</bullet>

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

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

<bullet label="stage6C_boss_bullet_03">

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

	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed>1.8</speed><term>1</term>
		</changeSpeed>
	</action>
</bullet>

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

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

<bullet label="stage6C_boss_bullet_04">

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

		<wait>1</wait>
		<repeat><times>-1</times>
			<repeat><times>$_self_cy-gt$1</times>
				<changeSpeed>
					<speed>0</speed><term>1</term>
				</changeSpeed>
				<wait>1</wait>
				<actionRef label="enemy_bullet_action4"><param>22</param></actionRef>
				<fireRef label="stage6C_boss_fire_05_ab"><param>180</param><param>2</param><param>12</param></fireRef>
				<fireRef label="stage6C_boss_fire_05_ab"><param>180</param><param>1.65</param><param>10</param></fireRef>
				<fireRef label="stage6C_boss_fire_05_ab"><param>180</param><param>1.3</param><param>8</param></fireRef>
				<fireRef label="stage6C_boss_fire_05_ab"><param>180</param><param>0.95</param><param>8</param></fireRef>

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

</bullet>

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

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


<bullet label="stage6C_boss_bullet_05">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>$2/2-1</radius></collision>
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>$2</width><height>$2</height>
		<alpha>255</alpha><red>255</red><green>2</green><blue>34</blue>
	</img>
	<action>
		<changeSpeed>
			<speed>$1</speed><term>30</term>
		</changeSpeed>

	</action>
</bullet>

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

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

<bullet label="stage6C_boss_bullet_06">

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


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

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


<bullet label="stage6C_boss_bullet_07">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</radius></collision>
	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*1</left><top>0</top><right>32*2</right><bottom>32</bottom>
		<width>20</width><height>20</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<wait>$2</wait>
		<changeSpeed>
			<speed>1.8</speed><term>1</term>
		</changeSpeed>
		<wait>1</wait>
		<repeat><times>-1</times>
			<repeat><times>$_self_cy-gt$1</times>
				<changeSpeed>
					<speed>0</speed><term>1</term>
				</changeSpeed>
				<wait>1</wait>
				<actionRef label="enemy_bullet_action8"><param>22</param></actionRef>
				<fireRef label="stage6C_boss_fire_08_ab"><param>90+$_self_cx%10</param><param>2</param></fireRef>
				<repeat><times>3</times>
					<fireRef label="stage6C_boss_fire_08_s"><param>21</param><param>2</param></fireRef>
				</repeat>
				<wait>1</wait>
				<repeat><times>4</times>
					<fireRef label="stage6C_boss_fire_08_s"><param>21</param><param>1</param></fireRef>
				</repeat>
				<vanish/>
			</repeat>
			<wait>2</wait>
		</repeat>
	</action>

</bullet>

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

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


<bullet label="stage6C_boss_bullet_08">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>3</radius></collision>
	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>8</width><height>8</height>
		<alpha>255</alpha><red>25</red><green>255</green><blue>3</blue>
	</img>
	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed>1.2</speed><term>60</term>
		</changeSpeed>

	</action>
</bullet>

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

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


<bullet label="stage6C_boss_bullet_09">

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

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

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

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

	<wait>2</wait>
	<global name="counter_tmp">$_counter</global>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>
<!-- 弾幕開始 -->
<createRef label="stage6_sara_prate_area">
	<param>420</param>
	<param>380</param>
	<param>60</param>
	<param>40</param>
</createRef>
<createRef label="stage6_sara_prate_area2">
	<param>400</param>
	<param>200</param>
	<param>80</param>
	<param>30</param>
</createRef>
<createRef label="stage6_sara_prate_area3">
	<param>240</param>
	<param>200</param>
	<param>80</param>
	<param>30</param>
</createRef>
<wait>1</wait>

<eval name="mahoujin_x">140+22</eval>
<createRef label="stage6C_boss_mahoujin_create_01"><param>$mahoujin_x</param><param>40+16</param><param>1</param></createRef>
<createRef label="stage6C_boss_mahoujin_create_01"><param>$mahoujin_x+45</param><param>480-16</param><param>-1</param></createRef>
<wait>3</wait>
<repeat><times>3</times>
	<evaladd name="mahoujin_x">90</evaladd>
	<createRef label="stage6C_boss_mahoujin_create_01"><param>$mahoujin_x</param><param>40+16</param><param>1</param></createRef>
	<createRef label="stage6C_boss_mahoujin_create_01"><param>$mahoujin_x+45</param><param>480-16</param><param>-1</param></createRef>
	<wait>3</wait>
</repeat>

<eval name="area_pos">1</eval>
<repeat><times>7</times>
	<wait>120</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_2_02"></fireRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_2_02_s"></fireRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_2_02_s"></fireRef>
	<wait>100-10-2</wait>
	<createRef label="stage6C_boss_create_line_2_01"></createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_create_line_2_01"></createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_create_line_2_01"></createRef>
	<wait>30-2</wait>

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

	<wait>120</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_2_02"></fireRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_2_02_s"></fireRef>
	<wait>1</wait>
	<fireRef label="stage6C_boss_fire_2_02_s"></fireRef>
	<wait>100-10-2</wait>
	<createRef label="stage6C_boss_create_line_2_01"></createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_create_line_2_01"></createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_create_line_2_01"></createRef>
	<wait>30-2</wait>

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

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

</action>

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

</create>

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

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>60+$_self_cx%120</wait>
		<repeat><times>-1</times>
			<actionRef label="enemy_bullet_action"><param>32</param></actionRef>
			<fireRef label="stage6C_boss_fire_2_01"><param>$1</param></fireRef>
			<repeat><times>2</times>
				<wait>110</wait>
				<repeat><times>$_self_cy-lt220</times>
					<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
					<fireRef label="stage6C_boss_fire_laser_2_01"><param>-60</param><param>1</param></fireRef>
					<fireRef label="stage6C_boss_fire_laser_2_01_s"><param>30</param><param>1</param></fireRef>
					<fireRef label="stage6C_boss_fire_laser_2_01_s"><param>30</param><param>1</param></fireRef>
					<fireRef label="stage6C_boss_fire_laser_2_01_s"><param>30</param><param>1</param></fireRef>
					<fireRef label="stage6C_boss_fire_laser_2_01_s"><param>30</param><param>1</param></fireRef>
				</repeat>
			</repeat>
		</repeat>
	</action>
</object>

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

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

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

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

<bullet label="stage6C_boss_bullet_2_01">

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>13</radius></collision>
	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*5</left><top>0</top><right>32*6</right><bottom>32</bottom>
		<width>30</width><height>30</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg><direction>3*$1</direction><term>-1</term></rotateImg>
	<action>
	</action>
</bullet>


<fire label="stage6C_boss_fire_2_02">
	<speed>1.5</speed>
	<direction type="aim">0</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_bullet_2_02"></bulletRef>
</fire>

<fire label="stage6C_boss_fire_2_02_s">
	<speed>1.5</speed>
	<direction type="sequence">120</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_bullet_2_02"></bulletRef>
</fire>

<bullet label="stage6C_boss_bullet_2_02">

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

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

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

<bullet label="stage6C_boss_bullet_2_03">

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



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

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

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

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

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

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

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

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

<!-- 弾幕開始 -->

<createRef label="stage6C_boss_create_line_3_01ud"><param>30</param></createRef>
<createRef label="stage6C_boss_create_line_3_01ud"><param>470</param></createRef>
<createRef label="stage6C_boss_create_line_3_01rl"><param>150</param></createRef>
<createRef label="stage6C_boss_create_line_3_01rl"><param>490</param></createRef>
<createRef label="stage6C_boss_create_line_3_02"></createRef>
<createRef label="stage6C_boss_create_line_3_03"></createRef>
<eval name="move_flag">0</eval>

<!-- 0戻りは3回に１回 -->
<!-- 最初の１回は必ず下へ -->
<eval name="flag">-1</eval>
<wait>1</wait>

<repeat><times>7</times>
	<repeat><times>$flag-gt2</times>
		<eval name="move_flag">0</eval>
	</repeat>
	<repeat><times>$flag-lt3</times>
		<eval name="move_flag">($move_flag+1+(($_player_cx*3+$_player_cy*7)%3))%4</eval>
		<repeat><times>$flag-lt0</times>
			<eval name="move_flag">2</eval>
		</repeat>
	</repeat>
	<eval name="move_judge">$move_flag%2</eval>
	<eval name="move_judge2">($move_flag-($move_flag%2))/2</eval>
	<eval name="x">320-90*$move_judge+180*$move_judge*$move_judge2</eval>
	<eval name="y">240-100*(1-$move_judge)+200*(1-$move_judge)*$move_judge2</eval>

	<wait>1</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_3_02"><param>0</param><param>1</param><param>4</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>4</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>3</param></fireRef>
	</repeat>
	<wait>11</wait>
	<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>2</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>1</param></fireRef>
	</repeat>
	<wait>11</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_3_02_s"><param>36+19</param><param>1</param><param>4</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>4</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>3</param></fireRef>
	</repeat>
	<wait>11</wait>
	<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>2</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>1</param></fireRef>
	</repeat>
	<wait>10</wait>

	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<eval name="random_area">($_player_cx*7+$_player_cy*3)%4</eval>
	<wait>1</wait>
	<createRef label="stage6_sara_prate_area">
		<param>320-95*($random_area%2)+190*($random_area-eq3)</param>
		<param>250-95*(1-($random_area%2))+190*($random_area-eq2)</param>
		<param>80</param>
		<param>80</param>
	</createRef>


	<createRef label="stage6C_boss_mahoujin_create_3_01"><param>$x</param><param>$y</param></createRef>
	<repeat><times>1-($move_flag-eq2)</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>4</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>4</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>3</param></fireRef>
		</repeat>
		<wait>11</wait>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36+19</param><param>-1</param><param>2</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>1</param></fireRef>
		</repeat>
		<wait>11</wait>
	</repeat>
	<repeat><times>$move_flag-eq2</times>
		<wait>24</wait>
	</repeat>
	<wait>14+48+24</wait>
	<soundRef label="enemy_move_se"></soundRef>
	<wait>10</wait>
	<actionRef label="setPosition_action"><param>$x</param><param>$y</param></actionRef>
	<wait>30</wait>


	<createRef label="stage6C_boss_mahoujin_create_3_02r">
		<param>155+($move_flag-gt1)*180</param><param>36.5+233*($move_flag-gt1)</param><param>-128+(($move_flag%3)-eq0)*180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02r">
		<param>195+($move_flag-gt1)*180</param><param>88.2+233*($move_flag-gt1)</param><param>-128+(($move_flag%3)-eq0)*180</param><param>3</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02r">
		<param>235+($move_flag-gt1)*180</param><param>140+233*($move_flag-gt1)</param><param>-128+(($move_flag%3)-eq0)*180</param><param>2</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02r">
		<param>275+($move_flag-gt1)*180</param><param>191.7+233*($move_flag-gt1)</param><param>-128+(($move_flag%3)-eq0)*180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02r">
		<param>315+($move_flag-gt1)*180</param><param>243.5+233*($move_flag-gt1)</param><param>128-(($move_flag%3)-eq0)*180</param><param>3</param>
	</createRef>
	<wait>1</wait>

	<createRef label="stage6C_boss_mahoujin_create_3_02b">
		<param>315+(($move_flag%3)-eq0)*180</param><param>36.5+220*(($move_flag%3)-gt0)</param><param>128-($move_flag-lt2)*180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02b">
		<param>275+(($move_flag%3)-eq0)*180</param><param>88.2+220*(($move_flag%3)-gt0)</param><param>128-($move_flag-lt2)*180</param><param>3</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02b">
		<param>235+(($move_flag%3)-eq0)*180</param><param>140+220*(($move_flag%3)-gt0)</param><param>128-($move_flag-lt2)*180</param><param>2</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02b">
		<param>195+(($move_flag%3)-eq0)*180</param><param>191.7+220*(($move_flag%3)-gt0)</param><param>128-($move_flag-lt2)*180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02b">
		<param>155+(($move_flag%3)-eq0)*180</param><param>243.5+220*(($move_flag%3)-gt0)</param><param>128-($move_flag-lt2)*180</param><param>3</param>
	</createRef>
	<wait>1</wait>

	<eval name="center_x">320-170*$move_judge+340*$move_judge*$move_judge2</eval>
	<eval name="center_y">250-220*(1-$move_judge)+440*(1-$move_judge)*$move_judge2</eval>

	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x</param><param>$center_y</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x+45*(1-$move_flag%2)</param><param>$center_y+50*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x-45*(1-$move_flag%2)</param><param>$center_y-50*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x+90*(1-$move_flag%2)</param><param>$center_y+100*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x-90*(1-$move_flag%2)</param><param>$center_y-100*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x+135*(1-$move_flag%2)</param><param>$center_y+150*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x-135*(1-$move_flag%2)</param><param>$center_y-150*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>

	<wait>1</wait>
	<repeat><times>($move_flag-eq0)</times>
		<eval name="flag">0</eval>
	</repeat>
	<evaladd name="flag">1</evaladd>
	<wait>60-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->




	<repeat><times>$flag-gt2</times>
		<eval name="move_flag">0</eval>
	</repeat>
	<repeat><times>$flag-lt3</times>
		<eval name="tmp">$move_flag</eval>
		<repeat><times>$tmp-eq0</times>
			<eval name="move_flag">1+2*($player_cx%2)</eval>
		</repeat>
		<repeat><times>$tmp-eq1</times>
			<eval name="move_flag">0+3*($player_cx%2)</eval>
		</repeat>
		<wait>1</wait>
		<repeat><times>$tmp-eq2</times>
			<eval name="move_flag">($move_flag+1+(($_player_cx*3+$_player_cy*7)%3))%4</eval>
		</repeat>
		<repeat><times>$tmp-eq3</times>
			<eval name="move_flag">0+1*($player_cx%2)</eval>
		</repeat>
	</repeat>
	<eval name="move_judge">$move_flag%2</eval>
	<eval name="move_judge2">($move_flag-($move_flag%2))/2</eval>
	<eval name="x">320-90*$move_judge+180*$move_judge*$move_judge2</eval>
	<eval name="y">240-100*(1-$move_judge)+200*(1-$move_judge)*$move_judge2</eval>

	<wait>1</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_3_02"><param>0</param><param>1</param><param>4</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>4</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>3</param></fireRef>
	</repeat>
	<wait>11</wait>
	<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>2</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>1</param></fireRef>
	</repeat>
	<wait>11</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_3_02_s"><param>36+19</param><param>1</param><param>4</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>4</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>3</param></fireRef>
	</repeat>
	<wait>11</wait>
	<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>2</param></fireRef>
	<repeat><times>4</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>2</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>1</param></fireRef>
	</repeat>
	<wait>10</wait>

	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<eval name="random_area">($_player_cx*7+$_player_cy*3)%4</eval>
	<wait>1</wait>
	<createRef label="stage6_sara_prate_area">
		<param>320-95*($random_area%2)+190*($random_area-eq3)</param>
		<param>250-95*(1-($random_area%2))+190*($random_area-eq2)</param>
		<param>80</param>
		<param>80</param>
	</createRef>


	<createRef label="stage6C_boss_mahoujin_create_3_01"><param>$x</param><param>$y</param></createRef>
	<repeat><times>1-($move_flag-eq2)</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>4</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>4</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>1</param><param>3</param></fireRef>
		</repeat>
		<wait>11</wait>
		<fireRef label="stage6C_boss_fire_3_02_s"><param>36+19</param><param>-1</param><param>2</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_3_02_s"><param>36</param><param>-1</param><param>1</param></fireRef>
		</repeat>
		<wait>11</wait>
	</repeat>
	<repeat><times>$move_flag-eq2</times>
		<wait>24</wait>
	</repeat>
	<wait>14+48+24</wait>
	<soundRef label="enemy_move_se"></soundRef>
	<wait>10</wait>
	<actionRef label="setPosition_action"><param>$x</param><param>$y</param></actionRef>
	<wait>30</wait>


	<createRef label="stage6C_boss_mahoujin_create_3_02r">
		<param>155+($move_flag-gt1)*180</param><param>36.5+233*($move_flag-gt1)</param><param>-128+(($move_flag%3)-eq0)*180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02r">
		<param>195+($move_flag-gt1)*180</param><param>88.2+233*($move_flag-gt1)</param><param>-128+(($move_flag%3)-eq0)*180</param><param>3</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02r">
		<param>235+($move_flag-gt1)*180</param><param>140+233*($move_flag-gt1)</param><param>-128+(($move_flag%3)-eq0)*180</param><param>2</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02r">
		<param>275+($move_flag-gt1)*180</param><param>191.7+233*($move_flag-gt1)</param><param>-128+(($move_flag%3)-eq0)*180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02r">
		<param>315+($move_flag-gt1)*180</param><param>243.5+233*($move_flag-gt1)</param><param>128-(($move_flag%3)-eq0)*180</param><param>3</param>
	</createRef>
	<wait>1</wait>

	<createRef label="stage6C_boss_mahoujin_create_3_02b">
		<param>315+(($move_flag%3)-eq0)*180</param><param>36.5+220*(($move_flag%3)-gt0)</param><param>128-($move_flag-lt2)*180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02b">
		<param>275+(($move_flag%3)-eq0)*180</param><param>88.2+220*(($move_flag%3)-gt0)</param><param>128-($move_flag-lt2)*180</param><param>3</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02b">
		<param>235+(($move_flag%3)-eq0)*180</param><param>140+220*(($move_flag%3)-gt0)</param><param>128-($move_flag-lt2)*180</param><param>2</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02b">
		<param>195+(($move_flag%3)-eq0)*180</param><param>191.7+220*(($move_flag%3)-gt0)</param><param>128-($move_flag-lt2)*180</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02b">
		<param>155+(($move_flag%3)-eq0)*180</param><param>243.5+220*(($move_flag%3)-gt0)</param><param>128-($move_flag-lt2)*180</param><param>3</param>
	</createRef>
	<wait>1</wait>

	<eval name="center_x">320-170*$move_judge+340*$move_judge*$move_judge2</eval>
	<eval name="center_y">250-220*(1-$move_judge)+440*(1-$move_judge)*$move_judge2</eval>

	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x</param><param>$center_y</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x+45*(1-$move_flag%2)</param><param>$center_y+50*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x-45*(1-$move_flag%2)</param><param>$center_y-50*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x+90*(1-$move_flag%2)</param><param>$center_y+100*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x-90*(1-$move_flag%2)</param><param>$center_y-100*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x+135*(1-$move_flag%2)</param><param>$center_y+150*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>
	<wait>1</wait>
	<createRef label="stage6C_boss_mahoujin_create_3_02g">
		<param>$center_x-135*(1-$move_flag%2)</param><param>$center_y-150*($move_flag%2)</param><param>180-$move_flag*90</param><param>1</param>
	</createRef>

	<wait>1</wait>
	<repeat><times>($move_flag-eq0)</times>
		<eval name="flag">0</eval>
	</repeat>
	<evaladd name="flag">1</evaladd>
	<wait>60-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->
</repeat>


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

<targetRevenge label="stage6C_boss_enemy"></targetRevenge>

</action>

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

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

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

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

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

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

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

<create label="stage6C_boss_create_line_3_02">
	<speed>0</speed>
	<direction type="absolute">38</direction>
	<cx>320</cx><cy>249</cy>
	<child>1</child>
	<objectRef label="stage6C_boss_line_3_02"></objectRef>
</create>

<object label="stage6C_boss_line_3_02">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>2</width><height>640</height>
		<alpha>32</alpha><red>2</red><green>65</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<revengeRef label="stage6C_boss_line_revenge"></revengeRef>

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


<create label="stage6C_boss_create_line_3_03">
	<speed>0</speed>
	<direction type="absolute">-38</direction>
	<cx>320</cx><cy>249</cy>
	<child>1</child>
	<objectRef label="stage6C_boss_line_3_03"></objectRef>
</create>

<object label="stage6C_boss_line_3_03">
	<img type="add">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>2</width><height>640</height>
		<alpha>32</alpha><red>255</red><green>65</green><blue>2</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<revengeRef label="stage6C_boss_line_revenge"></revengeRef>

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

<create label="stage6C_boss_mahoujin_create_3_01">
	<speed>0</speed>
	<direction type="sequence">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef label="stage6C_boss_mahoujin_object_3_01"></objectRef>

</create>

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

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


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

</create>

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

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

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

</create>

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

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

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

</create>

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

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



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

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

<bullet label="stage6C_boss_bullet_3_01">

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


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

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

<bullet label="stage6C_boss_bullet_3_02">

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



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

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

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

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

<!-- 弾幕開始 -->

<createRef label="stage6_sara_prate_area">
	<param>320</param>
	<param>350</param>
	<param>120</param>
	<param>40</param>
</createRef>

<createRef label="stage6C_boss_mahoujin_create_4_01"><param>250</param><param>100</param></createRef>
<createRef label="stage6C_boss_mahoujin_create_4_02"><param>390</param><param>120</param></createRef>

<repeat><times>6</times>
	<wait>80</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_4_03"><param>0</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_4_03_s"><param>45</param></fireRef>
	</repeat>
	<wait>15</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_4_03_s"><param>45+22</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_4_03_s"><param>45</param></fireRef>
	</repeat>

	<changeSpeed>
		<speed type="aboslute">1.2</speed><term>20</term>
	</changeSpeed>
	<changeDirection>
		<direction type="absolute">-70+($_player_cx-gt319)*140</direction><term>1</term>
	</changeDirection>
	<wait>30</wait>
	<changeSpeed>
		<speed type="aboslute">0</speed><term>20</term>
	</changeSpeed>
	<wait>30-3</wait>

	<wait>10</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_4_03"><param>0</param></fireRef>
	<repeat><times>4</times>
		<wait>15</wait>
		<fireRef label="stage6C_boss_fire_4_03_s"><param>0</param></fireRef>
	</repeat>
	<wait>60</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_4_03_s"><param>45+22</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_4_03_s"><param>45</param></fireRef>
	</repeat>

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


	<wait>80</wait>
	<wait>15</wait>

	<changeSpeed>
		<speed type="aboslute">1.2</speed><term>20</term>
	</changeSpeed>
	<changeDirection>
		<direction type="absolute">-70+($_player_cx-gt319)*140</direction><term>1</term>
	</changeDirection>
	<wait>30</wait>
	<changeSpeed>
		<speed type="aboslute">0</speed><term>20</term>
	</changeSpeed>
	<wait>30-3</wait>

	<wait>10</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_4_03"><param>0</param></fireRef>
	<repeat><times>4</times>
		<wait>15</wait>
		<fireRef label="stage6C_boss_fire_4_03_s"><param>0</param></fireRef>
	</repeat>
	<wait>60</wait>
	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_4_03_s"><param>45+22</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_4_03_s"><param>45</param></fireRef>
	</repeat>

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

<wait>120</wait>

<targetRevenge label="stage6C_boss_enemy"></targetRevenge>

</action>


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

</create>

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

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>80</wait>

		<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
		<fireRef label="stage6C_boss_fire_4_01"><param>0</param><param>5</param></fireRef>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_4_01_s"><param>10</param><param>5</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_4_01_s"><param>10</param><param>4</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_4_01_s"><param>10</param><param>3</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_4_01_s"><param>10</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>7</times>
			<fireRef label="stage6C_boss_fire_4_01_s"><param>10</param><param>1</param></fireRef>
		</repeat>
		<wait>20</wait>

		
		<repeat><times>-1</times>
		<repeat><times>16</times>
			<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
			<fireRef label="stage6C_boss_fire_4_01_s"><param>10+1</param><param>5</param></fireRef>
			<repeat><times>7</times>
				<fireRef label="stage6C_boss_fire_4_01_s"><param>10</param><param>5</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>7</times>
				<fireRef label="stage6C_boss_fire_4_01_s"><param>10</param><param>4</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>7</times>
				<fireRef label="stage6C_boss_fire_4_01_s"><param>10</param><param>3</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>7</times>
				<fireRef label="stage6C_boss_fire_4_01_s"><param>10</param><param>2</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>7</times>
				<fireRef label="stage6C_boss_fire_4_01_s"><param>10</param><param>1</param></fireRef>
			</repeat>
			<wait>25</wait>
		</repeat>
		<wait>30</wait>
		</repeat>

	</action>
</object>



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

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


<bullet label="stage6C_boss_bullet_4_01">

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

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

	<action>
		<wait>$1</wait>
		<changeDirection>
			<direction type="relative">42</direction><term>90</term>
		</changeDirection>
		<changeSpeed>
			<speed type="absolute">1.2</speed><term>30</term>
		</changeSpeed>
	</action>
</bullet>

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

</create>

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

	<action>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>80</wait>

		<repeat><times>-1</times>
			<fireRef label="stage6C_boss_fire_4_02"><param>-90</param><param>7</param></fireRef>
			<repeat><times>6</times>
				<fireRef label="stage6C_boss_fire_4_02_s"><param>4</param><param>7</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>7</times>
				<fireRef label="stage6C_boss_fire_4_02_s"><param>4</param><param>6</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="stage6C_boss_fire_4_02_s"><param>4</param><param>5</param></fireRef>
			</repeat>
			<wait>1</wait>
			<actionRef label="enemy_bullet_action8"><param>32</param></actionRef>
			<repeat><times>7</times>
				<fireRef label="stage6C_boss_fire_4_02_s"><param>4</param><param>4</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="stage6C_boss_fire_4_02_s"><param>4</param><param>3</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>6</times>
				<fireRef label="stage6C_boss_fire_4_02_s"><param>4</param><param>2</param></fireRef>
			</repeat>
			<wait>1</wait>
			<repeat><times>7</times>
				<fireRef label="stage6C_boss_fire_4_02_s"><param>4</param><param>1</param></fireRef>
			</repeat>
			<wait>95</wait>
		</repeat>

	</action>
</object>

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

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

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

	<action>
		<wait>$1</wait>
		<changeImgSize>
			<width>5</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<changeSpeed>
			<speed>2</speed><term>1</term>
		</changeSpeed>
		<wait>30</wait>
		<changeSpeed>
			<speed>1.5</speed><term>30</term>
		</changeSpeed>

	</action>
</bullet>

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

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

<bullet label="stage6C_boss_fire_bullet_4_03">
	
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>9</radius></collision>
	<img type="normal">
		<file type="dds">bullet</file>
		<left>32*1</left><top>0</top><right>32*2</right><bottom>32</bottom>
		<width>20</width><height>20</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<action>
		<changeSpeed>
			<speed>1</speed><term>30</term>
		</changeSpeed>

	</action>
</bullet>

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

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

<!-- 弾幕開始 -->

<eval name="laser_dir">1-2*($_player_cx-lt321)</eval>

<soundRef label="enemy_laser_se"></soundRef>
<createRef label="stage6C_boss_laser_5_02_dummy"><param>$laser_dir</param></createRef>
<wait>30</wait>
<createRef label="stage6C_boss_laser_5_01_dummy"><param>$laser_dir</param></createRef>
<wait>13</wait>


<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
<fireRef label="stage6C_boss_fire_5_03"><param>30</param></fireRef>
<repeat><times>5</times>
	<fireRef label="stage6C_boss_fire_5_03_s"><param>60</param></fireRef>
</repeat>
<wait>20</wait>
<fireRef label="stage6C_boss_fire_5_03_s"><param>60+18*$laser_dir</param></fireRef>
<repeat><times>5</times>
	<fireRef label="stage6C_boss_fire_5_03_s"><param>60</param></fireRef>
</repeat>

<repeat><times>12</times>
	<repeat><times>9</times>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<wait>20</wait>
		<fireRef label="stage6C_boss_fire_5_03_s"><param>60+18*$laser_dir</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_5_03_s"><param>60</param></fireRef>
		</repeat>
	</repeat>
	<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
	<wait>20</wait>
	<fireRef label="stage6C_boss_fire_5_03_s"><param>60+19*$laser_dir</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_5_03_s"><param>60</param></fireRef>
	</repeat>
	<wait>20</wait>
	<repeat><times>9</times>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<wait>20</wait>
		<fireRef label="stage6C_boss_fire_5_03_s"><param>60+13*$laser_dir</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_5_03_s"><param>60</param></fireRef>
		</repeat>
	</repeat>
	<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
	<wait>20</wait>
	<fireRef label="stage6C_boss_fire_5_03_s"><param>60+18*$laser_dir</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_5_03_s"><param>60</param></fireRef>
	</repeat>
	<wait>20-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->
	<fireRef label="stage6C_boss_fire_5_03_s"><param>60+18*$laser_dir</param></fireRef>
	<repeat><times>5</times>
		<fireRef label="stage6C_boss_fire_5_03_s"><param>60</param></fireRef>
	</repeat>
</repeat>


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

</action>

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


<enemy label="stage6C_boss_laser_enemy_5_01_dummy">

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

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

	<action>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_laser_5_01"><param>0</param></fireRef>
		<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
		<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
		<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
		<repeat><times>6</times>
			<wait>1</wait>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<wait>1</wait>
			<createRef label="stage6C_boss_laser_create_5_01_s"><param>90</param></createRef>
			<createRef label="stage6C_boss_laser_create_5_01_s"><param>90</param></createRef>
			<createRef label="stage6C_boss_laser_create_5_01_s"><param>90</param></createRef>
			<createRef label="stage6C_boss_laser_create_5_01_s"><param>90</param></createRef>
		</repeat>
			<wait>1</wait>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>

		<repeat><times>-1</times>
		<wait>23</wait>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_laser_5_01_s"><param>37*$1</param></fireRef>
		<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
		<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
		<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
		<repeat><times>6</times>
			<wait>1</wait>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<wait>1</wait>
			<createRef label="stage6C_boss_laser_create_5_01_s"><param>90</param></createRef>
			<createRef label="stage6C_boss_laser_create_5_01_s"><param>90</param></createRef>
			<createRef label="stage6C_boss_laser_create_5_01_s"><param>90</param></createRef>
			<createRef label="stage6C_boss_laser_create_5_01_s"><param>90</param></createRef>
		</repeat>
			<wait>1</wait>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_01_s"><param>90</param></fireRef>
		</repeat>
	</action>
</enemy>


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

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


<bullet label="stage6C_boss_laser_bullet_5_01">

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

	<img type="add">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>6</height>
		<alpha>100</alpha><red>240</red><green>255</green><blue>106</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

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

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

</bullet>


<create label="stage6C_boss_laser_create_5_01_s">
	<speed>3</speed>
	<direction type="sequence">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy+1</cy>
	<vital>1</vital>
	<child>1</child>
	<flag>2</flag>
	<enemyRef label="stage6C_boss_laser_enemy_5_01"></enemyRef>
</create>


<enemy label="stage6C_boss_laser_enemy_5_01">

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

	<action>
		<changeImgSize>
			<width>24</width><height>42</height><term>15</term>
		</changeImgSize>
		<wait>60</wait>

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

	</action>
</enemy>

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

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


<enemy label="stage6C_boss_laser_enemy_5_02_dummy">

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

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

	<action>
		<sound type="se" label="laser_se">
			<track><file type="ogg">laser2</file></track>
			<play><flag>1</flag><loop>0</loop></play>
		</sound>
		<fireRef label="stage6C_boss_laser_5_02"><param>0</param></fireRef>
		<fireRef label="stage6C_boss_laser_5_02_s"><param>120</param></fireRef>
		<fireRef label="stage6C_boss_laser_5_02_s"><param>120</param></fireRef>
		<repeat><times>60</times>
			<wait>1</wait>
			<fireRef label="stage6C_boss_laser_5_02_s"><param>120</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_02_s"><param>120</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_02_s"><param>120</param></fireRef>
			<wait>1</wait>
			<createRef label="stage6C_boss_laser_create_5_02_s"><param>120</param></createRef>
			<createRef label="stage6C_boss_laser_create_5_02_s"><param>120</param></createRef>
			<createRef label="stage6C_boss_laser_create_5_02_s"><param>120</param></createRef>
		</repeat>
		<eval name="dir">0.8*$1</eval>

		<repeat><times>-1</times>
			<wait>1</wait>
			<fireRef label="stage6C_boss_laser_5_02_s"><param>120+$dir</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_02_s"><param>120</param></fireRef>
			<fireRef label="stage6C_boss_laser_5_02_s"><param>120</param></fireRef>
			<wait>1</wait>
			<createRef label="stage6C_boss_laser_create_5_02_s"><param>120</param></createRef>
			<createRef label="stage6C_boss_laser_create_5_02_s"><param>120</param></createRef>
			<createRef label="stage6C_boss_laser_create_5_02_s"><param>120</param></createRef>
		</repeat>
		<vanish/>
	</action>
</enemy>


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

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


<bullet label="stage6C_boss_laser_bullet_5_02">

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

	<img type="add">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>2</width><height>6</height>
		<alpha>100</alpha><red>132</red><green>200</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>

	<action>
		<changeImgSize>
			<width>64</width><height>78</height><term>20</term>
		</changeImgSize>

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

</bullet>


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


<enemy label="stage6C_boss_laser_enemy_5_02">

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

	<action>
		<changeImgSize>
			<width>64</width><height>78</height><term>15</term>
		</changeImgSize>
		<wait>60</wait>

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

	</action>
</enemy>


<fire label="stage6C_boss_fire_5_03">
	<speed>1.2</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_bullet_5_03"></bulletRef>
</fire>

<fire label="stage6C_boss_fire_5_03_s">
	<speed>1.2</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_bullet_5_03"></bulletRef>
</fire>


<bullet label="stage6C_boss_bullet_5_03">

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

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

	<action>
	</action>
</bullet>





<!-- ********************************************************************* -->
<!-- *** ボスのアクション					      *** -->
<!-- *** 第６形態（ノーマル最終）				      *** -->
<action  label="stage6C_boss_06_action">

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

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

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

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

<!-- 弾幕開始 -->

	<!-- ボム中当たり判定用 -->
	<createRef label="stage6C_boss_create_4_dummy"></createRef>

	<eval name="random_dir">-1*($_player_cx%32)</eval>

	<changeSpeed>
		<speed type="absolute">0.05</speed><term>1</term>
	</changeSpeed>
	<changeDirection>
		<direction type="absolute">90</direction><term>1</term>
	</changeDirection>

<repeat><times>5</times>
	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<targetRevenge label="stage6_sara_prate_area_ob2"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>240</param>
		<param>380</param>
		<param>80</param>
		<param>100</param>
	</createRef>
	<createRef label="stage6_sara_prate_area2">
		<param>430</param>
		<param>280</param>
		<param>100</param>
		<param>80</param>
	</createRef>
	<repeat><times>2</times>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_6_01"><param>-90</param><param>31</param></fireRef>
		<repeat><times>5</times>
			<evaladd name="random_dir">60</evaladd>
			<wait>15</wait>
			<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
			<fireRef label="stage6C_boss_fire_6_01_s"><param>60</param><param>$random_dir</param></fireRef>
		</repeat>

		<wait>50</wait>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_6_07"><param>0</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_6_07_s"><param>30</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="stage6C_boss_fire_6_07_s"><param>30</param></fireRef>
		</repeat>
		<wait>49</wait>

		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_6_02"><param>-120</param><param>151</param></fireRef>
		<repeat><times>5</times>
			<evaladd name="random_dir">60</evaladd>
			<wait>15</wait>
			<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
			<fireRef label="stage6C_boss_fire_6_02_s"><param>60</param><param>$random_dir</param></fireRef>
		</repeat>

		<wait>50</wait>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_6_08"><param>20</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_6_08_s"><param>30</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="stage6C_boss_fire_6_08_s"><param>30</param></fireRef>
		</repeat>
		<wait>49</wait>
		
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_6_03"><param>180</param><param>271</param></fireRef>
		<repeat><times>5</times>
			<evaladd name="random_dir">60</evaladd>
			<wait>15</wait>
			<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
			<fireRef label="stage6C_boss_fire_6_03_s"><param>60</param><param>$random_dir</param></fireRef>
		</repeat>

		<wait>50</wait>
		<actionRef label="enemy_bullet_action4"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_6_09"><param>40</param></fireRef>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_6_09_s"><param>30</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>6</times>
			<fireRef label="stage6C_boss_fire_6_09_s"><param>30</param></fireRef>
		</repeat>
		<wait>49-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.1</speed><term>1</term>
		</changeSpeed>

	</repeat>

	<targetRevenge label="stage6_sara_prate_area_ob"></targetRevenge>
	<targetRevenge label="stage6_sara_prate_area_ob2"></targetRevenge>
	<createRef label="stage6_sara_prate_area">
		<param>430</param>
		<param>380</param>
		<param>80</param>
		<param>100</param>
	</createRef>
	<createRef label="stage6_sara_prate_area2">
		<param>240</param>
		<param>280</param>
		<param>100</param>
		<param>80</param>
	</createRef>

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

	<eval name="random_dir">-1*($_player_cx%32)</eval>

	<actionRef label="enemy_bullet_action3"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_6_01"><param>-90</param><param>31</param></fireRef>
	<wait>9</wait>
	<fireRef label="stage6C_boss_fire_6_02_s"><param>0</param><param>121</param></fireRef>
	<wait>9</wait>
	<fireRef label="stage6C_boss_fire_6_03_s"><param>0</param><param>181</param></fireRef>
	<repeat><times>5</times>
		<evaladd name="random_dir">20</evaladd>
		<wait>9</wait>
		<actionRef label="enemy_bullet_action3"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_6_01_s"><param>60</param><param>$random_dir</param></fireRef>
		<evaladd name="random_dir">20</evaladd>
		<wait>9</wait>
		<fireRef label="stage6C_boss_fire_6_02_s"><param>0</param><param>$random_dir</param></fireRef>
		<evaladd name="random_dir">20</evaladd>
		<wait>9</wait>
		<fireRef label="stage6C_boss_fire_6_03_s"><param>0</param><param>$random_dir</param></fireRef>
	</repeat>

	<wait>180</wait>

	<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_laser_6_04"><param>80</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_laser_6_04_s"><param>40</param></fireRef>
	</repeat>
	<wait>5</wait>
	<fireRef label="stage6C_boss_laser_6_05_s"><param>40+16</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_laser_6_05_s"><param>40</param></fireRef>
	</repeat>
	<wait>5</wait>
	<fireRef label="stage6C_boss_laser_6_06_s"><param>40+16</param></fireRef>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_laser_6_06_s"><param>40</param></fireRef>
	</repeat>
	<wait>5</wait>

	<repeat><times>8</times>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_laser_6_04_s"><param>40+16</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_laser_6_04_s"><param>40</param></fireRef>
		</repeat>
		<wait>5</wait>
		<fireRef label="stage6C_boss_laser_6_05_s"><param>40+16</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_laser_6_05_s"><param>40</param></fireRef>
		</repeat>
		<wait>5</wait>
		<fireRef label="stage6C_boss_laser_6_06_s"><param>40+16</param></fireRef>
		<repeat><times>8</times>
			<fireRef label="stage6C_boss_laser_6_06_s"><param>40</param></fireRef>
		</repeat>
		<wait>5</wait>
	</repeat>

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

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


</repeat>

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

</action>


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

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

<bullet label="stage6C_boss_bullet_6_01">

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

	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>255</red><green>3</green><blue>6</blue>
	</img>
	<action>
		<changeSpeed>
			<speed type="absolute">1.1</speed><term>60</term>
		</changeSpeed>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_laser_6_01"><param>$1</param><param>120</param></fireRef>
		<repeat><times>8</times>
			<wait>5</wait>
			<fireRef label="stage6C_boss_laser_6_01_s"><param>6</param><param>120</param></fireRef>
		</repeat>	

		<repeat><times>-1</times>
			<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
			<repeat><times>8</times>
				<wait>5</wait>
				<fireRef label="stage6C_boss_laser_6_01_s"><param>6</param><param>120</param></fireRef>
			</repeat>	
		</repeat>
	</action>
</bullet>

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

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

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

	<action>
		<wait>$1</wait>
		<changeImgSize>
			<width>5</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<collision type="sync"><left>-1</left><top>-5</top><right>1</right><bottom>5</bottom></collision>
		<changeSpeed>
			<speed>1.3</speed><term>30</term>
		</changeSpeed>

	</action>
</bullet>


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

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

<bullet label="stage6C_boss_bullet_6_02">

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

	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>2</red><green>255</green><blue>6</blue>
	</img>
	<action>
		<changeSpeed>
			<speed type="absolute">1.1</speed><term>60</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">80</direction><term>240</term>
		</changeDirection>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_laser_6_02"><param>$1</param><param>120</param></fireRef>
		<repeat><times>8</times>
			<wait>5</wait>
			<fireRef label="stage6C_boss_laser_6_02_s"><param>6</param><param>120</param></fireRef>
		</repeat>	

		<repeat><times>-1</times>
			<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
			<repeat><times>8</times>
				<wait>5</wait>
				<fireRef label="stage6C_boss_laser_6_02_s"><param>6</param><param>120</param></fireRef>
			</repeat>	
		</repeat>
	</action>
</bullet>

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

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

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

	<action>
		<wait>$1</wait>
		<changeImgSize>
			<width>5</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<collision type="sync"><left>-1</left><top>-5</top><right>1</right><bottom>5</bottom></collision>
		<changeSpeed>
			<speed>1.3</speed><term>30</term>
		</changeSpeed>

	</action>
</bullet>

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

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

<bullet label="stage6C_boss_bullet_6_03">

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

	<img type="maskadd">
		<file type="dds">bullet32_1</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>2</red><green>35</green><blue>255</blue>
	</img>
	<action>
		<changeSpeed>
			<speed type="absolute">1.1</speed><term>60</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">-80</direction><term>240</term>
		</changeDirection>
		<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_laser_6_03"><param>$1</param><param>120</param></fireRef>
		<repeat><times>8</times>
			<wait>5</wait>
			<fireRef label="stage6C_boss_laser_6_03_s"><param>6</param><param>120</param></fireRef>
		</repeat>	

		<repeat><times>-1</times>
			<actionRef label="enemy_bullet_action8"><param>64</param></actionRef>
			<repeat><times>8</times>
				<wait>5</wait>
				<fireRef label="stage6C_boss_laser_6_03_s"><param>6</param><param>120</param></fireRef>
			</repeat>	
		</repeat>
	</action>
</bullet>

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

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

<bullet label="stage6C_boss_laser_bullet_6_03">
	<collision type="sync"><left>-1</left><top>-1</top><right>1</right><bottom>1</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>8</height>
		<alpha>255</alpha><red>240</red><green>240</green><blue>255</blue>
	</img>	
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>$1</wait>
		<changeImgSize>
			<width>5</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<collision type="sync"><left>-1</left><top>-5</top><right>1</right><bottom>5</bottom></collision>
		<changeSpeed>
			<speed>1.3</speed><term>30</term>
		</changeSpeed>

	</action>
</bullet>


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

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

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

	<action>
		<wait>1</wait>
		<changeImgSize>
			<width>7</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<collision type="sync"><left>-2</left><top>-5</top><right>2</right><bottom>5</bottom></collision>
		<changeSpeed>
			<speed>1.7</speed><term>30</term>
		</changeSpeed>
	</action>
</bullet>

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

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

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

	<action>
		<wait>1</wait>
		<changeImgSize>
			<width>7</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<collision type="sync"><left>-2</left><top>-5</top><right>2</right><bottom>5</bottom></collision>
		<changeSpeed>
			<speed>1.7</speed><term>30</term>
		</changeSpeed>
	</action>
</bullet>

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

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

<bullet label="stage6C_boss_laser_bullet_6_06">
	<collision type="sync"><left>-1</left><top>-1</top><right>1</right><bottom>1</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>8</height>
		<alpha>255</alpha><red>240</red><green>240</green><blue>255</blue>
	</img>	
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>1</wait>
		<changeImgSize>
			<width>7</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<collision type="sync"><left>-2</left><top>-5</top><right>2</right><bottom>5</bottom></collision>
		<changeSpeed>
			<speed>1.7</speed><term>30</term>
		</changeSpeed>
	</action>
</bullet>

<fire label="stage6C_boss_fire_6_07">
	<speed>0.4</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_6_07"></bulletRef>
</fire>

<fire label="stage6C_boss_fire_6_07_s">
	<speed>0.4</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_6_07"></bulletRef>
</fire>

<bullet label="stage6C_boss_fire_bullet_6_07">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>14</radius></collision>

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

	<action>
		<changeSpeed>
			<speed>1.3</speed><term>30</term>
		</changeSpeed>
	</action>
</bullet>

<fire label="stage6C_boss_fire_6_08">
	<speed>0.4</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_6_08"></bulletRef>
</fire>

<fire label="stage6C_boss_fire_6_08_s">
	<speed>0.4</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_6_08"></bulletRef>
</fire>

<bullet label="stage6C_boss_fire_bullet_6_08">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>14</radius></collision>

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

	<action>
		<changeSpeed>
			<speed>1.3</speed><term>30</term>
		</changeSpeed>
	</action>
</bullet>

<fire label="stage6C_boss_fire_6_09">
	<speed>0.4</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_6_09"></bulletRef>
</fire>

<fire label="stage6C_boss_fire_6_09_s">
	<speed>0.4</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_6_09"></bulletRef>
</fire>

<bullet label="stage6C_boss_fire_bullet_6_09">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>14</radius></collision>

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

	<action>
		<changeSpeed>
			<speed>1.3</speed><term>30</term>
		</changeSpeed>
	</action>
</bullet>

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

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

	<!-- *** 形態変数の増加 *** -->
	<global name="boss_state">$__boss_state+1</global>

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

	<wait>1</wait>

	<!-- *** 次の形態のボスの作成 *** -->
	<actionRef label="boss_warning_action"></actionRef>
	<wait>10</wait>
	<createRef label="stage6C_boss_01_create"></createRef>
	<targetRevenge label="option_middleboss_object"></targetRevenge>
	<targetRevenge label="boss_underbar"></targetRevenge>
	<targetRevenge label="str_bosstime_object"></targetRevenge>
<!--
	<targetRevenge label="stage6C_boss_enemy_dummy"></targetRevenge>
	<createRef label="stage6C_boss_create_dummy2"></createRef>
-->

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

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

	<!-- 赤表示消す -->
	<targetRevenge label="prate_alarm_boss_object"></targetRevenge>

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

	<!-- ダミーブレイク -->
	<targetRevenge label="stage6C_boss_enemy_dummy2"></targetRevenge>

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

<!--
	<targetRevenge label="stage1_boss_timer4"></targetRevenge>
	<targetRevenge label="boss_vital4"></targetRevenge>
	<targetRevenge label="option_middleboss_object"></targetRevenge>
-->
	<!-- *** アイテムの出現 *** -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>52-($_self_cx%9)*13</param><param>52-($_self_cx%14)*8</param></createRef>
	<wait>1</wait>
	<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>

	<wait>1</wait>

	<!-- 自爆のためscoreが入らないので、ここでスコアを加算する -->
	<addScore>
		<score>380000</score>	
	</addScore>

	<eval name="counter_e">$__counter_tmp</eval>
	<actionRef label="item_counter_01_boss"><param>42/2</param><param>$counter_e</param><param>600</param><param>24</param><param>$localcounter</param></actionRef>

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

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

<revenge label="stage6C_boss_01_2_revenge">

	<eval name="localcounter">$_counter</eval>

	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>
	<wait>1</wait>
	<!-- 爆発アクション -->
	<actionRef label="boss_revenge_present_1"></actionRef>

	<!-- *** 形態変数の増加 *** -->
	<global name="boss_state">$__boss_state+1</global>

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

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

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

	<wait>1</wait>

	<repeat><times>$_revenge_state-eq1</times>
		<eval name="counter_e">$__counter_tmp</eval>
		<actionRef label="item_counter_01_boss"><param>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>60</param></actionRef>
	</repeat>

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

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


<revenge label="stage6C_boss_02_revenge">

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

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

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

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

	<wait>1</wait>

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

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

<revenge label="stage6C_boss_03_revenge">

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

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

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

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

	<wait>1</wait>

	<repeat><times>$_revenge_state-eq1</times>
		<eval name="counter_e">$__counter_tmp</eval>
		<actionRef label="item_counter_01_boss"><param>40/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>60</param></actionRef>
	</repeat>

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

<revenge label="stage6C_boss_04_revenge">

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

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

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

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

	<wait>1</wait>

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

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


<revenge label="stage6C_boss_05_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>
	<repeat><times>$_revenge_state-eq3</times>
		<wait>1</wait>
		<create>
			<speed>0</speed><direction>0</direction>
			<cx>320</cx><cy>240</cy><vital>0</vital>
			<bombRef label="bomb_clearbomb"></bombRef>
		</create>
	</repeat>

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

	<wait>1</wait>

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

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


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

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


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

	<!-- たまけし -->
	<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>

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

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

	<wait>1</wait>

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

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

	<wait>1</wait>


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

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

	<wait>1</wait>

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

	<!-- 会話シーン用ボス作成 -->
	<actionRef label="stage6C_boss_appear_sara_common3"></actionRef>
	<!-- *** 終了 *** -->
	<vanish></vanish>	
</revenge>



<!-- ********************************************************************* -->
<!-- *** ボス戦はここから始まる(ラスボス２回目)		*** -->
<action label="stage6C_boss2_top_action">

	<changeTargetVolume label="bgm">
		<num>-10000</num><term>30</term>
	</changeTargetVolume>
	<wait>60</wait>
	<targetVanish label="bgm"></targetVanish>
	<wait>30</wait>
	<sound label="bgm" type="bgm">
		<track>
			<file type="ogg">18_stage6boss_first</file>
		</track>
		<play>
			<flag>1</flag><loop>44100*2*2*3</loop>
		</play>
	</sound>
	<actionRef label="stage6_6_bgm_title_action"></actionRef>


	<setSharedVitalNum>
		<num>1</num><vital>$__vital_7</vital>
	</setSharedVitalNum>
	<setSharedVitalNum>
		<num>2</num><vital>$__vital_8</vital>
	</setSharedVitalNum>

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

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

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

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

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

<!-- ********************************************************************* -->
<!-- *** 第 7 形態のボスオブジェクト作成			       *** -->
<!-- ***							       *** -->
<create label="stage6C_boss_07_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$__boss_cx</cx><cy>$__boss_cy</cy>
	<inv>40</inv>
	<score>900000</score>
	<prate>$__boss_prate5</prate>
	<enemyRef label="stage6C_boss2_enemy"></enemyRef>
</create>


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

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

	<presentRef label="stage6C_boss_present_sara_common3"></presentRef>

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

	<!-- *** VITAL ゲージはボスの子オブジェクトなのでここで作成 *** -->
	<!-- *** 画面下のボス表示を作成 *** -->
	<repeat><times>$__boss_state-eq1</times>
		<shareVital><num>1</num></shareVital>
		<createRef label="boss_underbar_create"></createRef>
		<createRef label="boss_vital_create"></createRef>
	</repeat>
	<repeat><times>$__boss_state-eq2</times>
		<shareVital><num>2</num></shareVital>
		<createRef label="boss_underbar_create2"></createRef>
		<createRef label="boss_vital_create3"></createRef>
	</repeat>


	<!-- *** 第 N 形態ごとのアクション *** -->
	<repeat><times>$__boss_state-eq1</times>
		<global name="prate_average">$__prate_average+$_prate</global>
		<global name="prate_average_num">$__prate_average_num+1</global>
		<revengeRef label="stage6C_boss_07_revenge"></revengeRef>
		<global name="timer">14</global>
		<actionRef  label="create_timer"></actionRef>
		<actionRef  label="stage6C_boss_07_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>
		<actionRef  label="create_timer4"></actionRef>
		<revengeRef label="stage6C_boss_08_revenge"></revengeRef>
		<actionRef  label="stage6C_boss_08_action"></actionRef>
	</repeat>
</enemy>



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

	<wait>30</wait>
<!-- 弾幕開始 -->

<createRef label="stage6C_boss_create_7_01"><param>55</param><param>15</param></createRef>
<createRef label="stage6C_boss_create_7_01"><param>-55</param><param>23</param></createRef>
<createRef label="stage6_sara_prate_area">
	<param>320</param>
	<param>220</param>
	<param>100</param>
	<param>100</param>
</createRef>

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

<changeSpeed>
	<speed>0.3</speed><term>20</term>
</changeSpeed>
<changeDirection>
	<direction type="absolute">-90+180*($_player_cx%2)</direction><term>1</term>
</changeDirection>
<wait>20</wait>
<changeSpeed>
	<speed>0</speed><term>20</term>
</changeSpeed>
<wait>20</wait>

<repeat><times>14</times>


	<repeat><times>2</times>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_7_03"><param>-14</param><param>3</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_7_03_s"><param>2</param><param>3</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_7_03_s"><param>2</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_7_03_s"><param>2</param><param>1</param></fireRef>
		</repeat>
		<wait>1</wait>
		<wait>134-40</wait>
		<changeSpeed>
			<speed>0.6</speed><term>20</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">180</direction><term>1</term>
		</changeDirection>
		<wait>20</wait>
		<changeSpeed>
			<speed>0</speed><term>20</term>
		</changeSpeed>
		<wait>20</wait>

	</repeat>
		<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
		<fireRef label="stage6C_boss_fire_7_03"><param>-14</param><param>3</param></fireRef>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_7_03_s"><param>2</param><param>3</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>4</times>
			<fireRef label="stage6C_boss_fire_7_03_s"><param>2</param><param>2</param></fireRef>
		</repeat>
		<wait>1</wait>
		<repeat><times>5</times>
			<fireRef label="stage6C_boss_fire_7_03_s"><param>2</param><param>1</param></fireRef>
		</repeat>
		<wait>1</wait>
		<wait>134-40</wait>
		<changeSpeed>
			<speed>0.6</speed><term>20</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">180</direction><term>1</term>
		</changeDirection>
		<wait>20</wait>
		<changeSpeed>
			<speed>0</speed><term>20</term>
		</changeSpeed>
		<wait>20-3</wait>
	<!-- タイマーを１つ消す -->
	<global name="timer">$__timer-1</global>
	<actionRef label="vanish_timer"></actionRef>
	<!-- <wait>3</wait> -->

</repeat>

<wait>120</wait>
<targetRevenge label="stage6C_boss2_enemy"></targetRevenge>
<targetRevenge label="stage6C_boss_enemy_7_01"></targetRevenge>
</action>

<create label="stage6C_boss_create_7_01">
	<speed>2</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemyRef label="stage6C_boss_enemy_7_01"><param>$2</param></enemyRef>
</create>

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

	<revengeRef label="stage6C_boss_revenge_7_01"></revengeRef>
	<presentRef label="enemy_present_as"></presentRef>
	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>
	<action>
		<createRef label="boss_underbar_create"></createRef>
		<wait>59</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>10</term>
		</changeSpeed>
		<wait>29+$1</wait>

		<repeat><times>-1</times>
			<actionRef label="enemy_bullet_action8"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_7_02"><param>-90</param></fireRef>
			<repeat><times>3</times>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
			</repeat>
			<repeat><times>5</times>
				<wait>1</wait>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>54</param></fireRef>
				<repeat><times>3</times>
					<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
				</repeat>
			</repeat>

			<wait>40</wait>
		
			<actionRef label="enemy_bullet_action8"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_7_02_s"><param>31</param></fireRef>
			<repeat><times>3</times>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
			</repeat>
			<repeat><times>5</times>
				<wait>1</wait>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>54</param></fireRef>
				<repeat><times>3</times>
					<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
				</repeat>
			</repeat>

			<wait>40</wait>
		
			<actionRef label="enemy_bullet_action8"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_7_02_ab"><param>0+$_player_cx%15</param></fireRef>
			<repeat><times>3</times>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
			</repeat>
			<repeat><times>5</times>
				<wait>1</wait>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>54</param></fireRef>
				<repeat><times>3</times>
					<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
				</repeat>
			</repeat>
			
			<wait>35</wait>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_7_01"><param>0</param><param>20</param><param>9</param><param>2</param></fireRef>
			<fireRef label="stage6C_boss_fire_7_01_s"><param>0</param><param>18</param><param>8</param><param>1.8</param></fireRef>
			<fireRef label="stage6C_boss_fire_7_01_s"><param>0</param><param>16</param><param>7</param><param>1.6</param></fireRef>
			<fireRef label="stage6C_boss_fire_7_01_s"><param>0</param><param>14</param><param>6</param><param>1.4</param></fireRef>
			<fireRef label="stage6C_boss_fire_7_01_s"><param>0</param><param>12</param><param>5</param><param>1.2</param></fireRef>
			<fireRef label="stage6C_boss_fire_7_01_s"><param>0</param><param>10</param><param>4</param><param>1.0</param></fireRef>
			<wait>5</wait>

			<actionRef label="enemy_bullet_action8"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_7_02_s"><param>69</param></fireRef>
			<repeat><times>3</times>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
			</repeat>
			<repeat><times>5</times>
				<wait>1</wait>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>54</param></fireRef>
				<repeat><times>3</times>
					<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
				</repeat>
			</repeat>

			<wait>40</wait>
			<actionRef label="enemy_bullet_action8"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_7_02_s"><param>36</param></fireRef>
			<repeat><times>3</times>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
			</repeat>
			<repeat><times>5</times>
				<wait>1</wait>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>54</param></fireRef>
				<repeat><times>3</times>
					<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
				</repeat>
			</repeat>

			<wait>40</wait>
			<actionRef label="enemy_bullet_action8"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_7_02_s"><param>66</param></fireRef>
			<repeat><times>3</times>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
			</repeat>
			<repeat><times>5</times>
				<wait>1</wait>
				<fireRef label="stage6C_boss_fire_7_02_s"><param>54</param></fireRef>
				<repeat><times>3</times>
					<fireRef label="stage6C_boss_fire_7_02_s"><param>2</param></fireRef>
				</repeat>
			</repeat>

			<wait>35</wait>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_7_01"><param>0</param><param>18</param><param>8</param><param>2</param></fireRef>
			<fireRef label="stage6C_boss_fire_7_01_s"><param>0</param><param>16</param><param>7</param><param>1.8</param></fireRef>
			<fireRef label="stage6C_boss_fire_7_01_s"><param>0</param><param>14</param><param>6</param><param>1.6</param></fireRef>
			<fireRef label="stage6C_boss_fire_7_01_s"><param>0</param><param>12</param><param>5</param><param>1.4</param></fireRef>
			<fireRef label="stage6C_boss_fire_7_01_s"><param>0</param><param>10</param><param>4</param><param>1.2</param></fireRef>
			<fireRef label="stage6C_boss_fire_7_01_s"><param>0</param><param>8</param><param>3</param><param>1.0</param></fireRef>
			<wait>5</wait>
		</repeat>
	</action>
</enemy>

<revenge label="stage6C_boss_revenge_7_01">

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

	<wait>3</wait>

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

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

</revenge>


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

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

<bullet label="stage6C_boss_fire_bullet_7_01">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>$2</radius></collision>

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

	<action>
		<changeSpeed>
			<speed>$3</speed><term>45</term>
		</changeSpeed>
	</action>
</bullet>

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

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

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

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

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

	<action>
		<changeSpeed>
			<speed>1</speed><term>8</term>
		</changeSpeed>
	</action>
</bullet>


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

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

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

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

	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed>3</speed><term>1</term>
		</changeSpeed>
		<wait>1</wait>
		<changeSpeed>
			<speed>1.5</speed><term>45</term>
		</changeSpeed>
	</action>
</bullet>




<!-- ********************************************************************* -->
<!-- *** ボスのアクション					      *** -->
<!-- *** 第８形態（本当の最終形態）				      *** -->
<!-- 自爆なし -->
<action  label="stage6C_boss_08_action">

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

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

	<wait>30</wait>


<!-- 沙羅の翼の作成 -->
<createRef label="sara_wing_bmp"></createRef>
<wait>40</wait>
<!-- 画像呼び出し -->
<createRef label="stage6C_boss_et_sara2"></createRef>
<createRef label="stage6C_boss_et_sara2_back"></createRef>
<wait>180</wait>
<actionRef label="mahoujin3"><param>190</param><param>5</param><param>100</param><param>205</param></actionRef>
<!-- <wait>120</wait> -->
<wait>10</wait>
<global name="ttc_start_check">$_ttc_frame</global>
<global name="miss_start">$_misscount</global>


<!-- 当たり判定 -->
<wait>9</wait>
<createRef label="stage6C_boss2_dummyr"><param>88</param><param>-61</param></createRef>
<createRef label="stage6C_boss2_dummyl"><param>-88</param><param>-61</param></createRef>
<createRef label="stage6C_boss2_dummyr2"><param>118+15</param><param>-64</param></createRef>
<createRef label="stage6C_boss2_dummyl2"><param>-118-15</param><param>-64</param></createRef>
<collision type="rect"><left>-60</left><top>-30</top><right>60</right><bottom>20</bottom></collision>
<global name="counter_tmp">$_counter</global>
<wait>1</wait>
<!-- ダミー判定用 -->
<createRef label="stage6C_boss2_dummy2r"><param>88</param><param>-61</param></createRef>
<createRef label="stage6C_boss2_dummy2l"><param>-88</param><param>-61</param></createRef>
<createRef label="stage6C_boss2_dummy2r2"><param>118+15</param><param>-64</param></createRef>
<createRef label="stage6C_boss2_dummy2l2"><param>-118-15</param><param>-64</param></createRef>
<createRef label="stage6C_boss2_dummy3"></createRef>
<wait>10</wait>

<createRef label="sara_w_wing_bmp4"></createRef>
<wait>30</wait>



<!-- 弾幕開始 -->

<changeSpeed>
	<speed>0.01</speed><term>20</term>
</changeSpeed>
<changeDirection>
	<direction type="absolute">-90+180*($_player_cx%2)</direction><term>1</term>
</changeDirection>
<wait>20</wait>


<createRef label="stage6C_boss2_dummy_1_01"><param>100</param><param>-58</param><param>108+$_player_cx%5</param></createRef>
<wait>5</wait>
<createRef label="stage6C_boss2_dummy_1_01"><param>-100</param><param>-58</param><param>108+$_player_cy%5</param></createRef>
<wait>95</wait>>
<createRef label="stage6C_boss2_dummy_1_01"><param>60</param><param>-58</param><param>118+$_player_cx%5</param></createRef>
<wait>5</wait>
<createRef label="stage6C_boss2_dummy_1_01"><param>-60</param><param>-58</param><param>118+$_player_cx%5</param></createRef>
<wait>210</wait>

<createRef label="stage6C_boss2_dummy_1_02"><param>100</param><param>-58</param><param>1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>60</param><param>-38</param><param>-1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>20</param><param>-18</param><param>1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>-20</param><param>-18</param><param>-1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>-60</param><param>-38</param><param>1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>-100</param><param>-58</param><param>-1</param></createRef>
<wait>170</wait>

<createRef label="stage6C_boss2_dummy_1_03"><param>100</param><param>-58</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_03"><param>60</param><param>-38</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_03"><param>20</param><param>-18</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_03"><param>-20</param><param>-18</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_03"><param>-60</param><param>-38</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_03"><param>-100</param><param>-58</param></createRef>
<wait>15</wait>
<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
<fireRef label="stage6C_boss_fire_8_05"><param>0</param><param>3</param><param>1</param><param>1.3</param></fireRef>
<repeat><times>5</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>20</param><param>3</param><param>1</param><param>1.3</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>6</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>20</param><param>2</param><param>1</param><param>1.3</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>6</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>20</param><param>1</param><param>1</param><param>1.3</param></fireRef>
</repeat>
<wait>90-20</wait>
<changeSpeed>
	<speed>0.01</speed><term>20</term>
</changeSpeed>
<changeDirection>
	<direction type="relative">180</direction><term>1</term>
</changeDirection>
<wait>20</wait>

<createRef label="stage6C_boss2_dummy_1_01"><param>100</param><param>-58</param><param>108+$_player_cx%5</param></createRef>
<wait>5</wait>
<createRef label="stage6C_boss2_dummy_1_01"><param>-100</param><param>-58</param><param>108+$_player_cy%5</param></createRef>
<wait>95</wait>>
<createRef label="stage6C_boss2_dummy_1_01"><param>60</param><param>-58</param><param>118+$_player_cx%5</param></createRef>
<wait>5</wait>
<createRef label="stage6C_boss2_dummy_1_01"><param>-60</param><param>-58</param><param>118+$_player_cx%5</param></createRef>
<wait>190</wait>

<createRef label="stage6C_boss2_dummy_1_02"><param>100</param><param>-58</param><param>1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>60</param><param>-38</param><param>-1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>20</param><param>-18</param><param>1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>-20</param><param>-18</param><param>-1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>-60</param><param>-38</param><param>1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>-100</param><param>-58</param><param>-1</param></createRef>
<wait>15</wait>
<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
<fireRef label="stage6C_boss_fire_8_05"><param>0</param><param>3</param><param>1</param><param>1.35</param></fireRef>
<repeat><times>5</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>20</param><param>3</param><param>1</param><param>1.35</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>6</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>20</param><param>2</param><param>1</param><param>1.35</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>6</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>20</param><param>1</param><param>1</param><param>1.35</param></fireRef>
</repeat>
<wait>160</wait>
<createRef label="stage6C_boss2_dummy_1_04"><param>95</param><param>-56</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_04"><param>52</param><param>-36</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_04"><param>12</param><param>-16</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_04"><param>-12</param><param>-16</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_04"><param>-52</param><param>-36</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_04"><param>-95</param><param>-56</param></createRef>
<wait>15</wait>

<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
<fireRef label="stage6C_boss_fire_8_05"><param>0</param><param>3</param><param>1</param><param>1.4</param></fireRef>
<repeat><times>5</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>18</param><param>3</param><param>1</param><param>1.4</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>7</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>18</param><param>2</param><param>1</param><param>1.4</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>7</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>18</param><param>1</param><param>1</param><param>1.4</param></fireRef>
</repeat>
<wait>30</wait>
<fireRef label="stage6C_boss_fire_8_05"><param>0</param><param>3</param><param>7</param><param>1.4</param></fireRef>
<repeat><times>7</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>7</param><param>1.4</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>7</param><param>1.4</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>7</param><param>1.4</param></fireRef>
</repeat>
<wait>90-35</wait>
<changeDirection>
	<direction type="relative">180</direction><term>1</term>
</changeDirection>

<createRef label="stage6C_boss2_dummy_1_01"><param>100</param><param>-58</param><param>108+$_player_cx%5</param></createRef>
<wait>5</wait>
<createRef label="stage6C_boss2_dummy_1_01"><param>-100</param><param>-58</param><param>108+$_player_cy%5</param></createRef>
<wait>95</wait>>
<createRef label="stage6C_boss2_dummy_1_01"><param>60</param><param>-58</param><param>118+$_player_cx%5</param></createRef>
<wait>5</wait>
<createRef label="stage6C_boss2_dummy_1_01"><param>-60</param><param>-58</param><param>118+$_player_cx%5</param></createRef>
<wait>170</wait>

<createRef label="stage6C_boss2_dummy_1_02"><param>100</param><param>-58</param><param>1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>60</param><param>-38</param><param>-1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02x"><param>20</param><param>-18</param><param>1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>-20</param><param>-18</param><param>-1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02"><param>-60</param><param>-38</param><param>1</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_02x"><param>-100</param><param>-58</param><param>-1</param></createRef>
<wait>15</wait>
<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
<fireRef label="stage6C_boss_fire_8_05"><param>0</param><param>3</param><param>1</param><param>1.45</param></fireRef>
<repeat><times>7</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>1</param><param>1.45</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>1</param><param>1.45</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>1</param><param>1.45</param></fireRef>
</repeat>
<wait>30</wait>
<fireRef label="stage6C_boss_fire_8_05_s"><param>15+7</param><param>3</param><param>7</param><param>1.45</param></fireRef>
<repeat><times>7</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>7</param><param>1.45</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>7</param><param>1.45</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>7</param><param>1.45</param></fireRef>
</repeat>
<wait>150-35</wait>
<createRef label="stage6C_boss2_dummy_1_05"><param>90</param><param>-50</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_05"><param>48</param><param>-30</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_05"><param>7</param><param>-10</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_05"><param>-7</param><param>-10</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_05"><param>-48</param><param>-30</param></createRef>
<wait>15</wait>
<createRef label="stage6C_boss2_dummy_1_05"><param>-90</param><param>-50</param></createRef>
<wait>15</wait>
<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
<fireRef label="stage6C_boss_fire_8_05"><param>0</param><param>3</param><param>1</param><param>1.5</param></fireRef>
<repeat><times>7</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>1</param><param>1.5</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>1</param><param>1.5</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>1</param><param>1.5</param></fireRef>
</repeat>
<wait>30</wait>
<fireRef label="stage6C_boss_fire_8_05_s"><param>15+7</param><param>3</param><param>7</param><param>1.5</param></fireRef>
<repeat><times>7</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>7</param><param>1.5</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>7</param><param>1.5</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>7</param><param>1.5</param></fireRef>
</repeat>
<wait>30</wait>
<fireRef label="stage6C_boss_fire_8_05_s"><param>15+7</param><param>3</param><param>5</param><param>1.5</param></fireRef>
<repeat><times>7</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>5</param><param>1.5</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>5</param><param>1.5</param></fireRef>
</repeat>
<wait>1</wait>
<repeat><times>8</times>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>5</param><param>1.5</param></fireRef>
</repeat>
<wait>90-35-30</wait>
	<global name="prate_average">$__prate_average+$_prate</global>
	<global name="prate_average_num">$__prate_average_num+1</global>

<repeat><times>30</times>
	<changeDirection>
		<direction type="relative">180</direction><term>1</term>
	</changeDirection>
	<createRef label="stage6C_boss2_dummy_1_01"><param>100</param><param>-58</param><param>108+$_player_cx%5</param></createRef>
	<wait>5</wait>
	<createRef label="stage6C_boss2_dummy_1_01"><param>-100</param><param>-58</param><param>108+$_player_cy%5</param></createRef>
	<wait>95</wait>>
	<createRef label="stage6C_boss2_dummy_1_01"><param>60</param><param>-58</param><param>118+$_player_cx%5</param></createRef>
	<wait>5</wait>
	<createRef label="stage6C_boss2_dummy_1_01"><param>-60</param><param>-58</param><param>118+$_player_cx%5</param></createRef>
	<wait>160</wait>

	<createRef label="stage6C_boss2_dummy_1_02x"><param>100</param><param>-58</param><param>1</param></createRef>
	<wait>15</wait>
	<createRef label="stage6C_boss2_dummy_1_02x"><param>60</param><param>-38</param><param>-1</param></createRef>
	<wait>15</wait>
	<createRef label="stage6C_boss2_dummy_1_02x"><param>20</param><param>-18</param><param>1</param></createRef>
	<wait>15</wait>
	<createRef label="stage6C_boss2_dummy_1_02x"><param>-20</param><param>-18</param><param>-1</param></createRef>
	<wait>15</wait>
	<createRef label="stage6C_boss2_dummy_1_02x"><param>-60</param><param>-38</param><param>1</param></createRef>
	<wait>15</wait>
	<createRef label="stage6C_boss2_dummy_1_02x"><param>-100</param><param>-58</param><param>-1</param></createRef>
	<wait>45</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_8_05"><param>0</param><param>3</param><param>1</param><param>1.55</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>1</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>1</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>1</param><param>1.55</param></fireRef>
	</repeat>
	<wait>30</wait>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15+7</param><param>3</param><param>7</param><param>1.55</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>7</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>7</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>7</param><param>1.55</param></fireRef>
	</repeat>
	<wait>30</wait>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15+7</param><param>3</param><param>5</param><param>1.55</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>5</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>5</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>5</param><param>1.55</param></fireRef>
	</repeat>
	<wait>135-65</wait>
	<global name="prate_average">$__prate_average+$_prate</global>
	<global name="prate_average_num">$__prate_average_num+1</global>
</repeat>

<repeat><times>-1</times>
	<changeDirection>
		<direction type="relative">180</direction><term>1</term>
	</changeDirection>
	<createRef label="stage6C_boss2_dummy_1_01"><param>100</param><param>-58</param><param>108+$_player_cx%5</param></createRef>
	<wait>5</wait>
	<createRef label="stage6C_boss2_dummy_1_01"><param>-100</param><param>-58</param><param>108+$_player_cy%5</param></createRef>
	<wait>95</wait>>
	<createRef label="stage6C_boss2_dummy_1_01"><param>60</param><param>-58</param><param>118+$_player_cx%5</param></createRef>
	<wait>5</wait>
	<createRef label="stage6C_boss2_dummy_1_01"><param>-60</param><param>-58</param><param>118+$_player_cx%5</param></createRef>
	<wait>160</wait>

	<createRef label="stage6C_boss2_dummy_1_02x"><param>100</param><param>-58</param><param>1</param></createRef>
	<wait>15</wait>
	<createRef label="stage6C_boss2_dummy_1_02x"><param>60</param><param>-38</param><param>-1</param></createRef>
	<wait>15</wait>
	<createRef label="stage6C_boss2_dummy_1_02x"><param>20</param><param>-18</param><param>1</param></createRef>
	<wait>15</wait>
	<createRef label="stage6C_boss2_dummy_1_02x"><param>-20</param><param>-18</param><param>-1</param></createRef>
	<wait>15</wait>
	<createRef label="stage6C_boss2_dummy_1_02x"><param>-60</param><param>-38</param><param>1</param></createRef>
	<wait>15</wait>
	<createRef label="stage6C_boss2_dummy_1_02x"><param>-100</param><param>-58</param><param>-1</param></createRef>
	<wait>45</wait>
	<actionRef label="enemy_bullet_action"><param>64</param></actionRef>
	<fireRef label="stage6C_boss_fire_8_05"><param>0</param><param>3</param><param>1</param><param>1.55</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>1</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>1</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>1</param><param>1.55</param></fireRef>
	</repeat>
	<wait>30</wait>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15+7</param><param>3</param><param>7</param><param>1.55</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>7</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>7</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>7</param><param>1.55</param></fireRef>
	</repeat>
	<wait>30</wait>
	<fireRef label="stage6C_boss_fire_8_05_s"><param>15+7</param><param>3</param><param>5</param><param>1.55</param></fireRef>
	<repeat><times>7</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>3</param><param>5</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>2</param><param>5</param><param>1.55</param></fireRef>
	</repeat>
	<wait>1</wait>
	<repeat><times>8</times>
		<fireRef label="stage6C_boss_fire_8_05_s"><param>15</param><param>1</param><param>5</param><param>1.55</param></fireRef>
	</repeat>
	<wait>135-65</wait>
</repeat>

</action>


<create label="stage6C_boss2_dummy_1_01">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<child>1</child>
	<objectRef label="stage6C_boss2_dummy_ob_1_01"><param>$3</param></objectRef>

</create>

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

		<actionRef label="enemy_bullet_action"><param>48</param></actionRef>
		<fireRef label="stage6C_boss_fire_8_01_ab"><param>180</param><param>-$1+$1*2*($_self_cx-gt320)</param></fireRef>
		<wait>1</wait>
		<vanish/>
	</action>
</object>

<fire label="stage6C_boss_fire_8_01_ab">
	<speed>0.5</speed>
	<direction type="absolute">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_8_01"><param>$2</param></bulletRef>
</fire>

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

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

	<action>
		<changeSpeed>
			<speed>1.5</speed><term>90</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">$1</direction><term>240</term>
		</changeDirection>

		<wait>1</wait>

		<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
		<fireRef label="stage6C_boss_fire_8_02_r"><param>0</param></fireRef>
		<repeat><times>3</times>
			<fireRef label="stage6C_boss_fire_8_02_s"><param>90</param></fireRef>
		</repeat>
		<repeat><times>5</times>
			<wait>12</wait>
			<fireRef label="stage6C_boss_fire_8_02_s"><param>90+4</param></fireRef>
			<repeat><times>3</times>
				<fireRef label="stage6C_boss_fire_8_02_s"><param>90</param></fireRef>
			</repeat>
		</repeat>

		<repeat><times>-1</times>
			<wait>7</wait>
			<actionRef label="enemy_bullet_action4"><param>32</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_02_s"><param>90+4</param></fireRef>
			<repeat><times>3</times>
				<fireRef label="stage6C_boss_fire_8_02_s"><param>90</param></fireRef>
			</repeat>
			<repeat><times>5</times>
				<wait>7</wait>
				<fireRef label="stage6C_boss_fire_8_02_s"><param>90+4</param></fireRef>
				<repeat><times>3</times>
					<fireRef label="stage6C_boss_fire_8_02_s"><param>90</param></fireRef>
				</repeat>
			</repeat>
		</repeat>
	</action>
</bullet>

<fire label="stage6C_boss_fire_8_02_r">
	<speed>0.5</speed>
	<direction type="relative">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_8_02"></bulletRef>
</fire>

<fire label="stage6C_boss_fire_8_02_s">
	<speed>0.5</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_8_02"></bulletRef>
</fire>

<bullet label="stage6C_boss_fire_bullet_8_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>64</red><green>255</green><blue>255</blue>
	</img>

	<action>
		<changeSpeed>
			<speed>1.2</speed><term>90</term>
		</changeSpeed>
	</action>
</bullet>


<create label="stage6C_boss2_dummy_1_02">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<child>1</child>
	<objectRef label="stage6C_boss2_dummy_ob_1_02"><param>$3</param></objectRef>

</create>

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

		<eval name="sp">0.6</eval>
		<wait>1</wait>
		<actionRef label="enemy_bullet_action8"><param>48</param></actionRef>
		<fireRef label="stage6C_boss_fire_8_03"><param>-38+$_player_cx%5-20*$1</param><param>$sp</param></fireRef>
		<fireRef label="stage6C_boss_fire_8_03_s"><param>40</param><param>$sp</param></fireRef>
		<fireRef label="stage6C_boss_fire_8_03_s"><param>40</param><param>$sp</param></fireRef>
		<repeat><times>8</times>
			<wait>1</wait>
			<evaladd name="sp">0.14</evaladd>
			<fireRef label="stage6C_boss_fire_8_03_s"><param>-80+5*$1</param><param>$sp</param></fireRef>
			<fireRef label="stage6C_boss_fire_8_03_s"><param>40</param><param>$sp</param></fireRef>
			<fireRef label="stage6C_boss_fire_8_03_s"><param>40</param><param>$sp</param></fireRef>
		</repeat>
		<wait>1</wait>
		<vanish/>
	</action>
</object>

<create label="stage6C_boss2_dummy_1_02x">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<child>1</child>
	<objectRef label="stage6C_boss2_dummy_ob_1_02x"><param>$3</param></objectRef>

</create>

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

		<eval name="sp">0.6</eval>
		<wait>1</wait>
		<actionRef label="enemy_bullet_action8"><param>48</param></actionRef>
		<fireRef label="stage6C_boss_fire_8_03"><param>-38+$_player_cx%5-20*$1</param><param>$sp</param></fireRef>
		<fireRef label="stage6C_boss_fire_8_03_s"><param>40</param><param>$sp</param></fireRef>
		<fireRef label="stage6C_boss_fire_8_03_s"><param>40</param><param>$sp</param></fireRef>
		<repeat><times>10</times>
			<wait>1</wait>
			<evaladd name="sp">0.11</evaladd>
			<fireRef label="stage6C_boss_fire_8_03_s"><param>-80+4*$1</param><param>$sp</param></fireRef>
			<fireRef label="stage6C_boss_fire_8_03_s"><param>40</param><param>$sp</param></fireRef>
			<fireRef label="stage6C_boss_fire_8_03_s"><param>40</param><param>$sp</param></fireRef>
		</repeat>
		<wait>1</wait>
		<vanish/>
	</action>
</object>

<fire label="stage6C_boss_fire_8_03">
	<speed>0.5</speed>
	<direction type="aim">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_8_03"><param>$2</param></bulletRef>
</fire>

<fire label="stage6C_boss_fire_8_03_s">
	<speed>0.5</speed>
	<direction type="sequence">$1</direction>
	<cx>0</cx><cy>1</cy>
	<bulletRef label="stage6C_boss_fire_bullet_8_03"><param>$2</param></bulletRef>
</fire>

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

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

	<action>
		<changeSpeed>
			<speed>$1</speed><term>60</term>
		</changeSpeed>
	</action>
</bullet>


<create label="stage6C_boss2_dummy_1_03">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<child>1</child>
	<objectRef label="stage6C_boss2_dummy_ob_1_03"><param>$3</param></objectRef>

</create>

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

		<eval name="laser_sp">1.8</eval>
		<eval name="wait_time">125</eval>
		<repeat><times>7</times>
		<repeat><times>2</times>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_04"><param>-60+5-($_player_cx%11)</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_04_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_04_s"><param>-120+15</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_04_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
		</repeat>
		<evaladd name="wait_time">6</evaladd>
		</repeat>

		<repeat><times>6</times>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_04"><param>-60+5-($_player_cx%11)</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_04_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_04_s"><param>-120+15</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_04_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
		</repeat>

		<repeat><times>-1</times>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_04"><param>-60+5-($_player_cx%11)</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_04_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_04_s"><param>-120+15</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_04_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
		</repeat>

	</action>
</object>

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

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

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

	<action>
		<wait>1</wait>
		<changeImgSize>
			<width>5</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<collision type="sync"><left>-1</left><top>-5</top><right>1</right><bottom>5</bottom></collision>
		<changeSpeed>
			<speed>$1</speed><term>30</term>
		</changeSpeed>
	</action>
</bullet>


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

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

<bullet label="stage6C_boss_bullet_8_05">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>12</radius></collision>
	
	<img type="maskadd">
		<file type="dds">bullet</file>
		<left>32*$2</left><top>0</top><right>32*$2+32</right><bottom>32</bottom>
		<width>28</width><height>28</height>
		<alpha>255</alpha><red>35</red><green>2</green><blue>35</blue>
	</img>	

	<action>
		<wait>$1</wait>
		<changeSpeed>
			<speed>$3</speed><term>80</term>
		</changeSpeed>
	</action>
</bullet>


<create label="stage6C_boss2_dummy_1_04">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<child>1</child>
	<objectRef label="stage6C_boss2_dummy_ob_1_04"><param>$3</param></objectRef>

</create>

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

		<eval name="laser_sp">1.8</eval>
		<eval name="wait_time">119</eval>
		<repeat><times>7</times>
		<repeat><times>2</times>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_06"><param>-60+5-($_player_cx%11)</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_06_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_06_s"><param>-120+15</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_06_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
		</repeat>
		<evaladd name="wait_time">6</evaladd>
		</repeat>

		<repeat><times>6</times>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_06"><param>-60+5-($_player_cx%11)</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_06_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_06_s"><param>-120+15</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_06_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
		</repeat>

		<repeat><times>-1</times>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_06"><param>-60+5-($_player_cx%11)</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_06_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_06_s"><param>-120+15</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_06_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
		</repeat>

	</action>
</object>

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

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

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

	<action>
		<wait>1</wait>
		<changeImgSize>
			<width>5</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<collision type="sync"><left>-1</left><top>-5</top><right>1</right><bottom>5</bottom></collision>
		<changeSpeed>
			<speed>$1</speed><term>30</term>
		</changeSpeed>
	</action>
</bullet>


<create label="stage6C_boss2_dummy_1_05">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<child>1</child>
	<objectRef label="stage6C_boss2_dummy_ob_1_05"><param>$3</param></objectRef>

</create>

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

		<eval name="laser_sp">1.8</eval>
		<eval name="wait_time">123</eval>
		<repeat><times>7</times>
		<repeat><times>2</times>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_07"><param>-60+5-($_player_cx%11)</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_07_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_07_s"><param>-120+15</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_07_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
		</repeat>
		<evaladd name="wait_time">6</evaladd>
		</repeat>

		<repeat><times>6</times>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_07"><param>-60+5-($_player_cx%11)</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_07_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_07_s"><param>-120+15</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_07_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<evaladd name="laser_sp">0.01</evaladd>
		</repeat>

		<repeat><times>-1</times>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_07"><param>-60+5-($_player_cx%11)</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_07_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
			<actionRef label="enemy_bullet_action4"><param>48</param></actionRef>
			<fireRef label="stage6C_boss_fire_8_07_s"><param>-120+15</param><param>$laser_sp</param></fireRef>
			<repeat><times>4</times>
				<fireRef label="stage6C_boss_fire_8_07_s"><param>30</param><param>$laser_sp</param></fireRef>
			</repeat>
			<wait>$wait_time</wait>
		</repeat>

	</action>
</object>

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

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

<bullet label="stage6C_boss_bullet_8_07">
	<collision type="sync"><left>-1</left><top>-1</top><right>1</right><bottom>1</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>8</height>
		<alpha>255</alpha><red>240</red><green>240</green><blue>255</blue>
	</img>	
	<imgDirection type="sync">0</imgDirection>

	<action>
		<wait>1</wait>
		<changeImgSize>
			<width>5</width><height>13</height><term>3</term>
		</changeImgSize>
		<wait>1</wait>
		<collision type="sync"><left>-1</left><top>-5</top><right>1</right><bottom>5</bottom></collision>
		<changeSpeed>
			<speed>$1</speed><term>30</term>
		</changeSpeed>
	</action>
</bullet>

<!-- 沙羅最終　翼部分あたり判定（テンション時貫通） -->
<create label="stage6C_boss2_dummyr">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<child>1</child>
	<flag>16</flag>
	<enemyRef label="stage6C_boss2_enemy_dummyr"></enemyRef>
</create>

<enemy label="stage6C_boss2_enemy_dummyr">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<shareVital><num>2</num></shareVital>
<!--	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>60</radius></collision> -->
	<collision type="rect"><left>-20</left><top>-60</top><right>30</right><bottom>60</bottom></collision>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>0</right><bottom>0</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
	</action>
</enemy>

<create label="stage6C_boss2_dummyl">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<child>1</child>
	<flag>16</flag>
	<enemyRef label="stage6C_boss2_enemy_dummyl"></enemyRef>
</create>

<enemy label="stage6C_boss2_enemy_dummyl">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<shareVital><num>2</num></shareVital>
<!--	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>60</radius></collision> -->
	<collision type="rect"><left>-30</left><top>-60</top><right>20</right><bottom>60</bottom></collision>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>0</right><bottom>0</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
	</action>
</enemy>


<create label="stage6C_boss2_dummyr2">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<child>1</child>
	<flag>16</flag>
	<enemyRef label="stage6C_boss2_enemy_dummyr2"></enemyRef>
</create>

<enemy label="stage6C_boss2_enemy_dummyr2">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<shareVital><num>2</num></shareVital>
<!--	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>60</radius></collision> -->
	<collision type="rect"><left>-7</left><top>-70</top><right>15</right><bottom>50</bottom></collision>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>0</right><bottom>0</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
	</action>
</enemy>

<create label="stage6C_boss2_dummyl2">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<child>1</child>
	<flag>16</flag>
	<enemyRef label="stage6C_boss2_enemy_dummyl2"></enemyRef>
</create>

<enemy label="stage6C_boss2_enemy_dummyl2">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<shareVital><num>2</num></shareVital>
<!--	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>60</radius></collision> -->
	<collision type="rect"><left>-15</left><top>-70</top><right>7</right><bottom>50</bottom></collision>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>0</right><bottom>0</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
	</action>
</enemy>

<!-- 沙羅最終　翼部分あたり判定（通常） -->
<create label="stage6C_boss2_dummy2l">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<vital>99999999</vital>
	<child>1</child>
	<enemyRef label="stage6C_boss2_enemy_dummy2l"></enemyRef>
</create>

<enemy label="stage6C_boss2_enemy_dummy2l">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<collision type="rect"><left>-28</left><top>-57</top><right>30</right><bottom>57</bottom></collision>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>0</right><bottom>0</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
	</action>
</enemy>

<create label="stage6C_boss2_dummy2r">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<vital>99999999</vital>
	<child>1</child>
	<enemyRef label="stage6C_boss2_enemy_dummy2r"></enemyRef>
</create>

<enemy label="stage6C_boss2_enemy_dummy2r">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<collision type="rect"><left>-30</left><top>-57</top><right>28</right><bottom>57</bottom></collision>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>0</right><bottom>0</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
	</action>
</enemy>

<create label="stage6C_boss2_dummy2r2">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<vital>99999999</vital>
	<child>1</child>
	<enemyRef label="stage6C_boss2_enemy_dummy2r2"></enemyRef>
</create>

<enemy label="stage6C_boss2_enemy_dummy2r2">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
<!--	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>60</radius></collision> -->
	<collision type="rect"><left>-15</left><top>-57</top><right>13</right><bottom>47</bottom></collision>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>0</right><bottom>0</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
	</action>
</enemy>

<create label="stage6C_boss2_dummy2l2">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<vital>99999999</vital>
	<child>1</child>
	<enemyRef label="stage6C_boss2_enemy_dummy2l2"></enemyRef>
</create>

<enemy label="stage6C_boss2_enemy_dummy2l2">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
<!--	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>60</radius></collision> -->
	<collision type="rect"><left>-13</left><top>-57</top><right>15</right><bottom>47</bottom></collision>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>0</right><bottom>0</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
	</action>
</enemy>



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

<enemy label="stage6C_boss2_enemy_dummy3">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<collision type="rect"><left>-58</left><top>-28</top><right>58</right><bottom>18</bottom></collision>
	<img type="normal">
		<file type="dds">barrier</file>
		<left>0</left><top>0</top><right>0</right><bottom>0</bottom>
		<width>2</width><height>2</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<action>
	</action>
</enemy>

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

<revenge label="stage6C_boss_07_revenge">

	<eval name="localcounter">$_counter</eval>
	<changeSpeed>
		<speed type="absolute">0</speed><term>1</term>
	</changeSpeed>

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

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

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

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

	<wait>1</wait>

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

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

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

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


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


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

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

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

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

	<wait>1</wait>

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

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

	<wait>1</wait>

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

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

	<eval name="counter_e">$__counter_tmp</eval>
	<actionRef label="item_counter_01_boss"><param>60/2</param><param>$counter_e</param><param>4200</param><param>24</param><param>$localcounter</param></actionRef>

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

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

</exbulletml>
