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


<!-- ********************************************************************* -->
<!-- *** ボス直前の弾消し                                              *** -->
<action label="prepare_boss_action">
	<create>
		<speed>0</speed><direction type="absolute">0</direction>
		<cx>320</cx><cy>240</cy>
		<object>
			<child>1</child>
			<img type="normal">
				<file type="dds">rectwhite</file>
				<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
				<width>360</width><height>480</height>
				<alpha>64</alpha><red>200</red><green>200</green><blue>200</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<wait>3</wait>
			<vanish/>
		</object>
	</create>

	<create>
		<speed>0</speed><direction>0</direction>
		<cx>320</cx><cy>240</cy><vital>0</vital>
		<bombRef label="bomb_clearbomb"></bombRef>
	</create>

</action>


<!-- ********************************************************************* -->
<!-- *** ボス直前のワーニング                                              *** -->
<action label="boss_warning_action">
	<soundtrack><file type="ogg">boss_warn</file></soundtrack>

	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>320</cx><cy>240</cy>
		<object>
			<child>1</child>
			<img type="normal">
				<file type="dds">rectwhite</file>
				<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
				<width>360</width><height>480</height>
				<alpha>32</alpha><red>200</red><green>2</green><blue>2</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<changeColor>
				<alpha>64</alpha><red>200</red><green>2</green><blue>2</blue><term>15</term>
			</changeColor>
			<wait>15</wait>
			<changeColor>
				<alpha>10</alpha><red>200</red><green>2</green><blue>2</blue><term>40</term>
			</changeColor>
			<wait>40</wait>
			<vanish/>
		</object>
	</create>

	<createRef label="str_create_big_red_warn"><param>200+40</param><param>140</param><param>87</param><param>12</param></createRef>
	<createRef label="str_create_big_red_warn_back"><param>200+40</param><param>140</param><param>87</param><param>11</param></createRef>
	<wait>2</wait>
	<createRef label="str_create_big_red_warn"><param>240+40</param><param>140</param><param>65</param><param>12</param></createRef>
	<createRef label="str_create_big_red_warn_back"><param>240+40</param><param>140</param><param>65</param><param>11</param></createRef>
	<wait>2</wait>
	<createRef label="str_create_big_red_warn"><param>280+40</param><param>140</param><param>82</param><param>12</param></createRef>
	<createRef label="str_create_big_red_warn_back"><param>280+40</param><param>140</param><param>82</param><param>11</param></createRef>
	<wait>2</wait>
	<createRef label="str_create_big_red_warn"><param>320+40</param><param>140</param><param>78</param><param>12</param></createRef>
	<createRef label="str_create_big_red_warn_back"><param>320+40</param><param>140</param><param>78</param><param>11</param></createRef>
	<wait>2</wait>
	<createRef label="str_create_big_red_warn"><param>360+40</param><param>140</param><param>73</param><param>12</param></createRef>
	<createRef label="str_create_big_red_warn_back"><param>360+40</param><param>140</param><param>73</param><param>11</param></createRef>
	<wait>2</wait>
	<createRef label="str_create_big_red_warn"><param>400+40</param><param>140</param><param>78</param><param>12</param></createRef>
	<createRef label="str_create_big_red_warn_back"><param>400+40</param><param>140</param><param>78</param><param>11</param></createRef>
	<wait>2</wait>
	<createRef label="str_create_big_red_warn"><param>440+40</param><param>140</param><param>71</param><param>12</param></createRef>
	<createRef label="str_create_big_red_warn_back"><param>440+40</param><param>140</param><param>71</param><param>11</param></createRef>

</action>

<create label="str_create_big_red_warn">
	<direction type="absolute">-90</direction>
	<speed type="absolute">2</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<imgRef label="str_img_big_red"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>$4</num></setDrawLevel>
		<action>
			<changeSpeed>
				<speed type="absolute">0.2</speed><term>30</term>
			</changeSpeed>
			<wait>60</wait>
			<changeColor>
				<changeColor>
					<alpha>10</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
				</changeColor>
			</changeColor>
			<wait>30</wait>
			<vanish/>
		</action>
	</object>	
</create>

<create label="str_create_big_red_warn_back">
	<direction type="absolute">-90</direction>
	<speed type="absolute">2</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<imgRef label="str_img_big_red_back"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>$4</num></setDrawLevel>
		<action>
			<changeColor>
				<alpha>30</alpha><red>180</red><green>180</green><blue>180</blue><term>30</term>
			</changeColor>
			<changeImgSize>
				<width>52</width><height>52</height><term>30</term>
			</changeImgSize>
			<changeSpeed>
				<speed type="absolute">0.2</speed><term>30</term>
			</changeSpeed>
			<wait>30</wait>
			<vanish/>
		</action>
	</object>	
</create>


<create label="str_rect_red_warn">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<img type="normal" label="str_rect">
			<file type="dds">rectwhite</file>
			<left>0</left><top>0</top><right>9</right><bottom>12</bottom>
			<width>12</width><height>16</height>
			<alpha>180</alpha><red>240</red><green>2</green><blue>0</blue>
		</img>
		<setDrawLevel><num>$4</num></setDrawLevel>

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

	</object>	
</create>

<!-- ********************************************************************* -->
<!-- *** ボスライフ表示の作成                                              *** -->
<create label="boss_life_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>140+16</cx><cy>16</cy>
	<objectRef label="boss_life"></objectRef>
</create>

<object label="boss_life">
	<actionRef l="boss_vital_frame_create_action"></actionRef>

	<eval name="i">$__boss_life</eval>

	<imgRef label="str_digit_big_red_img">
		<param>$i</param>
	</imgRef>
	<setDrawLevel><num>6</num></setDrawLevel>

	<repeat><times>-1</times>
		<eval name="i">$__boss_life</eval>
		<setImgUV>
			<left>(($i+6)%10)*24</left><top>((($i+6)/10)%2)*24+24</top><right>(($i+6)%10)*24+24</right><bottom>((($i+6)/10)%2)*24+2*24</bottom>
		</setImgUV>	
		<wait>1</wait>
	</repeat>
</object>

<create label="boss_life_create2">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>140+16</cx><cy>16</cy>
	<objectRef label="boss_life2"></objectRef>
</create>

<object label="boss_life2">

	<eval name="i">$__boss_life</eval>

	<imgRef label="str_digit_big_red_img">
		<param>$i</param>
	</imgRef>
	<setDrawLevel><num>6</num></setDrawLevel>

	<repeat><times>-1</times>
		<eval name="i">$__boss_life</eval>
		<setImgUV>
			<left>(($i+6)%10)*24</left><top>((($i+6)/10)%2)*24+24</top><right>(($i+6)%10)*24+24</right><bottom>((($i+6)/10)%2)*24+2*24</bottom>
		</setImgUV>	
		<wait>1</wait>
	</repeat>
</object>


<!-- ********************************************************************* -->
<!-- *** VITAL ゲージの作成                                              *** -->
<create label="boss_vital_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>140+40+150</cx><cy>12</cy>
	<child>1</child>
	<objectRef label="boss_vital"></objectRef>
</create>

<object label="boss_vital">
<!--
	<actionRef l="boss_vital_frame_create_action"></actionRef>
-->

	<img type="normal">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>300</width><height>8</height>
		<alpha>240</alpha><red>240</red><green>64</green><blue>64</blue>
	</img>

	<setDrawLevel><num>6</num></setDrawLevel>

	<eval name="maxvital">$_parent_vital</eval>
	<repeat><times>-1</times>
		<repeat><times>($_parent_vital-gt0)*($maxvital-gt0)</times>
			<changeImgSize>
				<width>300*$_parent_vital/$maxvital</width><height>8</height><term>2</term>
			</changeImgSize>
			<setPosition type="absolute">
				<x>140+40</x><y>12-4</y>
			</setPosition>
		</repeat>
		<wait>1</wait>
	</repeat>
</object>

<create label="boss_vitalcheck_create">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>320</cx><cy>240</cy>
	<child>1</child>
	<objectRef label="boss_vitalcheck"></objectRef>
</create>

<object label="boss_vitalcheck">

	<a>
	<eval name="maxvital">$_parent_vital</eval>
	<repeat><times>-1</times>
		<repeat><times>(($_parent_vital/$maxvital)-lt0.2)</times>

			<soundtrack><file type="ogg">vital_check</file></soundtrack>
			<vanish/>
				
		</repeat>
		<wait>1</wait>
	</repeat>
	</a>
</object>

<action l="boss_vital_frame_create_action">
	<create>
		<cx>140+40+4</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">bosstimer</file>
				<left>0</left><top>8</top><right>8</right><bottom>16</bottom>
				<width>8</width><height>8</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>7</num></setDrawLevel>
		</object>
	</create>

	<create>
		<cx>140+40+150*2-4</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">bosstimer</file>
				<left>24</left><top>8</top><right>32</right><bottom>16</bottom>
				<width>8</width><height>8</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>7</num></setDrawLevel>
		</object>
	</create>

	<create>
		<cx>140+40+150</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">bosstimer</file>
				<left>8</left><top>8</top><right>24</right><bottom>16</bottom>
				<width>300</width><height>8</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>7</num></setDrawLevel>
		</object>
	</create>

</action>

<!-- ダミーバイタル -->
<create label="boss_vital_create_dummy">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>140+40+150</cx><cy>12</cy>
	<child>1</child>
	<objectRef label="boss_vital_dummy"></objectRef>
</create>

<object label="boss_vital_dummy">
<!--
	<actionRef l="boss_vital_frame_create_action"></actionRef>
-->

	<img type="normal">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>300</width><height>8</height>
		<alpha>240</alpha><red>32</red><green>32</green><blue>32</blue>
	</img>

	<setDrawLevel><num>6</num></setDrawLevel>

	<setPosition type="absolute">
		<x>140+40</x><y>12-4</y>
	</setPosition>
</object>

<!-- stageI用vital -->
<create label="boss_vital_create2_0">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>180+$1</cx><cy>12</cy>
	<child>1</child>
	<objectRef label="boss_vital2_0"><p>$2</p><p>$3</p><p>$4</p><p>$5</p><p>150+$1</p></objectRef>
</create>

<object label="boss_vital2_0">

	<img type="normal">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>60</width><height>8</height>
		<alpha>240</alpha><red>32</red><green>32</green><blue>32</blue>
	</img>
	<revengeRef label="vital2_revenge"/>

	<setDrawLevel><num>6</num></setDrawLevel>

	<action>
		<eval name="maxvital">$_parent_vital</eval>
		<actionRef l="boss_vital_frame_create_action2"><p>$3</p></actionRef>
		<repeat><times>$2</times>
			<eval name="red">(($maxvital-$_parent_vital)-lt$1)*(1-(($maxvital-$_parent_vital-$4)/($1-$4)))</eval>
			<repeat><times>(($maxvital-$_parent_vital)-gt$4)</times>
				<changeImgSize>
					<width>60*$red</width><height>8</height><term>1</term>
				</changeImgSize>
				<setPosition type="absolute">
					<x>$5</x><y>12-4</y>
				</setPosition>
			</repeat>
			<w>1</w>
		</repeat>
		<repeat><times>-1</times>
			<repeat><times>($maxvital-$_parent_vital)-gt$1</times>
				<global name="boss_life">$__boss_life-1</global>
				<targetRevenge label="b01_action"></targetRevenge>
				<targetRevenge label="boss_vital2_0"></targetRevenge>
				<w>30</w>
				<vanish/>
			</repeat>
			<repeat><times>1-(($maxvital-$_parent_vital)-gt$1)</times>
				<eval name="red">(($maxvital-$_parent_vital)-lt$1)*(1-(($maxvital-$_parent_vital-$4)/($1-$4)))</eval>
				<repeat><times>(($maxvital-$_parent_vital)-gt$4)</times>
					<changeImgSize>
						<width>60*$red</width><height>8</height><term>1</term>
					</changeImgSize>
					<setPosition type="absolute">
						<x>$5</x><y>12-4</y>
					</setPosition>
				</repeat>
			</repeat>
			<w>1</w>
		</repeat>

	</action>

</object>

<create label="boss_vital_create2_1">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>180+$1</cx><cy>12</cy>
	<child>1</child>
	<objectRef label="boss_vital2_1"><p>$2</p><p>$3</p><p>$4</p><p>$5</p><p>150+$1</p></objectRef>
</create>

