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

<!-- *** 道中用　EnemyPresent ****************************************** -->
<present label="enemy_present_01">
	<img type="normal">
		<file type="dds">enemy01</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<wait>8</wait>
	<repeat><times>-1</times>
		<setImgUV>
			<left>32</left><top>0</top><right>64</right><bottom>32</bottom>	
		</setImgUV>
		<wait>8</wait>
		<setImgUV>
			<left>0</left><top>0</top><right>32</right><bottom>32</bottom>	
		</setImgUV>
		<wait>8</wait>
		<setImgUV>
			<left>32</left><top>0</top><right>64</right><bottom>32</bottom>	
		</setImgUV>
		<wait>8</wait>
		
		<setImgUV>
			<left>0</left><top>32</top><right>32</right><bottom>64</bottom>	
		</setImgUV>
		<wait>8</wait>
		<setImgUV>
			<left>0</left><top>0</top><right>32</right><bottom>32</bottom>	
		</setImgUV>
		<wait>8</wait>
		<setImgUV>
			<left>0</left><top>32</top><right>32</right><bottom>64</bottom>	
		</setImgUV>
		<wait>8</wait>
	</repeat>

</present>

<present label="enemy_present_05">
	<img type="normal">
		<file type="dds">rect_enemy32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>24</width><height>24</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>
</present>

<present label="enemy_present_06">
	<img type="normal">
		<file type="dds">rect_enemy32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>
</present>

<present label="enemy_present_07">
	<img type="normal">
		<file type="dds">rect_enemy</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>

</present>

<present label="enemy_present_08">
	<img type="normal">
		<file type="dds">rect_enemy32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>
</present>


<present label="enemy_present_m_01">
<!--
	<img type="maskadd">
		<file type="dds">enemy01</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>84</red><green>1</green><blue>6</blue>
	</img>
-->
	<img type="normal">
		<file type="dds">middle_enemy32</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>36</width><height>36</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg><direction>5</direction><term>-1</term></rotateImg>

	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>
</present>

<present label="enemy_present_10">
	<img type="maskadd">
		<file type="dds">circle_enemy64</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>64</width><height>64</height>
		<alpha>255</alpha><red>74</red><green>2</green><blue>1</blue>
	</img>

	<rotateImg><direction>5</direction><term>-1</term></rotateImg>
	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>

</present>

<present label="enemy_present_11">
	<img type="normal">
		<file type="dds">circle_enemy64</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>64</width><height>64</height>
		<alpha>255</alpha><red>180</red><green>190</green><blue>255</blue>
	</img>

	<rotateImg><direction>5</direction><term>-1</term></rotateImg>
	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>

</present>

<present label="enemy_present_90">
	<img type="normal">
		<file type="dds">rect_enemy</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>$1</width><height>$2</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<rotateImg><direction>6</direction><term>-1</term></rotateImg>
	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>

</present>

<present label="enemy_present_91">
	<img type="normal">
		<file type="dds">rect_enemy64</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>$1</width><height>$2</height>
		<alpha>20</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<changeColor>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>100</term>
	</changeColor>
	<wait>23</wait>

	<rotateImg><direction>3</direction><term>-1</term></rotateImg>
	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>

</present>

<present label="enemy_present_91_child">
	<img type="normal">
		<file type="dds">circle_enemy64b</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>32</width><height>32</height>
		<alpha>20</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<changeColor>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
	</changeColor>
	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>
</present>


<present label="enemy_present_99">
	<img type="normal">
		<file type="dds">circle_enemy</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>24</width><height>24</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

</present>

<present label="enemy_present_99_blue">
	<img type="maskadd">
		<file type="dds">circle_enemy</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>24</width><height>24</height>
		<alpha>255</alpha><red>0</red><green>1</green><blue>128</blue>
	</img>

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

</present>

<present label="enemy_present_99_red">
	<img type="normal">
		<file type="dds">circle_enemy</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>16</width><height>16</height>
		<alpha>255</alpha><red>255</red><green>55</green><blue>52</blue>
	</img>

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

</present>

<present label="enemy_present_99_white">
	<img type="normal">
		<file type="dds">circle_enemy</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>16</width><height>16</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

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

</present>

<present label="enemy_present_ex_01">
	<img type="normal">
		<file type="dds">enemy02</file>
		<left>0+$1*32</left><top>0+$2*32</top><right>32+$1*32</right><bottom>32+$2*32</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<imgDirection type="sync">0</imgDirection>
	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<repeat><times>-1</times>
		<actionRef label="judge_vital"><param>$limit_vital</param></actionRef>
		<wait>5</wait>
	</repeat>

</present>

<present label="enemy_present_as">
	<img type="normal">
		<file type="dds">attack_system</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>24</width><height>24</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg><direction>6</direction><term>-1</term></rotateImg>
	<wait>1</wait>
</present>

<present label="enemy_present_as2">
	<img type="normal">
		<file type="dds">attack_system</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>32</width><height>32</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg><direction>6</direction><term>-1</term></rotateImg>
	<wait>1</wait>
</present>

<action label="create_option">
	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
		<child>1</child>
		<object label="cr_option">
			<img type="add">
				<file type="dds">option</file>
				<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
				<width>80</width><height>80</height>
				<alpha>250</alpha><red>255</red><green>2</green><blue>1</blue>
			</img>
			<setDrawLevel><num>22</num></setDrawLevel>
			<wait>1</wait>
			
			<action>
				<definedAction type="synctoparentx"></definedAction>
				<definedAction type="synctoparenty"></definedAction>
			
				<repeat><times>-1</times>
					<changeColor>
						<alpha>220</alpha><red>255</red><green>100</green><blue>1</blue><term>30</term>						
					</changeColor>
					<changeImgSize>
						<width>64</width><height>64</height><term>30</term>
					</changeImgSize>
					<wait>30</wait>
						
					<changeColor>
						<alpha>250</alpha><red>255</red><green>2</green><blue>1</blue><term>30</term>						
					</changeColor>
					<changeImgSize>
						<width>80</width><height>80</height><term>30</term>
					</changeImgSize>
					<wait>30</wait>
				</repeat>
			</action>
		</object>
	</create>


</action>


<!-- ************************************************************ -->
<!-- *  boss  present                                           * -->
<!-- ************************************************************ -->

<present label="stage1_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_1_anime</file>
		<left>0</left><top>64*4</top><right>64</right><bottom>64*5</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/4)%4)-eq0</times><setImgUV><left>64*0</left><top>64*4</top><right>64*1</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq1</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq2</times><setImgUV><left>64*2</left><top>64*4</top><right>64*3</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq3</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<repeat><times>(($anime_count/4)%4)-eq0</times><setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq1</times><setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq2</times><setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq3</times><setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<repeat><times>(($anime_count/4)%4)-eq0</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq1</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq2</times><setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV></repeat>			
				<repeat><times>(($anime_count/4)%4)-eq3</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<repeat><times>(($anime_count/4)%4)-eq0</times><setImgUV><left>64*6</left><top>64*4</top><right>64*7</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq1</times><setImgUV><left>64*7</left><top>64*4</top><right>64*8</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq2</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>			
				<repeat><times>(($anime_count/4)%4)-eq3</times><setImgUV><left>64*7</left><top>64*4</top><right>64*8</right><bottom>64*5</bottom></setImgUV></repeat>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<repeat><times>(($anime_count/4)%4)-eq0</times><setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq1</times><setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq2</times><setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV></repeat>			
				<repeat><times>(($anime_count/4)%4)-eq3</times><setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV></repeat>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<repeat><times>(($anime_count/4)%4)-eq0</times><setImgUV><left>64*4</left><top>64*5</top><right>64*5</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq1</times><setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq2</times><setImgUV><left>64*6</left><top>64*5</top><right>64*7</right><bottom>64*6</bottom></setImgUV></repeat>			
				<repeat><times>(($anime_count/4)%4)-eq3</times><setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV></repeat>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<repeat><times>(($anime_count/4)%4)-eq0</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq1</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq2</times><setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%4)-eq3</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>							
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>

</present>


<present label="stage2A_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_2_anime</file>
		<left>0</left><top>64*5</top><right>64</right><bottom>64*6</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/6)%6)-eq0</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq1</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq2</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq3</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq4</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq5</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*5</top><right>64*5</right><bottom>64*6</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*5</top><right>64*7</right><bottom>64*6</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>

</present>

<present label="stage2B_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_2_anime</file>
		<left>0</left><top>64*4</top><right>64</right><bottom>64*5</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/6)%6)-eq0</times><setImgUV><left>64*0</left><top>64*4</top><right>64*1</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq1</times><setImgUV><left>64*0</left><top>64*4</top><right>64*1</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq2</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq3</times><setImgUV><left>64*2</left><top>64*4</top><right>64*3</right><bottom>64*5</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq4</times><setImgUV><left>64*2</left><top>64*4</top><right>64*3</right><bottom>64*5</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq5</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*4</top><right>64*7</right><bottom>64*5</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>

</present>

