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

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

<action label="player_top">

	<!-- typeN_option.xml も変更する必要があることに注意 -->
	
	<!-- *** REPLAY のため present の 2 つも変更する必要があることに注意 ******* -->
	
	<repeat><times>$_player_type-eq0</times><action>
		<sysvar name="playerspeed">4.6</sysvar>
		<sysvar name="playerslowspeed">1.5</sysvar>
	</action></repeat>
	
	<repeat><times>$_player_type-eq1</times><action>
		<sysvar name="playerspeed">4.0</sysvar>
		<sysvar name="playerslowspeed">1.2</sysvar>
	</action></repeat>

	<sysvar name="_arg0">140</sysvar>
	<system><command>setminx</command></system>
	<sysvar name="_arg0">500</sysvar>
	<system><command>setmaxx</command></system>

	<create>
		<player>
			<speed>0</speed>
			<direction>0</direction>
			<cx>320</cx><cy>480-64</cy>		
			<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>1</radius></collision>
			<buzz      type="circle"><cx>-1</cx><cy>-1</cy><radius>14</radius></buzz>

			<wait>5</wait>

			<presentRef label="player_present"/>
			<revengeRef label="player_revenge"/>

			<actionRef label="option_create_action"></actionRef>

			<!-- *** 低速移動時衝突領域オブジェクトの生成 *** -->
			<actionRef label="option_collision_create_action"></actionRef>

			<!-- *** BUZZ 演出用オブジェクトの生成 *** -->
			<actionRef label="option_buzz_create_action"></actionRef>
		</player>
	</create>
</action>

<revenge label="player_revenge">

	<!-- TTC が残っていなかった場合 -->
	<repeat><times>$_revenge_state-eq1</times>
		<addPRate>
			<num>(1000000-$_prate)/10</num>
		</addPRate>

		<sound label="miss_se" type="se">
			<track><file type="ogg">miss</file></track>
			<play><flag>0</flag><loop>0</loop></play>
		</sound>
		<create>
			<speed>0</speed><direction>0</direction>
			<cx>320</cx><cy>240</cy><vital>0</vital>
			<bombRef label="bomb_clearbomb"></bombRef>
		</create>
		<changeColor>
			<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
			<term>10</term>
		</changeColor>
		<targetRevenge label="tension_explode"></targetRevenge>
		<actionRef label="01_create_l"></actionRef>
		<wait>30-25</wait>
		
		<!-- PER 20036 -->
		<repeat><times>$_life-eq0</times>
			<wait>45</wait>	
		</repeat>

		<create>
			<player>
				<speed>0</speed>
				<direction>0</direction>
				<cx>$_self_cx</cx><cy>$_self_cy</cy>
				<inv>180</inv>
				<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>1</radius></collision>
				<buzz      type="circle"><cx>-1</cx><cy>-1</cy><radius>14</radius></buzz>
				<presentRef label="player_present_trans"/>
				<revengeRef label="player_revenge"/>

				<actionRef label="option_create_action"></actionRef>
				<actionRef label="option_collision_create_action"></actionRef>
				<actionRef label="option_buzz_create_action"></actionRef>
				
				<wait>180</wait>
				<presentRef label="player_present"/>				
			</player>
		</create>
		<vanish></vanish>	
		<exit></exit>
	</repeat>

	<!-- TTC が残っていた場合 -->
	<repeat><times>1-($_revenge_state-eq1)</times>			
		<addPRate>
			<num>(1000000-$_prate)/10</num>
		</addPRate>

		<create>
			<player>
				<speed>0</speed>
				<direction>0</direction>
				<cx>$_self_cx</cx><cy>$_self_cy</cy>
				<inv>60</inv>
				<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>1</radius></collision>
				<buzz      type="circle"><cx>-1</cx><cy>-1</cy><radius>14</radius></buzz>
				<presentRef label="player_present_trans"/>
				<revengeRef label="player_revenge"/>
				
				
				<actionRef label="option_create_action"></actionRef>
				<actionRef label="option_collision_create_action"></actionRef>
				<actionRef label="option_buzz_create_action"></actionRef>

				<wait>60</wait>
				<presentRef label="player_present"/>				
			</player>
		</create>
		<vanish></vanish>		
		<exit></exit>
	</repeat>
	

</revenge>