<object label="boss_vital2_1">

	<img type="normal">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>60</width><height>8</height>
		<alpha>240</alpha><red>32</red><green>32</green><blue>32</blue>
	</img>
	<revengeRef label="vital2_revenge"/>

	<setDrawLevel><num>6</num></setDrawLevel>

	<action>
		<eval name="maxvital">$_parent_vital</eval>
		<actionRef l="boss_vital_frame_create_action2"><p>$3</p></actionRef>
		<repeat><times>$2</times>
			<eval name="red">(($maxvital-$_parent_vital)-lt$1)*(1-(($maxvital-$_parent_vital-$4)/($1-$4)))</eval>
			<repeat><times>(($maxvital-$_parent_vital)-gt$4)</times>
				<changeImgSize>
					<width>60*$red</width><height>8</height><term>1</term>
				</changeImgSize>
				<setPosition type="absolute">
					<x>$5</x><y>12-4</y>
				</setPosition>
			</repeat>
			<w>1</w>
		</repeat>
		<repeat><times>-1</times>
			<repeat><times>($maxvital-$_parent_vital)-gt$1</times>
				<global name="boss_life">$__boss_life-1</global>
				<targetRevenge label="b02_action"></targetRevenge>
				<targetRevenge label="boss_vital2_1"></targetRevenge>
				<w>30</w>
				<vanish/>
			</repeat>
			<repeat><times>1-(($maxvital-$_parent_vital)-gt$1)</times>
				<eval name="red">(($maxvital-$_parent_vital)-lt$1)*(1-(($maxvital-$_parent_vital-$4)/($1-$4)))</eval>
				<repeat><times>(($maxvital-$_parent_vital)-gt$4)</times>
					<changeImgSize>
						<width>60*$red</width><height>8</height><term>1</term>
					</changeImgSize>
					<setPosition type="absolute">
						<x>$5</x><y>12-4</y>
					</setPosition>
				</repeat>
			</repeat>
			<w>1</w>
		</repeat>

	</action>

</object>

<create label="boss_vital_create2_2">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>180+$1</cx><cy>12</cy>
	<child>1</child>
	<objectRef label="boss_vital2_2"><p>$2</p><p>$3</p><p>$4</p><p>$5</p><p>150+$1</p></objectRef>
</create>

<object label="boss_vital2_2">

	<img type="normal">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>60</width><height>8</height>
		<alpha>240</alpha><red>32</red><green>32</green><blue>32</blue>
	</img>
	<revengeRef label="vital2_revenge"/>

	<setDrawLevel><num>6</num></setDrawLevel>

	<action>
		<eval name="maxvital">$_parent_vital</eval>
		<actionRef l="boss_vital_frame_create_action2"><p>$3</p></actionRef>
		<repeat><times>$2</times>
			<eval name="red">(($maxvital-$_parent_vital)-lt$1)*(1-(($maxvital-$_parent_vital-$4)/($1-$4)))</eval>
			<repeat><times>(($maxvital-$_parent_vital)-gt$4)</times>
				<changeImgSize>
					<width>60*$red</width><height>8</height><term>1</term>
				</changeImgSize>
				<setPosition type="absolute">
					<x>$5</x><y>12-4</y>
				</setPosition>
			</repeat>
			<w>1</w>
		</repeat>
		<repeat><times>-1</times>
			<repeat><times>($maxvital-$_parent_vital)-gt$1</times>
				<global name="boss_life">$__boss_life-1</global>
				<targetRevenge label="b03_action"></targetRevenge>
				<targetRevenge label="boss_vital2_2"></targetRevenge>
				<w>30</w>
				<vanish/>
			</repeat>
			<repeat><times>1-(($maxvital-$_parent_vital)-gt$1)</times>
				<eval name="red">(($maxvital-$_parent_vital)-lt$1)*(1-(($maxvital-$_parent_vital-$4)/($1-$4)))</eval>
				<repeat><times>(($maxvital-$_parent_vital)-gt$4)</times>
					<changeImgSize>
						<width>60*$red</width><height>8</height><term>1</term>
					</changeImgSize>
					<setPosition type="absolute">
						<x>$5</x><y>12-4</y>
					</setPosition>
				</repeat>
			</repeat>
			<w>1</w>
		</repeat>

	</action>

</object>

<create label="boss_vital_create2_3">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>180+$1</cx><cy>12</cy>
	<child>1</child>
	<objectRef label="boss_vital2_3"><p>$2</p><p>$3</p><p>$4</p><p>$5</p><p>150+$1</p></objectRef>
</create>

<object label="boss_vital2_3">

	<img type="normal">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
		<width>60</width><height>8</height>
		<alpha>240</alpha><red>32</red><green>32</green><blue>32</blue>
	</img>
	<revengeRef label="vital2_revenge"/>

	<setDrawLevel><num>6</num></setDrawLevel>

	<action>
		<eval name="maxvital">$_parent_vital</eval>
		<actionRef l="boss_vital_frame_create_action3"><p>$3</p></actionRef>
		<repeat><times>$2</times>
			<eval name="red">(($maxvital-$_parent_vital)-lt$1)*(1-(($maxvital-$_parent_vital-$4)/($1-$4)))</eval>
			<repeat><times>(($maxvital-$_parent_vital)-gt$4)</times>
				<changeImgSize>
					<width>60*$red</width><height>8</height><term>1</term>
				</changeImgSize>
				<setPosition type="absolute">
					<x>$5</x><y>12-4</y>
				</setPosition>
			</repeat>
			<w>1</w>
		</repeat>
		<repeat><times>10</times>
			<repeat><times>($maxvital-$_parent_vital)-gt$1</times>
				<global name="end_flag">1</global>
<!--				<targetRevenge label="b04_action"></targetRevenge> -->
				<targetRevenge label="boss_vital2_3"></targetRevenge>
				<w>30</w>
				<vanish/>
			</repeat>
			<repeat><times>1-(($maxvital-$_parent_vital)-gt$1)</times>
				<eval name="red">(($maxvital-$_parent_vital)-lt$1)*(1-(($maxvital-$_parent_vital-$4)/($1-$4)))</eval>
				<repeat><times>(($maxvital-$_parent_vital)-gt$4)</times>
					<changeImgSize>
						<width>60*$red</width><height>8</height><term>1</term>
					</changeImgSize>
					<setPosition type="absolute">
						<x>$5</x><y>12-4</y>
					</setPosition>
				</repeat>
			</repeat>
			<w>1</w>
		</repeat>

		<global name="end_flag">2</global>
		<!-- 30フレーム後にタイマーによる自爆、ここまでに上記判定を通過できなければ、沙希戦闘失敗とする -->
	</action>

</object>

<revenge label="vital2_revenge">
	<changeColor>
		<alpha>0</alpha><red>100</red><green>100</green><blue>100</blue><term>15</term>
	</changeColor>
	<changeImgSize>
		<width>100</width><height>16</height><term>15</term>
	</changeImgSize>
	<wait>15</wait>
	<vanish></vanish>
</revenge>

<action l="boss_vital_frame_create_action2">
	<create>
		<cx>$_self_cx-26</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">bosstimer</file>
				<left>0</left><top>8</top><right>8</right><bottom>16</bottom>
				<width>8</width><height>8</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>7</num></setDrawLevel>
		</object>
	</create>

	<create>
		<cx>$_self_cx+26</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">bosstimer</file>
				<left>24</left><top>8</top><right>32</right><bottom>16</bottom>
				<width>8</width><height>8</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>7</num></setDrawLevel>
		</object>
	</create>

	<create>
		<cx>$_self_cx</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">bosstimer</file>
				<left>8</left><top>8</top><right>24</right><bottom>16</bottom>
				<width>56</width><height>8</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>7</num></setDrawLevel>
		</object>
	</create>

	<create>
		<cx>$1</cx><cy>27</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">bosstimer</file>
				<left>31</left><top>8</top><right>32</right><bottom>16</bottom>
				<width>1</width><height>8</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>7</num></setDrawLevel>
		</object>
	</create>

	<create>
		<cx>$_self_cx</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">rectwhite</file>
				<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
				<width>60</width><height>8</height>
				<alpha>240</alpha><red>220</red><green>32</green><blue>32</blue>
			</img>
			<setDrawLevel><num>5</num></setDrawLevel>
		</object>
	</create>

</action>

<action l="boss_vital_frame_create_action3">
	<create>
		<cx>$_self_cx-26</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">bosstimer</file>
				<left>0</left><top>8</top><right>8</right><bottom>16</bottom>
				<width>8</width><height>8</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>7</num></setDrawLevel>
		</object>
	</create>

	<create>
		<cx>$_self_cx+26</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">bosstimer</file>
				<left>24</left><top>8</top><right>32</right><bottom>16</bottom>
				<width>8</width><height>8</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>7</num></setDrawLevel>
		</object>
	</create>

	<create>
		<cx>$_self_cx</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">bosstimer</file>
				<left>8</left><top>8</top><right>24</right><bottom>16</bottom>
				<width>56</width><height>8</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>7</num></setDrawLevel>
		</object>
	</create>

	<create>
		<cx>$_self_cx</cx><cy>12</cy><speed>0</speed><dir>0</dir><child>1</child>
		<object>	
			<img type="normal">
				<file type="dds">rectwhite</file>
				<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
				<width>60</width><height>8</height>
				<alpha>240</alpha><red>220</red><green>32</green><blue>32</blue>
			</img>
			<setDrawLevel><num>5</num></setDrawLevel>
		</object>
	</create>

</action>

<!-- ********************************************************************* -->
<!-- *** Boss位置表示の作成                                            *** -->

<create label="boss_underbar_create">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>480-5</cy>
	<dobjectRef label="boss_underbar"></dobjectRef>
</create>

<dobject label="boss_underbar">
	<child>1</child>
	<img type="add">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>48</right><bottom>12</bottom>
		<width>48</width><height>10</height>
		<alpha>160</alpha><red>255</red><green>3</green><blue>2</blue>
	</img>

	<setDrawLevel><num>6</num></setDrawLevel>
	<definedAction type="synctoparentx"></definedAction>

</dobject>

<create label="boss_underbar_create2">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>480-5</cy>
	<dobjectRef label="boss_underbar2"></dobjectRef>
</create>

<dobject label="boss_underbar2">
	<child>1</child>
	<img type="normal">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>48</right><bottom>12</bottom>
		<width>48</width><height>10</height>
		<alpha>120</alpha><red>255</red><green>3</green><blue>2</blue>
	</img>

	<setDrawLevel><num>6</num></setDrawLevel>
	<definedAction type="synctoparentx"></definedAction>

</dobject>


<!-- ********************************************************************* -->
<!-- *** バリアの作成                                              *** -->
<create label="barrer">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<flag>32</flag>
	<vital>9999999</vital>
	<enemyRef label="boss_barrer"></enemyRef>
</create>

<enemy label="boss_barrer">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>
	<revRef label="barre_revenge"></revRef>
	<imgRef l="barrer_img"/>
	<rotateImg><direction>15</direction><term>-1</term></rotateImg>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

	<a>
		<repeat><times>-1</times>
			<repeat><times>$_ttc_frame-lt(300*$_magic_rate/100)</times>
				<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>40</radius></collision>
				<changeColor>
					<alpha>200</alpha><red>255</red><green>255</green><blue>255</blue><term>15</term>
				</changeColor>

				<eval name="i">1</eval>
				
				<repeat><times>-1*$i</times>
				<eval name="i">$_ttc_frame-lt(300*$_magic_rate/100)</eval>
				<w>1</w>				
				</repeat>
				<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>20</radius></collision>

				<changeColor>
					<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>15</term>
				</changeColor>
				<w>1</w>
			</repeat>
			<w>1</w>
		</repeat>
	</a>


</enemy>

<img type="normal" l="barrer_img">
	<file type="dds">bareer</file>
	<left>0</left><top>0</top><right>128</right><bottom>128</bottom>
	<width>96</width><height>96</height>
	<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

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


<!-- barrer obj -->
<create label="barrer_x">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<objectRef label="boss_barrer_x"></objectRef>
</create>

<object label="boss_barrer_x">
	<revRef label="barre_revenge"></revRef>
	<imgRef l="barrer_img_x"/>
	<setDrawLevel><num>16</num></setDrawLevel>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

	<a>
	</a>
</object>

<img type="normal" l="barrer_img_x">
	<file type="dds">bareer</file>
	<left>0</left><top>0</top><right>128</right><bottom>128</bottom>
	<width>96</width><height>96</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>