<present label="stage3_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_3_anime</file>
		<left>0</left><top>64*4</top><right>64</right><bottom>64*5</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/4)%6)-eq0</times><setImgUV><left>64*0</left><top>64*4</top><right>64*1</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%6)-eq1</times><setImgUV><left>64*0</left><top>64*4</top><right>64*1</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%6)-eq2</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%6)-eq3</times><setImgUV><left>64*2</left><top>64*4</top><right>64*3</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%6)-eq4</times><setImgUV><left>64*2</left><top>64*4</top><right>64*3</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/4)%6)-eq5</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<repeat><times>$change_count-gt-4</times>
					<repeat><times>(($anime_count/4)%6)-eq0</times><setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq1</times><setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq2</times><setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq3</times><setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq4</times><setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq5</times><setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV></repeat>							
				</repeat>
				<repeat><times>1-($change_count-gt-4)</times>
					<repeat><times>(($anime_count/4)%6)-eq0</times><setImgUV><left>64*6</left><top>64*4</top><right>64*7</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq1</times><setImgUV><left>64*6</left><top>64*4</top><right>64*7</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq2</times><setImgUV><left>64*7</left><top>64*4</top><right>64*8</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq3</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq4</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq5</times><setImgUV><left>64*7</left><top>64*4</top><right>64*8</right><bottom>64*5</bottom></setImgUV></repeat>							
				</repeat>
			</repeat>


			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<repeat><times>$change_count-gt4</times>
					<repeat><times>(($anime_count/4)%6)-eq0</times><setImgUV><left>64*4</left><top>64*5</top><right>64*5</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq1</times><setImgUV><left>64*4</left><top>64*5</top><right>64*5</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq2</times><setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq3</times><setImgUV><left>64*6</left><top>64*5</top><right>64*7</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq4</times><setImgUV><left>64*6</left><top>64*5</top><right>64*7</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq5</times><setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV></repeat>							
				</repeat>
				<repeat><times>1-($change_count-gt4)</times>
					<repeat><times>(($anime_count/4)%6)-eq0</times><setImgUV><left>64*7</left><top>64*5</top><right>64*8</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq1</times><setImgUV><left>64*7</left><top>64*5</top><right>64*8</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq2</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq3</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq4</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq5</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>							
				</repeat>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
					<repeat><times>(($anime_count/4)%6)-eq0</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq1</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq2</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq3</times><setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq4</times><setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq5</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>							
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
					<repeat><times>(($anime_count/4)%6)-eq0</times><setImgUV><left>64*6</left><top>64*4</top><right>64*7</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq1</times><setImgUV><left>64*6</left><top>64*4</top><right>64*7</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq2</times><setImgUV><left>64*7</left><top>64*4</top><right>64*8</right><bottom>64*5</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq3</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq4</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq5</times><setImgUV><left>64*7</left><top>64*4</top><right>64*8</right><bottom>64*5</bottom></setImgUV></repeat>							
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
					<repeat><times>(($anime_count/4)%6)-eq0</times><setImgUV><left>64*2</left><top>64*6</top><right>64*3</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq1</times><setImgUV><left>64*2</left><top>64*6</top><right>64*3</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq2</times><setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq3</times><setImgUV><left>64*4</left><top>64*6</top><right>64*5</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq4</times><setImgUV><left>64*4</left><top>64*6</top><right>64*5</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq5</times><setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt8</times>
					<repeat><times>(($anime_count/4)%6)-eq0</times><setImgUV><left>64*7</left><top>64*5</top><right>64*8</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq1</times><setImgUV><left>64*7</left><top>64*5</top><right>64*8</right><bottom>64*6</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq2</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq3</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq4</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>
					<repeat><times>(($anime_count/4)%6)-eq5</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>							
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>

</present>

<present label="stage4A_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_4_anime</file>
		<left>0</left><top>64*4</top><right>64</right><bottom>64*5</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/6)%6)-eq0</times><setImgUV><left>64*0</left><top>64*4</top><right>64*1</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq1</times><setImgUV><left>64*0</left><top>64*4</top><right>64*1</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq2</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq3</times><setImgUV><left>64*2</left><top>64*4</top><right>64*3</right><bottom>64*5</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq4</times><setImgUV><left>64*2</left><top>64*4</top><right>64*3</right><bottom>64*5</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq5</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*4</top><right>64*7</right><bottom>64*5</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>

<present label="stage4B_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_4_anime</file>
		<left>0</left><top>64*5</top><right>64</right><bottom>64*6</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/6)%6)-eq0</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq1</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq2</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq3</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq4</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq5</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*5</top><right>64*5</right><bottom>64*6</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*5</top><right>64*7</right><bottom>64*6</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>

<present label="stage4B_boss_present_2">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_4_anime</file>
		<left>0</left><top>64*5</top><right>64</right><bottom>64*6</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>175</red><green>175</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/6)%6)-eq0</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq1</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq2</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq3</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq4</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq5</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*5</top><right>64*5</right><bottom>64*6</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*5</top><right>64*7</right><bottom>64*6</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>

<present label="stage4C_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_4_anime</file>
		<left>0</left><top>64*6</top><right>64</right><bottom>64*7</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/6)%6)-eq0</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq1</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq2</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq3</times><setImgUV><left>64*2</left><top>64*6</top><right>64*3</right><bottom>64*7</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq4</times><setImgUV><left>64*2</left><top>64*6</top><right>64*3</right><bottom>64*7</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq5</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*6</top><right>64*6</right><bottom>64*7</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*6</top><right>64*5</right><bottom>64*7</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*6</top><right>64*7</right><bottom>64*7</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*6</top><right>64*6</right><bottom>64*7</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>

<present label="stage4C_boss_present_2">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_4_anime</file>
		<left>0</left><top>64*6</top><right>64</right><bottom>64*7</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>175</red><green>175</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/6)%6)-eq0</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq1</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq2</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%6)-eq3</times><setImgUV><left>64*2</left><top>64*6</top><right>64*3</right><bottom>64*7</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq4</times><setImgUV><left>64*2</left><top>64*6</top><right>64*3</right><bottom>64*7</bottom></setImgUV></repeat>							
				<repeat><times>(($anime_count/6)%6)-eq5</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*6</top><right>64*6</right><bottom>64*7</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*6</top><right>64*5</right><bottom>64*7</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*6</top><right>64*7</right><bottom>64*7</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*6</top><right>64*6</right><bottom>64*7</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>

<present label="stage5A_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_5_anime</file>
		<left>0</left><top>64*4</top><right>64</right><bottom>64*5</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	
	<actionRef label="option_stage5boss_create_action"></actionRef>
	<wait>1</wait>
	
	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*0</left><top>64*4</top><right>64*1</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*2</left><top>64*4</top><right>64*3</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*4</top><right>64*7</right><bottom>64*5</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>

<present label="stage5B_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_5_anime</file>
		<left>0</left><top>64*5</top><right>64</right><bottom>64*6</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	
	<actionRef label="option_stage5boss_create_action"></actionRef>
	<wait>1</wait>

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*5</top><right>64*5</right><bottom>64*6</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*5</top><right>64*7</right><bottom>64*6</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>


<present label="stage5C_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_5_anime</file>
		<left>0</left><top>64*6</top><right>64</right><bottom>64*7</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	
	<actionRef label="option_stage5boss_create_action"></actionRef>

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*2</left><top>64*6</top><right>64*3</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*6</top><right>64*6</right><bottom>64*7</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*6</top><right>64*5</right><bottom>64*7</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*6</top><right>64*7</right><bottom>64*7</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*6</top><right>64*6</right><bottom>64*7</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>

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

<object label="option_stage5boss_object">
	<imgRef label="optionstage5_img"></imgRef>
	<setDrawLevel><num>5</num></setDrawLevel>
	<actionRef label="option_stage5boss_action"></actionRef>
</object>

<action label="option_stage5boss_action">
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>
	
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<repeat><times>-1</times>
		<repeat><times>$_parent_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_parent_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
				<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_parent_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*0</left><top>64*7</top><right>64*1</right><bottom>64*8</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*1</left><top>64*7</top><right>64*2</right><bottom>64*8</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*2</left><top>64*7</top><right>64*3</right><bottom>64*8</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*1</left><top>64*7</top><right>64*2</right><bottom>64*8</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*7</top><right>64*4</right><bottom>64*8</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*7</top><right>64*6</right><bottom>64*8</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_parent_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*7</top><right>64*5</right><bottom>64*8</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*7</top><right>64*4</right><bottom>64*8</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_parent_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*7</top><right>64*7</right><bottom>64*8</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*7</top><right>64*6</right><bottom>64*8</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>	
</action>

<img type="add" label="optionstage5_img">
	<file type="dds">boss_5_anime</file>
	<left>0</left><top>64*7</top><right>64</right><bottom>64*8</bottom>
	<width>40</width><height>40</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>


<present label="stage6A_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>0</left><top>64*4</top><right>64</right><bottom>64*5</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/6)%4)-eq0</times><setImgUV><left>64*0</left><top>64*4</top><right>64*1</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%4)-eq1</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%4)-eq2</times><setImgUV><left>64*2</left><top>64*4</top><right>64*3</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%4)-eq3</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*4</top><right>64*7</right><bottom>64*5</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>

<present label="stage6B_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>0</left><top>64*6</top><right>64</right><bottom>64*7</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/6)%4)-eq0</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%4)-eq1</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%4)-eq2</times><setImgUV><left>64*2</left><top>64*6</top><right>64*3</right><bottom>64*7</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%4)-eq3</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*6</top><right>64*6</right><bottom>64*7</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*6</top><right>64*5</right><bottom>64*7</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*6</top><right>64*7</right><bottom>64*7</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*6</top><right>64*6</right><bottom>64*7</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>
</present>


<present label="stage6C_boss_present_misa">
	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>64*4</left><top>64*3</top><right>64*5</right><bottom>64*4</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_stage6C_misa_create_action"></actionRef>
	
<!--	<actionRef label="option_middleboss_create_action"><param>255</param><param>200</param><param>255</param></actionRef>	-->
</present>

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