<action label="player_present_common_action">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		
		
	<repeat><times>-1</times><action>
	
		<evaladd name="change_count">$_pldx</evaladd>
		<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>$_player_type-eq0</times>
			<repeat><times>$_pldx-eq0</times>
							
				<repeat><times>$change_count-eq0</times>
					<repeat><times>(($anime_count/4)%4)-eq0</times>
						<setImgUV><left>16+64*0</left><top>0+128</top><right>-16+64*1</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*1</left><top>0+128</top><right>-16+64*2</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*2</left><top>0+128</top><right>-16+64*3</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*1</left><top>0+128</top><right>-16+64*2</right><bottom>60+128</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>16+64*3</left><top>0+128</top><right>-16+64*4</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*4</left><top>0+128</top><right>-16+64*5</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*5</left><top>0+128</top><right>-16+64*6</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*4</left><top>0+128</top><right>-16+64*5</right><bottom>60+128</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>16+64*1</left><top>64+128</top><right>-16+64*2</right><bottom>60+64+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*2</left><top>64+128</top><right>-16+64*3</right><bottom>60+64+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*3</left><top>64+128</top><right>-16+64*4</right><bottom>60+64+128</bottom></setImgUV>
					</repeat>			
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*2</left><top>64+128</top><right>-16+64*3</right><bottom>60+64+128</bottom></setImgUV>
					</repeat>
				</repeat>

			</repeat>
		
			<repeat><times>$_pldx-lt0</times>
				<repeat><times>$change_count-eq-8</times>
					<repeat><times>(($anime_count/4)%4)-eq0</times>
						<setImgUV><left>16+64*6</left><top>0+128</top><right>-16+64*7</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*7</left><top>0+128</top><right>-16+64*8</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*0</left><top>64+128</top><right>-16+64*1</right><bottom>60+64+128</bottom></setImgUV>
					</repeat>			
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*7</left><top>0+128</top><right>-16+64*8</right><bottom>60+128</bottom></setImgUV>
					</repeat>
				</repeat>			
				<repeat><times>$change_count-gt-8</times>
					<repeat><times>(($anime_count/4)%4)-eq0</times>
						<setImgUV><left>16+64*3</left><top>0+128</top><right>-16+64*4</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*4</left><top>0+128</top><right>-16+64*5</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*5</left><top>0+128</top><right>-16+64*6</right><bottom>60+128</bottom></setImgUV>
					</repeat>			
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*4</left><top>0+128</top><right>-16+64*5</right><bottom>60+128</bottom></setImgUV>
					</repeat>
				</repeat>			
			</repeat>			

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

		<repeat><times>$_player_type-eq1</times>
			<repeat><times>$_pldx-eq0</times>
							
				<repeat><times>$change_count-eq0</times>
					<repeat><times>(($anime_count/4)%4)-eq0</times>
						<setImgUV><left>16+64*0</left><top>0</top><right>-16+64*1</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*1</left><top>0</top><right>-16+64*2</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*2</left><top>0</top><right>-16+64*3</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*1</left><top>0</top><right>-16+64*2</right><bottom>60</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>16+64*3</left><top>0</top><right>-16+64*4</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*4</left><top>0</top><right>-16+64*5</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*5</left><top>0</top><right>-16+64*6</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*4</left><top>0</top><right>-16+64*5</right><bottom>60</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>16+64*1</left><top>64</top><right>-16+64*2</right><bottom>60+64</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*2</left><top>64</top><right>-16+64*3</right><bottom>60+64</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*3</left><top>64</top><right>-16+64*4</right><bottom>60+64</bottom></setImgUV>
					</repeat>			
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*2</left><top>64</top><right>-16+64*3</right><bottom>60+64</bottom></setImgUV>
					</repeat>
				</repeat>


			</repeat>
		
			<repeat><times>$_pldx-lt0</times>
				<repeat><times>$change_count-eq-8</times>
					<repeat><times>(($anime_count/4)%4)-eq0</times>
						<setImgUV><left>16+64*6</left><top>0</top><right>-16+64*7</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*7</left><top>0</top><right>-16+64*8</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*0</left><top>64</top><right>-16+64*1</right><bottom>60+64</bottom></setImgUV>
					</repeat>			
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*7</left><top>0</top><right>-16+64*8</right><bottom>60</bottom></setImgUV>
					</repeat>
				</repeat>
				<repeat><times>$change_count-gt-8</times>
					<repeat><times>(($anime_count/4)%4)-eq0</times>
						<setImgUV><left>16+64*3</left><top>0</top><right>-16+64*4</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*4</left><top>0</top><right>-16+64*5</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*5</left><top>0</top><right>-16+64*6</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*4</left><top>0</top><right>-16+64*5</right><bottom>60</bottom></setImgUV>
					</repeat>							
				</repeat>
			</repeat>
			
			<repeat><times>$_pldx-gt0</times>
				<repeat><times>$change_count-eq8</times>
					<repeat><times>(($anime_count/4)%4)-eq0</times>
						<setImgUV><left>16+64*4</left><top>64</top><right>-16+64*5</right><bottom>60+64</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*5</left><top>64</top><right>-16+64*6</right><bottom>60+64</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*6</left><top>64</top><right>-16+64*7</right><bottom>60+64</bottom></setImgUV>
					</repeat>			
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*5</left><top>64</top><right>-16+64*6</right><bottom>60+64</bottom></setImgUV>
					</repeat>
				</repeat>			
				<repeat><times>$change_count-lt8</times>
					<repeat><times>(($anime_count/4)%4)-eq0</times>
						<setImgUV><left>16+64*1</left><top>64</top><right>-16+64*2</right><bottom>60+64</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*2</left><top>64</top><right>-16+64*3</right><bottom>60+64</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*3</left><top>64</top><right>-16+64*4</right><bottom>60+64</bottom></setImgUV>
					</repeat>			
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*2</left><top>64</top><right>-16+64*3</right><bottom>60+64</bottom></setImgUV>
					</repeat>
				</repeat>			
			</repeat>			
		</repeat>
		
		<repeat><times>$_player_type-eq0</times><action>
			<sysvar name="playerspeed">4.6</sysvar>
			<sysvar name="playerslowspeed">1.5</sysvar>
		</action></repeat>
		
		<repeat><times>$_player_type-eq1</times><action>
			<sysvar name="playerspeed">4.0</sysvar>
			<sysvar name="playerslowspeed">1.2</sysvar>
		</action></repeat>
						
		<evaladd name="anime_count">1</evaladd>
		<wait>1</wait>
	</action></repeat>		