<!-- barrer obj -->
<create label="barrer_xs">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<objectRef label="boss_barrer_xs"></objectRef>
</create>

<object label="boss_barrer_xs">
	<revRef label="barre_revenge"></revRef>
	<imgRef l="barrer_img_xs"/>
	<setDrawLevel><num>16</num></setDrawLevel>
	<rotateImg><direction>15</direction><term>-1</term></rotateImg>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

	<a>
	</a>
</object>

<img type="normal" l="barrer_img_xs">
	<file type="dds">bareer</file>
	<left>0</left><top>0</top><right>128</right><bottom>128</bottom>
	<width>60</width><height>60</height>
	<alpha>205</alpha><red>255</red><green>255</green><blue>255</blue>
</img>


<!-- ********************************************************************* -->
<!-- *** タイム文字の作成                                              *** -->
<action label="boss_timer_fig">

	<createRef label="create_boss_timer_fig"><param>230-48</param><param>26+1</param><param>84</param><param>25</param></createRef>
	<createRef label="create_boss_timer_fig"><param>230-48+11-2</param><param>26</param><param>73</param><param>25</param></createRef>
	<createRef label="create_boss_timer_fig"><param>230-48+11*2-2</param><param>26</param><param>77</param><param>25</param></createRef>
	<createRef label="create_boss_timer_fig"><param>230-48+11*3-2</param><param>26</param><param>69</param><param>25</param></createRef>

</action>

<create label="create_boss_timer_fig">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<objectRef label="stage_boss_timer_fig"><p>$3</p><p>$4</p></objectRef>
</create>

<object label="stage_boss_timer_fig">
	<imgRef label="str_lower_img_red_12"><param>($1-65)%14</param><param>(($1-65)/14)%255</param></imgRef>	
	<setDrawLevel><num>$2</num></setDrawLevel>
</object>	


<!-- ********************************************************************* -->
<!-- *** 擬似タイムの作成                                              *** -->
<action label="create_timer0">
	<actionRef label="boss_timer_fig"></actionRef>
	
	<eval name="i">0</eval>
	<repeat><times>$__timer</times>
		<createRef label="stage_boss_timer_create0"><param>$__timer-$i</param><param>26</param><param>$i</param></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>
</action>

<create label="stage_boss_timer_create0">
	<speed>0</speed><direction type="absolute">0</direction>
	<cx>210+20*$1</cx><cy>$2</cy>
	<objectRef label="stage_boss_timer0"><param>$1</param><param>$2</param><param>$3</param></objectRef>

</create>

<object label="stage_boss_timer0">
	<actionRef label="timer_common_action0"><param>$1</param><param>$2</param><param>$3</param></actionRef>
</object>

<action label="timer_common_action0">
	<revengeRef label="timer_revenge0"></revengeRef>
	<imgRef label="timer_image"></imgRef>
	<setDrawLevel><num>6</num></setDrawLevel>
</action>

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


<action label="create_timer">

	<eval name="i">0</eval>
	<repeat><times>$__timer</times>
		<createRef label="stage_boss_timer_create"><param>$__timer-$i</param><param>26</param><param>$i</param><param>$__timerwait</param></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>
	<!-- 制限時間オーバー時の revenge のキック -->
	<createRef label="stage_boss_revenger_create"><param>$__timer</param><param>$__timerwait</param></createRef>
</action>

<!-- 減衰タイマー -->
<action label="create_timer2">
	<createRef label="stage_boss_timer_create2"><param>$__timer</param><param>26</param><param>$__timer</param><param>$__timerwait</param></createRef>
	<!-- 制限時間オーバー時の revenge のキック -->
	<createRef label="stage_boss_revenger_create2"><param>$__timer</param><param>$__timerwait</param></createRef>
</action>

<create label="stage_boss_timer_create">
	<speed>0</speed><direction type="absolute">0</direction>
	<cx>210+20*$1</cx><cy>$2</cy>
	<objectRef label="stage_boss_timer"><param>$3</param><param>$4</param></objectRef>
</create>

<object label="stage_boss_timer">
	<child>1</child>
	<actionRef label="timer_common_action"><param>$1</param><param>$2</param></actionRef>
</object>

<action label="timer_common_action">
	<revengeRef label="timer_revenge"></revengeRef>
	<imgRef label="timer_image"></imgRef>
	<setDrawLevel><num>6</num></setDrawLevel>

	<wait>($1+1)*$2</wait>

	<wait>$__end_offset</wait>
	<changeColor>
		<alpha>0</alpha><red>100</red><green>100</green><blue>100</blue><term>15</term>
	</changeColor>
	<changeImgSize>
		<width>24</width><height>16</height><term>15</term>
	</changeImgSize>
	
	<wait>15</wait>
	<vanish></vanish>
</action>

<create label="stage_boss_revenger_create">
	<speed>0</speed><direction type="absolute">0</direction>
	<cx>320</cx><cy>240</cy>
	<objectRef label="stage_boss_revenger_object"><param>$1</param><param>$2</param></objectRef>
</create>

<object label="stage_boss_revenger_object">
	<child>1</child>
	<wait>$1*$2</wait>

	<wait>60</wait>
	<wait>$__end_offset</wait>
	<!-- ボス自爆 -->
	<parentRevenge></parentRevenge>
	<vanish></vanish>
</object>

<revenge label="timer_revenge">
	<changeColor>
		<alpha>0</alpha><red>100</red><green>100</green><blue>100</blue><term>15</term>
	</changeColor>
	<changeImgSize>
		<width>24</width><height>16</height><term>15</term>
	</changeImgSize>
	<wait>15</wait>
	<vanish></vanish>
</revenge>

<img type="normal" label="timer_image">
	<file type="dds">bosstimer</file>
	<left>0</left><top>0</top><right>21</right><bottom>6</bottom>
	<width>21</width><height>6</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<!-- 減衰タイマー -->
<create label="stage_boss_timer_create2">
	<speed>0</speed><direction type="absolute">0</direction>
	<cx>220+120</cx><cy>$2</cy>
	<objectRef label="stage_boss_timer2"><param>$3</param><param>$4</param><param>$2-2</param></objectRef>
</create>

<object label="stage_boss_timer2">
	<child>1</child>
	<actionRef label="timer_common_action2"><param>$1</param><param>$2</param><param>$3</param></actionRef>
</object>

<action label="timer_common_action2">
	<revengeRef label="timer_revenge2"></revengeRef>
	<imgRef label="timer_image2"></imgRef>
	<setDrawLevel><num>6</num></setDrawLevel>

	<setPosition type="absolute">
		<x>220</x><y>$3</y>
	</setPosition>

	<w>1</w>
	<changeImgSize>
		<width>0</width><height>6</height><term>$1*$2</term>
	</changeImgSize>

	<repeat><times>$1*$2</times>
		<setPosition type="absolute">
			<x>220</x><y>$3</y>
		</setPosition>
		<wait>1</wait>
	</repeat>

	<vanish></vanish>
</action>

<create label="stage_boss_revenger_create2">
	<speed>0</speed><direction type="absolute">0</direction>
	<cx>320</cx><cy>240</cy>
	<objectRef label="stage_boss_revenger_object2"><param>$1</param><param>$2</param></objectRef>
</create>

<object label="stage_boss_revenger_object2">
	<child>1</child>
	<wait>1+$1*$2</wait>

	<!-- ボス自爆 -->
	<parentRevenge></parentRevenge>
	<vanish></vanish>
</object>

<revenge label="timer_revenge2">
	<changeColor>
		<alpha>0</alpha><red>100</red><green>100</green><blue>100</blue><term>15</term>
	</changeColor>
	<wait>15</wait>
	<vanish></vanish>
</revenge>

<img type="normal" label="timer_image2">
	<file type="dds">bosstimer2</file>
	<left>0</left><top>0</top><right>240</right><bottom>8</bottom>
	<width>240</width><height>6</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>


<!-- ********************************************************************* -->
<!-- *** Boss弾幕開始時action                                            *** -->

<action label="start_boss_bullet">
	<!-- タイマーの作成しなおし -->
	<targetRevenge label="stage_boss_timer0"></targetRevenge>
	<targetRevenge label="stage_boss_timer_fig"></targetRevenge>
	<actionRef label="boss_timer_fig"></actionRef>
	<actionRef  label="create_timer"></actionRef>
	<createRef label="boss_vitalcheck_create"/>
	<global name="counter_tmp">$_counter</global>
	<global name="ttc_start">$_ttc_frame</global>
</action>

<action label="start_boss_bullet2">
	<!-- 減衰タイマー -->
	<targetRevenge label="stage_boss_timer0"></targetRevenge>
	<targetRevenge label="stage_boss_timer_fig"></targetRevenge>
	<actionRef label="boss_timer_fig"></actionRef>
	<actionRef  label="create_timer2"></actionRef>
	<global name="counter_tmp">$_counter</global>
	<global name="ttc_start">$_ttc_frame</global>
</action>

<!-- ********************************************************************* -->
<!-- *** Enemy Magic                                                   *** -->
<action label="enemy_magic_action">

	<createRef label="etc_se"></createRef>
	<actionRef label="bg_bossbegin_action"></actionRef>
	<createRef label="enemy_magic_back"></createRef>

	<repeat><times>($1%2)-eq0</times>
		<createRef label="str_create_big_red_em"><param>320-24*5</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*5</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*4</param><param>90</param><param>78</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*4</param><param>90</param><param>78</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*3</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*3</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*2</param><param>90</param><param>77</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*2</param><param>90</param><param>77</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24</param><param>90</param><param>89</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24</param><param>90</param><param>89</param><param>23</param></createRef>
	</repeat>
	<repeat><times>($1%2)-eq1</times>
		<createRef label="str_create_big_red_em"><param>320-24*5</param><param>90</param><param>83</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*5</param><param>90</param><param>83</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*4</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*4</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*3</param><param>90</param><param>67</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*3</param><param>90</param><param>67</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*2</param><param>90</param><param>82</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*2</param><param>90</param><param>82</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*1</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*1</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320</param><param>90</param><param>84</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320</param><param>90</param><param>84</param><param>23</param></createRef>
	</repeat>
	<wait>1</wait>
	<createRef label="str_create_big_red_em"><param>320+24*(1+($1%2))</param><param>90</param><param>77</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(1+($1%2))</param><param>90</param><param>77</param><param>23</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*(2+($1%2))</param><param>90</param><param>65</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(2+($1%2))</param><param>90</param><param>65</param><param>23</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*(3+($1%2))</param><param>90</param><param>71</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(3+($1%2))</param><param>90</param><param>71</param><param>23</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*(4+($1%2))</param><param>90</param><param>73</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(4+($1%2))</param><param>90</param><param>73</param><param>23</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*(5+($1%2))</param><param>90</param><param>67</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(5+($1%2))</param><param>90</param><param>67</param><param>24</param></createRef>
	<wait>1</wait>

	<repeat><times>($1-eq0)</times>
		<createRef label="boss_mahoujin_4"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_2"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
	<repeat><times>($1-eq1)</times>
		<createRef label="boss_mahoujin_4"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_5"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
	<repeat><times>($1-eq2)</times>
		<createRef label="boss_mahoujin_1"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_2"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_3"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
	<repeat><times>($1-eq3)</times>
		<createRef label="boss_mahoujin_1"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_6"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_3"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
</action>