<object label="option_stage6C_misa_object">
	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>64*5</left><top>64*3</top><right>64*6</right><bottom>64*4</bottom>
		<width>40</width><height>40</height>
		<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>5</num></setDrawLevel>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

	<repeat><times>-1</times>
		<changeColor>
			<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>	
		<wait>60</wait>
		<changeColor>
			<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
		</changeColor>	
		<wait>60</wait>		
	</repeat>

</object>




<present label="stage6C_boss_present_maiha">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>0</left><top>64*4</top><right>64</right><bottom>64*5</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/6)%4)-eq0</times><setImgUV><left>64*0</left><top>64*4</top><right>64*1</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%4)-eq1</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%4)-eq2</times><setImgUV><left>64*2</left><top>64*4</top><right>64*3</right><bottom>64*5</bottom></setImgUV></repeat>
				<repeat><times>(($anime_count/6)%4)-eq3</times><setImgUV><left>64*1</left><top>64*4</top><right>64*2</right><bottom>64*5</bottom></setImgUV></repeat>							
			</repeat>
			<repeat><times>$change_count-lt0</times>
				<evaladd name="change_count">1</evaladd>
				<setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-gt0</times>
				<evaladd name="change_count">-1</evaladd>
				<setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<setImgUV><left>64*4</left><top>64*4</top><right>64*5</right><bottom>64*5</bottom></setImgUV>
			</repeat>			
			<repeat><times>$change_count-gt-8</times>
				<setImgUV><left>64*3</left><top>64*4</top><right>64*4</right><bottom>64*5</bottom></setImgUV>
			</repeat>			
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<setImgUV><left>64*6</left><top>64*4</top><right>64*7</right><bottom>64*5</bottom></setImgUV>
			</repeat>
			<repeat><times>$change_count-lt8</times>
				<setImgUV><left>64*5</left><top>64*4</top><right>64*6</right><bottom>64*5</bottom></setImgUV>
			</repeat>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>

<present label="stage6C_boss_present_yuki">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>0</left><top>64*5</top><right>64</right><bottom>64*6</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times><evaladd name="change_count">-1</evaladd></repeat>
		<repeat><times>$_self_vx-gt0</times><evaladd name="change_count">1</evaladd></repeat>
		
		<repeat><times>$change_count-lt-8</times><eval name="change_count">-8</eval></repeat>
		<repeat><times>$change_count-gt8</times><eval name="change_count">8</eval></repeat>
		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>(($anime_count/6)%4)-eq0</times><setImgUV><left>64*0</left><top>64*5</top><right>64*1</right><bottom>64*6</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/6)%4)-eq1</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/6)%4)-eq2</times><setImgUV><left>64*2</left><top>64*5</top><right>64*3</right><bottom>64*6</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/6)%4)-eq3</times><setImgUV><left>64*1</left><top>64*5</top><right>64*2</right><bottom>64*6</bottom></setImgUV></repeat>							
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>(($anime_count/6)%4)-eq0</times><setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/6)%4)-eq1</times><setImgUV><left>64*4</left><top>64*5</top><right>64*5</right><bottom>64*6</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/6)%4)-eq2</times><setImgUV><left>64*3</left><top>64*5</top><right>64*4</right><bottom>64*6</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/6)%4)-eq3</times><setImgUV><left>64*4</left><top>64*5</top><right>64*5</right><bottom>64*6</bottom></setImgUV></repeat>							
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>(($anime_count/6)%4)-eq0</times><setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/6)%4)-eq1</times><setImgUV><left>64*6</left><top>64*5</top><right>64*7</right><bottom>64*6</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/6)%4)-eq2</times><setImgUV><left>64*5</left><top>64*5</top><right>64*6</right><bottom>64*6</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/6)%4)-eq3</times><setImgUV><left>64*6</left><top>64*5</top><right>64*7</right><bottom>64*6</bottom></setImgUV></repeat>							
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>
</present>

<present label="stage6C_boss_present_sara_back">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>64*7</left><top>64*4</top><right>64*8</right><bottom>64*5</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>
		<repeat><times>(($anime_count/6)%4)-eq0</times><setImgUV><left>64*7</left><top>64*4</top><right>64*8</right><bottom>64*5</bottom></setImgUV></repeat>
		<repeat><times>(($anime_count/6)%4)-eq1</times><setImgUV><left>64*7</left><top>64*5</top><right>64*8</right><bottom>64*6</bottom></setImgUV></repeat>
		<repeat><times>(($anime_count/6)%4)-eq2</times><setImgUV><left>64*7</left><top>64*6</top><right>64*8</right><bottom>64*7</bottom></setImgUV></repeat>
		<repeat><times>(($anime_count/6)%4)-eq3</times><setImgUV><left>64*7</left><top>64*5</top><right>64*8</right><bottom>64*6</bottom></setImgUV></repeat>							
		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>
</present>


<action label="stage6C_sara_normal_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>0</left><top>64*6</top><right>64</right><bottom>64*7</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*0</left><top>64*6</top><right>64*1</right><bottom>64*7</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*2</left><top>64*6</top><right>64*3</right><bottom>64*7</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*1</left><top>64*6</top><right>64*2</right><bottom>64*7</bottom></setImgUV></repeat>							
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*4</left><top>64*6</top><right>64*5</right><bottom>64*7</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*4</left><top>64*6</top><right>64*5</right><bottom>64*7</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*3</left><top>64*6</top><right>64*4</right><bottom>64*7</bottom></setImgUV></repeat>							
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*6</left><top>64*6</top><right>64*7</right><bottom>64*7</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*5</left><top>64*6</top><right>64*6</right><bottom>64*7</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*6</left><top>64*6</top><right>64*7</right><bottom>64*7</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*5</left><top>64*6</top><right>64*6</right><bottom>64*7</bottom></setImgUV></repeat>							
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>
</action>

<action label="stage6C_sara_hurt_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>0</left><top>64*7</top><right>64</right><bottom>64*8</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*0</left><top>64*7</top><right>64*1</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*1</left><top>64*7</top><right>64*2</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*2</left><top>64*7</top><right>64*3</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*1</left><top>64*7</top><right>64*2</right><bottom>64*8</bottom></setImgUV></repeat>							
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*4</left><top>64*7</top><right>64*5</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*3</left><top>64*7</top><right>64*4</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*4</left><top>64*7</top><right>64*5</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*3</left><top>64*7</top><right>64*4</right><bottom>64*8</bottom></setImgUV></repeat>							
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*6</left><top>64*7</top><right>64*7</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*5</left><top>64*7</top><right>64*6</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*6</left><top>64*7</top><right>64*7</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*5</left><top>64*7</top><right>64*6</right><bottom>64*8</bottom></setImgUV></repeat>							
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>
</action>

<action label="stage6C_sara_hurt2_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>0</left><top>64*7</top><right>64</right><bottom>64*8</bottom>
		<width>40</width><height>40</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

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

	<repeat><times>-1</times>		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*0</left><top>64*7</top><right>64*1</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*1</left><top>64*7</top><right>64*2</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*2</left><top>64*7</top><right>64*3</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*1</left><top>64*7</top><right>64*2</right><bottom>64*8</bottom></setImgUV></repeat>							
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*4</left><top>64*7</top><right>64*5</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*3</left><top>64*7</top><right>64*4</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*4</left><top>64*7</top><right>64*5</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*3</left><top>64*7</top><right>64*4</right><bottom>64*8</bottom></setImgUV></repeat>							
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>(($anime_count/8)%4)-eq0</times><setImgUV><left>64*6</left><top>64*7</top><right>64*7</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq1</times><setImgUV><left>64*5</left><top>64*7</top><right>64*6</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq2</times><setImgUV><left>64*6</left><top>64*7</top><right>64*7</right><bottom>64*8</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/8)%4)-eq3</times><setImgUV><left>64*5</left><top>64*7</top><right>64*6</right><bottom>64*8</bottom></setImgUV></repeat>							
		</repeat>

		<repeat><times>($anime_count%80)-eq1</times>
			<createRef label="thunder_create"><param>$dir</param></createRef>
			<evaladd name="dir">93</evaladd>	
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>
</action>



<present label="stage6C_boss_present_sara1">
	<actionRef label="stage6C_sara_normal_present"></actionRef>
	<!--
	<img type="normal">
		<file type="dds">maya_dot</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>200</param><param>255</param></actionRef>	
	-->
</present>

<present label="stage6C_boss_present_sara_common1">
	<actionRef label="stage6C_sara_normal_present"></actionRef>
	<!--
	<img type="normal">
		<file type="dds">maya_dot</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>200</param><param>255</param></actionRef>
	-->
</present>

<present label="stage6C_boss_present_sara_common2">
	<actionRef label="stage6C_sara_hurt_present"></actionRef>
	<!--
	<img type="normal">
		<file type="dds">maya_dot</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>200</param><param>255</param></actionRef>
	-->
</present>

<present label="stage6C_boss_present_sara_common3">
	<actionRef label="stage6C_sara_hurt2_present"></actionRef>
	<!--
	<img type="normal">
		<file type="dds">maya_dot</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>200</param><param>255</param></actionRef>	

	<wait>1</wait>
	<eval name="dir">1</eval>
	<repeat><times>-1</times>
		<createRef label="thunder_create"><param>$dir</param></createRef>
		<evaladd name="dir">93</evaladd>
		<wait>80</wait>
	</repeat>
	-->

</present>