</action>

<present label="player_present">
	<imgRef label="player_img"></imgRef>
	<actionRef label="player_present_common_action"></actionRef>

</present>


<present label="player_present2">
	<imgRef label="player_img"></imgRef>
	<actionRef label="player_present_common_action2"></actionRef>

</present>

<action label="player_present_common_action2">
	<eval name="anime_count">0</eval>
	<eval name="change_count">0</eval>		
		
	<repeat><times>-1</times><action>
			
		<repeat><times>$_player_type-eq1</times>
							
				<repeat><times>$change_count-eq0</times>
					<repeat><times>(($anime_count/4)%4)-eq0</times>
						<setImgUV><left>16+64*0</left><top>0+128</top><right>-16+64*1</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*1</left><top>0+128</top><right>-16+64*2</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*2</left><top>0+128</top><right>-16+64*3</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*1</left><top>0+128</top><right>-16+64*2</right><bottom>60+128</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>16+64*3</left><top>0+128</top><right>-16+64*4</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*4</left><top>0+128</top><right>-16+64*5</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*5</left><top>0+128</top><right>-16+64*6</right><bottom>60+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*4</left><top>0+128</top><right>-16+64*5</right><bottom>60+128</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>16+64*1</left><top>64+128</top><right>-16+64*2</right><bottom>60+64+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*2</left><top>64+128</top><right>-16+64*3</right><bottom>60+64+128</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*3</left><top>64+128</top><right>-16+64*4</right><bottom>60+64+128</bottom></setImgUV>
					</repeat>			
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*2</left><top>64+128</top><right>-16+64*3</right><bottom>60+64+128</bottom></setImgUV>
					</repeat>
				</repeat>

			
		</repeat>

		<repeat><times>$_player_type-eq0</times>
							
				<repeat><times>$change_count-eq0</times>
					<repeat><times>(($anime_count/4)%4)-eq0</times>
						<setImgUV><left>16+64*0</left><top>0</top><right>-16+64*1</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*1</left><top>0</top><right>-16+64*2</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*2</left><top>0</top><right>-16+64*3</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*1</left><top>0</top><right>-16+64*2</right><bottom>60</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>16+64*3</left><top>0</top><right>-16+64*4</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*4</left><top>0</top><right>-16+64*5</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*5</left><top>0</top><right>-16+64*6</right><bottom>60</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*4</left><top>0</top><right>-16+64*5</right><bottom>60</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>16+64*1</left><top>64</top><right>-16+64*2</right><bottom>60+64</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq1</times>
						<setImgUV><left>16+64*2</left><top>64</top><right>-16+64*3</right><bottom>60+64</bottom></setImgUV>
					</repeat>
					<repeat><times>(($anime_count/4)%4)-eq2</times>
						<setImgUV><left>16+64*3</left><top>64</top><right>-16+64*4</right><bottom>60+64</bottom></setImgUV>
					</repeat>			
					<repeat><times>(($anime_count/4)%4)-eq3</times>
						<setImgUV><left>16+64*2</left><top>64</top><right>-16+64*3</right><bottom>60+64</bottom></setImgUV>
					</repeat>
				</repeat>

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