<action label="enemy_magic_action_blue">

	<createRef label="etc_se"></createRef>
	<actionRef label="bg_bossbegin_action"></actionRef>
	<createRef label="enemy_magic_back"></createRef>

	<repeat><times>($1%2)-eq0</times>
		<createRef label="str_create_big_blue_em"><param>320-24*5</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*5</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*4</param><param>90</param><param>78</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*4</param><param>90</param><param>78</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*3</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*3</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*2</param><param>90</param><param>77</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*2</param><param>90</param><param>77</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24</param><param>90</param><param>89</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24</param><param>90</param><param>89</param><param>23</param></createRef>
	</repeat>
	<repeat><times>($1%2)-eq1</times>
		<createRef label="str_create_big_blue_em"><param>320-24*5</param><param>90</param><param>83</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*5</param><param>90</param><param>83</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*4</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*4</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*3</param><param>90</param><param>67</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*3</param><param>90</param><param>67</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*2</param><param>90</param><param>82</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*2</param><param>90</param><param>82</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*1</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*1</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320</param><param>90</param><param>84</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320</param><param>90</param><param>84</param><param>23</param></createRef>
	</repeat>
	<wait>1</wait>
	<createRef label="str_create_big_blue_em"><param>320+24*(1+($1%2))</param><param>90</param><param>77</param><param>24</param></createRef>
	<createRef label="str_create_big_blue_em_back"><param>320+24*(1+($1%2))</param><param>90</param><param>77</param><param>23</param></createRef>
	<createRef label="str_create_big_blue_em"><param>320+24*(2+($1%2))</param><param>90</param><param>65</param><param>24</param></createRef>
	<createRef label="str_create_big_blue_em_back"><param>320+24*(2+($1%2))</param><param>90</param><param>65</param><param>23</param></createRef>
	<createRef label="str_create_big_blue_em"><param>320+24*(3+($1%2))</param><param>90</param><param>71</param><param>24</param></createRef>
	<createRef label="str_create_big_blue_em_back"><param>320+24*(3+($1%2))</param><param>90</param><param>71</param><param>23</param></createRef>
	<createRef label="str_create_big_blue_em"><param>320+24*(4+($1%2))</param><param>90</param><param>73</param><param>24</param></createRef>
	<createRef label="str_create_big_blue_em_back"><param>320+24*(4+($1%2))</param><param>90</param><param>73</param><param>23</param></createRef>
	<createRef label="str_create_big_blue_em"><param>320+24*(5+($1%2))</param><param>90</param><param>67</param><param>24</param></createRef>
	<createRef label="str_create_big_blue_em_back"><param>320+24*(5+($1%2))</param><param>90</param><param>67</param><param>24</param></createRef>
	<wait>1</wait>

	<repeat><times>($1-eq0)</times>
		<createRef label="boss_mahoujin_4"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_2"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
	<repeat><times>($1-eq1)</times>
		<createRef label="boss_mahoujin_4"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_5"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
	<repeat><times>($1-eq2)</times>
		<createRef label="boss_mahoujin_1"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_2"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_3"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
	<repeat><times>($1-eq3)</times>
		<createRef label="boss_mahoujin_1"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_6"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_3"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
</action>

<action label="enemy_magic_action_black">

	<createRef label="etc_se"></createRef>
	<actionRef label="bg_bossbegin_action"></actionRef>
	<createRef label="enemy_magic_back"></createRef>

	<repeat><times>($1%2)-eq0</times>
		<createRef label="str_create_big_red_em"><param>320-24*5</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*5</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*4</param><param>90</param><param>78</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*4</param><param>90</param><param>78</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*3</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*3</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*2</param><param>90</param><param>77</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*2</param><param>90</param><param>77</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24</param><param>90</param><param>89</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24</param><param>90</param><param>89</param><param>23</param></createRef>
		<wait>1</wait>
		<createRef label="str_create_big_red_em"><param>320+24*(1+($1%2))</param><param>90</param><param>77</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*(1+($1%2))</param><param>90</param><param>77</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+24*(2+($1%2))</param><param>90</param><param>65</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*(2+($1%2))</param><param>90</param><param>65</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+24*(3+($1%2))</param><param>90</param><param>71</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*(3+($1%2))</param><param>90</param><param>71</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+24*(4+($1%2))</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*(4+($1%2))</param><param>90</param><param>73</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+24*(5+($1%2))</param><param>90</param><param>67</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*(5+($1%2))</param><param>90</param><param>67</param><param>24</param></createRef>
	</repeat>
	<repeat><times>($1%2)-eq1</times>
		<createRef label="str_create_big_red_black_em"><param>320-24*5</param><param>90</param><param>66</param><param>24</param></createRef>
		<createRef label="str_create_big_red_black_em_back"><param>320-24*5</param><param>90</param><param>66</param><param>23</param></createRef>
		<createRef label="str_create_big_red_black_em"><param>320-24*4</param><param>90</param><param>76</param><param>24</param></createRef>
		<createRef label="str_create_big_red_black_em_back"><param>320-24*4</param><param>90</param><param>76</param><param>23</param></createRef>
		<createRef label="str_create_big_red_black_em"><param>320-24*3</param><param>90</param><param>65</param><param>24</param></createRef>
		<createRef label="str_create_big_red_black_em_back"><param>320-24*3</param><param>90</param><param>65</param><param>23</param></createRef>
		<createRef label="str_create_big_red_black_em"><param>320-24*2</param><param>90</param><param>67</param><param>24</param></createRef>
		<createRef label="str_create_big_red_black_em_back"><param>320-24*2</param><param>90</param><param>67</param><param>23</param></createRef>
		<createRef label="str_create_big_red_black_em"><param>320-24*1</param><param>90</param><param>75</param><param>24</param></createRef>
		<createRef label="str_create_big_red_black_em_back"><param>320-24*1</param><param>90</param><param>75</param><param>23</param></createRef>
		<wait>1</wait>
		<createRef label="str_create_big_red_black_em"><param>320+24*(1+($1%2))</param><param>90</param><param>77</param><param>24</param></createRef>
		<createRef label="str_create_big_red_black_em_back"><param>320+24*(1+($1%2))</param><param>90</param><param>77</param><param>23</param></createRef>
		<createRef label="str_create_big_red_black_em"><param>320+24*(2+($1%2))</param><param>90</param><param>65</param><param>24</param></createRef>
		<createRef label="str_create_big_red_black_em_back"><param>320+24*(2+($1%2))</param><param>90</param><param>65</param><param>23</param></createRef>
		<createRef label="str_create_big_red_black_em"><param>320+24*(3+($1%2))</param><param>90</param><param>71</param><param>24</param></createRef>
		<createRef label="str_create_big_red_black_em_back"><param>320+24*(3+($1%2))</param><param>90</param><param>71</param><param>23</param></createRef>
		<createRef label="str_create_big_red_black_em"><param>320+24*(4+($1%2))</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_red_black_em_back"><param>320+24*(4+($1%2))</param><param>90</param><param>73</param><param>23</param></createRef>
		<createRef label="str_create_big_red_black_em"><param>320+24*(5+($1%2))</param><param>90</param><param>67</param><param>24</param></createRef>
		<createRef label="str_create_big_red_black_em_back"><param>320+24*(5+($1%2))</param><param>90</param><param>67</param><param>24</param></createRef>
	</repeat>
	<wait>1</wait>

	<repeat><times>($1-eq0)</times>
		<createRef label="boss_mahoujin_4b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_2b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
	<repeat><times>($1-eq1)</times>
		<createRef label="boss_mahoujin_4b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_5b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
	<repeat><times>($1-eq2)</times>
		<createRef label="boss_mahoujin_1b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_2b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_3b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
	<repeat><times>($1-eq3)</times>
		<createRef label="boss_mahoujin_1b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_6b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_3b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
</action>

<action label="shizuma_magic_action">

	<createRef label="etc_se"></createRef>
	<actionRef label="bg_bossbegin_action"></actionRef>
	<createRef label="enemy_magic_back"></createRef>

	<repeat><times>($1%2)-eq0</times>
		<createRef label="str_create_big_red_em"><param>332-24*7</param><param>90</param><param>72</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*7</param><param>90</param><param>72</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332-24*6</param><param>90</param><param>85</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*6</param><param>90</param><param>85</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332-24*5</param><param>90</param><param>77</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*5</param><param>90</param><param>77</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332-24*4</param><param>90</param><param>65</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*4</param><param>90</param><param>65</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332-24*3</param><param>90</param><param>78</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*3</param><param>90</param><param>78</param><param>23</param></createRef>
	</repeat>
	<repeat><times>($1%2)-eq1</times>
		<createRef label="str_create_big_red_em"><param>320-24*7</param><param>90</param><param>83</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*7</param><param>90</param><param>83</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*6</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*6</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*5</param><param>90</param><param>67</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*5</param><param>90</param><param>67</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*4</param><param>90</param><param>82</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*4</param><param>90</param><param>82</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*3</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*3</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*2</param><param>90</param><param>84</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*2</param><param>90</param><param>84</param><param>23</param></createRef>
	</repeat>
	<wait>1</wait>
	<createRef label="str_create_big_red_em"><param>320-24*(1-($1%2))</param><param>90</param><param>77</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320-24*(1-($1%2))</param><param>90</param><param>77</param><param>23</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*($1%2)</param><param>90</param><param>89</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*($1%2)</param><param>90</param><param>89</param><param>23</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*(1+($1%2))</param><param>90</param><param>83</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(1+($1%2))</param><param>90</param><param>83</param><param>23</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*(2+($1%2))</param><param>90</param><param>84</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(2+($1%2))</param><param>90</param><param>84</param><param>23</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*(3+($1%2))</param><param>90</param><param>73</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(3+($1%2))</param><param>90</param><param>73</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*(4+($1%2))</param><param>90</param><param>81</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(4+($1%2))</param><param>90</param><param>81</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*(5+($1%2))</param><param>90</param><param>85</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(5+($1%2))</param><param>90</param><param>85</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em"><param>320+24*(6+($1%2))</param><param>90</param><param>69</param><param>24</param></createRef>
	<createRef label="str_create_big_red_em_back"><param>320+24*(6+($1%2))</param><param>90</param><param>69</param><param>24</param></createRef>
	<wait>1</wait>

	<repeat><times>($1-eq2)</times>
		<createRef label="boss_mahoujin_7"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_8"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
	<repeat><times>($1-eq3)</times>
		<createRef label="boss_mahoujin_7"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_9"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
	</repeat>
</action>

<action label="enemy_twilight_action">

	<createRef label="etc_se"></createRef>
	<actionRef label="bg_bossbegin_action"></actionRef>
	<createRef label="enemy_magic_back"></createRef>

	<repeat><times>$1-eq2</times>
		<createRef label="str_create_big_red_em"><param>332-24*7</param><param>90</param><param>84</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*7</param><param>90</param><param>84</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332-24*6</param><param>90</param><param>87</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*6</param><param>90</param><param>87</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332-24*5</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*5</param><param>90</param><param>73</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332-24*4</param><param>90</param><param>76</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*4</param><param>90</param><param>76</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332-24*3</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*3</param><param>90</param><param>73</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332-24*2</param><param>90</param><param>71</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24*2</param><param>90</param><param>71</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332-24</param><param>90</param><param>72</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332-24</param><param>90</param><param>72</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>332</param><param>90</param><param>84</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>332</param><param>90</param><param>84</param><param>23</param></createRef>
		<wait>1</wait>
		<createRef label="str_create_big_red_em"><param>320+24*2</param><param>90</param><param>77</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*2</param><param>90</param><param>77</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+24*3</param><param>90</param><param>65</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*3</param><param>90</param><param>65</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+24*4</param><param>90</param><param>71</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*4</param><param>90</param><param>71</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+24*5</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*5</param><param>90</param><param>73</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+24*6</param><param>90</param><param>67</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*6</param><param>90</param><param>67</param><param>24</param></createRef>
	</repeat>
	<repeat><times>$1-eq3</times>
		<createRef label="str_create_big_blue_em"><param>320-24*7</param><param>90</param><param>83</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*7</param><param>90</param><param>83</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*6</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*6</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*5</param><param>90</param><param>67</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*5</param><param>90</param><param>67</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*4</param><param>90</param><param>82</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*4</param><param>90</param><param>82</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*3</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*3</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320-24*2</param><param>90</param><param>84</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320-24*2</param><param>90</param><param>84</param><param>23</param></createRef>

		<wait>1</wait>
		<createRef label="str_create_big_blue_em"><param>320</param><param>90</param><param>84</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320</param><param>90</param><param>84</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320+24*1</param><param>90</param><param>87</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320+24*1</param><param>90</param><param>87</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320+24*2</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320+24*2</param><param>90</param><param>73</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320+24*3</param><param>90</param><param>76</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320+24*3</param><param>90</param><param>76</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320+24*4</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320+24*4</param><param>90</param><param>73</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320+24*5</param><param>90</param><param>71</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320+24*5</param><param>90</param><param>71</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320+24*6</param><param>90</param><param>72</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320+24*6</param><param>90</param><param>72</param><param>23</param></createRef>
		<createRef label="str_create_big_blue_em"><param>320+24*7</param><param>90</param><param>84</param><param>24</param></createRef>
		<createRef label="str_create_big_blue_em_back"><param>320+24*7</param><param>90</param><param>84</param><param>23</param></createRef>
	</repeat>

	<wait>1</wait>

		<createRef label="boss_mahoujin_1b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_6b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_3b"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
</action>