<present label="stageEX_boss_present">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		

	<img type="normal">
		<file type="dds">boss_ex_anime</file>
		<left>0</left><top>64*0</top><right>64</right><bottom>64*1</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>(($anime_count/4)%8)-eq0</times><setImgUV><left>64*0</left><top>64*0</top><right>64*1</right><bottom>64*1</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/4)%8)-eq1</times><setImgUV><left>64*0</left><top>64*0</top><right>64*1</right><bottom>64*1</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/4)%8)-eq2</times><setImgUV><left>64*1</left><top>64*0</top><right>64*2</right><bottom>64*1</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/4)%8)-eq3</times><setImgUV><left>64*2</left><top>64*0</top><right>64*3</right><bottom>64*1</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/4)%8)-eq4</times><setImgUV><left>64*3</left><top>64*0</top><right>64*4</right><bottom>64*1</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/4)%8)-eq5</times><setImgUV><left>64*3</left><top>64*0</top><right>64*4</right><bottom>64*1</bottom></setImgUV></repeat>							
			<repeat><times>(($anime_count/4)%8)-eq6</times><setImgUV><left>64*2</left><top>64*0</top><right>64*3</right><bottom>64*1</bottom></setImgUV></repeat>							
			<repeat><times>(($anime_count/4)%8)-eq7</times><setImgUV><left>64*1</left><top>64*0</top><right>64*2</right><bottom>64*1</bottom></setImgUV></repeat>							
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<setImgUV><left>64*0</left><top>64*2</top><right>64*1</right><bottom>64*3</bottom></setImgUV>
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<setImgUV><left>64*0</left><top>64*3</top><right>64*1</right><bottom>64*4</bottom></setImgUV>
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>

</present>

<present label="stageEX_boss_present_x">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		
	<eval name="dir">23</eval>	

	<img type="normal">
		<file type="dds">boss_ex_anime</file>
		<left>0</left><top>64*0</top><right>64</right><bottom>64*1</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action"><param>255</param><param>150</param><param>150</param></actionRef>	

	<repeat><times>-1</times>		
		<repeat><times>$_self_vx-eq0</times>		
			<repeat><times>(($anime_count/4)%8)-eq0</times><setImgUV><left>64*0</left><top>64*0</top><right>64*1</right><bottom>64*1</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/4)%8)-eq1</times><setImgUV><left>64*0</left><top>64*0</top><right>64*1</right><bottom>64*1</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/4)%8)-eq2</times><setImgUV><left>64*1</left><top>64*0</top><right>64*2</right><bottom>64*1</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/4)%8)-eq3</times><setImgUV><left>64*2</left><top>64*0</top><right>64*3</right><bottom>64*1</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/4)%8)-eq4</times><setImgUV><left>64*3</left><top>64*0</top><right>64*4</right><bottom>64*1</bottom></setImgUV></repeat>
			<repeat><times>(($anime_count/4)%8)-eq5</times><setImgUV><left>64*3</left><top>64*0</top><right>64*4</right><bottom>64*1</bottom></setImgUV></repeat>							
			<repeat><times>(($anime_count/4)%8)-eq6</times><setImgUV><left>64*2</left><top>64*0</top><right>64*3</right><bottom>64*1</bottom></setImgUV></repeat>							
			<repeat><times>(($anime_count/4)%8)-eq7</times><setImgUV><left>64*1</left><top>64*0</top><right>64*2</right><bottom>64*1</bottom></setImgUV></repeat>							
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<setImgUV><left>64*0</left><top>64*2</top><right>64*1</right><bottom>64*3</bottom></setImgUV>
		</repeat>			

		<repeat><times>$_self_vx-gt0</times>
			<setImgUV><left>64*0</left><top>64*3</top><right>64*1</right><bottom>64*4</bottom></setImgUV>
		</repeat>

		<repeat><times>($anime_count%80)-eq1</times>
			<createRef label="thunder_create"><param>$dir</param></createRef>
			<evaladd name="dir">93</evaladd>	
		</repeat>

		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>

	</repeat>

</present>


<present label="stageEX_boss_present2">

	<img type="normal">
		<file type="dds">attack_system</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>52</width><height>52</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<rotateImg><direction>2</direction><term>-1</term></rotateImg>
	<setDrawLevel><num>4</num></setDrawLevel>
	<actionRef label="option_middleboss_create_action2"><param>255</param><param>150</param><param>150</param></actionRef>	

</present>


<!-- ************************************************************ -->
<!-- *  middle boss  present                                           * -->
<!-- ************************************************************ -->
<!-- *** middle boss 共通 *** -->
<action label="enemy_present_middle_common_action">
	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		
	<eval name="vital_count">0</eval>	
	
	
	<!-- 中ボス登場アニメーション -->
	<repeat><times>3</times>
		<setImgUV><left>64*1</left><top>64*1</top><right>64*2</right><bottom>64*2</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*2</left><top>64*1</top><right>64*3</right><bottom>64*2</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*3</left><top>64*1</top><right>64*4</right><bottom>64*2</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*2</left><top>64*1</top><right>64*3</right><bottom>64*2</bottom></setImgUV><wait>4</wait>
	</repeat>

	<repeat><times>3</times>
		<setImgUV><left>64*6</left><top>64*0</top><right>64*7</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*7</left><top>64*0</top><right>64*8</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*0</left><top>64*1</top><right>64*1</right><bottom>64*2</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*7</left><top>64*0</top><right>64*8</right><bottom>64*1</bottom></setImgUV><wait>4</wait>	
	</repeat>
	
	<repeat><times>3</times>
		<setImgUV><left>64*3</left><top>64*0</top><right>64*4</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*4</left><top>64*0</top><right>64*5</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*5</left><top>64*0</top><right>64*6</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*4</left><top>64*0</top><right>64*5</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
	</repeat>

	
	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times>
			<evaladd name="change_count">-1</evaladd>		
		</repeat>
		<repeat><times>$_self_vx-gt0</times>
			<evaladd name="change_count">1</evaladd>		
		</repeat>
		
		<repeat><times>$change_count-lt-8</times>
			<eval name="change_count">-8</eval>
		</repeat>
		<repeat><times>$change_count-gt8</times>
			<eval name="change_count">8</eval>
		</repeat>
		
		<repeat><times>$_self_vx-eq0</times>
							
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*0</left><top>0</top><right>64*1</right><bottom>64</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*1</left><top>0</top><right>64*2</right><bottom>64</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*2</left><top>0</top><right>64*3</right><bottom>64</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*1</left><top>0</top><right>64*2</right><bottom>64</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>(1-($change_count-lt-4))*($change_count-lt0)</times>
				<evaladd name="change_count">1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*4</left><top>64</top><right>64*5</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*5</left><top>64</top><right>64*6</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*6</left><top>64</top><right>64*7</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*5</left><top>64</top><right>64*6</right><bottom>64*2</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>$change_count-lt-4</times>
				<evaladd name="change_count">1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*5</left><top>64*2</top><right>64*6</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*6</left><top>64*2</top><right>64*7</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*7</left><top>64*2</top><right>64*8</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*6</left><top>64*2</top><right>64*7</right><bottom>64*3</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>($change_count-gt0)*(1-($change_count-gt4))</times>
				<evaladd name="change_count">-1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*4</left><top>64</top><right>64*5</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*5</left><top>64</top><right>64*6</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*6</left><top>64</top><right>64*7</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*5</left><top>64</top><right>64*6</right><bottom>64*2</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>$change_count-gt4</times>
				<evaladd name="change_count">-1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*7</left><top>64</top><right>64*8</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*0</left><top>64*2</top><right>64*1</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*1</left><top>64*2</top><right>64*2</right><bottom>64*3</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*0</left><top>64*2</top><right>64*1</right><bottom>64*3</bottom></setImgUV>
				</repeat>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*0</left><top>64*3</top><right>64*1</right><bottom>64*4</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*1</left><top>64*3</top><right>64*2</right><bottom>64*4</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*2</left><top>64*3</top><right>64*3</right><bottom>64*4</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*1</left><top>64*3</top><right>64*2</right><bottom>64*4</bottom></setImgUV>
				</repeat>
			</repeat>
			<repeat><times>$change_count-gt-8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*5</left><top>64*2</top><right>64*6</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*6</left><top>64*2</top><right>64*7</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*7</left><top>64*2</top><right>64*8</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*6</left><top>64*2</top><right>64*7</right><bottom>64*3</bottom></setImgUV>
				</repeat>							
			</repeat>
		</repeat>
			
		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*2</left><top>64*2</top><right>64*3</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*3</left><top>64*2</top><right>64*4</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*4</left><top>64*2</top><right>64*5</right><bottom>64*3</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*3</left><top>64*2</top><right>64*4</right><bottom>64*3</bottom></setImgUV>
				</repeat>
			</repeat>			
			<repeat><times>$change_count-lt8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*7</left><top>64</top><right>64*8</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*0</left><top>64*2</top><right>64*1</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*1</left><top>64*2</top><right>64*2</right><bottom>64*3</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*0</left><top>64*2</top><right>64*1</right><bottom>64*3</bottom></setImgUV>
				</repeat>
			</repeat>			
		</repeat>			
		
		
		<!-- 赤点滅 -->
		<repeat><times>$vital_count-eq0</times>
			<repeat><times>($_self_vital-lt$limit_vital)*($_self_vital-gt0)</times>
				<changeColor>
					<alpha>255</alpha><red>255</red><green>2</green><blue>2</blue><term>5</term>	
				</changeColor>
				<eval name="vital_count">11</eval>
			</repeat>
		</repeat>
		<repeat><times>$vital_count-gt0</times>
			<repeat><times>$vital_count-eq5</times>
				<changeColor>
					<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>5</term>	
				</changeColor>
			</repeat>
			<evaladd name="vital_count">-1</evaladd>
		</repeat>
				
		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>