<present label="player_present_trans">
	<imgRef label="player_img"></imgRef>
	<changeColor>
		<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue><term>0</term>						
	</changeColor>	
	<actionRef label="player_present_common_action"></actionRef>
</present>

<action label="option_create_action">
	<wait>1</wait>
	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>$_self_cx</cx><cy>$_self_cy</cy>
		<child>1</child>
		<object>
			<imgRef label="option_img"></imgRef>
			<setDrawLevel><num>12</num></setDrawLevel>
			<wait>1</wait>
			
			<action>
				<definedAction type="synctoplayerx"></definedAction>
				<definedAction type="synctoplayery"></definedAction>
			
				<repeat><times>-1</times>
					<changeColor>
						<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>						
					</changeColor>
					<changeImgSize>
						<width>48</width><height>48</height><term>30</term>
					</changeImgSize>
					<wait>30</wait>
						
					<changeColor>
						<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>						
					</changeColor>
					<changeImgSize>
						<width>64</width><height>64</height><term>30</term>
					</changeImgSize>
					<wait>30</wait>
				</repeat>
			</action>
		</object>
	</create>
</action>

<!-- *** 低速移動時衝突領域オブジェクトの生成 *** -->
<action label="option_collision_create_action">
	<create>
		<speed>0</speed><direction type="absolute">0</direction>
		<cx>$_self_cx</cx><cy>$_self_cy</cy><child>1</child>
		<object>
			<imgRef label="option_collision_img"></imgRef>
			<setDrawLevel><num>14</num></setDrawLevel>
			<wait>1</wait>
			
			<definedAction type="synctoplayerx"></definedAction>
			<definedAction type="synctoplayery"></definedAction>
			<rotateImg>
				<direction>6</direction><term>-1</term>
			</rotateImg>
			<eval name="tmp_speed">0</eval>
			<repeat><times>-1</times>
				<repeat><times>$_slowmode-gt$tmp_speed</times>
					<changeColor>
						<alpha>200</alpha><red>255</red><green>255</green><blue>255</blue><term>15</term>
					</changeColor>
					<eval name="tmp_speed">$_slowmode</eval>
					<wait>15</wait>
				</repeat>
				<repeat><times>$_slowmode-lt$tmp_speed</times>
					<changeColor>
						<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>15</term>
					</changeColor>
					<eval name="tmp_speed">$_slowmode</eval>
					<wait>15</wait>
				</repeat>
				<wait>1</wait>
			</repeat>
		</object>
	</create>
</action>

<!-- *** BUZZ 演出用オブジェクトの生成 *** -->
<action label="option_buzz_create_action">
	<wait>1</wait>
	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>$_self_cx</cx><cy>$_self_cy</cy>
		<child>1</child>
		<object>
			<imgRef label="option_buzz_img"></imgRef>
			<setDrawLevel><num>12</num></setDrawLevel>
			<rotateImg>
				<direction>30</direction><term>-1</term>
			</rotateImg>
		
			<wait>1</wait>
			
			<action>
				<definedAction type="synctoplayerx"></definedAction>
				<definedAction type="synctoplayery"></definedAction>
		
				<repeat><times>-1</times>
					<repeat><times>$_buzz_frame-eq1</times>

						<sound label="buzz_se" type="se">
							<track><file type="ogg">buzz</file></track>
							<play><flag>0</flag><loop>0</loop></play>
						</sound>
				
						<changeColor>
							<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>	
						</changeColor>
						<changeImgSize>
							<width>100</width><height>100</height><term>10</term>
						</changeImgSize>
						<wait>1</wait>
						
						<changeColor>
							<alpha>0</alpha><red>200</red><green>200</green><blue>255</blue><term>9</term>	
						</changeColor>

						<changeImgSize>
							<width>32</width><height>32</height><term>1</term>
						</changeImgSize>
					</repeat>
					<wait>1</wait>			
				</repeat>
			</action>
		</object>
	</create>
</action>

<img type="normal" label="player_img">
	<file type="dds">player_dot_anime_type2</file>
	<left>16+64</left><top>128</top><right>48+64</right><bottom>60+128</bottom>
	<width>24</width><height>45</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img type="add" label="option_img">
	<file type="dds">option</file>
	<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
	<width>64</width><height>64</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img type="add" label="option2_img">
	<file type="dds">option2</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>

<img type="add" label="option_buzz_img">
	<file type="dds">explode11</file>
	<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
	<width>32</width><height>32</height>
	<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

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

</exbulletml>