<?xml version="1.0" encoding="shift_jis"?>
<exbulletml>

<!-- ************ enemy 01 ***************** -->
<create l="enemy_create_01">
	<speed>3+($__temp_grank-gt2)</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_01"><p>0</p></enemyRef>
</create>

<create l="enemy_create_01n">
	<speed>3+($__temp_grank-gt2)</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_01n"><p>0</p></enemyRef>
</create>

<create l="enemy_create_01_score">
	<speed>3+($__temp_grank-gt2)</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_01"><p>1</p></enemyRef>
</create>

<create l="enemy_create_01n_score">
	<speed>3+($__temp_grank-gt2)</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_01n"><p>1</p></enemyRef>
</create>


<enemy l="enemy_01">
	<score>160</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_1"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>

	<a>
		<w>20</w>
		<chS><sp>0.8</sp><tm>30</tm></chS>
		<w>30-($__temp_grank-gt2)*20</w>

		<chD><dir type="abs">210</dir><tm>200</tm></chD>
		<chS><sp>2</sp><tm>30</tm></chS>
		<w>10</w>

		<repeat><times>($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action"><p>64</p></aRef>
			<fRef l="enemy_fire_02"><p>0</p><p>1.2</p></fRef>
			<w>6</w>
		</repeat>
		<repeat><times>1-($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
			<fRef l="enemy_fire_02"><p>0</p><p>1.4</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>1.1</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>0.8</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>0.5</p></fRef>
		</repeat>
	</a>
</enemy>

<enemy l="enemy_01n">
	<score>160</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_1"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>

	<a>
		<w>20</w>
		<chS><sp>0.8</sp><tm>30</tm></chS>
		<w>30-($__temp_grank-gt2)*20</w>

		<chD><dir type="abs">210</dir><tm>200</tm></chD>
		<chS><sp>2</sp><tm>30</tm></chS>
		<w>10</w>

	</a>
</enemy>

<!-- ************ enemy 02 ***************** -->
<create label="enemy_create_02">
	<speed>3.5</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_02"><p>0</p></enemyRef>
</create>

<create label="enemy_create_02_score">
	<speed>3.5</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_02"><p>1</p></enemyRef>
</create>

<enemy label="enemy_02">
	<score>100</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate4</prate>
	<presentRef label="enemy_present_small_1"></presentRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>7</radius></collision>

	<action>
		
		<wait>10+($_self_cx+$_player_cx)%5</wait>
		<changeSpeed>
			<speed type="absolute">0.4</speed><term>20</term>
		</changeSpeed>
		<wait>5</wait>
		<repeat><times>$1*($__temp_grank-eq2)</times>
			<aRef l="enemy_bullet_action"><p>32</p></aRef>
			<fRef l="enemy_fire_01"><p>0</p><p>1.2</p></fRef>
		</repeat>
		<repeat><times>($__temp_grank-gt2)</times>
			<aRef l="enemy_bullet_action2"><p>32</p></aRef>
			<fRef l="enemy_fire_01"><p>0</p><p>1.4</p></fRef>
			<fRef l="enemy_fire_01"><p>0</p><p>1.0</p></fRef>
		</repeat>
		<wait>1</wait>

		<repeat><times>10</times>
			<eval name="judge_x">($_self_cx-lt170)+(($_self_cx-gt470)*(-1))</eval>
			<eval name="random_dir">$_self_cx+$_self_cy+$_player_cx+$_player_cy</eval>
			<wait>1</wait>
			<changeDirection>
				<direction type="absolute">90+(($judge_x-1)*$judge_x)*90+((-18*$judge_x*$judge_x)+9*$judge_x+18)*($random_dir%11)</direction><term>1</term>
			</changeDirection>
			<wait>60</wait>
		</repeat>

		<changeSpeed>
			<speed type="absolute">1.2</speed><term>45</term>
		</changeSpeed>

	</action>

</enemy>

<!-- ************ enemy 03 ***************** -->
<create l="enemy_create_03">
	<speed>3+($__temp_grank-gt2)</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_03"><p>0</p></enemyRef>
</create>

<create l="enemy_create_03_score">
	<speed>3+($__temp_grank-gt2)</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_03"><p>1</p></enemyRef>
</create>

<enemy l="enemy_03">
	<score>160</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_1"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>

	<a>
		<w>20</w>
		<chS><sp>0.8</sp><tm>30</tm></chS>
		<w>30-($__temp_grank-gt2)*20</w>

		<chD><dir type="abs">150</dir><tm>200</tm></chD>
		<chS><sp>2</sp><tm>30</tm></chS>
		<w>10</w>

		<repeat><times>($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action"><p>64</p></aRef>
			<fRef l="enemy_fire_02"><p>0</p><p>1.2</p></fRef>
			<w>6</w>
		</repeat>
		<repeat><times>1-($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
			<fRef l="enemy_fire_02"><p>0</p><p>1.4</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>1.1</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>0.8</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>0.5</p></fRef>
		</repeat>
	</a>
</enemy>

<create l="enemy_create_03n">
	<speed>3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_03n"><p>0</p></enemyRef>
</create>

<create l="enemy_create_03n_score">
	<speed>3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_03n"><p>1</p></enemyRef>
</create>

<enemy l="enemy_03n">
	<score>160</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_1"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>

	<a>
		<w>20</w>
		<chS><sp>0.8</sp><tm>30</tm></chS>
		<w>30-($__temp_grank-gt2)*20</w>

		<chD><dir type="abs">150</dir><tm>200</tm></chD>
		<chS><sp>2</sp><tm>30</tm></chS>
		<w>10</w>

	</a>
</enemy>

<!-- ************ enemy 04 ***************** -->
<create l="enemy_create_04">
	<speed>3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>850</vital>
	<enemyRef label="enemy_04"><p>0</p></enemyRef>
</create>


<enemy label="enemy_04">
	<score>1000</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate</prate>
	<presentRef label="enemy_present_m1"></presentRef>
	<revRef label="enemy_revenge_m_01"><param>4</param><param>20</param><param>140</param><p>80</p></revRef>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>22</radius></collision>
<!--	<collision type="sync"><left>-25</left><top>-25</top><right>25</right><bottom>25</bottom></collision>	-->


	<action>
		<wait>20</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>40</term>
		</changeSpeed>
		<wait>40</wait>
		
		<repeat><times>2</times>
			<aRef l="enemy04_bullet"/>
			<wait>80</wait>
		</repeat>
		<w>120</w>
		<chS><sp>2</sp><tm>30</tm></chS>

	</action>
</enemy>

<a l="enemy04_bullet">
	<repeat><times>($__temp_grank-lt2)</times>
		<aRef l="enemy_bullet_action3"><p>64</p></aRef>
		<fRef l="enemy_fire_03"><p>-30</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>30</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>30</p><p>1.3</p></fRef>
	</repeat>
	<repeat><times>$__temp_grank-eq2</times>
		<aRef l="enemy_bullet_action4"><p>64</p></aRef>
		<fRef l="enemy_fire_03"><p>-30</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>30</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>30</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>30</p><p>1.3</p></fRef>
		<wait>40</wait>
		<aRef l="enemy_bullet_action4"><p>64</p></aRef>
		<fRef l="enemy_fire_03"><p>35</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>-30</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>-30</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>-30</p><p>1.3</p></fRef>
	</repeat>
	<repeat><times>($__temp_grank-gt2)*2</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fRef l="enemy_fire_03"><p>-30</p><p>1.3</p></fRef>
		<repeat><times>5</times>
			<fRef l="enemy_fire_03s"><p>30</p><p>1.3</p></fRef>
			<wait>2</wait>
		</repeat>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fRef l="enemy_fire_03"><p>-30</p><p>1.3</p></fRef>
		<repeat><times>5</times>
			<fRef l="enemy_fire_03s"><p>30</p><p>1.3</p></fRef>
			<wait>2</wait>
		</repeat>
	</repeat>
</a>


<!-- ************ enemy 05 ***************** -->

<create l="enemy_create_05">
	<speed>2.6</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_05"><p>0</p><p>$3</p></enemyRef>
</create>

<create l="enemy_create_05n">
	<speed>2.6</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_05n"><p>0</p><p>$3</p></enemyRef>
</create>

<create l="enemy_create_05_score">
	<speed>2.6</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_05"><p>1</p><p>$3</p></enemyRef>
</create>

<create l="enemy_create_05n_score">
	<speed>2.6</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_05n"><p>1</p><p>$3</p></enemyRef>
</create>


<enemy l="enemy_05">
	<score>160</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_1"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>

	<a>
		<w>10+$2</w>
		<chS><sp>0</sp><tm>30</tm></chS>
		<w>10</w>

		<repeat><times>($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action"><p>64</p></aRef>
			<fRef l="enemy_fire_04"><p>0</p><p>1.2</p></fRef>
			<w>6</w>
		</repeat>
		<repeat><times>1-($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
			<fRef l="enemy_fire_04"><p>0</p><p>1.2</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_04s"><p>60</p><p>1.2</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_04s"><p>-120</p><p>1.2</p></fRef>
		</repeat>

		<w>40</w>
		<chS><sp>2</sp><tm>30</tm></chS>

	</a>
</enemy>

<enemy l="enemy_05n">
	<score>160</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_1"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>

	<a>
		<w>10+$2</w>
		<chS><sp>0</sp><tm>30</tm></chS>
		<w>10</w>

		<w>46</w>
		<chS><sp>2</sp><tm>30</tm></chS>

	</a>
</enemy>

<!-- ************ enemy 06 ***************** -->
<create l="enemy_create_06">
	<speed>2.2</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>780</vital>
	<enemyRef label="enemy_06"><p>0</p><p>$3</p></enemyRef>
</create>


<enemy label="enemy_06">
	<score>1000</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate</prate>
	<presentRef label="enemy_present_m1"></presentRef>
	<revRef label="enemy_revenge_m_01"><param>4</param><param>20</param><param>120</param><p>80</p></revRef>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>22</radius></collision>
<!--	<collision type="sync"><left>-25</left><top>-25</top><right>25</right><bottom>25</bottom></collision>	-->


	<action>
		<wait>15+$2</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>40</term>
		</changeSpeed>
		<wait>40</wait>
		
		
		<repeat><times>2+($__temp_grank-eq2*1)+($__temp_grank-gt2*4)</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fRef l="enemy_fire_05ab"><p>180</p><p>1.2</p></fRef>
		<repeat><times>($__temp_grank-lt2)</times>
			<repeat><times>4</times>
				<fRef l="enemy_fire_05s"><p>72</p><p>1.2</p></fRef>
			</repeat>
			<w>60</w>
		</repeat>
		<repeat><times>$__temp_grank-eq2</times>
			<repeat><times>5</times>
				<fRef l="enemy_fire_05s"><p>60</p><p>1.2</p></fRef>
			</repeat>
			<w>45</w>
		</repeat>
		<repeat><times>$__temp_grank-gt2</times>
			<repeat><times>8</times>
				<fRef l="enemy_fire_05s"><p>40</p><p>1.2</p></fRef>
			</repeat>
			<w>20</w>
		</repeat>

		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fRef l="enemy_fire_05s"><p>10+($__temp_grank-eq2)*10+($__temp_grank-lt2)*16</p><p>1.0</p></fRef>
		<repeat><times>($__temp_grank-lt2)</times>
			<repeat><times>4</times>
				<fRef l="enemy_fire_05s"><p>72</p><p>1.2</p></fRef>
			</repeat>
			<w>60</w>
		</repeat>
		<repeat><times>$__temp_grank-eq2</times>
			<repeat><times>5</times>
				<fRef l="enemy_fire_05s"><p>60</p><p>1.2</p></fRef>
			</repeat>
			<w>45</w>
		</repeat>
		<repeat><times>$__temp_grank-gt2</times>
			<repeat><times>8</times>
				<fRef l="enemy_fire_05s"><p>40</p><p>1.2</p></fRef>
			</repeat>
			<w>20</w>
		</repeat>
		</repeat>

		<w>100</w>
		<chS><sp>2</sp><tm>30</tm></chS>

	</action>
</enemy>

<!-- ************ enemy 07 ***************** -->
<create label="enemy_create_07">
	<speed>2.8</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_07"><p>0</p></enemyRef>
</create>

<create label="enemy_create_07_score">
	<speed>2.8</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_07"><p>1</p></enemyRef>
</create>

<enemy label="enemy_07">
	<score>100</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate4</prate>
	<presentRef label="enemy_present_small_1"></presentRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>7</radius></collision>

	<action>
		
		<wait>1+($_self_cx+$_player_cx)%5</wait>
		<wait>9</wait>
		<repeat><times>$1*($__temp_grank-lt2)</times>
			<aRef l="enemy_bullet_action"><p>32</p></aRef>
			<fRef l="enemy_fire_01"><p>0</p><p>0.9</p></fRef>
		</repeat>
		<repeat><times>($__temp_grank-eq2)</times>
			<aRef l="enemy_bullet_action"><p>32</p></aRef>
			<fRef l="enemy_fire_01"><p>0</p><p>0.9</p></fRef>
		</repeat>
		<repeat><times>($__temp_grank-gt2)</times>
			<aRef l="enemy_bullet_action4"><p>32</p></aRef>
			<fRef l="enemy_fire_01"><p>-45</p><p>0.9</p></fRef>
			<fRef l="enemy_fire_01s"><p>30</p><p>1.0</p></fRef>
			<fRef l="enemy_fire_01s"><p>30</p><p>0.8</p></fRef>
			<fRef l="enemy_fire_01s"><p>30</p><p>1.1</p></fRef>
			<wait>5</wait>
			<fRef l="enemy_fire_01"><p>0</p><p>1.2</p></fRef>
		</repeat>
		<wait>1</wait>

	</action>

</enemy>

<!-- ************ enemy 08 ***************** -->

<create l="enemy_create_08">
	<speed>$6</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>80</vital>
	<enemyRef label="enemy_08"><p>0</p><p>$4</p><p>$5</p></enemyRef>
</create>

<create l="enemy_create_08_score">
	<speed>$6</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>70</vital>
	<enemyRef label="enemy_08"><p>1</p><p>$4</p><p>$5</p></enemyRef>
</create>

<enemy l="enemy_08">
	<score>350</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate3</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_3"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>2</p><p>20</p><p>30</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>2</p><p>20</p><p>30</p><p>80</p></revRef>
	</repeat>

	<a>
		<w>10</w>
		<chS><sp>$2</sp><tm>30</tm></chS>
		<w>10</w>
		<changeDirection>
			<direction type="absolute">$3</direction><term>45</term>
		</changeDirection>

		<repeat><times>-1</times>
			<repeat><times>($__temp_grank-lt2)</times>
				<aRef l="enemy_bullet_action"><p>64</p></aRef>
				<fRef l="enemy_fire_06ab"><p>180</p><p>1.1</p></fRef>
				<w>60</w>
			</repeat>
			<repeat><times>($__temp_grank-eq2)</times>
				<aRef l="enemy_bullet_action"><p>64</p></aRef>
				<fRef l="enemy_fire_06ab"><p>180</p><p>1.3</p></fRef>
				<w>40</w>
			</repeat>
			<repeat><times>$__temp_grank-gt2</times>
				<aRef l="enemy_bullet_action4"><p>64</p></aRef>
				<fRef l="enemy_fire_07"><p>0</p><p>1.2</p></fRef>
				<fRef l="enemy_fire_06ab"><p>180</p><p>1.6</p></fRef>
				<fRef l="enemy_fire_06s"><p>0</p><p>1.3</p></fRef>
				<fRef l="enemy_fire_06s"><p>0</p><p>1.0</p></fRef>
				<w>20</w>
			</repeat>
		</repeat>

	</a>
</enemy>


<!-- ************ enemy 09 ***************** -->
<create l="enemy_create_09">
	<speed>4.2</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>900</vital>
	<enemyRef label="enemy_09"><p>0</p></enemyRef>
</create>

<create l="enemy_create_09_hard">
	<speed>4.2</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>1300</vital>
	<enemyRef label="enemy_09"><p>0</p></enemyRef>
</create>


<enemy label="enemy_09">
	<score>1000</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate</prate>
	<presentRef label="enemy_present_m1"></presentRef>
	<revRef label="enemy_revenge_m_01"><param>4</param><param>20</param><param>140</param><p>80</p></revRef>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>22</radius></collision>
<!--	<collision type="sync"><left>-25</left><top>-25</top><right>25</right><bottom>25</bottom></collision>	-->

	<action>
		<wait>20</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>40</term>
		</changeSpeed>
		<wait>40</wait>


		<repeat><times>3</times>
		<repeat><times>($__temp_grank-lt2)</times>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_08ab"><p>0</p><p>1.2</p></fRef>
			<repeat><times>5</times>
				<fRef l="enemy_fire_08s"><p>60</p><p>1.2</p></fRef>
			</repeat>
			<w>30</w>
		</repeat>
		<repeat><times>($__temp_grank-eq2)</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_08ab"><p>0</p><p>1.4</p></fRef>
			<repeat><times>8</times>
				<fRef l="enemy_fire_08s"><p>40</p><p>1.4</p></fRef>
			</repeat>
			<w>30</w>
		</repeat>
		<repeat><times>($__temp_grank-gt2)*2</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_08"><p>-42</p><p>1.6</p></fRef>
			<repeat><times>23</times>
				<fRef l="enemy_fire_08s"><p>44</p><p>1.6</p></fRef>
				<w>1</w>
			</repeat>
			<w>7</w>
		</repeat>
		<w>60-($__temp_grank-gt2)*30</w>
		</repeat>

		<chS>
			<sp>2.5</sp><tm>30</tm>
		</chS>
		<chD>
			<dir type="absolute">0</dir><tm>1</tm>
		</chD>


	</action>
</enemy>

<!-- ************ enemy 10 ***************** -->
<create label="enemy_create_10">
	<speed>$5</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>24</vital>
	<enemyRef label="enemy_10"><p>0</p><p>$4</p><p>$6</p></enemyRef>
</create>

<create label="enemy_create_10_score">
	<speed>$5</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>24</vital>
	<enemyRef label="enemy_10"><p>1</p><p>$4</p><p>$6</p></enemyRef>
</create>

<create label="enemy_create_10n">
	<speed>$5</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>24</vital>
	<enemyRef label="enemy_10n"><p>0</p><p>$4</p><p>$6</p></enemyRef>
</create>

<create label="enemy_create_10n_score">
	<speed>$5</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>24</vital>
	<enemyRef label="enemy_10n"><p>1</p><p>$4</p><p>$6</p></enemyRef>
</create>

<enemy label="enemy_10">
	<score>100</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate4</prate>
	<presentRef label="enemy_present_small_1"></presentRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>7</radius></collision>

	<action>
		<w>10</w>
		<chS><sp>$2</sp><tm>30</tm></chS>
		<repeat><times>($__temp_grank-lt2)</times>
			<aRef l="enemy_bullet_action"><p>32</p></aRef>
			<fRef l="enemy_fire_01r"><p>0</p><p>0.9</p></fRef>
		</repeat>
		<repeat><times>($__temp_grank-eq2)</times>
			<aRef l="enemy_bullet_action3"><p>32</p></aRef>
			<fRef l="enemy_fire_01r"><p>0</p><p>0.9</p></fRef>
			<fRef l="enemy_fire_01s"><p>40</p><p>0.9</p></fRef>
			<fRef l="enemy_fire_01s"><p>-80</p><p>0.9</p></fRef>
		</repeat>
		<repeat><times>($__temp_grank-gt2)</times>
			<aRef l="enemy_bullet_action4"><p>32</p></aRef>
			<fRef l="enemy_fire_01r"><p>-60</p><p>0.9</p></fRef>
			<fRef l="enemy_fire_01s"><p>30</p><p>1.0</p></fRef>
			<fRef l="enemy_fire_01s"><p>30</p><p>1.1</p></fRef>
			<fRef l="enemy_fire_01s"><p>30</p><p>1.0</p></fRef>
			<fRef l="enemy_fire_01s"><p>30</p><p>0.9</p></fRef>
		</repeat>

		<w>10</w>
		<changeDirection>
			<direction type="relative">$3</direction><term>60</term>
		</changeDirection>
		
	</action>
</enemy>

<enemy label="enemy_10n">
	<score>100</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate4</prate>
	<presentRef label="enemy_present_small_1"></presentRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>7</radius></collision>

	<action>
		<w>10</w>
		<chS><sp>$2</sp><tm>30</tm></chS>
		<w>10</w>
		<changeDirection>
			<direction type="relative">$3</direction><term>60</term>
		</changeDirection>

	</action>
</enemy>

<!-- ************ enemy 11 ***************** -->
<create l="enemy_create_11">
	<speed>3+($__temp_grank-gt2)</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_11"><p>0</p></enemyRef>
</create>

<create l="enemy_create_11n">
	<speed>3+($__temp_grank-gt2)</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_11n"><p>0</p></enemyRef>
</create>

<create l="enemy_create_11_score">
	<speed>3+($__temp_grank-gt2)</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_11"><p>1</p></enemyRef>
</create>

<create l="enemy_create_11n_score">
	<speed>3+($__temp_grank-gt2)</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_11n"><p>1</p></enemyRef>
</create>


<enemy l="enemy_11">
	<score>160</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate2</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_1"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>

	<a>
		<w>20</w>
		<chS><sp>0.8</sp><tm>30</tm></chS>
		<repeat><times>($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action"><p>64</p></aRef>
			<fRef l="enemy_fire_02"><p>0</p><p>1.2</p></fRef>
			<w>6</w>
		</repeat>
		<repeat><times>1-($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
			<fRef l="enemy_fire_02"><p>0</p><p>1.4</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>1.1</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>0.8</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>0.5</p></fRef>
		</repeat>

		<w>30-($__temp_grank-gt2)*20</w>

		<chS><sp>2</sp><tm>30</tm></chS>
		<w>10</w>

	</a>
</enemy>

<enemy l="enemy_11n">
	<score>160</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate2</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_1"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>

	<a>
		<w>20</w>
		<chS><sp>0.8</sp><tm>30</tm></chS>

		<repeat><times>1-($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
			<fRef l="enemy_fire_02"><p>0</p><p>1.4</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>1.1</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>0.8</p></fRef>
			<w>2</w>
			<fRef l="enemy_fire_02s"><p>0</p><p>0.5</p></fRef>
		</repeat>

		<w>30-($__temp_grank-gt2)*20</w>

		<chS><sp>2</sp><tm>30</tm></chS>
		<w>10</w>
	</a>
</enemy>

<!-- ************ enemy 12 ***************** -->
<create label="enemy_create_12">
	<speed>3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_12"><p>0</p></enemyRef>
</create>

<create label="enemy_create_12_score">
	<speed>3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_12"><p>1</p></enemyRef>
</create>

<create label="enemy_create_12n">
	<speed>3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_12n"><p>0</p></enemyRef>
</create>

<create label="enemy_create_12n_score">
	<speed>3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_12n"><p>1</p></enemyRef>
</create>

<enemy label="enemy_12">
	<score>100</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate4</prate>
	<presentRef label="enemy_present_small_1"></presentRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>7</radius></collision>

	<action>
		<w>10</w>
		<chS><sp>0.8</sp><tm>30</tm></chS>
		<repeat><times>($__temp_grank-eq2)</times>
			<aRef l="enemy_bullet_action"><p>32</p></aRef>
			<fRef l="enemy_fire_01"><p>0</p><p>1.1</p></fRef>
		</repeat>
		<repeat><times>($__temp_grank-gt2)</times>
			<aRef l="enemy_bullet_action3"><p>32</p></aRef>
			<fRef l="enemy_fire_01"><p>0</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_01"><p>-32</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_01"><p>32</p><p>1.3</p></fRef>
		</repeat>
		<w>30</w>
		<chS><sp>1.6</sp><tm>30</tm></chS>

	</action>
</enemy>

<enemy label="enemy_12n">
	<score>100</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate4</prate>
	<presentRef label="enemy_present_small_1"></presentRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>7</radius></collision>

	<action>
		<w>10</w>
		<chS><sp>0.8</sp><tm>30</tm></chS>
		<w>30</w>
		<chS><sp>1.6</sp><tm>30</tm></chS>

	</action>
</enemy>

<!-- ************ enemy 13 ***************** -->
<create l="enemy_create_13">
	<speed>3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>950</vital>
	<enemyRef label="enemy_13"><p>0</p></enemyRef>
</create>


<enemy label="enemy_13">
	<score>1000</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate</prate>
	<presentRef label="enemy_present_m1"></presentRef>
	<revRef label="enemy_revenge_m_01"><param>4</param><param>20</param><param>140</param><p>80</p></revRef>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>22</radius></collision>
<!--	<collision type="sync"><left>-25</left><top>-25</top><right>25</right><bottom>25</bottom></collision>	-->


	<action>
		<wait>20</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>40</term>
		</changeSpeed>
		<wait>40</wait>
		
		<aRef l="enemy13_bullet"/>
		<wait>80</wait>
		<w>30</w>
		<chS><sp>2</sp><tm>30</tm></chS>

	</action>
</enemy>

<a l="enemy13_bullet">
	<repeat><times>($__temp_grank-lt2)</times>
		<aRef l="enemy_bullet_action3"><p>64</p></aRef>
		<fRef l="enemy_fire_09"><p>0</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_09s"><p>120</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_09s"><p>120</p><p>1.3</p></fRef>
	</repeat>
	<repeat><times>$__temp_grank-eq2</times>
		<aRef l="enemy_bullet_action4"><p>64</p></aRef>
		<fRef l="enemy_fire_03"><p>0</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>90</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>90</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_03s"><p>90</p><p>1.3</p></fRef>
	</repeat>
	<repeat><times>($__temp_grank-gt2)</times>
		<aRef l="enemy_bullet_action4"><p>64</p></aRef>
		<fRef l="enemy_fire_03"><p>0</p><p>1.3</p></fRef>
		<repeat><times>5</times>
			<fRef l="enemy_fire_03s"><p>60</p><p>1.3</p></fRef>
		</repeat>
	</repeat>

	<repeat><times>6</times>
		<wait>30-($__temp_grank-gt2)*15</wait>
		<repeat><times>($__temp_grank-lt2)</times>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
			<fRef l="enemy_fire_09s"><p>120+30</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_09s"><p>120</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_09s"><p>120</p><p>1.3</p></fRef>
		</repeat>
		<repeat><times>$__temp_grank-eq2</times>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_09s"><p>90+30</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_09s"><p>90</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_09s"><p>90</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_09s"><p>90</p><p>1.3</p></fRef>
		</repeat>
		<repeat><times>($__temp_grank-gt2)</times>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_09s"><p>60+20</p><p>1.6</p></fRef>
			<repeat><times>5</times>
				<fRef l="enemy_fire_09s"><p>60</p><p>1.6</p></fRef>
			</repeat>
			<wait>15</wait>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_09s"><p>60+20</p><p>1.6</p></fRef>
			<repeat><times>5</times>
				<fRef l="enemy_fire_09s"><p>60</p><p>1.6</p></fRef>
			</repeat>
		</repeat>
	</repeat>

</a>


<!-- ************ enemy 14 ***************** -->
<create l="enemy_create_14">
	<speed>$3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_14"><p>0</p><p>$4</p></enemyRef>
</create>

<create l="enemy_create_14_score">
	<speed>$3</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_14"><p>1</p><p>$4</p></enemyRef>
</create>


<enemy label="enemy_14">
	<score>350</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate3</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_3"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>30</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>30</p><p>80</p></revRef>
	</repeat>
	<action>

		<wait>$2</wait>
		<chS><sp>0</sp><tm>15</tm></chS>
		<wait>15</wait>

			<repeat><times>($__temp_grank-lt2)</times>
				<aRef l="enemy_bullet_action"><p>64</p></aRef>
				<fRef l="enemy_fire_06ab"><p>180</p><p>1.1</p></fRef>
				<w>60</w>
			</repeat>
			<repeat><times>($__temp_grank-eq2)</times>
				<aRef l="enemy_bullet_action"><p>64</p></aRef>
				<fRef l="enemy_fire_06ab"><p>180</p><p>1.3</p></fRef>
				<w>40</w>
			</repeat>
			<repeat><times>$__temp_grank-gt2</times>
				<aRef l="enemy_bullet_action4"><p>64</p></aRef>
				<fRef l="enemy_fire_07"><p>0</p><p>1.2</p></fRef>
				<fRef l="enemy_fire_06ab"><p>180</p><p>1.6</p></fRef>
				<fRef l="enemy_fire_06s"><p>0</p><p>1.3</p></fRef>
				<fRef l="enemy_fire_06s"><p>0</p><p>1.0</p></fRef>
				<w>20</w>
			</repeat>

		<w>60</w>
		<chS><sp>2</sp><tm>15</tm></chS>

	</action>
</enemy>

<!-- ************ enemy 15 ***************** -->
<create l="enemy_create_15">
	<speed>4</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>2050</vital>
	<enemyRef label="enemy_15"><p>0</p></enemyRef>
</create>


<enemy l="enemy_15">
	<score>3600</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate2</prate>
	<presentRef label="enemy_present_ball_big_green"></presentRef>
	<revengeRef label="enemy_revenge_stagelast"><param>7</param><param>20</param><param>220</param><param>80</param></revengeRef>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>18</radius></collision>

	<a>
		<wait>20</wait>
		<chS><sp>0</sp><tm>10</tm></chS>
		<eval name="w_time">6-($__temp_grank-gt3)-($__temp_grank-gt4)+($__temp_grank-lt2)</eval>
		<wait>10</wait>

	<repeat><times>5</times>
		<repeat><times>1+($__temp_grank-gt4)</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fRef l="enemy_fire_11"><p>0</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_12s"><p>80</p><p>1.0</p></fRef>
		<fRef l="enemy_fire_13s"><p>95</p><p>1.1</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_14s"><p>95</p><p>0.8</p></fRef>
		<fRef l="enemy_fire_11s"><p>90+45</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_12s"><p>120</p><p>1.2</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_13s"><p>120+27</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_14ab"><p>45</p><p>0.9</p></fRef>
		<fRef l="enemy_fire_11s"><p>180+33</p><p>1.4</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_11s"><p>120+33</p><p>1.1</p></fRef>
		<fRef l="enemy_fire_12s"><p>70</p><p>0.9</p></fRef>
		<fRef l="enemy_fire_13s"><p>105</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_14s"><p>95+37</p><p>1.4</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_12"><p>0</p><p>0.8</p></fRef>
		<fRef l="enemy_fire_13s"><p>100</p><p>1.2</p></fRef>
		<fRef l="enemy_fire_14s"><p>140+37</p><p>1.0</p></fRef>
		<fRef l="enemy_fire_11"><p>27</p><p>1.4</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_11s"><p>120+62</p><p>1.0</p></fRef>
		<fRef l="enemy_fire_12s"><p>102</p><p>0.8</p></fRef>
		<fRef l="enemy_fire_14s"><p>96+37</p><p>1.1</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_11s"><p>140</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_12s"><p>121</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_13s"><p>70+37</p><p>1.2</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_11"><p>-26</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_13s"><p>90</p><p>1.0</p></fRef>
		<fRef l="enemy_fire_14s"><p>140+37</p><p>1.3</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_11s"><p>40</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_13s"><p>80</p><p>1.2</p></fRef>
		<fRef l="enemy_fire_14s"><p>80+37</p><p>1.1</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_11s"><p>70+43</p><p>1.5</p></fRef>
		<fRef l="enemy_fire_12s"><p>60</p><p>1.0</p></fRef>
		<fRef l="enemy_fire_14s"><p>120+37</p><p>0.9</p></fRef>
		<w>$w_time</w>
		</repeat>
		<eval name="rad">24</eval>
		<w>$w_time</w>

		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fRef l="enemy_fire_15"><p>90</p><p>1.8</p><p>3</p></fRef>
		<repeat><times>4</times>
			<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>3</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>5</times>
			<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>2</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>5</times>
			<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>1</p></fRef>
		</repeat>
		<w>12+$w_time</w>
		<repeat><times>$__temp_grank-gt2</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_15"><p>90+15</p><p>1.8</p><p>3</p></fRef>
			<repeat><times>4</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>3</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>5</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>2</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>5</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>1</p></fRef>
			</repeat>
		</repeat>
		<w>12+$w_time</w>
		<repeat><times>$__temp_grank-gt3</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_15"><p>90+23</p><p>1.8</p><p>3</p></fRef>
			<repeat><times>4</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>3</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>5</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>2</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>5</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>1</p></fRef>
			</repeat>
		</repeat>
		<w>12+$w_time</w>
		<repeat><times>$__temp_grank-gt4</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_15"><p>90-24</p><p>1.8</p><p>3</p></fRef>
			<repeat><times>4</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>3</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>5</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>2</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>5</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>1</p></fRef>
			</repeat>
		</repeat>
		<w>12+$w_time</w>

	</repeat>
	<w>120</w>

	<chS><sp>2</sp><tm>30</tm></chS>


	</a>

</enemy>


<!-- ************ enemy b01 ***************** -->
<create l="enemy_create_b01">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$3</vital>
	<child>1</child>
	<enemyRef label="enemy_b01"><p>0</p><p>$2</p></enemyRef>
</create>

<create l="enemy_create_b01s">
	<speed>4</speed>
	<direction type="sequence">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$3</vital>
	<child>1</child>
	<enemyRef label="enemy_b01"><p>0</p><p>$2</p></enemyRef>
</create>

<create l="enemy_create_b01_score">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$3</vital>
	<child>1</child>
	<enemyRef label="enemy_b01"><p>1</p><p>$2</p></enemyRef>
</create>

<create l="enemy_create_b01s_score">
	<speed>4</speed>
	<direction type="sequence">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$3</vital>
	<child>1</child>
	<enemyRef label="enemy_b01"><p>1</p><p>$2</p></enemyRef>
</create>


<enemy l="enemy_b01">
	<score>300</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_be_1"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>1</p><p>20</p><p>60</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>1</p><p>20</p><p>60</p><p>80</p></revRef>
	</repeat>

	<a>
		<w>$2</w>
		<chS><sp>0</sp><tm>15</tm></chS>

		<wait>15</wait>
		<eval name="wait_temp">60</eval>
		<eval name="bul_num">3+($__temp_grank-eq1)*1+($__temp_grank-eq2)*3+($__temp_grank-eq3)*3+($__temp_grank-eq4)*7+($__temp_grank-eq5)*12</eval>
		<eval name="bul_wait">(60/$bul_num)</eval>
		<wait>5</wait>

		<aRef l="enemy_bullet_action8"><p>32</p></aRef>
		<fRef l="enemy_fire_mbe_01"><p>360/$bul_num</p><p>2.4</p><p>15</p><p>1.5</p></fRef>
		<repeat><times>($bul_num)-1</times>
			<w>$bul_wait</w>
			<fRef l="enemy_fire_mbe_01s"><p>360/$bul_num</p><p>2.4</p><p>15</p><p>1.5</p></fRef>
		</repeat>
		
		<wait>30</wait>

		<aRef l="enemy_bullet_action8"><p>32</p></aRef>
		<fRef l="enemy_fire_mbe_01"><p>360/$bul_num</p><p>2.4</p><p>15</p><p>1.5</p></fRef>
		<repeat><times>($bul_num)-1</times>
			<w>$bul_wait</w>
			<fRef l="enemy_fire_mbe_01s"><p>360/$bul_num</p><p>2.4</p><p>15</p><p>1.5</p></fRef>
		</repeat>

		<wait>30</wait>

		<chS><sp>2</sp><tm>20</tm></chS>

	</a>
</enemy>


<!-- ************ enemy b02 ***************** -->
<create l="enemy_create_b02">
	<speed>2</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$4</vital>
	<child>1</child>
	<enemyRef label="enemy_b02"><p>0</p><p>$2</p><p>$3</p></enemyRef>
</create>

<enemy l="enemy_b02">
	<score>300</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate4</prate>

	<collision type="sync"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<preRef label="enemy_present_be_1"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>1</p><p>20</p><p>60</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>1</p><p>20</p><p>60</p><p>80</p></revRef>
	</repeat>

	<a>
		<chS><sp>0.5</sp><tm>$3</tm></chS>
		<chD><dir type="absolute">90*$2</dir><tm>55</tm></chD>

		<repeat><times>1-($__temp_grank-gt1)</times>
			<repeat><times>2</times>
				<aRef l="enemy_bullet_action"><p>32</p></aRef>
				<fireRef l="enemy_fire_b3_01ab"><p>180</p></fireRef>
				<w>20</w>
			</repeat>
			<w>5</w>
		</repeat>
		<repeat><times>$__temp_grank-gt1</times>
			<repeat><times>3</times>
				<aRef l="enemy_bullet_action"><p>32</p></aRef>
				<fireRef l="enemy_fire_b3_01ab"><p>180</p></fireRef>
				<w>15</w>
			</repeat>
			<w>10</w>
		</repeat>
		<chD><dir type="absolute">140*$2</dir><tm>25</tm></chD>

		<aRef l="enemy_bullet_action"><p>32</p></aRef>
		<fireRef l="enemy_fire_b3_01ab"><p>180</p></fireRef>
		<w>15</w>
		<w>10</w>


		<chS><sp>4</sp><tm>90</tm></chS>
		<chD><dir type="absolute">180*$2</dir><tm>90</tm></chD>
	
		<repeat><times>10</times>
			<aRef l="enemy_bullet_action"><p>32</p></aRef>
			<fireRef l="enemy_fire_b3_01ab"><p>180</p></fireRef>
			<w>15+(5-$__temp_grank)*3</w>
		</repeat>
	</a>
</enemy>

<!-- ************ enemy boss dummy ***************** -->
<create l="enemy_create_dummy_01">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<vital>1</vital>
	<enemyRef label="enemy_dummy_01"><p>$1</p></enemyRef>
</create>

<enemy l="enemy_dummy_01">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>
	<revRef label="enemy_revenge_dummy_01"><p>80</p></revRef>

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>	
	<img type="normal">
		<file type="dds">circlewhite</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>4</width><height>4</height>
		<alpha>0</alpha><red>255</red><green>80</green><blue>80</blue>
	</img>
	<action>

	<eval name="count">36</eval>	
	<repeat><times>($__temp_grank-gt1)*($__temp_grank-lt4)</times>
		<eval name="sp2">1.4</eval>
		<eval name="dir2">18-($__temp_grank-gt2)*3-($__temp_grank-gt3)*3-($__temp_grank-gt4)*2</eval>

		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fireRef l="enemy_fire_b_02"><p>$1+172+($_player_cx+$_self_cx)%16</p><p>$sp2</p><p>$count</p></fireRef>
		<repeat><times>(360/$dir2)-1</times>
			<wait>1</wait>
			<fireRef l="enemy_fire_b_02s"><p>$dir2</p><p>$sp2</p><p>$count</p></fireRef>
			<evaladd name="count">-1</evaladd>	
		</repeat>
		<wait>36-((360/$dir2)-1)</wait>
	</repeat>

	<repeat><times>($__temp_grank-gt3)</times>
		<eval name="sp2">1.4</eval>
		<eval name="dir2">18-($__temp_grank-gt2)*3-($__temp_grank-gt3)*3-($__temp_grank-gt4)*2</eval>

		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fireRef l="enemy_fire_b_02"><p>$1+172+($_player_cx+$_self_cx)%16</p><p>$sp2-0.2</p><p>$count</p></fireRef>
		<fireRef l="enemy_fire_b_02s"><p>180</p><p>$sp2</p><p>$count</p></fireRef>
		<repeat><times>(360/$dir2)-1</times>
			<wait>1</wait>
			<fireRef l="enemy_fire_b_02s"><p>180+$dir2</p><p>$sp2-0.2</p><p>$count</p></fireRef>
			<fireRef l="enemy_fire_b_02s"><p>180</p><p>$sp2</p><p>$count</p></fireRef>
			<evaladd name="count">-1</evaladd>	
		</repeat>
		<wait>36-((360/$dir2)-1)</wait>
	</repeat>

	<vanish/>
	</action>
</enemy>

<rev label="enemy_revenge_dummy_01">
<vanish/>
</rev>

</exbulletml>