</action>


<action label="enemy_present_middle_common_action_ex">
	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$1*0.9</eval>
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		
	<eval name="vital_count">0</eval>	
	
	
	<!-- 中ボス登場アニメーション -->
	<repeat><times>3</times>
		<setImgUV><left>64*1</left><top>64*1</top><right>64*2</right><bottom>64*2</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*2</left><top>64*1</top><right>64*3</right><bottom>64*2</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*3</left><top>64*1</top><right>64*4</right><bottom>64*2</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*2</left><top>64*1</top><right>64*3</right><bottom>64*2</bottom></setImgUV><wait>4</wait>
	</repeat>

	<repeat><times>3</times>
		<setImgUV><left>64*6</left><top>64*0</top><right>64*7</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*7</left><top>64*0</top><right>64*8</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*0</left><top>64*1</top><right>64*1</right><bottom>64*2</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*7</left><top>64*0</top><right>64*8</right><bottom>64*1</bottom></setImgUV><wait>4</wait>	
	</repeat>
	
	<repeat><times>3</times>
		<setImgUV><left>64*3</left><top>64*0</top><right>64*4</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*4</left><top>64*0</top><right>64*5</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*5</left><top>64*0</top><right>64*6</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*4</left><top>64*0</top><right>64*5</right><bottom>64*1</bottom></setImgUV><wait>4</wait>
	</repeat>

	
	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times>
			<evaladd name="change_count">-1</evaladd>		
		</repeat>
		<repeat><times>$_self_vx-gt0</times>
			<evaladd name="change_count">1</evaladd>		
		</repeat>
		
		<repeat><times>$change_count-lt-8</times>
			<eval name="change_count">-8</eval>
		</repeat>
		<repeat><times>$change_count-gt8</times>
			<eval name="change_count">8</eval>
		</repeat>
		
		<repeat><times>$_self_vx-eq0</times>
							
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*0</left><top>0</top><right>64*1</right><bottom>64</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*1</left><top>0</top><right>64*2</right><bottom>64</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*2</left><top>0</top><right>64*3</right><bottom>64</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*1</left><top>0</top><right>64*2</right><bottom>64</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>(1-($change_count-lt-4))*($change_count-lt0)</times>
				<evaladd name="change_count">1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*4</left><top>64</top><right>64*5</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*5</left><top>64</top><right>64*6</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*6</left><top>64</top><right>64*7</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*5</left><top>64</top><right>64*6</right><bottom>64*2</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>$change_count-lt-4</times>
				<evaladd name="change_count">1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*5</left><top>64*2</top><right>64*6</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*6</left><top>64*2</top><right>64*7</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*7</left><top>64*2</top><right>64*8</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*6</left><top>64*2</top><right>64*7</right><bottom>64*3</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>($change_count-gt0)*(1-($change_count-gt4))</times>
				<evaladd name="change_count">-1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*4</left><top>64</top><right>64*5</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*5</left><top>64</top><right>64*6</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*6</left><top>64</top><right>64*7</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*5</left><top>64</top><right>64*6</right><bottom>64*2</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>$change_count-gt4</times>
				<evaladd name="change_count">-1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*7</left><top>64</top><right>64*8</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*0</left><top>64*2</top><right>64*1</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*1</left><top>64*2</top><right>64*2</right><bottom>64*3</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*0</left><top>64*2</top><right>64*1</right><bottom>64*3</bottom></setImgUV>
				</repeat>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*0</left><top>64*3</top><right>64*1</right><bottom>64*4</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*1</left><top>64*3</top><right>64*2</right><bottom>64*4</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*2</left><top>64*3</top><right>64*3</right><bottom>64*4</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*1</left><top>64*3</top><right>64*2</right><bottom>64*4</bottom></setImgUV>
				</repeat>
			</repeat>
			<repeat><times>$change_count-gt-8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*5</left><top>64*2</top><right>64*6</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*6</left><top>64*2</top><right>64*7</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*7</left><top>64*2</top><right>64*8</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*6</left><top>64*2</top><right>64*7</right><bottom>64*3</bottom></setImgUV>
				</repeat>							
			</repeat>
		</repeat>
			
		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*2</left><top>64*2</top><right>64*3</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*3</left><top>64*2</top><right>64*4</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*4</left><top>64*2</top><right>64*5</right><bottom>64*3</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*3</left><top>64*2</top><right>64*4</right><bottom>64*3</bottom></setImgUV>
				</repeat>
			</repeat>			
			<repeat><times>$change_count-lt8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*7</left><top>64</top><right>64*8</right><bottom>64*2</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*0</left><top>64*2</top><right>64*1</right><bottom>64*3</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*1</left><top>64*2</top><right>64*2</right><bottom>64*3</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*0</left><top>64*2</top><right>64*1</right><bottom>64*3</bottom></setImgUV>
				</repeat>
			</repeat>			
		</repeat>			
		
		
		<!-- 赤点滅 -->
		<repeat><times>$vital_count-eq0</times>
			<repeat><times>($__damage-gt$limit_vital)*($__damage-lt$1)</times>
				<changeColor>
					<alpha>255</alpha><red>255</red><green>2</green><blue>2</blue><term>5</term>	
				</changeColor>
				<eval name="vital_count">11</eval>
			</repeat>
		</repeat>
		<repeat><times>$vital_count-gt0</times>
			<repeat><times>$vital_count-eq5</times>
				<changeColor>
					<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>5</term>	
				</changeColor>
			</repeat>
			<evaladd name="vital_count">-1</evaladd>
		</repeat>
				
		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>
</action>

<action label="enemy_present_middle_common_action_ex_w">
	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$1*0.9</eval>
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		
	<eval name="vital_count">0</eval>	
	
	
	<!-- 中ボス登場アニメーション -->
	<repeat><times>3</times>
		<setImgUV><left>64*1</left><top>64*1+256</top><right>64*2</right><bottom>64*2+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*2</left><top>64*1+256</top><right>64*3</right><bottom>64*2+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*3</left><top>64*1+256</top><right>64*4</right><bottom>64*2+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*2</left><top>64*1+256</top><right>64*3</right><bottom>64*2+256</bottom></setImgUV><wait>4</wait>
	</repeat>

	<repeat><times>3</times>
		<setImgUV><left>64*6</left><top>64*0+256</top><right>64*7</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*7</left><top>64*0+256</top><right>64*8</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*0</left><top>64*1+256</top><right>64*1</right><bottom>64*2+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*7</left><top>64*0+256</top><right>64*8</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>	
	</repeat>
	
	<repeat><times>3</times>
		<setImgUV><left>64*3</left><top>64*0+256</top><right>64*4</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*4</left><top>64*0+256</top><right>64*5</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*5</left><top>64*0+256</top><right>64*6</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*4</left><top>64*0+256</top><right>64*5</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
	</repeat>

	
	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times>
			<evaladd name="change_count">-1</evaladd>		
		</repeat>
		<repeat><times>$_self_vx-gt0</times>
			<evaladd name="change_count">1</evaladd>		
		</repeat>
		
		<repeat><times>$change_count-lt-8</times>
			<eval name="change_count">-8</eval>
		</repeat>
		<repeat><times>$change_count-gt8</times>
			<eval name="change_count">8</eval>
		</repeat>
		
		<repeat><times>$_self_vx-eq0</times>
							
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*0</left><top>0+256</top><right>64*1</right><bottom>64+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*1</left><top>0+256</top><right>64*2</right><bottom>64+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*2</left><top>0+256</top><right>64*3</right><bottom>64+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*1</left><top>0+256</top><right>64*2</right><bottom>64+256</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>(1-($change_count-lt-4))*($change_count-lt0)</times>
				<evaladd name="change_count">1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*4</left><top>64+256</top><right>64*5</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*5</left><top>64+256</top><right>64*6</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*6</left><top>64+256</top><right>64*7</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*5</left><top>64+256</top><right>64*6</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>$change_count-lt-4</times>
				<evaladd name="change_count">1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*5</left><top>64*2+256</top><right>64*6</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*6</left><top>64*2+256</top><right>64*7</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*7</left><top>64*2+256</top><right>64*8</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*6</left><top>64*2+256</top><right>64*7</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>($change_count-gt0)*(1-($change_count-gt4))</times>
				<evaladd name="change_count">-1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*4</left><top>64+256</top><right>64*5</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*5</left><top>64+256</top><right>64*6</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*6</left><top>64+256</top><right>64*7</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*5</left><top>64+256</top><right>64*6</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>$change_count-gt4</times>
				<evaladd name="change_count">-1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*7</left><top>64+256</top><right>64*8</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*0</left><top>64*2+256</top><right>64*1</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*1</left><top>64*2+256</top><right>64*2</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*0</left><top>64*2+256</top><right>64*1</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*0</left><top>64*3+256</top><right>64*1</right><bottom>64*4+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*1</left><top>64*3+256</top><right>64*2</right><bottom>64*4+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*2</left><top>64*3+256</top><right>64*3</right><bottom>64*4+256</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*1</left><top>64*3+256</top><right>64*2</right><bottom>64*4+256</bottom></setImgUV>
				</repeat>
			</repeat>
			<repeat><times>$change_count-gt-8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*5</left><top>64*2+256</top><right>64*6</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*6</left><top>64*2+256</top><right>64*7</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*7</left><top>64*2+256</top><right>64*8</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*6</left><top>64*2+256</top><right>64*7</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>							
			</repeat>
		</repeat>
			
		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*2</left><top>64*2+256</top><right>64*3</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*3</left><top>64*2+256</top><right>64*4</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*4</left><top>64*2+256</top><right>64*5</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*3</left><top>64*2+256</top><right>64*4</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
			</repeat>			
			<repeat><times>$change_count-lt8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*7</left><top>64+256</top><right>64*8</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*0</left><top>64*2+256</top><right>64*1</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*1</left><top>64*2+256</top><right>64*2</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*0</left><top>64*2+256</top><right>64*1</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
			</repeat>			
		</repeat>			
		
		
		<!-- 赤点滅 -->
		<repeat><times>$vital_count-eq0</times>
			<repeat><times>($__damage-gt$limit_vital)*($__damage-lt$1)</times>
				<changeColor>
					<alpha>255</alpha><red>255</red><green>2</green><blue>2</blue><term>5</term>	
				</changeColor>
				<eval name="vital_count">11</eval>
			</repeat>
		</repeat>
		<repeat><times>$vital_count-gt0</times>
			<repeat><times>$vital_count-eq5</times>
				<changeColor>
					<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>5</term>	
				</changeColor>
			</repeat>
			<evaladd name="vital_count">-1</evaladd>
		</repeat>
				
		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>