<action label="enemy_twilight_r_action">

	<actionRef label="bg_bossbegin_action"></actionRef>

	<repeat><times>$1-eq4</times>
		<createRef label="str_create_big_red_em"><param>320-24*7</param><param>90</param><param>84</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*7</param><param>90</param><param>84</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*6</param><param>90</param><param>87</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*6</param><param>90</param><param>87</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*5</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*5</param><param>90</param><param>73</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*4</param><param>90</param><param>76</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*4</param><param>90</param><param>76</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*3</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*3</param><param>90</param><param>73</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24*2</param><param>90</param><param>71</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24*2</param><param>90</param><param>71</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320-24</param><param>90</param><param>72</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320-24</param><param>90</param><param>72</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320</param><param>90</param><param>84</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320</param><param>90</param><param>84</param><param>23</param></createRef>
		<wait>1</wait>
		<createRef label="str_create_big_red_em"><param>320+6+24</param><param>90</param><param>82</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+6+24</param><param>90</param><param>82</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+5+24*2</param><param>90</param><param>69</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+5+24*2</param><param>90</param><param>69</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+4+24*3</param><param>90</param><param>70</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+4+24*3</param><param>90</param><param>70</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+3+24*4</param><param>90</param><param>82</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+3+24*4</param><param>90</param><param>82</param><param>23</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+2+24*5</param><param>90</param><param>65</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+2+24*5</param><param>90</param><param>65</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+1+24*6</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+1+24*6</param><param>90</param><param>73</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em"><param>320+24*7</param><param>90</param><param>78</param><param>24</param></createRef>
		<createRef label="str_create_big_red_em_back"><param>320+24*7</param><param>90</param><param>78</param><param>24</param></createRef>
	</repeat>
</action>


<action label="enemy_twilight_r_action2">

		<createRef label="boss_mahoujin_1"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_6"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_3"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
</action>

<action label="enemy_twilight_r_action3">

		<createRef label="boss_mahoujin_1r"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_6r"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
		<createRef label="boss_mahoujin_3r"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></createRef>
</action>



<create label="etc_se">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>240</cy>
	<object>
		<sound label="se_bgm" type="bgm">
			<track><file type="ogg">enemytension</file></track>
			<play><flag>0</flag><loop>0</loop></play>
		</sound>
		<wait>150</wait>
		<changeTargetVolume label="se_bgm"> 
			<num>-10000</num><term>30</term>	
		</changeTargetVolume>
		<wait>30</wait>
		<targetVanish label="se_bgm"></targetVanish>
		<wait>5</wait>
	</object>
</create>


<create label="str_create_big_red_em">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<child>1</child>
		<imgRef label="str_img_big_red"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>$4</num></setDrawLevel>
		<action>
			<wait>100</wait>
			<changeColor>
				<alpha>64</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>160</wait>
			<vanish/>
		</action>
	</object>	
</create>

<create label="str_create_big_red_em_back">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<child>1</child>
		<imgRef label="str_img_big_red_back"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>$4</num></setDrawLevel>
		<action>
			<changeColor>
				<alpha>30</alpha><red>180</red><green>180</green><blue>180</blue><term>30</term>
			</changeColor>
			<changeImgSize>
				<width>52</width><height>52</height><term>30</term>
			</changeImgSize>
			<changeSpeed>
				<speed type="absolute">0.2</speed><term>30</term>
			</changeSpeed>
			<wait>30</wait>
			<vanish/>
		</action>
	</object>	
</create>

<create label="str_create_big_red_black_em">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<child>1</child>
		<imgRef label="str_img_big_mono"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>$4</num></setDrawLevel>
		<action>
			<wait>100</wait>
			<changeColor>
				<alpha>64</alpha><red>75</red><green>75</green><blue>75</blue><term>60</term>
			</changeColor>
			<wait>160</wait>
			<vanish/>
		</action>
	</object>	
</create>

<create label="str_create_big_red_em_back">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<child>1</child>
		<imgRef label="str_img_big_mono_back"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>$4</num></setDrawLevel>
		<action>
			<changeColor>
				<alpha>30</alpha><red>40</red><green>40</green><blue>40</blue><term>30</term>
			</changeColor>
			<changeImgSize>
				<width>52</width><height>52</height><term>30</term>
			</changeImgSize>
			<changeSpeed>
				<speed type="absolute">0.2</speed><term>30</term>
			</changeSpeed>
			<wait>30</wait>
			<vanish/>
		</action>
	</object>	
</create>

<create label="str_create_big_blue_em">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<child>1</child>
		<imgRef label="str_img_big_blue"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>$4</num></setDrawLevel>
		<action>
			<wait>100</wait>
			<changeColor>
				<alpha>64</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>160</wait>
			<vanish/>
		</action>
	</object>	
</create>

<create label="str_create_big_blue_em_back">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<child>1</child>
		<imgRef label="str_img_big_blue_back"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>$4</num></setDrawLevel>
		<action>
			<changeColor>
				<alpha>30</alpha><red>180</red><green>180</green><blue>180</blue><term>30</term>
			</changeColor>
			<changeImgSize>
				<width>52</width><height>52</height><term>30</term>
			</changeImgSize>
			<changeSpeed>
				<speed type="absolute">0.2</speed><term>30</term>
			</changeSpeed>
			<wait>30</wait>
			<vanish/>
		</action>
	</object>	
</create>


<create label="boss_mahoujin_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="maskadd">
			<file type="dds">magic_c1_1</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>30</term>
			</changeImgSize>
			<rotateImg>
				<direction>0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_2">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="maskadd">
			<file type="dds">magic_c1_2</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>68</term>
			</changeImgSize>
			<rotateImg>
				<direction>-0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_3">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="maskadd">
			<file type="dds">magic_c1_3</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>16</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>

			<changeColor>
				<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue><term>120</term>
			</changeColor>
			<changeImgSize>
				<width>256</width><height>256</height><term>30</term>
			</changeImgSize>

			<repeat><times>-1</times>
				<rotateImg>
					<direction>1</direction><term>360</term>
				</rotateImg>			
				<wait>360</wait>
				<rotateImg>
					<direction>-1</direction><term>360</term>
				</rotateImg>			
				<wait>360</wait>
			</repeat>

		</action>
	</object>
</create>


<create label="boss_mahoujin_4">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="maskadd">
			<file type="dds">magic_c2_1</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>30</term>
			</changeImgSize>
			<rotateImg>
				<direction>0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_5">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="maskadd">
			<file type="dds">magic_c2_2</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>68</term>
			</changeImgSize>
			<rotateImg>
				<direction>-0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_6">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="maskadd">
			<file type="dds">magic_c1_4</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>68</term>
			</changeImgSize>
			<rotateImg>
				<direction>-0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_7">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="normal">
			<file type="dds">magic_c3_1</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>68</term>
			</changeImgSize>
			<rotateImg>
				<direction>-0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_8">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="normal">
			<file type="dds">magic_c3_2</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>68</term>
			</changeImgSize>
			<rotateImg>
				<direction>0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_9">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="normal">
			<file type="dds">magic_c3_3</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>68</term>
			</changeImgSize>
			<rotateImg>
				<direction>0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_1b">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="normal">
			<file type="dds">magic_c1_1</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>30</term>
			</changeImgSize>
			<rotateImg>
				<direction>0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_1r">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="maskadd">
			<file type="dds">magic_c1_1</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>30</term>
			</changeImgSize>
			<rotateImg>
				<direction>0.5</direction><term>-1</term>
			</rotateImg>			
			<repeat><times>-1</times>
			<changeColor>
				<alpha>$1</alpha><red>135</red><green>5</green><blue>5</blue><term>60</term>
			</changeColor>
			<w>60</w>
			<changeColor>
				<alpha>$1</alpha><red>5</red><green>5</green><blue>135</blue><term>60</term>
			</changeColor>
			<w>60</w>
			<changeColor>
				<alpha>$1</alpha><red>5</red><green>135</green><blue>5</blue><term>60</term>
			</changeColor>
			<w>60</w>
			<changeColor>
				<alpha>$1</alpha><red>55</red><green>5</green><blue>75</blue><term>60</term>
			</changeColor>
			<w>60</w>
			<changeColor>
				<alpha>$1</alpha><red>5</red><green>75</green><blue>55</blue><term>60</term>
			</changeColor>
			<w>60</w>
			<changeColor>
				<alpha>$1</alpha><red>55</red><green>75</green><blue>5</blue><term>60</term>
			</changeColor>
			<w>60</w>
			</repeat>
		</action>

	</object>
</create>

<create label="boss_mahoujin_2b">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="normal">
			<file type="dds">magic_c1_2</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>68</term>
			</changeImgSize>
			<rotateImg>
				<direction>-0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_3b">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="normal">
			<file type="dds">magic_c1_3</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>16</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>

			<changeColor>
				<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue><term>120</term>
			</changeColor>
			<changeImgSize>
				<width>256</width><height>256</height><term>30</term>
			</changeImgSize>

			<repeat><times>-1</times>
				<rotateImg>
					<direction>1</direction><term>360</term>
				</rotateImg>			
				<rotateImg>
					<direction>-1</direction><term>360</term>
				</rotateImg>			
				<wait>360</wait>
			</repeat>

		</action>
	</object>
</create>

<create label="boss_mahoujin_3r">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="maskadd">
			<file type="dds">magic_c1_3</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>16</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>

			<changeColor>
				<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue><term>120</term>
			</changeColor>
			<changeImgSize>
				<width>256</width><height>256</height><term>30</term>
			</changeImgSize>

			<repeat><times>-1</times>
				<rotateImg>
					<direction>1</direction><term>360</term>
				</rotateImg>			
				<changeColor>
					<alpha>$1</alpha><red>135</red><green>5</green><blue>5</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>$1</alpha><red>5</red><green>5</green><blue>135</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>$1</alpha><red>5</red><green>135</green><blue>5</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>$1</alpha><red>55</red><green>5</green><blue>75</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>$1</alpha><red>5</red><green>75</green><blue>55</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>$1</alpha><red>55</red><green>75</green><blue>5</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<rotateImg>
					<direction>-1</direction><term>360</term>
				</rotateImg>			
				<changeColor>
					<alpha>$1</alpha><red>135</red><green>5</green><blue>5</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>$1</alpha><red>5</red><green>5</green><blue>135</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>$1</alpha><red>5</red><green>135</green><blue>5</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>$1</alpha><red>55</red><green>5</green><blue>75</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>$1</alpha><red>5</red><green>75</green><blue>55</blue><term>60</term>
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>$1</alpha><red>55</red><green>75</green><blue>5</blue><term>60</term>
				</changeColor>
				<w>60</w>
			</repeat>

		</action>
	</object>
</create>


<create label="boss_mahoujin_4b">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="normal">
			<file type="dds">magic_c2_1</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>30</term>
			</changeImgSize>
			<rotateImg>
				<direction>0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_5b">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="normal">
			<file type="dds">magic_c2_2</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>68</term>
			</changeImgSize>
			<rotateImg>
				<direction>-0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_6b">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="normal">
			<file type="dds">magic_c1_4</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>68</term>
			</changeImgSize>
			<rotateImg>
				<direction>-0.5</direction><term>-1</term>
			</rotateImg>			
		</action>

	</object>
</create>

<create label="boss_mahoujin_6r">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>320</cx><cy>160</cy>
	
	<object>
		<child>1</child>
		<img type="maskadd">
			<file type="dds">magic_c1_4</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>16</width><height>16</height>
			<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
		</img>
		<setDrawLevel><num>3</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>256</width><height>256</height><term>68</term>
			</changeImgSize>
			<rotateImg>
				<direction>-0.5</direction><term>-1</term>
			</rotateImg>
			
			<repeat><times>-1</times>
			<changeColor>
				<alpha>$1</alpha><red>135</red><green>5</green><blue>5</blue><term>60</term>
			</changeColor>
			<w>60</w>
			<changeColor>
				<alpha>$1</alpha><red>5</red><green>5</green><blue>135</blue><term>60</term>
			</changeColor>
			<w>60</w>
			<changeColor>
				<alpha>$1</alpha><red>5</red><green>135</green><blue>5</blue><term>60</term>
			</changeColor>
			<w>60</w>
			<changeColor>
				<alpha>$1</alpha><red>55</red><green>5</green><blue>75</blue><term>60</term>
			</changeColor>
			<w>60</w>
			<changeColor>
				<alpha>$1</alpha><red>5</red><green>75</green><blue>55</blue><term>60</term>
			</changeColor>
			<w>60</w>
			<changeColor>
				<alpha>$1</alpha><red>55</red><green>75</green><blue>5</blue><term>60</term>
			</changeColor>
			<w>60</w>
			</repeat>
		</action>

	</object>