</action>

<action label="enemy_present_middle_common_action_w">
	<!-- 体力が1割を切ったら赤点滅 -->
	<eval name="limit_vital">$_self_vital/10</eval>
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		
	<eval name="vital_count">0</eval>	
	
	
	<!-- 中ボス登場アニメーション -->
	<repeat><times>3</times>
		<setImgUV><left>64*1</left><top>64*1+256</top><right>64*2</right><bottom>64*2+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*2</left><top>64*1+256</top><right>64*3</right><bottom>64*2+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*3</left><top>64*1+256</top><right>64*4</right><bottom>64*2+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*2</left><top>64*1+256</top><right>64*3</right><bottom>64*2+256</bottom></setImgUV><wait>4</wait>
	</repeat>

	<repeat><times>3</times>
		<setImgUV><left>64*6</left><top>64*0+256</top><right>64*7</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*7</left><top>64*0+256</top><right>64*8</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*0</left><top>64*1+256</top><right>64*1</right><bottom>64*2+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*7</left><top>64*0+256</top><right>64*8</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>	
	</repeat>
	
	<repeat><times>3</times>
		<setImgUV><left>64*3</left><top>64*0+256</top><right>64*4</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*4</left><top>64*0+256</top><right>64*5</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*5</left><top>64*0+256</top><right>64*6</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
		<setImgUV><left>64*4</left><top>64*0+256</top><right>64*5</right><bottom>64*1+256</bottom></setImgUV><wait>4</wait>
	</repeat>

	
	<repeat><times>-1</times>

		<repeat><times>$_self_vx-lt0</times>
			<evaladd name="change_count">-1</evaladd>		
		</repeat>
		<repeat><times>$_self_vx-gt0</times>
			<evaladd name="change_count">1</evaladd>		
		</repeat>
		
		<repeat><times>$change_count-lt-8</times>
			<eval name="change_count">-8</eval>
		</repeat>
		<repeat><times>$change_count-gt8</times>
			<eval name="change_count">8</eval>
		</repeat>
		
		<repeat><times>$_self_vx-eq0</times>
							
			<repeat><times>$change_count-eq0</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*0</left><top>0+256</top><right>64*1</right><bottom>64+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*1</left><top>0+256</top><right>64*2</right><bottom>64+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*2</left><top>0+256</top><right>64*3</right><bottom>64+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*1</left><top>0+256</top><right>64*2</right><bottom>64+256</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>(1-($change_count-lt-4))*($change_count-lt0)</times>
				<evaladd name="change_count">1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*4</left><top>64+256</top><right>64*5</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*5</left><top>64+256</top><right>64*6</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*6</left><top>64+256</top><right>64*7</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*5</left><top>64+256</top><right>64*6</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>$change_count-lt-4</times>
				<evaladd name="change_count">1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*5</left><top>64*2+256</top><right>64*6</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*6</left><top>64*2+256</top><right>64*7</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*7</left><top>64*2+256</top><right>64*8</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*6</left><top>64*2+256</top><right>64*7</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>($change_count-gt0)*(1-($change_count-gt4))</times>
				<evaladd name="change_count">-1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*4</left><top>64+256</top><right>64*5</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*5</left><top>64+256</top><right>64*6</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*6</left><top>64+256</top><right>64*7</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*5</left><top>64+256</top><right>64*6</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>							
			</repeat>

			<repeat><times>$change_count-gt4</times>
				<evaladd name="change_count">-1</evaladd>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*7</left><top>64+256</top><right>64*8</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*0</left><top>64*2+256</top><right>64*1</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*1</left><top>64*2+256</top><right>64*2</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*0</left><top>64*2+256</top><right>64*1</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
			</repeat>
		</repeat>
		
		<repeat><times>$_self_vx-lt0</times>
			<repeat><times>$change_count-eq-8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*0</left><top>64*3+256</top><right>64*1</right><bottom>64*4+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*1</left><top>64*3+256</top><right>64*2</right><bottom>64*4+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*2</left><top>64*3+256</top><right>64*3</right><bottom>64*4+256</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*1</left><top>64*3+256</top><right>64*2</right><bottom>64*4+256</bottom></setImgUV>
				</repeat>
			</repeat>
			<repeat><times>$change_count-gt-8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*5</left><top>64*2+256</top><right>64*6</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*6</left><top>64*2+256</top><right>64*7</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*7</left><top>64*2+256</top><right>64*8</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*6</left><top>64*2+256</top><right>64*7</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>							
			</repeat>
		</repeat>
			
		<repeat><times>$_self_vx-gt0</times>
			<repeat><times>$change_count-eq8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*2</left><top>64*2+256</top><right>64*3</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*3</left><top>64*2+256</top><right>64*4</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*4</left><top>64*2+256</top><right>64*5</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*3</left><top>64*2+256</top><right>64*4</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
			</repeat>			
			<repeat><times>$change_count-lt8</times>
				<repeat><times>(($anime_count/5)%4)-eq0</times>
					<setImgUV><left>64*7</left><top>64+256</top><right>64*8</right><bottom>64*2+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq1</times>
					<setImgUV><left>64*0</left><top>64*2+256</top><right>64*1</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
				<repeat><times>(($anime_count/5)%4)-eq2</times>
					<setImgUV><left>64*1</left><top>64*2+256</top><right>64*2</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>			
				<repeat><times>(($anime_count/5)%4)-eq3</times>
					<setImgUV><left>64*0</left><top>64*2+256</top><right>64*1</right><bottom>64*3+256</bottom></setImgUV>
				</repeat>
			</repeat>			
		</repeat>			
		
		
		<!-- 赤点滅 -->
		<repeat><times>$vital_count-eq0</times>
			<repeat><times>($_self_vital-lt$limit_vital)*($_self_vital-gt0)</times>
				<changeColor>
					<alpha>255</alpha><red>255</red><green>2</green><blue>2</blue><term>5</term>	
				</changeColor>
				<eval name="vital_count">11</eval>
			</repeat>
		</repeat>
		<repeat><times>$vital_count-gt0</times>
			<repeat><times>$vital_count-eq5</times>
				<changeColor>
					<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>5</term>	
				</changeColor>
			</repeat>
			<evaladd name="vital_count">-1</evaladd>
		</repeat>
				
		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</repeat>
</action>


<present label="enemy_present_01_middle">
	<img type="normal">
		<file type="dds">boss_1_anime</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<actionRef label="option_middleboss_create_action"><param>200</param><param>200</param><param>255</param></actionRef>	
	
	<!-- 共通アクションの実行 -->
	<actionRef label="enemy_present_middle_common_action"></actionRef>

</present>

<present label="enemy_present_02_middle">
	<img type="normal">
		<file type="dds">boss_2_anime</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<actionRef label="option_middleboss_create_action"><param>200</param><param>200</param><param>255</param></actionRef>	
	
	<!-- 共通アクションの実行 -->
	<actionRef label="enemy_present_middle_common_action"></actionRef>

</present>

<present label="enemy_present_03_middle">
	<img type="normal">
		<file type="dds">boss_3_anime</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<actionRef label="option_middleboss_create_action"><param>200</param><param>200</param><param>255</param></actionRef>	
	
	<!-- 共通アクションの実行 -->
	<actionRef label="enemy_present_middle_common_action"></actionRef>

</present>


<present label="enemy_present_04_middle">
	<img type="normal">
		<file type="dds">boss_4_anime</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<actionRef label="option_middleboss_create_action"><param>200</param><param>200</param><param>255</param></actionRef>	
	
	<!-- 共通アクションの実行 -->
	<actionRef label="enemy_present_middle_common_action"></actionRef>

</present>

<present label="enemy_present_05_middle">
	<img type="normal">
		<file type="dds">boss_5_anime</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<actionRef label="option_middleboss_create_action"><param>200</param><param>200</param><param>255</param></actionRef>	
	
	<!-- 共通アクションの実行 -->
	<actionRef label="enemy_present_middle_common_action"></actionRef>

</present>

<present label="enemy_present_06_middle">
	<img type="normal">
		<file type="dds">boss_6_anime</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<actionRef label="option_middleboss_create_action"><param>200</param><param>200</param><param>255</param></actionRef>	
	
	<!-- 共通アクションの実行 -->
	<actionRef label="enemy_present_middle_common_action"></actionRef>

</present>