</create>


<create label="enemy_magic_back">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$_self_cx</cx><cy>$_self_cy-20</cy>
	
	<object>
		<child>1</child>
		<revengeRef label="magic_back_revenge"/>
		<definedAction type="synctoparentx"></definedAction>
		<definedAction type="synctoparenty"></definedAction>
		<setDrawLevel><num>6</num></setDrawLevel>
		<presentRef label="magic_back_present"/>

	</object>
</create>

<revenge label="magic_back_revenge">

<changeImgSize>
	<width>1</width><height>320</height><term>45</term>
</changeImgSize>
<changeSpeed>
	<speed type="absolute">3</speed><term>40</term>
</changeSpeed>

<wait>45</wait>
<vanish/>
</revenge>

<present label="magic_back_present">
	<img type="add">
		<file type="dds">magic_back</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>156</width><height>156</height>
		<alpha>200</alpha><red>10</red><green>25</green><blue>255</blue>
	</img>
	<action>

		<repeat><times>-1</times>
			<changeColor>
				<alpha>200</alpha><red>10</red><green>25</green><blue>255</blue><term>6</term>
			</changeColor>
			<setImgUV><left>0</left><top>0</top><right>64</right><bottom>64</bottom></setImgUV>
			<wait>3</wait>
			<setImgUV><left>64</left><top>0</top><right>128</right><bottom>64</bottom></setImgUV>
			<wait>3</wait>

			<changeColor>
				<alpha>100</alpha><red>10</red><green>85</green><blue>200</blue><term>6</term>
			</changeColor>
			<setImgUV><left>0</left><top>64</top><right>64</right><bottom>128</bottom></setImgUV>
			<wait>3</wait>
			<setImgUV><left>64</left><top>64</top><right>128</right><bottom>128</bottom></setImgUV>
			<wait>3</wait>
		</repeat>

	</action>
</present>


<!-- ********************************************************************* -->
<!-- *** Bossランダム移動アクション                                    *** -->
<action label="boss_rand_move01">

	<!-- 右(0)へ行くか、左(1)へ行くか -->
	<repeat><times>($_self_cx-lt260)+($_self_cx-gt380)</times>
		<eval name="ANGLEX">1-($_self_cx-lt260)</eval>
	</repeat>
	<repeat><times>1-(($_self_cx-lt260)+($_self_cx-gt380))</times>
		<eval name="ANGLEX">($_self_cx+$_player_cx+$_player_cy)%2</eval>
	</repeat>

	<!-- 上(0)へ行くか、下(1)へ行くか -->
	<repeat><times>($_self_cy-lt80)+($_self_cy-gt140)</times>
		<eval name="ANGLEY">1-($_self_cy-gt140)</eval>
	</repeat>
	<repeat><times>1-(($_self_cy-lt80)+($_self_cy-gt140))</times>
		<eval name="ANGLEY">($_self_cy+$_player_cx+$_player_cy)%2</eval>
	</repeat>
	<wait>5</wait>

	<!-- 移動方向決定 -->
	<eval name="dir1">(($_self_cy+$_self_cx+$_player_cx+$_player_cy)%21)*2.5</eval>
	<repeat><times>$ANGLEX</times>
		<eval name="dir2">280-$ANGLEY*70+$dir1</eval>
	</repeat>
	<repeat><times>1-$ANGLEX</times>		
		<eval name="dir2">30+$ANGLEY*70+$dir1</eval>
	</repeat>

	<!-- X移動速度制限ありなし判定(1:制限あり) -->
	<eval name="limit_spx">($_self_cx-lt320)*($ANGLEX)+(1-($_self_cx-lt320))*(1-$ANGLEX)</eval>

	<!-- Y移動速度制限ありなし判定(1:制限あり) -->
	<eval name="limit_spy">1-(($dir2-gt60)*($dir2-lt120)+($dir2-gt240)*($dir2-lt300))</eval>
	<eval name="limit_spy">$limit_spy*(1-(($_self_cy-gt110)*(1-$ANGLEY)+($_self_cy-lt70)*($ANGLEY)))</eval>

	<!--移動量、60〜120-->
	<eval name="MOVEBASE">60+(($_self_cy*11+$_player_cx*7)%16)*4*(($limit_spx+$limit_spy)-lt1)</eval>

	<!-- debug -->
<!--
	<debugstr><string>boss1move</string></debugstr>
	<debugval><num>$_self_cx</num></debugval>
	<debugval><num>$_self_cy</num></debugval>
	<debugval><num>$ANGLEX</num></debugval>
	<debugval><num>$ANGLEY</num></debugval>
	<debugval><num>$dir1</num></debugval>
	<debugval><num>$dir2</num></debugval>
	<debugval><num>$limit_spx</num></debugval>
	<debugval><num>$limit_spy</num></debugval>
	<debugval><num>$MOVEBASE</num></debugval>
-->
	<wait>5</wait>

	<changeDirection>
		<direction type="absolute">$dir2</direction><term>1</term>
	</changeDirection>
	<wait>1</wait>
	<changeSpeed><speed>$MOVEBASE/40</speed><term>10</term>
	</changeSpeed>
	<wait>40</wait>
	<changeSpeed><speed>0</speed><term>10</term>
	</changeSpeed>
	<wait>19</wait>
</action>

<!-- ********************************************************************* -->
<!-- *** Bossランダム移動アクション                                    *** -->
<!-- *** 縦方向若干弱め                                    *** -->
<action label="boss_rand_move02">

	<!-- 右(0)へ行くか、左(1)へ行くか -->
	<repeat><times>($_self_cx-lt260)+($_self_cx-gt380)</times>
		<eval name="ANGLEX">1-($_self_cx-lt260)</eval>
	</repeat>
	<repeat><times>1-(($_self_cx-lt260)+($_self_cx-gt380))</times>
		<eval name="ANGLEX">($_self_cx+$_player_cx+$_player_cy)%2</eval>
	</repeat>

	<!-- 上(0)へ行くか、下(1)へ行くか -->
	<repeat><times>($_self_cy-lt130)+($_self_cy-gt170)</times>
		<eval name="ANGLEY">1-($_self_cy-gt170)</eval>
	</repeat>
	<repeat><times>1-(($_self_cy-lt130)+($_self_cy-gt170))</times>
		<eval name="ANGLEY">($_self_cy+$_player_cx+$_player_cy)%2</eval>
	</repeat>
	<wait>5</wait>

	<!-- 移動方向決定 -->
	<eval name="dir1">(($_self_cy+$_self_cx+$_player_cx+$_player_cy)%17)*2</eval>
	<repeat><times>$ANGLEX</times>
		<eval name="dir2">280-$ANGLEY*70+$dir1</eval>
	</repeat>
	<repeat><times>1-$ANGLEX</times>		
		<eval name="dir2">48+$ANGLEY*70+$dir1</eval>
	</repeat>

	<!-- X移動速度制限ありなし判定(1:制限あり) -->
	<eval name="limit_spx">($_self_cx-lt320)*($ANGLEX)+(1-($_self_cx-lt320))*(1-$ANGLEX)</eval>

	<!-- Y移動速度制限ありなし判定(1:制限あり) -->
	<eval name="limit_spy">1-(($dir2-gt60)*($dir2-lt120)+($dir2-gt240)*($dir2-lt300))</eval>
	<eval name="limit_spy">$limit_spy*(1-(($_self_cy-gt110)*(1-$ANGLEY)+($_self_cy-lt70)*($ANGLEY)))</eval>

	<!--移動量、60〜120-->
	<eval name="MOVEBASE">60+(($_self_cy*11+$_player_cx*7)%16)*4*(($limit_spx+$limit_spy)-lt1)</eval>

	<!-- debug -->
<!--
	<debugstr><string>boss1move</string></debugstr>
	<debugval><num>$_self_cx</num></debugval>
	<debugval><num>$_self_cy</num></debugval>
	<debugval><num>$ANGLEX</num></debugval>
	<debugval><num>$ANGLEY</num></debugval>
	<debugval><num>$dir1</num></debugval>
	<debugval><num>$dir2</num></debugval>
	<debugval><num>$limit_spx</num></debugval>
	<debugval><num>$limit_spy</num></debugval>
	<debugval><num>$MOVEBASE</num></debugval>
-->
	<wait>5</wait>

	<changeDirection>
		<direction type="absolute">$dir2</direction><term>1</term>
	</changeDirection>
	<wait>1</wait>
	<changeSpeed><speed>$MOVEBASE/50</speed><term>10</term>
	</changeSpeed>
	<wait>40</wait>
	<changeSpeed><speed>0</speed><term>10</term>
	</changeSpeed>
	<wait>19</wait>
</action>


<!-- ********************************************************************* -->
<!-- *** Bossランダム移動アクション                                    *** -->
<!-- *** 縦方向若干弱め                                    *** -->
<!-- *** param1で移動時間設定                                    *** -->
<action label="boss_rand_move03">

	<!-- 右(0)へ行くか、左(1)へ行くか -->
	<repeat><times>($_self_cx-lt260)+($_self_cx-gt380)</times>
		<eval name="ANGLEX">1-($_self_cx-lt260)</eval>
	</repeat>
	<repeat><times>1-(($_self_cx-lt260)+($_self_cx-gt380))</times>
		<eval name="ANGLEX">($_self_cx+$_player_cx+$_player_cy)%2</eval>
	</repeat>

	<!-- 上(0)へ行くか、下(1)へ行くか -->
	<repeat><times>($_self_cy-lt100)+($_self_cy-gt140)</times>
		<eval name="ANGLEY">1-($_self_cy-gt140)</eval>
	</repeat>
	<repeat><times>1-(($_self_cy-lt100)+($_self_cy-gt140))</times>
		<eval name="ANGLEY">($_self_cy+$_player_cx+$_player_cy)%2</eval>
	</repeat>
	<wait>5</wait>

	<!-- 移動方向決定 -->
	<eval name="dir1">(($_self_cy+$_self_cx+$_player_cx+$_player_cy)%17)*2</eval>
	<repeat><times>$ANGLEX</times>
		<eval name="dir2">280-$ANGLEY*70+$dir1</eval>
	</repeat>
	<repeat><times>1-$ANGLEX</times>		
		<eval name="dir2">48+$ANGLEY*70+$dir1</eval>
	</repeat>

	<!-- X移動速度制限ありなし判定(1:制限あり) -->
	<eval name="limit_spx">($_self_cx-lt320)*($ANGLEX)+(1-($_self_cx-lt320))*(1-$ANGLEX)</eval>

	<!-- Y移動速度制限ありなし判定(1:制限あり) -->
	<eval name="limit_spy">1-(($dir2-gt60)*($dir2-lt120)+($dir2-gt240)*($dir2-lt300))</eval>
	<eval name="limit_spy">$limit_spy*(1-(($_self_cy-gt110)*(1-$ANGLEY)+($_self_cy-lt70)*($ANGLEY)))</eval>

	<!--移動量、60〜120-->
	<eval name="MOVEBASE">60+(($_self_cy*11+$_player_cx*7)%16)*4*(($limit_spx+$limit_spy)-lt1)</eval>

	<!-- debug -->
<!--
	<debugstr><string>boss1move</string></debugstr>
	<debugval><num>$_self_cx</num></debugval>
	<debugval><num>$_self_cy</num></debugval>
	<debugval><num>$ANGLEX</num></debugval>
	<debugval><num>$ANGLEY</num></debugval>
	<debugval><num>$dir1</num></debugval>
	<debugval><num>$dir2</num></debugval>
	<debugval><num>$limit_spx</num></debugval>
	<debugval><num>$limit_spy</num></debugval>
	<debugval><num>$MOVEBASE</num></debugval>
-->
	<wait>5</wait>

	<changeDirection>
		<direction type="absolute">$dir2</direction><term>1</term>
	</changeDirection>
	<wait>1</wait>
	<changeSpeed><speed>$MOVEBASE/($1+10)</speed><term>10</term>
	</changeSpeed>
	<wait>$1</wait>
	<changeSpeed><speed>0</speed><term>10</term>
	</changeSpeed>
	<wait>19</wait>
</action>