<present label="enemy_present_ex_middle">
	<img type="normal">
		<file type="dds">boss_ex_mid_anime</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<actionRef label="option_middleboss_create_action"><param>200</param><param>200</param><param>255</param></actionRef>	
	<actionRef label="enemy_present_middle_common_action_ex"><param>$1</param></actionRef>
</present>

<present label="enemy_present_ex_middle2">
	<img type="normal">
		<file type="dds">boss_ex_mid_anime</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<actionRef label="option_middleboss_create_action"><param>200</param><param>200</param><param>255</param></actionRef>	
	<actionRef label="enemy_present_middle_common_action"></actionRef>
</present>

<present label="enemy_present_ex_middle_w">
	<img type="normal">
		<file type="dds">boss_ex_mid_anime</file>
		<left>0</left><top>256</top><right>64</right><bottom>64+256</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<actionRef label="option_middleboss_create_action"><param>200</param><param>200</param><param>255</param></actionRef>		
	<actionRef label="enemy_present_middle_common_action_ex_w"><param>$1</param></actionRef>
</present>

<present label="enemy_present_ex_middle2_w">
	<img type="normal">
		<file type="dds">boss_ex_mid_anime</file>
		<left>0</left><top>256</top><right>64</right><bottom>64+256</bottom>
		<width>45</width><height>45</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>

	<actionRef label="option_middleboss_create_action"><param>200</param><param>200</param><param>255</param></actionRef>		
	<actionRef label="enemy_present_middle_common_action_w"><param>$1</param></actionRef>
</present>

<!-- *** ボス演出用オブジェクトの生成 *** -->
<action label="option_middleboss_create_action">
	<create>
		<speed>0</speed><direction type="absolute">0</direction>
		<cx>$_self_cx</cx><cy>$_self_cy</cy><child>1</child>
		<objectRef label="option_middleboss_object"><param>$1</param><param>$2</param><param>$3</param></objectRef>
	</create>
</action>

<object label="option_middleboss_object">
	<imgRef label="option3_img"><param>$1</param><param>$2</param><param>$3</param></imgRef>
	<setDrawLevel><num>3</num></setDrawLevel>
	<actionRef label="option_middleboss_action"><param>$1</param><param>$2</param><param>$3</param></actionRef>
</object>

<action label="option_middleboss_action">
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>
			
	<rotateImg>
		<direction>4</direction><term>-1</term>
	</rotateImg>
</action>

<img type="add" label="option3_img">
	<file type="dds">s_mahoujin2</file>
	<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
	<width>64</width><height>64</height>
	<alpha>64</alpha><red>$1</red><green>$2</green><blue>$3</blue>
</img>

<!-- 体力判定用 -->
<action label="judge_vital">
	<repeat><times>($_self_vital-lt$1)*($_self_vital-gt0)</times>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>2</green><blue>2</blue><term>5</term>	
		</changeColor>
		<wait>5</wait>
	</repeat>
	<repeat><times>($_self_vital-lt$1)*($_self_vital-gt0)</times>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>5</term>	
		</changeColor>
		<wait>5</wait>
	</repeat>
</action>

<!-- ************************************************************ -->
<!-- *  Stage1 REVENGE    param base_item   time                * -->
<!-- *  Stage1 REVENGE PRESENT                                  * -->
<!-- *  Stage1 itemcreate counter action                        * -->
<!-- ************************************************************ -->

<!-- *  01:e-crystal only                                       * -->
<!-- *  01_s:e-crystal + score                                  * -->
<!-- *  m_01:e-crystal + score*3                                       * -->
<!-- *  01_middle:e-crystal + score*10                                       * -->


<revenge label="enemy_revenge_01">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<eval name="localcounter">$_counter</eval>

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>

	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_01_s">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

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

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_01_small">
	<presentRef label="enemy_revenge_present_01_small"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<eval name="localcounter">$_counter</eval>

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>

	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_01_small_s">
	<presentRef label="enemy_revenge_present_01_small"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

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

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_m_05_child">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<global name="set_child_break">$__set_child_break-1</global>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_10">
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>64</alpha><red>200</red><green>200</green><blue>255</blue><term>45</term>
	</changeColor>

	<createRef label="enemy_revenge_present_02"></createRef>
	<wait>3</wait>
	<createRef label="enemy_revenge_present_01_l"></createRef>
	<soundRef label="boss_break2"></soundRef>
	

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>12+$_self_cx%5</param><param>-5</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>11+$_self_cy%5</param></createRef>
	<wait>1</wait>
	<createRef label="item_create_03"><param>-1*(12+$_player_cx%5)</param><param>9</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>-1*(11+$_player_cy%5)</param></createRef>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_11">
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>64</alpha><red>200</red><green>200</green><blue>255</blue><term>45</term>
	</changeColor>

	<createRef label="enemy_revenge_present_02"></createRef>
	<wait>3</wait>
	<createRef label="enemy_revenge_present_01_l"></createRef>
	<soundRef label="boss_break2"></soundRef>
	

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>12+$_self_cx%5</param><param>-5</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>11+$_self_cy%5</param></createRef>
	<wait>1</wait>
	<createRef label="item_create_03"><param>-1*(12+$_player_cx%5)</param><param>9</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>-1*(11+$_player_cy%5)</param></createRef>

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

	<actionRef label="item_counter_02"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>5</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_11_1up">
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>64</alpha><red>200</red><green>200</green><blue>255</blue><term>45</term>
	</changeColor>

	<createRef label="enemy_revenge_present_02"></createRef>
	<wait>2</wait>
	<changeBulletToItem/>
	<wait>1</wait>
	<createRef label="enemy_revenge_present_01_l"></createRef>
	<soundRef label="boss_break2"></soundRef>
	

	<createRef label="item_create_05"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>12+$_self_cx%5</param><param>-5</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>11+$_self_cy%5</param></createRef>
	<wait>1</wait>
	<createRef label="item_create_03"><param>-1*(12+$_player_cx%5)</param><param>9</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>-1*(11+$_player_cy%5)</param></createRef>

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

	<actionRef label="item_counter_02"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>5</wait>
	<vanish></vanish>
</revenge>

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

	<createRef label="enemy_revenge_present_02"></createRef>
	<wait>1</wait>
	<changeColor>
		<alpha>10</alpha><red>200</red><green>200</green><blue>255</blue><term>35</term>
	</changeColor>
	<wait>1</wait>
	<changeBulletToItem/>
	<wait>1</wait>
	<createRef label="enemy_revenge_present_01_l"></createRef>
	<soundRef label="boss_break2"></soundRef>
	

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>12+$_self_cx%5</param><param>-5</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>11+$_self_cy%5</param></createRef>
	<wait>1</wait>
	<createRef label="item_create_03"><param>-1*(12+$_player_cx%5)</param><param>9</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>-1*(11+$_player_cy%5)</param></createRef>

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

	<actionRef label="item_counter_02"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>5</wait>
	<addItem><flag>1</flag><num>$_maxcrystal</num></addItem>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_11_stage7">
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>64</alpha><red>200</red><green>200</green><blue>255</blue><term>45</term>
	</changeColor>
	<wait>1</wait>
	<!-- 弾消し -->
	<changeBulletToItem/>

	<createRef label="enemy_revenge_present_02"></createRef>
	<wait>3</wait>
	<createRef label="enemy_revenge_present_01_l"></createRef>
	<soundRef label="boss_break2"></soundRef>
	

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>12+$_self_cx%5</param><param>-5</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>11+$_self_cy%5</param></createRef>
	<wait>1</wait>
	<createRef label="item_create_03"><param>-1*(12+$_player_cx%5)</param><param>9</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>-1*(11+$_player_cy%5)</param></createRef>

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

	<actionRef label="item_counter_02"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>5</wait>
	<vanish></vanish>
</revenge>


<revenge label="enemy_revenge_12">
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>64</alpha><red>200</red><green>200</green><blue>255</blue><term>45</term>
	</changeColor>

	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>320</cx><cy>240</cy>
		<object>
			<child>1</child>
			<img type="normal">
				<file type="bmp">rectwhite</file>
				<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
				<width>360</width><height>480</height>
				<alpha>32</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<changeColor>
				<alpha>64</alpha><red>255</red><green>255</green><blue>255</blue><term>5</term>
			</changeColor>
			<wait>5</wait>
			<changeColor>
				<alpha>10</alpha><red>255</red><green>255</green><blue>255</blue><term>10</term>
			</changeColor>
			<wait>10</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>


	<createRef label="enemy_revenge_present_02"></createRef>
	<wait>3</wait>
	<createRef label="enemy_revenge_present_01_l"></createRef>
	<soundRef label="boss_break2"></soundRef>
	

	<createRef label="item_create_05"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>12+$_self_cx%5</param><param>-5</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>11+$_self_cy%5</param></createRef>
	<wait>1</wait>
	<createRef label="item_create_03"><param>-1*(12+$_player_cx%5)</param><param>9</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>-1*(11+$_player_cy%5)</param></createRef>

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

	<actionRef label="item_counter_02"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>5</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_m_01">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>5+$_self_cx%5</param><param>5</param></createRef>
	<createRef label="item_create_03"><param>5</param><param>5+$_self_cy%5</param></createRef>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_m_01_1up">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

	<createRef label="item_create_05"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>5+$_self_cx%5</param><param>5</param></createRef>
	<createRef label="item_create_03"><param>5</param><param>5+$_self_cy%5</param></createRef>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_ex">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>5+$_self_cx%5</param><param>5</param></createRef>
	<global name="1up_set">$__1up_set+1</global>
	<eval name="localcounter">$_counter</eval>

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>


	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>