<!-- ********************************************************************* -->
<!-- *** Bossランダム移動アクション                                    *** -->
<!-- 左右ランダム 移動方向決定のみ-->
<a l="lr_move">
	<!--移動方向決定ルーチン-->
	<eval name="RANDOM">75+(($_player_cx*7+$_player_cy*13)%30)</eval>
	<repeat><times>$_self_cy-lt80</times>
		<eval name="RANDOM">$RANDOM+15</eval>
	</repeat>
	<!--本体>160なら上向き-->
	<repeat><times>$_self_cy-gt160</times>
		<eval name="RANDOM">$RANDOM-15</eval>
	</repeat>
	<repeat><times>$_self_cx-gt400</times>
		<eval name="RANDOM">360-$RANDOM</eval>
	</repeat>
	<repeat><times>(1-($_self_cx-gt400))*($_self_cx-gt240)*($_player_cx-lt$_self_cx)</times>
		<eval name="RANDOM">360-$RANDOM</eval>
	</repeat>
	<changeDirection>
		<direction type="absolute">$RANDOM</direction><term>1</term>
	</changeDirection>
	<w>1</w>
</a>

<!-- ********************************************************************* -->
<!-- *** Bossランダム移動アクション                                    *** -->
<!-- 左右ランダム 移動方向決定のみ-->
<a l="lr_move2">
	<!--移動方向決定ルーチン-->
	<eval name="RANDOM">75+(($_player_cx*7+$_player_cy*13+$_self_cx*3+$_self_cy*7)%30)</eval>
	<repeat><times>$_self_cy-lt80</times>
		<eval name="RANDOM">$RANDOM+15</eval>
	</repeat>
	<!--本体>160なら上向き-->
	<repeat><times>$_self_cy-gt160</times>
		<eval name="RANDOM">$RANDOM-15</eval>
	</repeat>
	<repeat><times>$_self_cx-gt400</times>
		<eval name="RANDOM">360-$RANDOM</eval>
	</repeat>
	<repeat><times>(1-($_self_cx-gt400))*($_self_cx-gt240)*($_player_cx%2)</times>
		<eval name="RANDOM">360-$RANDOM</eval>
	</repeat>
	<changeDirection>
		<direction type="absolute">$RANDOM</direction><term>1</term>
	</changeDirection>
	<w>1</w>
</a>

<!-- ********************************************************************* -->
<!-- *** Bossランダム移動アクション                                    *** -->
<!-- 左右ランダム 移動方向決定のみ 中央値パラメータ制御 -->
<a l="lr_move3">

	<!--移動方向決定ルーチン 通常右向き -->
	<eval name="RANDOM">75+(($_player_cx*7+$_player_cy*13+$_self_cx*3+$_self_cy*7)%30)</eval>

	<repeat><times>$_self_cy-lt80</times>
		<eval name="RANDOM">$RANDOM+15</eval>
	</repeat>
	<!--本体>160なら上向き-->
	<repeat><times>$_self_cy-gt160</times>
		<eval name="RANDOM">$RANDOM-15</eval>
	</repeat>
	<repeat><times>$_self_cx-gt$1</times>
		<eval name="RANDOM">360-$RANDOM</eval>
	</repeat>
	<changeDirection>
		<direction type="absolute">$RANDOM</direction><term>1</term>
	</changeDirection>
	<w>1</w>
</a>

<!-- ********************************************************************* -->
<!-- *** Boss打ち返し                                    *** -->

<action label="revenge_bullet_boss">

	<eval name="dir">4</eval>
	<fireRef label="enemy_fire_revenge_01_boss"><param>-5+$_self_cx%10</param><param>-5+$_player_cx%10</param><param>2-$_player_cx%4</param></fireRef>

	<repeat><times>15</times>
		<wait>1</wait>
		<fireRef label="enemy_fire_revenge_01_boss_s"><param>-5+$_self_cx%10</param><param>-5+$_player_cx%10</param><param>$dir</param></fireRef>
		<fireRef label="enemy_fire_revenge_01_boss_s"><param>-3+$_self_cx%6</param><param>-3+$_player_cx%6</param><param>$dir</param></fireRef>
		<fireRef label="enemy_fire_revenge_01_boss_s"><param>-8+$_self_cy%16</param><param>-8+$_player_cy%16</param><param>$dir</param></fireRef>
		<fireRef label="enemy_fire_revenge_01_boss_s"><param>-5+$_self_cx%10</param><param>-5+$_player_cx%10</param><param>$dir</param></fireRef>
		<fireRef label="enemy_fire_revenge_01_boss_s"><param>-3+$_self_cx%6</param><param>-3+$_player_cx%6</param><param>$dir</param></fireRef>
		<fireRef label="enemy_fire_revenge_01_boss_s"><param>-8+$_self_cy%16</param><param>-8+$_player_cy%16</param><param>$dir</param></fireRef>
	</repeat>
</action>

<fire label="enemy_fire_revenge_01_boss">
	<speed>0</speed>
	<cx>$1</cx><cy>$2</cy>
	<direction type="aim">$3</direction>
	<bulletRef label="enemy_bullet_revenge_01_boss"></bulletRef>
</fire>

<fire label="enemy_fire_revenge_01_boss_s">
	<speed>0</speed>
	<cx>$1</cx><cy>$2</cy>
	<direction type="sequence">$3</direction>
	<bulletRef label="enemy_bullet_revenge_01_boss"></bulletRef>
</fire>

<bullet label="enemy_bullet_revenge_01_boss">
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>4</radius></collision>	
	
	<img type="normal">
		<file type="dds">bullet32_4r</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>14</width><height>14</height>
		<alpha>240</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<action>
		<wait>34</wait>
		<changeSpeed>
			<speed type="absolute">2.6+(($_self_cx+$_player_cy)%10)/10</speed><term>75</term>
		</changeSpeed>

		<changeDirection>
			<direction type="relative">-3+(($_self_cx+$_player_cx)%6)</direction>
		</changeDirection>

	</action>
</bullet>

<!-- ********************************************************************* -->
<!-- *** boss explosion                                                *** -->
<action label="boss_revenge_present_1">
	<soundtrack><file type="ogg">bossbreak2</file></soundtrack>

	<actionRef l="explosion_create_action"></actionRef>
	<createRef label="boss_revenge_present_01"></createRef>
	<createRef label="boss_revenge_present_exp"></createRef>

</action>

<create label="boss_revenge_present_01">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<object>
		<child>1</child>
		<definedAction type="synctoparentx"></definedAction>
		<definedAction type="synctoparenty"></definedAction>

		<img type="add">
			<file type="dds">explode64x64</file>
			<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
			<width>32</width><height>32</height>
			<alpha>205</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<rotateImg>
			<direction>0.5</direction><term>-1</term>
		</rotateImg>
		<changeImgSize>
			<width>128</width><height>128</height><term>40</term>
		</changeImgSize>
		<wait>30</wait>

		<changeColor>
			<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>55</term>
		</changeColor>
		<wait>10</wait>
		<changeImgSize>
			<width>196</width><height>196</height><term>45</term>
		</changeImgSize>
		<wait>45</wait>
		<vanish/>
	</object>
</create>

<create label="boss_revenge_present_exp">
	<cx>$_self_cx</cx><cy>$_self_cy</cy><speed>0</speed><direction type="absolute">0</direction>
	<object>
		<img type="add">
			<file type="dds">explode2_32x32</file>
			<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
			<width>96</width><height>96</height>
			<alpha>220</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>12</num></setDrawLevel>

		<changeImgSize>
			<width>256</width><height>256</height><term>84</term>
		</changeImgSize>

		<wait>40</wait>
		<changeColor>
			<alpha>10</alpha><red>255</red><green>255</green><blue>255</blue><term>55</term>
		</changeColor>
		<wait>55</wait>
		<vanish></vanish>

	</object>
</create>


<action label="boss_revenge_present_2">
	<actionRef l="explosion_create_action"></actionRef>
	<createRef label="boss_revenge_present_02"></createRef>
	<wait>5</wait>
	<soundtrack><file type="ogg">bossbreak1</file></soundtrack>
	<createRef label="boss_revenge_present_01"></createRef>
	<createRef label="boss_revenge_present_exp"></createRef>
</action>


<create label="boss_revenge_present_02">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$_self_cx-1</cx><cy>$_self_cy-1</cy>
	<object>
		<child>1</child>
		<definedAction type="synctoparentx"></definedAction>
		<definedAction type="synctoparenty"></definedAction>

		<img type="add">
			<file type="dds">explode64x64</file>
			<left>0</left><top>64</top><right>64</right><bottom>128</bottom>
			<width>404</width><height>404</height>
			<alpha>144</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<changeImgSize>
			<width>12</width><height>12</height><term>25</term>
		</changeImgSize>
		<wait>5</wait>
		<changeColor>
			<alpha>204</alpha><red>255</red><green>255</green><blue>255</blue><term>35</term>
		</changeColor>
		<wait>35</wait>
		<vanish/>
	</object>
</create>


<action label="boss_revenge_present_3">
	<actionRef l="explosion_create_action"></actionRef>
	<createRef label="boss_revenge_present_03"></createRef>
	<wait>30</wait>
</action>

<create label="boss_revenge_present_03">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$_self_cx+1</cx><cy>$_self_cy+1</cy>
	<object>
		<child>1</child>
		<definedAction type="synctoparentx"></definedAction>
		<definedAction type="synctoparenty"></definedAction>

		<img type="add">
			<file type="dds">explode64x64</file>
			<left>0</left><top>64</top><right>64</right><bottom>128</bottom>
			<width>12</width><height>12</height>
			<alpha>144</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
<!--		<soundtrack><file type="ogg">enemy_tension_1</file></soundtrack> -->
		<sound type="bgm" label="se_bgm1">
			<track><file type="ogg">enemy_tension_1</file></track>
			<play><flag>0</flag><loop>0</loop></play>
		</sound>

		<changeImgSize>
			<width>404</width><height>404</height><term>35</term>
		</changeImgSize>
		<wait>5</wait>
		<changeColor>
			<alpha>24</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>
		<wait>30</wait>
		<changeImgSize>
			<width>504</width><height>504</height><term>30</term>
		</changeImgSize>
		<wait>50</wait>

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

		<vanish/>
	</object>
</create>


<action label="boss_revenge_present_4">
	<actionRef l="explosion_create_action"></actionRef>
	<createRef label="boss_revenge_present_04"></createRef>
	<createRef label="boss_revenge_present_02"></createRef>
	<wait>5</wait>
	<soundtrack><file type="ogg">bossbreak1</file></soundtrack>
	<createRef label="boss_revenge_present_01"></createRef>
	<createRef label="boss_revenge_present_exp"></createRef>
</action>


<create label="boss_revenge_present_04">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$_self_cx-1</cx><cy>$_self_cy-1</cy>
	<object>
		<child>1</child>
		<definedAction type="synctoparentx"></definedAction>
		<definedAction type="synctoparenty"></definedAction>

		<img type="add">
			<file type="dds">boss_bom</file>
			<left>0</left><top>0</top><right>128</right><bottom>128</bottom>
			<width>16</width><height>16</height>
			<alpha>200</alpha><red>155</red><green>155</green><blue>255</blue>
		</img>
		<rotateImg><direction>4</direction><term>-1</term></rotateImg>
		<changeImgSize>
			<width>200</width><height>200</height><term>30</term>
		</changeImgSize>
		<wait>5</wait>
		<changeColor>
			<alpha>34</alpha><red>155</red><green>155</green><blue>255</blue><term>35</term>
		</changeColor>
		<wait>35</wait>
		<vanish/>
	</object>
</create>


<!-- ********************************************************************* -->
<!-- *** Enemy Magic Break用                                         *** -->

<action label="emb_letter">

	<soundtrack><file type="ogg">etcbreak</file></soundtrack>

	<createRef label="str_create_emb"><param>320-55-22*5</param><param>90</param><param>77</param></createRef>
	<createRef label="str_create_emb"><param>320-55-22*4</param><param>90</param><param>65</param></createRef>
	<createRef label="str_create_emb"><param>320-55-22*3</param><param>90</param><param>71</param></createRef>
	<createRef label="str_create_emb"><param>320-55-22*2</param><param>90</param><param>73</param></createRef>
	<createRef label="str_create_emb"><param>320-55-22*1</param><param>90</param><param>67</param></createRef>
	<wait>1</wait>
	<createRef label="str_create_emb"><param>320-22*2</param><param>90</param><param>66</param></createRef>
	<createRef label="str_create_emb"><param>320-22*1</param><param>90</param><param>82</param></createRef>
	<createRef label="str_create_emb"><param>320</param><param>90</param><param>69</param></createRef>
	<createRef label="str_create_emb"><param>320+22*1</param><param>90</param><param>65</param></createRef>
	<createRef label="str_create_emb"><param>320+22*2</param><param>90</param><param>75</param></createRef>

	<wait>1</wait>
	<createRef label="str_create_emb"><param>320+55+22*1</param><param>90</param><param>66</param></createRef>
	<createRef label="str_create_emb"><param>320+55+22*2</param><param>90</param><param>79</param></createRef>
	<createRef label="str_create_emb"><param>320+55+22*3</param><param>90</param><param>78</param></createRef>
	<createRef label="str_create_emb"><param>320+55+22*4</param><param>90</param><param>85</param></createRef>
	<createRef label="str_create_emb"><param>320+55+22*5</param><param>90</param><param>83</param></createRef>

	<wait>1</wait>
	<createRef label="str_create_emb_b"><param>320-12-48*2</param><param>152</param><param>45</param></createRef>
	<createRef label="str_create_emb_b"><param>320-12-48</param><param>152</param><param>48+$1</param></createRef>
	<createRef label="str_create_emb_b"><param>320-32</param><param>152</param><param>46</param></createRef>
	<createRef label="str_create_emb_b"><param>320+12</param><param>152</param><param>48+$2</param></createRef>
	<createRef label="str_create_emb_b"><param>320+12+48</param><param>152</param><param>48</param></createRef>
	<createRef label="str_create_emb_b"><param>320+12+48*2</param><param>152</param><param>37</param></createRef>

</action>

<action label="emb_letter2">

	<soundtrack><file type="ogg">etcbreak</file></soundtrack>

	<createRef label="str_create_emb"><param>320-55-22*5</param><param>90</param><param>77</param></createRef>
	<createRef label="str_create_emb"><param>320-55-22*4</param><param>90</param><param>65</param></createRef>
	<createRef label="str_create_emb"><param>320-55-22*3</param><param>90</param><param>71</param></createRef>
	<createRef label="str_create_emb"><param>320-55-22*2</param><param>90</param><param>73</param></createRef>
	<createRef label="str_create_emb"><param>320-55-22*1</param><param>90</param><param>67</param></createRef>
	<wait>1</wait>
	<createRef label="str_create_emb"><param>320-22*2</param><param>90</param><param>66</param></createRef>
	<createRef label="str_create_emb"><param>320-22*1</param><param>90</param><param>82</param></createRef>
	<createRef label="str_create_emb"><param>320</param><param>90</param><param>69</param></createRef>
	<createRef label="str_create_emb"><param>320+22*1</param><param>90</param><param>65</param></createRef>
	<createRef label="str_create_emb"><param>320+22*2</param><param>90</param><param>75</param></createRef>

	<wait>1</wait>
	<createRef label="str_create_emb"><param>320+55+22*1</param><param>90</param><param>66</param></createRef>
	<createRef label="str_create_emb"><param>320+55+22*2</param><param>90</param><param>79</param></createRef>
	<createRef label="str_create_emb"><param>320+55+22*3</param><param>90</param><param>78</param></createRef>
	<createRef label="str_create_emb"><param>320+55+22*4</param><param>90</param><param>85</param></createRef>
	<createRef label="str_create_emb"><param>320+55+22*5</param><param>90</param><param>83</param></createRef>

	<wait>1</wait>
	<createRef label="str_create_emb_b"><param>320+12-48*3</param><param>152</param><param>45</param></createRef>
	<createRef label="str_create_emb_b"><param>320+12-48*2</param><param>152</param><param>48+$1</param></createRef>
	<createRef label="str_create_emb_b"><param>320+12-48</param><param>152</param><param>48+$2</param></createRef>
	<createRef label="str_create_emb_b"><param>320-8</param><param>152</param><param>46</param></createRef>
	<createRef label="str_create_emb_b"><param>320+36</param><param>152</param><param>48+$3</param></createRef>
	<createRef label="str_create_emb_b"><param>320+36+48</param><param>152</param><param>48</param></createRef>
	<createRef label="str_create_emb_b"><param>320+36+48*2</param><param>152</param><param>37</param></createRef>

</action>


<action label="emb_letter3">

	<soundtrack><file type="ogg">etcbreak</file></soundtrack>

	<createRef label="str_create_emb"><param>320-12-24*6</param><param>90</param><param>84</param></createRef>
	<createRef label="str_create_emb"><param>320-12-24*5</param><param>90</param><param>87</param></createRef>
	<createRef label="str_create_emb"><param>320-12-24*4</param><param>90</param><param>73</param></createRef>
	<createRef label="str_create_emb"><param>320-12-24*3</param><param>90</param><param>76</param></createRef>
	<createRef label="str_create_emb"><param>320-12-24*2</param><param>90</param><param>73</param></createRef>
	<createRef label="str_create_emb"><param>320-12-24*1</param><param>90</param><param>71</param></createRef>
	<createRef label="str_create_emb"><param>320-12</param><param>90</param><param>72</param></createRef>
	<createRef label="str_create_emb"><param>320+12</param><param>90</param><param>84</param></createRef>
	<wait>1</wait>
	<createRef label="str_create_emb"><param>320+12+24*2</param><param>90</param><param>66</param></createRef>
	<createRef label="str_create_emb"><param>320+12+24*3</param><param>90</param><param>82</param></createRef>
	<createRef label="str_create_emb"><param>320+12+24*4</param><param>90</param><param>69</param></createRef>
	<createRef label="str_create_emb"><param>320+12+24*5</param><param>90</param><param>65</param></createRef>
	<createRef label="str_create_emb"><param>320+12+24*6</param><param>90</param><param>75</param></createRef>

	<wait>1</wait>
	<createRef label="str_create_emb_b"><param>320+12-48*3</param><param>152</param><param>45</param></createRef>
	<createRef label="str_create_emb_b"><param>320+12-48*2</param><param>152</param><param>48+9</param></createRef>
	<createRef label="str_create_emb_b"><param>320+12-48</param><param>152</param><param>48+9</param></createRef>
	<createRef label="str_create_emb_b"><param>320-8</param><param>152</param><param>46</param></createRef>
	<createRef label="str_create_emb_b"><param>320+36</param><param>152</param><param>48+9</param></createRef>
	<createRef label="str_create_emb_b"><param>320+36+48</param><param>152</param><param>48+9</param></createRef>
	<createRef label="str_create_emb_b"><param>320+36+48*2</param><param>152</param><param>37</param></createRef>

</action>

<action label="emb_letter_shizuma">

	<soundtrack><file type="ogg">etcbreak</file></soundtrack>

	<createRef label="str_create_emb"><param>320-22*7</param><param>90</param><param>77</param></createRef>
	<createRef label="str_create_emb"><param>320-22*6</param><param>90</param><param>89</param></createRef>
	<createRef label="str_create_emb"><param>320-22*5</param><param>90</param><param>83</param></createRef>
	<createRef label="str_create_emb"><param>320-22*4</param><param>90</param><param>84</param></createRef>
	<createRef label="str_create_emb"><param>320-22*3</param><param>90</param><param>73</param></createRef>
	<createRef label="str_create_emb"><param>320-22*2</param><param>90</param><param>81</param></createRef>
	<createRef label="str_create_emb"><param>320-22*1</param><param>90</param><param>85</param></createRef>
	<createRef label="str_create_emb"><param>320</param><param>90</param><param>69</param></createRef>
	<wait>1</wait>
	<createRef label="str_create_emb"><param>320+35+22*1</param><param>90</param><param>66</param></createRef>
	<createRef label="str_create_emb"><param>320+35+22*2</param><param>90</param><param>82</param></createRef>
	<createRef label="str_create_emb"><param>320+35+22*3</param><param>90</param><param>69</param></createRef>
	<createRef label="str_create_emb"><param>320+35+22*4</param><param>90</param><param>65</param></createRef>
	<createRef label="str_create_emb"><param>320+35+22*5</param><param>90</param><param>75</param></createRef>

	<wait>1</wait>
	<createRef label="str_create_emb_b"><param>320-12-48*2</param><param>152</param><param>45</param></createRef>
	<createRef label="str_create_emb_b"><param>320-12-48</param><param>152</param><param>48+$1</param></createRef>
	<createRef label="str_create_emb_b"><param>320-32</param><param>152</param><param>46</param></createRef>
	<createRef label="str_create_emb_b"><param>320+12</param><param>152</param><param>48+$2</param></createRef>
	<createRef label="str_create_emb_b"><param>320+12+48</param><param>152</param><param>48</param></createRef>
	<createRef label="str_create_emb_b"><param>320+12+48*2</param><param>152</param><param>37</param></createRef>

</action>


<create label="str_create_emb">
	<direction type="absolute">0</direction>
	<speed type="absolute">0.3</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<child>1</child>
		<imgRef label="str_img_big_red"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>25</num></setDrawLevel>
		<action>
			<wait>120</wait>
			<changeColor>
				<alpha>64</alpha><red>255</red><green>255</green><blue>255</blue><term>100</term>
			</changeColor>
			<wait>120</wait>
			<vanish/>
		</action>
	</object>	
</create>

<create label="str_create_emb_b">
	<direction type="absolute">0</direction>
	<speed type="absolute">0.3</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<child>1</child>
		<imgRef label="str_img_big_blue32"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>25</num></setDrawLevel>
		<action>
			<wait>120</wait>
			<changeColor>
				<alpha>64</alpha><red>255</red><green>255</green><blue>255</blue><term>100</term>
			</changeColor>
			<wait>120</wait>
			<vanish/>
		</action>
	</object>	
</create>

<!-- ** BOSS NAME BOX******************************************************************* -->

<create label="stage_boss_name">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>70</cx><cy>260</cy>
	<object label="namebox">
		<img type="normal">
			<file type="dds">rectwhite</file>
			<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
			<width>10</width><height>10</height>
			<alpha>200</alpha><red>60</red><green>20</green><blue>10</blue>
		</img>
		<revengeRef label="namebox_revenge"/>
		<setDrawLevel><num>28</num></setDrawLevel>

		<action>
			<changeImgSize>
				<width>128</width><height>80</height><term>30</term>
			</changeImgSize>
			<wait>30</wait>
			<createRef label="stage_middleboss_name_horizontal_edge_create"><param>260-40</param></createRef>
			<createRef label="stage_middleboss_name_horizontal_edge_create"><param>260+40</param></createRef>

			<createRef label="stage_middleboss_name_vertical_edge_create"><param>70+64</param></createRef>
			<createRef label="stage_middleboss_name_vertical_edge_create"><param>70-64</param></createRef>

			<!-- 0:中ボス 1:ボス -->
			<actionRef label="boss_name"><p>$1</p></actionRef>
		</action>

	</object>
</create>

<revenge label="namebox_revenge">
	<wait>45</wait>
	<changeImgSize>
		<width>10</width><height>10</height><term>45</term>
	</changeImgSize>
	<wait>45</wait>
	<vanish/>
</revenge>

<create label="stage_middleboss_name_horizontal_edge_create">
	<cx>70</cx><cy>$1</cy><child>1</child>
	<speed>0</speed><direction>0</direction>
	<object label="namebox">
		<img type="add">
			<file type="dds">rectwhite</file>
			<left>0</left><top>0</top><right>32</right><bottom>1</bottom>
			<width>128</width><height>1</height>
			<alpha>255</alpha><red>255</red><green>200</green><blue>128</blue>
		</img>
		<setDrawLevel><num>29</num></setDrawLevel>
		<revengeRef label="namebox_revenge2"/>
	</object>
</create>

<create label="stage_middleboss_name_vertical_edge_create">
	<cx>$1</cx><cy>260</cy><child>1</child>
	<speed>0</speed><direction>0</direction>
	<object label="namebox">
		<img type="add">
			<file type="dds">rectwhite</file>
			<left>0</left><top>0</top><right>1</right><bottom>32</bottom>
			<width>1</width><height>80</height>
			<alpha>255</alpha><red>255</red><green>200</green><blue>128</blue>
		</img>
		<setDrawLevel><num>29</num></setDrawLevel>
		<revengeRef label="namebox_revenge2"/>
	</object>
</create>

<revenge label="namebox_revenge2">
	<wait>45</wait>
	<vanish/>
</revenge>

</exbulletml>