<revenge label="enemy_revenge_99">
	<presentRef label="enemy_revenge_present_01_small"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<eval name="localcounter">$_counter</eval>

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>

	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_99_s">
	<presentRef label="enemy_revenge_present_01_small"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

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

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>


<revenge label="enemy_revenge_ex_hard">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>5+$_self_cx%5</param><param>5</param></createRef>
	<global name="1up_set">$__1up_set+1</global>
	<eval name="localcounter">$_counter</eval>
	<repeat><times>3</times>
		<actionRef label="revenge_bullet"/>
		<wait>1</wait>
	</repeat>

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>


	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>


<revenge label="enemy_revenge_01_hard">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<eval name="localcounter">$_counter</eval>
	<actionRef label="revenge_bullet"/>

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>

	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_02_hard">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<eval name="localcounter">$_counter</eval>
	<actionRef label="revenge_bullet2"/>

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>

	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_01_hard_s">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

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

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_02_hard_s">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

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

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_03_hard_s">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

	<repeat><times>3</times>
		<actionRef label="revenge_bullet"/>
		<wait>1</wait>
	</repeat>

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

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_m_01_hard">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

	<repeat><times>3</times>
		<actionRef label="revenge_bullet"/>
		<wait>1</wait>
	</repeat>
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>5+$_self_cx%5</param><param>5</param></createRef>
	<createRef label="item_create_03"><param>5</param><param>5+$_self_cy%5</param></createRef>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_m_01_1up_hard">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

	<repeat><times>3</times>
		<actionRef label="revenge_bullet"/>
		<wait>1</wait>
	</repeat>

	<createRef label="item_create_05"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>5+$_self_cx%5</param><param>5</param></createRef>
	<createRef label="item_create_03"><param>5</param><param>5+$_self_cy%5</param></createRef>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_m_05_child_hard">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

	<repeat><times>3</times>
		<actionRef label="revenge_bullet"/>
		<wait>1</wait>
	</repeat>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<global name="set_child_break">$__set_child_break-1</global>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>


<revenge label="enemy_revenge_m_02_hard">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

	<repeat><times>5</times>
		<actionRef label="revenge_bullet2"/>
		<wait>1</wait>
	</repeat>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>5+$_self_cx%5</param><param>5</param></createRef>
	<createRef label="item_create_03"><param>5</param><param>5+$_self_cy%5</param></createRef>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_10_hard">
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>64</alpha><red>200</red><green>200</green><blue>255</blue><term>45</term>
	</changeColor>

	<createRef label="enemy_revenge_present_02"></createRef>
	<repeat><times>5</times>
		<actionRef label="revenge_bullet3"/>
		<wait>1</wait>
	</repeat>
	<createRef label="enemy_revenge_present_01_l"></createRef>
	<soundRef label="boss_break2"></soundRef>
	

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>12+$_self_cx%5</param><param>-5</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>11+$_self_cy%5</param></createRef>
	<wait>1</wait>
	<createRef label="item_create_03"><param>-1*(12+$_player_cx%5)</param><param>9</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>-1*(11+$_player_cy%5)</param></createRef>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_11_hard">

	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>64</alpha><red>200</red><green>200</green><blue>255</blue><term>45</term>
	</changeColor>

	<createRef label="enemy_revenge_present_02"></createRef>
	<wait>3</wait>
	<createRef label="enemy_revenge_present_01_l"></createRef>
	<soundRef label="boss_break2"></soundRef>
	
	<!-- *** うちかえし *** -->
	<actionRef label="revenge_bullet_boss"/>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>12+$_self_cx%5</param><param>-5</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>11+$_self_cy%5</param></createRef>
	<wait>1</wait>
	<createRef label="item_create_03"><param>-1*(12+$_player_cx%5)</param><param>9</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>-1*(11+$_player_cy%5)</param></createRef>

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

	<actionRef label="item_counter_02"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>5</wait>
	<vanish></vanish>

</revenge>

<revenge label="enemy_revenge_11_1up_hard">
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>64</alpha><red>200</red><green>200</green><blue>255</blue><term>45</term>
	</changeColor>

	<createRef label="enemy_revenge_present_02"></createRef>
	<wait>2</wait>
	<changeBulletToItem/>
	<wait>1</wait>

	<createRef label="enemy_revenge_present_01_l"></createRef>
	<soundRef label="boss_break2"></soundRef>
	
	<!-- *** うちかえし *** -->
	<actionRef label="revenge_bullet_boss"/>

	<createRef label="item_create_05"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>12+$_self_cx%5</param><param>-5</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>11+$_self_cy%5</param></createRef>
	<wait>1</wait>
	<createRef label="item_create_03"><param>-1*(12+$_player_cx%5)</param><param>9</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>-1*(11+$_player_cy%5)</param></createRef>

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

	<actionRef label="item_counter_02"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>5</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_12_hard">
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>64</alpha><red>200</red><green>200</green><blue>255</blue><term>45</term>
	</changeColor>

	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>320</cx><cy>240</cy>
		<object>
			<child>1</child>
			<img type="normal">
				<file type="bmp">rectwhite</file>
				<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
				<width>360</width><height>480</height>
				<alpha>32</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<changeColor>
				<alpha>64</alpha><red>255</red><green>255</green><blue>255</blue><term>5</term>
			</changeColor>
			<wait>5</wait>
			<changeColor>
				<alpha>10</alpha><red>255</red><green>255</green><blue>255</blue><term>10</term>
			</changeColor>
			<wait>10</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>


	<createRef label="enemy_revenge_present_02"></createRef>
	<wait>3</wait>
	<createRef label="enemy_revenge_present_01_l"></createRef>
	<soundRef label="boss_break2"></soundRef>
	
	<repeat><times>5</times>
		<actionRef label="revenge_bullet3"/>
		<wait>1</wait>
	</repeat>

	<createRef label="item_create_05"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>12+$_self_cx%5</param><param>-5</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>11+$_self_cy%5</param></createRef>
	<wait>1</wait>
	<createRef label="item_create_03"><param>-1*(12+$_player_cx%5)</param><param>9</param></createRef>
	<createRef label="item_create_03"><param>10</param><param>-1*(11+$_player_cy%5)</param></createRef>

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

	<actionRef label="item_counter_02"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>5</wait>
	<vanish></vanish>
</revenge>


<revenge label="enemy_revenge_99_hard">
	<presentRef label="enemy_revenge_present_01_small"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<eval name="localcounter">$_counter</eval>
	<actionRef label="revenge_bullet"/>

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>

	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_99_hard_s">
	<presentRef label="enemy_revenge_present_01_small"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

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

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<vanish></vanish>
</revenge>

<!-- 沙羅の出す雑魚用 -->
<revenge label="enemy_revenge_01_sara1">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

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

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<global name="enemy_num">$__enemy_num-1</global>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_sara_m_01">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>5+$_self_cx%5</param><param>5</param></createRef>
	<createRef label="item_create_03"><param>5</param><param>5+$_self_cy%5</param></createRef>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<global name="enemy_num">$__enemy_num-1</global>
	<vanish></vanish>
</revenge>


<revenge label="enemy_revenge_01_sara1_hard">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

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

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<global name="enemy_num">$__enemy_num-1</global>
	<vanish></vanish>
</revenge>

<revenge label="enemy_revenge_sara_m_01_hard">
	<presentRef label="enemy_revenge_present_01"></presentRef>
	<soundRef label="enemy_break1"></soundRef>
	
	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>

	<repeat><times>3</times>
		<actionRef label="revenge_bullet"/>
		<wait>1</wait>
	</repeat>

	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>5+$_self_cx%5</param><param>5</param></createRef>
	<createRef label="item_create_03"><param>5</param><param>5+$_self_cy%5</param></createRef>

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

	<actionRef label="item_counter_01"><param>$1</param><param>$2</param><param>$3</param><param>12</param><param>$localcounter</param></actionRef>
	<wait>45-$1*4</wait>
	<global name="enemy_num">$__enemy_num-1</global>
	<vanish></vanish>
</revenge>


<present label="enemy_revenge_present_01">
	<actionRef label="explosion_action"></actionRef>
</present>

<present label="enemy_revenge_present_01_small">
	<actionRef label="explosion_action_small"></actionRef>
</present>

<create label="enemy_revenge_present_01_l">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemy>
		<score>0</score>
		<inv>0</inv>
		<prate>0</prate>
		<collision type="circle"><cx>0</cx><cy>0</cy><radius>0</radius></collision>
		<child>1</child>
		<definedAction type="synctoparentx"></definedAction>
		<definedAction type="synctoparenty"></definedAction>

		<img type="add">
			<file type="dds">explode10</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>168</width><height>168</height><term>35</term>
		</changeImgSize>

		<wait>30</wait>
		<changeColor>
			<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>35</term>
		</changeColor>
		<wait>35</wait>
		<vanish/>
	</enemy>
</create>

<create label="enemy_revenge_present_02">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<enemy>
		<score>0</score>
		<inv>0</inv>
		<prate>0</prate>
		<collision type="circle"><cx>0</cx><cy>0</cy><radius>0</radius></collision>
		<child>1</child>
		<definedAction type="synctoparentx"></definedAction>
		<definedAction type="synctoparenty"></definedAction>

		<img type="add">
			<file type="dds">ring</file>
			<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
			<width>304</width><height>304</height>
			<alpha>104</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>184</alpha><red>255</red><green>255</green><blue>255</blue><term>35</term>
		</changeColor>
		<wait>35</wait>
		<vanish/>
	</enemy>
</create>



</exbulletml>