<?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><p>$4</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><p>$4</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><p>$4</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><p>$4</p></enemyRef>
</create>


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

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>12</radius></collision>
	<preRef label="enemy_present_ball_blue"></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>$2*0.1</sp><tm>15</tm></chS>

		<repeat><times>($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
			<fRef l="enemy_fire_01"><p>-80</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>1.3</p></fRef>
			<w>6</w>
		</repeat>
		<repeat><times>($__temp_grank-eq3)</times>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
			<fRef l="enemy_fire_01"><p>-80</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>1.3</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>1.3</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_01"><p>-80</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>1.2</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_01"><p>-80</p><p>1.1</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>1.1</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>1.1</p></fRef>
			<w>3</w>
		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
				<fRef l="enemy_fire_01r"><p>-80+(($_self_cx+$_self_cy)%39)</p><p>1.3</p></fRef>
				<fRef l="enemy_fire_01s"><p>40</p><p>1.3</p></fRef>
				<fRef l="enemy_fire_01s"><p>40</p><p>1.3</p></fRef>
				<fRef l="enemy_fire_01s"><p>40</p><p>1.3</p></fRef>
				<fRef l="enemy_fire_01s"><p>40</p><p>1.3</p></fRef>
				<w>3</w>
			<repeat><times>3+($__temp_grank-eq5)*2</times>
				<fRef l="enemy_fire_01s"><p>40+(($_self_cx+$_self_cy)%29)</p><p>1.3</p></fRef>
				<fRef l="enemy_fire_01s"><p>40</p><p>1.3</p></fRef>
				<fRef l="enemy_fire_01s"><p>40</p><p>1.3</p></fRef>
				<fRef l="enemy_fire_01s"><p>40</p><p>1.3</p></fRef>
				<fRef l="enemy_fire_01s"><p>40</p><p>1.3</p></fRef>
				<w>3</w>
			</repeat>
		</repeat>

		<chD><dir type="absolute">90+180*($_self_cx-gt320)</dir><tm>200</tm></chD>
		<w>15</w>
		<chS><sp>$2</sp><tm>80</tm></chS>
	</a>
</enemy>

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

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>12</radius></collision>
	<preRef label="enemy_present_ball_blue"></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>$2*0.1</sp><tm>15</tm></chS>

		<repeat><times>($__temp_grank-lt3)</times>
			<w>6</w>
		</repeat>
		<repeat><times>($__temp_grank-eq3)</times>
			<w>3</w>
			<w>3</w>
			<w>3</w>
		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
				<w>3</w>
			<repeat><times>3+($__temp_grank-eq5)*2</times>
				<w>3</w>
			</repeat>
		</repeat>

		<chD><dir type="absolute">90+180*($_self_cx-gt320)</dir><tm>200</tm></chD>
		<w>15</w>
		<chS><sp>$2</sp><tm>80</tm></chS>

	</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_02n">
	<speed>3.5</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_02n"><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>

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

<enemy label="enemy_02">
	<score>140</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate2</prate>
	<presentRef label="enemy_present_box2_red"></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>15</wait>
		<repeat><times>($__temp_grank-lt2)</times>
			<aRef l="enemy_bullet_action"><p>32</p></aRef>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.2</p></fRef>
			<repeat><times>$__temp_grank-eq1</times>
				<fRef l="enemy_fire_02s"><p>45</p><p>1.2</p></fRef>
				<fRef l="enemy_fire_02s"><p>-90</p><p>1.2</p></fRef>
			</repeat>
			<w>9</w>
		</repeat>
		<repeat><times>($__temp_grank-eq2)</times>
			<aRef l="enemy_bullet_action3"><p>32</p></aRef>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_02s"><p>45</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_02s"><p>-90</p><p>1.2</p></fRef>
			<w>5</w>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.0</p></fRef>
			<fRef l="enemy_fire_02s"><p>45</p><p>1.0</p></fRef>
			<fRef l="enemy_fire_02s"><p>-90</p><p>1.0</p></fRef>
			<w>4</w>
		</repeat>
		<repeat><times>($__temp_grank-gt2)</times>
			<eval name="sp1">1.8</eval>
			<aRef l="enemy_bullet_action8"><p>32</p></aRef>
			<fRef l="enemy_fire_02ab"><p>180</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_02s"><p>-80</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
			<w>1</w>

			<repeat><times>($__temp_grank)-1</times>
				<evaladd name="sp1">-0.3</evaladd>
				<fRef l="enemy_fire_02ab"><p>180</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_02s"><p>-80</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
				<w>1</w>
			</repeat>
			<w>6-$__temp_grank</w>
		</repeat>

		<changeSpeed>
			<speed type="absolute">0.4</speed><term>20</term>
		</changeSpeed>

		<repeat><times>2</times>
		<w>60</w>
		<repeat><times>($__temp_grank-lt2)</times>
			<aRef l="enemy_bullet_action"><p>32</p></aRef>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.2</p></fRef>
			<w>9</w>
		</repeat>
		<repeat><times>($__temp_grank-eq2)</times>
			<aRef l="enemy_bullet_action3"><p>32</p></aRef>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_02s"><p>45</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_02s"><p>-90</p><p>1.2</p></fRef>
			<w>4</w>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.0</p></fRef>
			<fRef l="enemy_fire_02s"><p>45</p><p>1.0</p></fRef>
			<fRef l="enemy_fire_02s"><p>-90</p><p>1.0</p></fRef>
			<w>5</w>
		</repeat>
		<repeat><times>($__temp_grank-gt2)</times>
			<eval name="sp1">1.8</eval>
			<aRef l="enemy_bullet_action8"><p>32</p></aRef>
			<fRef l="enemy_fire_02ab"><p>180</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_02s"><p>-80</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
			<w>1</w>

			<repeat><times>($__temp_grank)-1</times>
				<evaladd name="sp1">-0.3</evaladd>
				<fRef l="enemy_fire_02ab"><p>180</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_02s"><p>-80</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_02s"><p>40</p><p>$sp1</p></fRef>
				<w>1</w>
			</repeat>
			<w>6-$__temp_grank</w>
		</repeat>
		</repeat>

		<changeSpeed>
			<speed type="absolute">1.8</speed><term>45</term>
		</changeSpeed>
		<chD><dir type="relative">180</dir><tm>1</tm></chD>

	</action>

</enemy>

<enemy label="enemy_02n">
	<score>140</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate2</prate>
	<presentRef label="enemy_present_box2_red"></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>15</wait>
		<repeat><times>($__temp_grank-lt2)</times>
			<w>9</w>
		</repeat>
		<repeat><times>($__temp_grank-eq2)</times>
			<w>5</w>
			<w>4</w>
		</repeat>
		<repeat><times>($__temp_grank-gt2)</times>
			<w>1</w>

			<repeat><times>($__temp_grank)-1</times>
				<w>1</w>
			</repeat>
			<w>6-$__temp_grank</w>
		</repeat>

		<changeSpeed>
			<speed type="absolute">0.4</speed><term>20</term>
		</changeSpeed>

		<repeat><times>2</times>
		<w>60</w>
		<repeat><times>($__temp_grank-lt2)</times>
			<w>9</w>
		</repeat>
		<repeat><times>($__temp_grank-eq2)</times>
			<w>4</w>
			<w>5</w>
		</repeat>
		<repeat><times>($__temp_grank-gt2)</times>
			<w>1</w>

			<repeat><times>($__temp_grank)-1</times>
				<w>1</w>
			</repeat>
			<w>6-$__temp_grank</w>
		</repeat>
		</repeat>

		<changeSpeed>
			<speed type="absolute">1.8</speed><term>45</term>
		</changeSpeed>
		<chD><dir type="relative">180</dir><tm>1</tm></chD>

	</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>240</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_box_red"></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>240</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_box_red"></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 label="mahoujin_create_04">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<img type="normal">
			<file type="dds">magic_cs_or</file>
			<left>0</left><top>0</top><right>128</right><bottom>128</bottom>
			<width>52</width><height>52</height>
			<alpha>195</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>9</num></setDrawLevel>

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

		<action>
			<changeColor>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
			</changeColor>
			<createRef label="mahoujin_create_back"><cx>$_self_cx</cx><cy>$_self_cy</cy></createRef>
			<create>
				<cx>$_self_cx</cx><cy>$_self_cy</cy><speed>0</speed><direction type="absolute">0</direction>
				<object><actionRef label="smoke_back"></actionRef></object>
			</create>

			<wait>120</wait>
			<createRef label="enemy_create_04"><param>$_self_cx</param><param>$_self_cy</param><param>$3</param></createRef>
			<wait>1</wait>
			<changeColor>
				<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>40</term>
			</changeColor>
			<wait>40</wait>
			<vanish/>
		</action>
	</object>
</create>


<create l="enemy_create_04">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>520</vital>
	<enemyRef label="enemy_04"><p>$3</p></enemyRef>
</create>


<enemy l="enemy_04">
	<score>1400</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate</prate>

	<repeat><times>$1-eq0</times>
		<presentRef label="enemy_present_box2_big_red"></presentRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<presentRef label="enemy_present_box2_big_blue"></presentRef>
	</repeat>
	<repeat><times>$1-eq2</times>
		<presentRef label="enemy_present_box2_big_green"></presentRef>
	</repeat>

	<revengeRef label="enemy_revenge_m_01"><param>5</param><param>20</param><param>140</param><param>80</param></revengeRef>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>18</radius></collision>

	<a>
		<w>18</w>

		<repeat><times>3</times>
			<eval name="sp1">1.7</eval>
			<w>2</w>

			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<repeat><times>2+($__temp_grank-gt2)*2</times>
				<fRef l="enemy_fire_03ab"><p>45</p><p>$sp1</p></fRef>
				<repeat><times>3+($__temp_grank-gt2)*2</times>
					<fRef l="enemy_fire_03s"><p>90-30*($__temp_grank-gt3)</p><p>$sp1</p></fRef>
				</repeat>
				<w>3</w>
				<evaladd name="sp1">-0.3</evaladd>
			</repeat>
			<repeat><times>($__temp_grank-gt3)*2</times>
				<fRef l="enemy_fire_03s"><p>60+20</p><p>$sp1</p></fRef>
				<repeat><times>3+($__temp_grank-gt2)*2</times>
					<fRef l="enemy_fire_03s"><p>90-30*($__temp_grank-gt3)</p><p>$sp1</p></fRef>
				</repeat>
				<w>3</w>
				<evaladd name="sp1">-0.3</evaladd>
			</repeat>
			<w>9-($__temp_grank-gt2)*6</w>
			<w>10</w>

			<repeat><times>1+($__temp_grank-gt2)+($__temp_grank-gt3)*2</times>
				<aRef l="enemy_bullet_action8"><p>64</p></aRef>
				<fRef l="enemy_fire_04ab"><p>45+15</p><p>1.3</p></fRef>
				<repeat><times>5</times>
					<fRef l="enemy_fire_04s"><p>60-30*($__temp_grank-gt3)</p><p>1.3</p></fRef>
				</repeat>
				<w>1</w>
				<repeat><times>6*($__temp_grank-gt3)</times>
					<fRef l="enemy_fire_04s"><p>30</p><p>1.3</p></fRef>
				</repeat>
				<w>60/(1+($__temp_grank-gt2)+($__temp_grank-gt3))</w>
			</repeat>

			<w>60</w>
		</repeat>

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

	</a>
</enemy>


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

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

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

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

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


<enemy l="enemy_05">
	<score>240</score>
	<inv>8</inv>
	<prate>$__small_enemy_prate2</prate>

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>12</radius></collision>
	<preRef label="enemy_present_ball_green"></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>3</w>
		<repeat><times>($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_05"><p>($_prate+$_player_cx)%11</p><p>0.6</p><p>1.3</p></fRef>
			<repeat><times>6-($__temp_grank-lt2)</times>
				<fRef l="enemy_fire_05s"><p>60+($__temp_grank-lt2)*12</p><p>0.6</p><p>1.3</p></fRef>
			</repeat>
		</repeat>
		<repeat><times>1-($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_05"><p>($_prate+$_player_cx)%11</p><p>0.6</p><p>1.3</p></fRef>
			<repeat><times>7+($__temp_grank-gt3)*2</times>
				<fRef l="enemy_fire_05s"><p>45-($__temp_grank-gt3)*5</p><p>0.6</p><p>1.3</p></fRef>
			</repeat>
		</repeat>
		<w>12</w>
		<chS><sp>2.2+($__temp_grank*0.3)</sp><tm>0</tm></chS>
		<chD><dir type="relative">-30*$2</dir><tm>60</tm></chD>

		<!-- <w>60</w> -->

		<repeat><times>($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_05s"><p>($_prate+$_player_cx)%17</p><p>0.6</p><p>1.3</p></fRef>
			<repeat><times>5-($__temp_grank-lt2)</times>
				<fRef l="enemy_fire_05s"><p>60+($__temp_grank-lt2)*12</p><p>0.6</p><p>1.3</p></fRef>
			</repeat>
			<w>60</w>
		</repeat>

		<repeat><times>1-($__temp_grank-lt3)</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_05s"><p>($_prate+$_player_cx)%17</p><p>0.6</p><p>1.3</p></fRef>
			<repeat><times>8+($__temp_grank-gt3)</times>
				<fRef l="enemy_fire_05s"><p>45-($__temp_grank-gt3)*5</p><p>0.6</p><p>1.3</p></fRef>
			</repeat>
			<repeat><times>1+($__temp_grank-gt3)</times>
				<w>15</w>
				<fRef l="enemy_fire_05s"><p>17</p><p>0.6</p><p>1.3</p></fRef>
				<repeat><times>8+($__temp_grank-gt3)</times>
					<fRef l="enemy_fire_05s"><p>45-($__temp_grank-gt3)*5</p><p>0.6</p><p>1.3</p></fRef>
				</repeat>
			</repeat>
			<w>60-(1+($__temp_grank-gt0))*15</w>
		</repeat>

		<chS><sp>3.4</sp><tm>0</tm></chS>
		<chD><dir type="relative">-120*$2</dir><tm>120</tm></chD>

		<w>120</w>


	</a>
</enemy>

<enemy l="enemy_05n">
	<score>240</score>
	<inv>8</inv>
	<prate>$__small_enemy_prate3</prate>

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>12</radius></collision>
	<preRef label="enemy_present_ball_green"></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>15</w>
		<chS><sp>2.2+($__temp_grank*0.3)</sp><tm>0</tm></chS>
		<chD><dir type="relative">-30*$2</dir><tm>60</tm></chD>

		<w>60</w>
		<chS><sp>3.4</sp><tm>0</tm></chS>
		<chD><dir type="relative">-120*$2</dir><tm>120</tm></chD>

		<w>120</w>

	</a>
</enemy>

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


<enemy label="enemy_06">
	<score>1400</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate3</prate>
	<presentRef label="enemy_present_box_big_blue"></presentRef>
	<revRef label="enemy_revenge_m_02"><param>4</param><param>20</param><param>70</param><p>80</p></revRef>
	<collision type="rect"><left>-25</left><top>-25</top><right>25</right><bottom>25</bottom></collision>


	<action>
		<wait>15</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>30</term>
		</changeSpeed>
		<eval name="sp1">2+($__temp_grank*0.2)</eval>
		<wait>30</wait>
		
		
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<repeat><times>($__temp_grank-gt1)</times>
			<fRef l="enemy_fire_06"><p>40-($__temp_grank-gt2)*10</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_06"><p>-40+($__temp_grank-gt2)*10</p><p>$sp1</p></fRef>
			<repeat><times>($__temp_grank-gt2)</times>
				<fRef l="enemy_fire_06"><p>45</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_06"><p>-45</p><p>$sp1</p></fRef>
			</repeat>
		</repeat>
		<w>1</w>
		<fRef l="enemy_fire_06"><p>5</p><p>$sp1</p></fRef>
		<fRef l="enemy_fire_06"><p>-5</p><p>$sp1</p></fRef>
		<w>3</w>
		<evaladd name="sp1">-0.2</evaladd>
		<fRef l="enemy_fire_06s"><p>10</p><p>$sp1</p></fRef>
		<fRef l="enemy_fire_06s"><p>-10</p><p>$sp1</p></fRef>
		<repeat><times>($__temp_grank-gt3)</times>
			<fRef l="enemy_fire_06s"><p>-35</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_06s"><p>80</p><p>$sp1</p></fRef>
		</repeat>
		<repeat><times>1+$__temp_grank</times>
			<w>3</w>
			<evaladd name="sp1">-0.2</evaladd>
			<fRef l="enemy_fire_06s"><p>-35+(1-($__temp_grank-gt3))*45</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_06s"><p>-10</p><p>$sp1</p></fRef>
			<repeat><times>($__temp_grank-gt3)</times>
				<fRef l="enemy_fire_06s"><p>-35</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_06s"><p>80</p><p>$sp1</p></fRef>
			</repeat>
		</repeat>

		<w>60-(4+$__temp_grank)*3</w>

		<repeat><times>$__temp_grank-gt2</times>
			<eval name="sp1">2+($__temp_grank*0.2)</eval>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<repeat><times>($__temp_grank-gt1)</times>
				<fRef l="enemy_fire_06"><p>40</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_06"><p>-40</p><p>$sp1</p></fRef>
			</repeat>
			<fRef l="enemy_fire_06"><p>5</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_06"><p>-5</p><p>$sp1</p></fRef>
			<w>3</w>
			<evaladd name="sp1">-0.2</evaladd>
			<fRef l="enemy_fire_06s"><p>10</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_06s"><p>-10</p><p>$sp1</p></fRef>
			<repeat><times>($__temp_grank-gt3)</times>
				<fRef l="enemy_fire_06s"><p>-35</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_06s"><p>80</p><p>$sp1</p></fRef>
			</repeat>
			<repeat><times>1+$__temp_grank</times>
				<w>3</w>
				<evaladd name="sp1">-0.2</evaladd>
				<fRef l="enemy_fire_06s"><p>-35+(1-($__temp_grank-gt3))*45</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_06s"><p>-10</p><p>$sp1</p></fRef>
				<repeat><times>($__temp_grank-gt3)</times>
					<fRef l="enemy_fire_06s"><p>-35</p><p>$sp1</p></fRef>
					<fRef l="enemy_fire_06s"><p>80</p><p>$sp1</p></fRef>
				</repeat>
			</repeat>
		</repeat>
		<w>60-(4+$__temp_grank)*3</w>

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

	</action>
</enemy>



<!-- ************ enemy 07 ***************** -->
<create label="enemy_create_07n">
	<speed>3.4</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_07n"><p>0</p><p>$3</p></enemyRef>
</create>

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

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

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

<enemy label="enemy_07">
	<score>240</score>
	<inv>18</inv>
	<prate>$__small_enemy_prate</prate>
	<presentRef label="enemy_present_box2_green"></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>
		<eval name="times1">1+($__temp_grank-gt1)*2+($__temp_grank-gt2)+($__temp_grank-gt3)</eval>
		<w>$2</w>

		<aRef l="enemy_bullet_action4"><p>64</p></aRef>
		<fRef l="enemy_fire_07"><p>-1*$times1</p></fRef>
		<repeat><times>$times1</times>
			<fRef l="enemy_fire_07s"><p>2</p></fRef>
		</repeat>
		<chS><sp type="absolute">0.3</sp><tm>10</tm></chS>

		<w>45</w>
		<eval name="times1">1+($__temp_grank-gt1)*2+($__temp_grank-gt2)+($__temp_grank-gt3)</eval>
		<w>5</w>
		<repeat><times>$__temp_grank-gt3</times>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_07"><p>-1*$times1</p></fRef>
			<repeat><times>$times1</times>
				<fRef l="enemy_fire_07s"><p>2</p></fRef>
			</repeat>
		</repeat>

		<chS><sp type="absolute">2</sp><tm>30</tm></chS>
		<chD><dir type="relative">70*(1-2*($_self_cx-lt320))</dir><tm>120</tm></chD>

		<w>45</w>
		<eval name="times1">1+($__temp_grank-gt1)*2+($__temp_grank-gt2)+($__temp_grank-gt3)</eval>
		<w>5</w>

		<repeat><times>$__temp_grank-gt2</times>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_07"><p>-1*$times1</p></fRef>
			<repeat><times>$times1</times>
				<fRef l="enemy_fire_07s"><p>2</p></fRef>
			</repeat>
		</repeat>

	</action>

</enemy>

<enemy label="enemy_07n">
	<score>240</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate</prate>
	<presentRef label="enemy_present_box2_green"></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>$2</w>

		<chS><sp type="absolute">0.3</sp><tm>10</tm></chS>

		<w>50</w>

		<chS><sp type="absolute">2</sp><tm>30</tm></chS>
		<chD><dir type="relative">70*(1-2*($_self_cx-lt320))</dir><tm>120</tm></chD>

		<w>50</w>

	</action>

</enemy>


<!-- ************ enemy 08 ***************** -->
<create label="mahoujin_create_08">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<img type="normal">
			<file type="dds">magic_cs_or</file>
			<left>0</left><top>0</top><right>128</right><bottom>128</bottom>
			<width>52</width><height>52</height>
			<alpha>195</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>9</num></setDrawLevel>

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

		<action>
			<changeColor>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
			</changeColor>
			<createRef label="mahoujin_create_back"><cx>$_self_cx</cx><cy>$_self_cy</cy></createRef>
			<create>
				<cx>$_self_cx</cx><cy>$_self_cy</cy><speed>0</speed><direction type="absolute">0</direction>
				<object><actionRef label="smoke_back"></actionRef></object>
			</create>

			<wait>120</wait>
			<createRef label="enemy_create_08"><param>$_self_cx</param><param>$_self_cy</param><param>$3</param></createRef>
			<wait>1</wait>
			<changeColor>
				<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>40</term>
			</changeColor>
			<wait>40</wait>
			<vanish/>
		</action>
	</object>
</create>


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


<enemy l="enemy_08">
	<score>1400</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate2</prate>

	<repeat><times>$1-eq0</times>
		<presentRef label="enemy_present_box2_big_red"></presentRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<presentRef label="enemy_present_box2_big_blue"></presentRef>
	</repeat>
	<repeat><times>$1-eq2</times>
		<presentRef label="enemy_present_box2_big_green"></presentRef>
	</repeat>

	<revengeRef label="enemy_revenge_m_01"><param>5</param><param>20</param><param>130</param><param>80</param></revengeRef>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>18</radius></collision>

	<a>
		<w>18</w>

		<eval name="sp1">1.7</eval>
		<w>2</w>

		<repeat><times>4</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_08"><p>0</p><p>0</p></fRef>
			<fRef l="enemy_fire_08ss"><p>90</p><p>-90</p><p>3</p></fRef>
			<fRef l="enemy_fire_08ss"><p>180</p><p>90</p><p>3</p></fRef>

			<repeat><times>($__temp_grank-gt2)</times>
				<fRef l="enemy_fire_08ss"><p>180</p><p>-70</p><p>5</p></fRef>
				<fRef l="enemy_fire_08ss"><p>180</p><p>70</p><p>5</p></fRef>
			</repeat>

			<repeat><times>4+$__temp_grank</times>
				<w>3</w>
				<fRef l="enemy_fire_08ss"><p>90</p><p>0</p><p>3</p></fRef>
				<fRef l="enemy_fire_08ss"><p>90</p><p>-90</p><p>3</p></fRef>
				<fRef l="enemy_fire_08ss"><p>180</p><p>90</p><p>3</p></fRef>
				<repeat><times>($__temp_grank-gt3)</times>
					<fRef l="enemy_fire_08ss"><p>180</p><p>-70</p><p>5</p></fRef>
					<fRef l="enemy_fire_08ss"><p>180</p><p>70</p><p>5</p></fRef>
				</repeat>
			</repeat>
			
			<w>50-($__temp_grank*3)</w>

			<repeat><times>$__temp_grank-eq5</times>
				<aRef l="enemy_bullet_action4"><p>64</p></aRef>
				<fRef l="enemy_fire_08"><p>0</p><p>0</p></fRef>
				<repeat><times>3</times>
					<w>3</w>
					<fRef l="enemy_fire_08s"><p>0</p><p>0</p></fRef>
				</repeat>
			</repeat>

			<w>50-($__temp_grank-eq5)*9</w>

		</repeat>

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

	</a>
</enemy>


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


<enemy l="enemy_09">
	<score>1400</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate2</prate>
	<presentRef label="enemy_present_m1"></presentRef>
	<revengeRef label="enemy_revenge_m_01"><param>7</param><param>20</param><param>200</param><param>80</param></revengeRef>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>18</radius></collision>

	<a>
		<w>10</w>
		<chS><sp type="absolute">0</sp><tm>10</tm></chS>
		<w>10</w>

		<repeat><times>$__temp_grank-lt3</times>
			<aRef l="enemy_09_action1"/>
		</repeat>
		<repeat><times>($__temp_grank-eq3)</times>
			<aRef l="enemy_09_action2"/>
		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
			<aRef l="enemy_09_action3"/>
		</repeat>

		<chS><sp type="absolute">2</sp><tm>30</tm></chS>

	</a>
</enemy>

<a l="enemy_09_action1">
	<eval name="dir">23</eval>
	<repeat><times>16-($__temp_grank-lt2)-($__temp_grank-lt1)</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<evaladd name="dir">17+($__temp_grank-eq1)*4+($__temp_grank-eq0)*15</evaladd>
		<fRef l="enemy_fire_09"><p>$dir</p><p>1.2</p></fRef>
		<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.2</p></fRef>
		<repeat><times>4-($__temp_grank-lt1)</times>
			<wait>8</wait>
			<evaladd name="dir">17+($__temp_grank-eq1)*4+($__temp_grank-eq0)*15</evaladd>
			<fRef l="enemy_fire_09"><p>$dir</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.2</p></fRef>
		</repeat>
		<w>8*($__temp_grank-lt1)</w>		
	</repeat>	
	<repeat><times>($__temp_grank-lt2)+($__temp_grank-lt1)</times>
		<wait>30</wait>
	</repeat>

</a>

<a l="enemy_09_action2">
	<eval name="dir">23</eval>
	<repeat><times>16</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<evaladd name="dir">13</evaladd>
		<fRef l="enemy_fire_09"><p>$dir</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_09"><p>$dir+90</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_09"><p>-1*$dir-90</p><p>1.4</p></fRef>
		<repeat><times>6</times>
			<wait>6</wait>
			<evaladd name="dir">13</evaladd>
			<fRef l="enemy_fire_09"><p>$dir</p><p>1.4</p></fRef>
			<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.4</p></fRef>
			<fRef l="enemy_fire_09"><p>$dir+90</p><p>1.4</p></fRef>
			<fRef l="enemy_fire_09"><p>-1*$dir-90</p><p>1.4</p></fRef>
		</repeat>
	</repeat>	

</a>

<a l="enemy_09_action3">
	<eval name="dir">23</eval>
	<repeat><times>16</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<evaladd name="dir">11</evaladd>
		<fRef l="enemy_fire_09"><p>$dir</p><p>1.6</p></fRef>
		<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.6</p></fRef>
		<fRef l="enemy_fire_09"><p>$dir+90</p><p>1.6</p></fRef>
		<fRef l="enemy_fire_09"><p>-1*$dir-90</p><p>1.6</p></fRef>
		<repeat><times>6</times>
			<wait>6</wait>
			<evaladd name="dir">11</evaladd>
			<fRef l="enemy_fire_09"><p>$dir</p><p>1.6</p></fRef>
			<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.6</p></fRef>
			<fRef l="enemy_fire_09"><p>$dir+90</p><p>1.6</p></fRef>
			<fRef l="enemy_fire_09"><p>-1*$dir-90</p><p>1.6</p></fRef>
		</repeat>
	</repeat>	

</a>

<!-- ************ enemy 10_2 ***************** -->
<create l="enemy_create_09_2">
	<speed>6</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>1000</vital>
	<enemyRef label="enemy_09_2"><p>0</p></enemyRef>
</create>


<enemy l="enemy_09_2">
	<score>1400</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate2</prate>
	<presentRef label="enemy_present_m1"></presentRef>
	<revengeRef label="enemy_revenge_m_01"><param>7</param><param>20</param><param>240</param><param>80</param></revengeRef>
	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>18</radius></collision>

	<a>
		<w>10</w>
		<chS><sp type="absolute">0</sp><tm>10</tm></chS>
		<w>10</w>

		<repeat><times>$__temp_grank-lt3</times>
			<aRef l="enemy_09_2_action1"/>
		</repeat>
		<repeat><times>($__temp_grank-eq3)</times>
			<aRef l="enemy_09_2_action2"/>
		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
			<aRef l="enemy_09_2_action3"/>
		</repeat>

		<chS><sp type="absolute">2</sp><tm>30</tm></chS>

	</a>
</enemy>

<a l="enemy_09_2_action1">
	<eval name="dir">23</eval>
	<repeat><times>16-($__temp_grank-lt2)-($__temp_grank-lt1)</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<evaladd name="dir">19+($__temp_grank-eq1)*4+($__temp_grank-eq0)*9</evaladd>
		<fRef l="enemy_fire_09"><p>$dir</p><p>1.2</p></fRef>
		<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.2</p></fRef>
		<repeat><times>3</times>
			<wait>11</wait>
			<evaladd name="dir">17+($__temp_grank-eq1)*4+($__temp_grank-eq0)*9</evaladd>
			<fRef l="enemy_fire_09"><p>$dir</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.2</p></fRef>
		</repeat>
	</repeat>	
	<repeat><times>($__temp_grank-lt2)+($__temp_grank-lt1)</times>
		<wait>30</wait>
	</repeat>

</a>

<a l="enemy_09_2_action2">
	<eval name="dir">23</eval>
	<repeat><times>16</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<evaladd name="dir">17</evaladd>
		<fRef l="enemy_fire_09"><p>$dir</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_09"><p>$dir+90</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_09"><p>-1*$dir-90</p><p>1.4</p></fRef>
		<repeat><times>4</times>
			<wait>8</wait>
			<evaladd name="dir">13</evaladd>
			<fRef l="enemy_fire_09"><p>$dir</p><p>1.4</p></fRef>
			<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.4</p></fRef>
			<fRef l="enemy_fire_09"><p>$dir+90</p><p>1.4</p></fRef>
			<fRef l="enemy_fire_09"><p>-1*$dir-90</p><p>1.4</p></fRef>
		</repeat>
	</repeat>	

</a>

<a l="enemy_09_2_action3">
	<eval name="dir">23</eval>
	<repeat><times>16</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<evaladd name="dir">11</evaladd>
		<fRef l="enemy_fire_09"><p>$dir</p><p>1.6</p></fRef>
		<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.6</p></fRef>
		<fRef l="enemy_fire_09"><p>$dir+90</p><p>1.6</p></fRef>
		<fRef l="enemy_fire_09"><p>-1*$dir-90</p><p>1.6</p></fRef>
		<repeat><times>7</times>
			<wait>5</wait>
			<evaladd name="dir">9</evaladd>
			<fRef l="enemy_fire_09"><p>$dir</p><p>1.6</p></fRef>
			<fRef l="enemy_fire_09"><p>-1*$dir</p><p>1.6</p></fRef>
			<fRef l="enemy_fire_09"><p>$dir+90</p><p>1.6</p></fRef>
			<fRef l="enemy_fire_09"><p>-1*$dir-90</p><p>1.6</p></fRef>
		</repeat>
	</repeat>	

</a>


<!-- ************ enemy 10 ***************** -->
<create label="mahoujin_create_10">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<img type="normal">
			<file type="dds">magic_cs_ye</file>
			<left>0</left><top>0</top><right>128</right><bottom>128</bottom>
			<width>52</width><height>52</height>
			<alpha>125</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>9</num></setDrawLevel>

		<rotateImg>
			<direction>5</direction><term>-1</term>
		</rotateImg>
		<createRef label="mahoujin_create_back"><cx>$_self_cx</cx><cy>$_self_cy</cy></createRef>
		<create>
			<cx>$_self_cx</cx><cy>$_self_cy</cy><speed>0</speed><direction type="absolute">0</direction>
			<object><actionRef label="smoke_back"></actionRef></object>
		</create>

		<repeat><times>$__temp_grank-lt2</times>
			<actionRef l="mahoujin_10_act0"/>
		</repeat>
		<repeat><times>$__temp_grank-eq2</times>
			<actionRef l="mahoujin_10_act1"/>
		</repeat>
		<repeat><times>$__temp_grank-eq3</times>
			<actionRef l="mahoujin_10_act2"/>
		</repeat>
		<repeat><times>$__temp_grank-gt3</times>
			<actionRef l="mahoujin_10_act3"/>
		</repeat>

	</object>
</create>


<action l="mahoujin_10_act0">
	<changeColor>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
	</changeColor>
	<eval name="enemy_dir">100+$_playre_cx%33</eval>
	<wait>108</wait>
	<repeat><times>2</times>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10n_score"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+120</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10n"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+240</param></createRef>
		<w>1</w>
		<evaladd name="enemy_dir">33</evaladd>
		<createRef label="enemy_create_10n"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10n"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+120</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10n"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+240</param></createRef>
		<w>1</w>
		<evaladd name="enemy_dir">33</evaladd>
	</repeat>
	<wait>1</wait>
	<changeColor>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>40</term>
	</changeColor>
	<wait>40</wait>
	<vanish/>
</action>

<action l="mahoujin_10_act1">
	<changeColor>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
	</changeColor>
	<eval name="enemy_dir">100+$_playre_cx%33</eval>
	<wait>108</wait>
	<repeat><times>2</times>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10n"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+120</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10n"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+240</param></createRef>
		<w>1</w>
		<evaladd name="enemy_dir">33</evaladd>
		<createRef label="enemy_create_10_score"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10n"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+120</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10n"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+240</param></createRef>
		<w>1</w>
		<evaladd name="enemy_dir">33</evaladd>
	</repeat>
	<wait>1</wait>
	<changeColor>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>40</term>
	</changeColor>
	<wait>40</wait>
	<vanish/>
</action>

<action l="mahoujin_10_act2">
	<changeColor>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
	</changeColor>
	<eval name="enemy_dir">100+$_playre_cx%33</eval>
	<wait>108</wait>
	<repeat><times>2</times>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+120</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10n_score"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+240</param></createRef>
		<w>1</w>
		<evaladd name="enemy_dir">33</evaladd>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+120</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10n"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+240</param></createRef>
		<w>1</w>
		<evaladd name="enemy_dir">33</evaladd>
	</repeat>
	<wait>1</wait>
	<changeColor>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>40</term>
	</changeColor>
	<wait>40</wait>
	<vanish/>
</action>

<action l="mahoujin_10_act3">
	<changeColor>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
	</changeColor>
	<eval name="enemy_dir">100+$_playre_cx%33</eval>
	<wait>108</wait>
	<repeat><times>2</times>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+120</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+240</param></createRef>
		<w>1</w>
		<evaladd name="enemy_dir">33</evaladd>
		<createRef label="enemy_create_10_score"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+120</param></createRef>
		<w>1</w>
		<createRef label="enemy_create_10"><param>$_self_cx</param><param>$_self_cy</param><param>$enemy_dir+240</param></createRef>
		<w>1</w>
		<evaladd name="enemy_dir">33</evaladd>
	</repeat>
	<wait>1</wait>
	<changeColor>
		<alpha>35</alpha><red>255</red><green>255</green><blue>255</blue><term>40</term>
	</changeColor>
	<wait>40</wait>
	<vanish/>
</action>



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

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

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

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

<enemy l="enemy_10">
	<score>240</score>
	<inv>15</inv>
	<prate>$__small_enemy_prate</prate>

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>11</radius></collision>
	<preRef label="enemy_present_box_red"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>15</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>15</p><p>15</p><p>80</p></revRef>
	</repeat>


	<a>
		<chS><sp>0.4</sp><tm>13</tm></chS>
		<w>13</w>
		<chD><dir type="relative">120</dir><tm>240</tm></chD>
		
		<aRef l="enemy_bullet_action3"><p>64</p></aRef>
		<fRef l="enemy_fire_10r"><p>0</p><p>1.5</p></fRef>
		<fRef l="enemy_fire_10s"><p>0</p><p>1.2</p></fRef>
		<repeat><times>$__temp_grank-gt0</times>
			<fRef l="enemy_fire_10s"><p>00</p><p>0.9</p></fRef>
		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
			<wait>5</wait>
			<fRef l="enemy_fire_10s"><p>16</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_10s"><p>0</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_10s"><p>0</p><p>0.9</p></fRef>
			<wait>5</wait>
			<fRef l="enemy_fire_10s"><p>-32</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_10s"><p>0</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_10s"><p>0</p><p>0.9</p></fRef>
			<wait>80</wait>
		</repeat>
		<repeat><times>1-($__temp_grank-gt3)</times>
			<wait>90</wait>
		</repeat>
		<aRef l="enemy_bullet_action3"><p>64</p></aRef>
		<fRef l="enemy_fire_10r"><p>0</p><p>1.5</p></fRef>
		<fRef l="enemy_fire_10s"><p>0</p><p>1.2</p></fRef>
		<repeat><times>$__temp_grank-gt0</times>
			<fRef l="enemy_fire_10s"><p>0</p><p>0.9</p></fRef>
		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
			<wait>5</wait>
			<fRef l="enemy_fire_10s"><p>16</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_10s"><p>0</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_10s"><p>0</p><p>0.9</p></fRef>
			<wait>5</wait>
			<fRef l="enemy_fire_10s"><p>-32</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_10s"><p>0</p><p>1.2</p></fRef>
			<fRef l="enemy_fire_10s"><p>0</p><p>0.9</p></fRef>
			<wait>80</wait>
		</repeat>

		<chS><sp>2.4</sp><tm>60</tm></chS>

	</a>
</enemy>

<enemy l="enemy_10n">
	<score>240</score>
	<inv>15</inv>
	<prate>$__small_enemy_prate</prate>

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>11</radius></collision>
	<preRef label="enemy_present_5"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>15</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$1-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>15</p><p>15</p><p>80</p></revRef>
	</repeat>


	<a>
		<chS><sp>0.4</sp><tm>13</tm></chS>
		<w>13</w>
		<chD><dir type="relative">120</dir><tm>240</tm></chD>
		
		<wait>90</wait>
		<wait>90</wait>

		<chS><sp>2.4</sp><tm>60</tm></chS>

	</a>
</enemy>


<!-- ************ enemy 11 ***************** -->
<create l="enemy_create_11">
	<speed>4</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>2350</vital>
	<enemyRef label="enemy_11"><p>0</p></enemyRef>
</create>


<enemy l="enemy_11">
	<score>6000</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate2</prate>
<!--	<presentRef label="enemy_present_box2_big_green"></presentRef> -->
	<presentRef label="enemy_present_ball_big_blue"></presentRef>

	<revengeRef label="enemy_revenge_stagelast"><param>7</param><param>20</param><param>240</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">3-($__temp_grank-gt3)-($__temp_grank-gt4)+($__temp_grank-lt2)</eval>
		<wait>10</wait>

	<repeat><times>10</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>
		<fRef l="enemy_fire_14s"><p>95</p><p>0.8</p></fRef>
		<w>$w_time</w>
		<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>
		<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>
		<w>$w_time</w>
		<fRef l="enemy_fire_11s"><p>180+33</p><p>1.4</p></fRef>
		<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>
		<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_11"><p>27</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_12s"><p>60</p><p>1.1</p></fRef>
		<fRef l="enemy_fire_13s"><p>120+37</p><p>1.3</p></fRef>
		<fRef l="enemy_fire_14s"><p>90</p><p>1.2</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_13s"><p>72</p><p>1.4</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>
		<fRef l="enemy_fire_14s"><p>89</p><p>1.0</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_11"><p>-26</p><p>1.4</p></fRef>
		<fRef l="enemy_fire_12s"><p>130</p><p>1.1</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_12s"><p>160</p><p>1.4</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_13s"><p>130</p><p>1.1</p></fRef>
		<fRef l="enemy_fire_14s"><p>120+37</p><p>0.9</p></fRef>
		<w>$w_time</w>
		</repeat>
		<eval name="rad">15</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>7</times>
			<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>3</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>8</times>
			<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>2</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>8</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>7</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>3</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>8</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>2</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>8</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>7</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>3</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>8</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>2</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>8</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>7</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>3</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>8</times>
				<fRef l="enemy_fire_15s"><p>$rad</p><p>1.8</p><p>2</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>8</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 mb1 ***************** -->
<create l="enemy_create_mb1_01">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$4</vital>
	<child>1</child>
	<enemyRef label="enemy_mb1_01"><p>$2</p><p>$3</p></enemyRef>
</create>

<enemy l="enemy_mb1_01">
	<score>450</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate4</prate>

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>12</radius></collision>
	<preRef label="enemy_present_ball_green"></preRef>
	<repeat><times>$2-eq0</times>
		<revRef label="enemy_revenge_mb1_score"><p>1</p><p>20</p><p>60</p><p>80</p></revRef>
	</repeat>
	<repeat><times>1-($2-eq0)</times>
		<revRef label="enemy_revenge_mb1"><p>1</p><p>20</p><p>60</p><p>80</p></revRef>
	</repeat>

	<a>

		<w>$2</w>
		<eval name="bul_num">3+($__temp_grank-gt2)+($__temp_grank-gt3)</eval>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>1</w>
		<aRef l="enemy_bullet_action8"><p>32</p></aRef>
		<fRef l="enemy_fire_mb_3ab"><p>100</p></fRef>
		<repeat><times>$bul_num</times>
			<fRef l="enemy_fire_mb_3s"><p>160/$bul_num</p></fRef>
		</repeat>
		<w>40-($__temp_grank-gt1)*10-($__temp_grank-gt2)*2-($__temp_grank-gt3)*2-($__temp_grank-gt4)*2(</w>
		<chS><sp type="abs">2.4</sp><tm>20</tm></chS>
		<chD><dir type="abs">0</dir><tm>1</tm></chD>
		<w>10</w>
		<repeat><times>-1</times>
			<repeat><times>$__temp_grank-gt0</times>
				<aRef l="enemy_bullet_action8"><p>32</p></aRef>
				<fRef l="enemy_fire_mb_3ab"><p>100</p></fRef>
				<repeat><times>$bul_num</times>
					<fRef l="enemy_fire_mb_3s"><p>160/$bul_num</p></fRef>
				</repeat>
			</repeat>
			<w>50-($__temp_grank-gt1)*10-($__temp_grank-gt2)*2-($__temp_grank-gt3)*2-($__temp_grank-gt4)*2(</w>
			<aRef l="enemy_bullet_action8"><p>32</p></aRef>
			<fRef l="enemy_fire_mb_3"><p>0</p></fRef>
			<repeat><times>$bul_num</times>
				<fRef l="enemy_fire_mb_3"><p>160/$bul_num</p></fRef>
			</repeat>
			<w>50-($__temp_grank-gt1)*10-($__temp_grank-gt2)*2-($__temp_grank-gt3)*2-($__temp_grank-gt4)*2(</w>
			<aRef l="enemy_bullet_action8"><p>32</p></aRef>
			<fRef l="enemy_fire_mb_3"><p>5</p></fRef>
			<repeat><times>$bul_num</times>
				<fRef l="enemy_fire_mb_3"><p>-160/$bul_num</p></fRef>
			</repeat>
			<w>50-($__temp_grank-gt1)*10-($__temp_grank-gt2)*2-($__temp_grank-gt3)*2-($__temp_grank-gt4)*2(</w>
		</repeat>

	</a>
</enemy>

<!-- ************ 中ボス　第２ ***************** -->

<create l="watcher">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<child>1</child>
	<object>
		<action>
			<repeat><times>-1</times>
			<repeat><times>$__grank-lt3</times>	
				<targetRevenge label="enemy_m01_2"></targetRevenge>
			</repeat>
			<w>10</w>
			</repeat>
		</action>
	</object>
</create>

<create l="enemy_create_m01">
	<speed>3+($__temp_grank-lt2)*0.5+($__temp_grank-lt1)*0.5-($__temp_grank-gt3)*0.2</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>2500</vital>
	<child>1</child>
	<enemyRef label="enemy_m01"></enemyRef>
</create>


<enemy l="enemy_m01">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>18</radius></collision>
	<preRef label="enemy_present_ball_big_blue"></preRef>
	<revRef label="enemy_revenge_stage2_mboss01"><p>4</p><p>20</p><p>340</p><p>80</p></revRef>

	<a>
		<w>20</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>20</w>
		<repeat><times>2</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<repeat><times>10</times>
				<fRef l="enemy_fire_mb_2_01"></fRef>
				<w>3</w>
			</repeat>
			<w>12</w>
		</repeat>

		<chS><sp type="abs">1.5-($__temp_grank-lt2)*0.3+($__temp_grank-gt3)*0.1</sp><tm>1</tm></chS>
		<chD><dir type="abs">90</dir><tm>1</tm></chD>

		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<repeat><times>10</times>
			<fRef l="enemy_fire_mb_2_01"></fRef>
			<w>3</w>
		</repeat>
		<w>12</w>
		<chD><dir type="relative">180</dir><tm>1</tm></chD>
		<chS><sp type="abs">1.5-($__temp_grank-lt2)*0.3+($__temp_grank-gt3)*0.1</sp><tm>1</tm></chS>


		<repeat><times>-1</times>
		<repeat><times>2</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<repeat><times>10</times>
				<fRef l="enemy_fire_mb_2_01"></fRef>
				<w>3</w>
			</repeat>
			<w>12</w>
		</repeat>
		<chD><dir type="relative">180</dir><tm>1</tm></chD>
		<chS><sp type="abs">1.5-($__temp_grank-lt2)*0.3+($__temp_grank-gt3)*0.1</sp><tm>1</tm></chS>
		</repeat>


	</a>
</enemy>

<create l="enemy_create_m01_2">
	<speed>3+($__temp_grank-lt2)*0.5+($__temp_grank-lt1)*0.5-($__temp_grank-gt3)*0.2</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>2500</vital>
	<child>1</child>
	<enemyRef label="enemy_m01_2"></enemyRef>
</create>


<enemy l="enemy_m01_2">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>18</radius></collision>
	<preRef label="enemy_present_ball_big_red"></preRef>
	<revRef label="enemy_revenge_stage2_mboss01_2"><p>4</p><p>20</p><p>340</p><p>80</p></revRef>

	<a>
		<w>20</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>20</w>
		<repeat><times>2</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<repeat><times>10</times>
				<fRef l="enemy_fire_mb_2_01"></fRef>
				<w>3</w>
			</repeat>
			<w>12</w>
		</repeat>

		<chS><sp type="abs">1.5-($__temp_grank-lt2)*0.3+($__temp_grank-gt3)*0.1</sp><tm>1</tm></chS>
		<chD><dir type="abs">90</dir><tm>1</tm></chD>

		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<repeat><times>10</times>
			<fRef l="enemy_fire_mb_2_01"></fRef>
			<w>3</w>
		</repeat>
		<w>12</w>
		<chD><dir type="relative">180</dir><tm>1</tm></chD>
		<chS><sp type="abs">1.5-($__temp_grank-lt2)*0.3+($__temp_grank-gt3)*0.1</sp><tm>1</tm></chS>


		<repeat><times>-1</times>
		<repeat><times>2</times>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<repeat><times>10</times>
				<fRef l="enemy_fire_mb_2_01"></fRef>
				<w>3</w>
			</repeat>
			<w>12</w>
		</repeat>
		<chD><dir type="relative">180</dir><tm>1</tm></chD>
		<chS><sp type="abs">1.5-($__temp_grank-lt2)*0.3+($__temp_grank-gt3)*0.1</sp><tm>1</tm></chS>
		</repeat>


	</a>
</enemy>

<!-- ************ 中ボス　第３ ***************** -->

<create label="mahoujin_create_mb03">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<objectRef l="mahoujin_ob_mb03"><p>$3</p></objectRef>
</create>

<object l="mahoujin_ob_mb03">
	<img type="normal">
		<file type="dds">magic_cs_or</file>
		<left>0</left><top>0</top><right>128</right><bottom>128</bottom>
		<width>52</width><height>52</height>
		<alpha>125</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<setDrawLevel><num>9</num></setDrawLevel>

	<rotateImg>
		<direction>5</direction><term>-1</term>
	</rotateImg>
	<createRef label="mahoujin_create_back"><cx>$_self_cx</cx><cy>$_self_cy</cy></createRef>

	<action>
		<eval name="wait_count">0</eval>


		<repeat><times>-1</times>
			<repeat><times>$wait_count-lt2450</times>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_mb_3_03m"><p>$1</p><p>($_playre_cx+$_player_cy+$_prate)%23</p></fRef>
			</repeat>
			<w>65-(($__temp_grank)*5)</w>		
			<evaladd name="wait_count">65-(($__temp_grank)*5)</evaladd>
		</repeat>
	</action>


</object>

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


<enemy l="enemy_b1_01">
	<score>450</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="stage_main_boss_bit_present_01"></preRef>
	<repeat><times>$1-eq0</times>
		<revRef label="enemy_revenge_mb1_score"><p>1</p><p>20</p><p>60</p><p>80</p></revRef>
	</repeat>
	<repeat><times>1-($1-eq0)</times>
		<revRef label="enemy_revenge_mb1"><p>1</p><p>20</p><p>60</p><p>80</p></revRef>
	</repeat>

	<a>

		<chS><sp>1.8</sp><tm>15</tm></chS>

		<repeat><times>-1</times>
		<aRef l="enemy_bullet_action4"><p>32</p></aRef>
		<repeat><times>1+($__temp_grank-gt2)</times>
			<fRef l="enemy_fire_b_1_01ab"><p>1.6+($__temp_grank*0.3)</p><p>180</p></fRef>
			<fRef l="enemy_fire_b_1_01ab"><p>1.6+($__temp_grank*0.3)</p><p>0</p></fRef>
			<repeat><times>$__temp_grank-gt2</times>
				<fRef l="enemy_fire_b_1_01ab"><p>1.2+($__temp_grank*0.3)</p><p>180</p></fRef>
			</repeat>
			<w>30-($__temp_grank*5)</w>
			
		</repeat>
		</repeat>


	</a>
</enemy>


<create l="enemy_create_b1_02">
	<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_b1_02"><p>$2</p></enemyRef>
</create>


<enemy l="enemy_b1_02">
	<score>450</score>
	<inv>20</inv>
	<prate>($__small_enemy_prate4-0.5)</prate>

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

	<a>
		<w>15</w>
		<chS><sp>0</sp><tm>10</tm></chS>
		<w>5</w>
		<eval name="rand_dir">-90+(($_player_cx+$_self_cx)%31)</eval>
		<w>5</w>
		<repeat><times>2+($__temp_grank-gt3)</times>
		<aRef l="enemy_bullet_action4"><p>32</p></aRef>
		<repeat><times>1+($__temp_grank-gt2)</times>
			<fRef l="enemy_fire_b_1_01"><p>1.5+($__temp_grank*0.3)</p><p>$rand_dir</p></fRef>
			<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>45</p></fRef>
			<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>45</p></fRef>
			<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>45</p></fRef>
			<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>45</p></fRef>
			<w>20-($__temp_grank-gt2)*10</w>
			<eval name="rand_dir">-80+(($_prate*2+$rand_dir*5)%31)</eval>
			<w>10</w>
		</repeat>
		</repeat>

		<repeat><times>$__temp_grank-gt4</times>
			<aRef l="enemy_bullet_action4"><p>32</p></aRef>
			<repeat><times>1+($__temp_grank-gt2)</times>
				<fRef l="enemy_fire_b_1_01"><p>1.5+($__temp_grank*0.3)</p><p>$rand_dir</p></fRef>
				<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>45</p></fRef>
				<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>45</p></fRef>
				<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>45</p></fRef>
				<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>45</p></fRef>
				<w>10</w>
				<eval name="rand_dir">-80+(($_prate*2+$rand_dir*5)%31)</eval>
				<w>10</w>
			</repeat>
		</repeat>

		<w>25-($__temp_grank-gt4)*20</w>

		<eval name="rand_dir">-100+(($_player_cx+$_self_cx)%31)</eval>
		<w>5</w>
		<repeat><times>2+($__temp_grank-gt3)</times>
		<aRef l="enemy_bullet_action4"><p>32</p></aRef>
		<repeat><times>1+($__temp_grank-gt2)</times>
			<fRef l="enemy_fire_b_1_01"><p>1.5+($__temp_grank*0.3)</p><p>$rand_dir</p></fRef>
			<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>50</p></fRef>
			<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>50</p></fRef>
			<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>50</p></fRef>
			<fRef l="enemy_fire_b_1_01s"><p>1.5+($__temp_grank*0.3)</p><p>50</p></fRef>
			<w>20-($__temp_grank-gt2)*10</w>
			<eval name="rand_dir">-80+(($_prate*2+$rand_dir*5)%31)</eval>
			<w>10</w>
		</repeat>
		</repeat>

		<chS><sp>2.4</sp><tm>20</tm></chS>
		<chD><dir type="abs">0</dir><tm>1</tm></chD>

	</a>

</enemy>

<!-- 使い魔暫定 -->
<present label="tukaima_1p">
	<damageRef l="enemy_common_damage"></damageRef>
	<img type="normal">
		<file type="dds">enemy_box_red</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>
	<aRef l="enemy_box_anime_action"></aRef>
</present>

<!-- ************ enemy b2_01 ***************** -->

<create label="enemy_create_b2_01d">
	<speed>0</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>4</cy>
	<child>1</child>
	<objectRef label="enemy_b2_01d"></objectRef>
</create>


<object l="enemy_b2_01d">

	<action>

		<aRef l="enemy_bullet_action4"><p>32</p></aRef>
		<fRef l="enemy_fire_b_2_02dab"><p>180</p></fRef>
		<vanish/>

	</action>


</object>

<!-- ************ ボス第３ ***************** -->
<create label="stageC_bossTmp00_podCreate">
	<speed>$6</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$4</vital>
	<child>1</child>
	<enemyRef label="stageC_bossTmp00_pod">
	<param>$2</param>
	<param>$3</param>
	<param>$5</param>
	<param>$7</param>
	</enemyRef>
</create>
<enemy label="stageC_bossTmp00_pod">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>
	<!-- キラの使い魔　暫定 -->
	<repeat><times>$3-eq0</times>
		<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	</repeat>
	<collision type="rect"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	

	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_C1"><p>2</p><p>20</p><p>180</p><p>90</p></revRef>
	</repeat>
	<repeat><times>($4-eq1)</times>
		<revRef label="enemy_revenge_C1_score"><p>2</p><p>20</p><p>180</p><p>90</p></revRef>
	</repeat>


	<setReflect>
		<flag>7</flag><num>999</num>
	</setReflect>

	<action>
		<repeat><times>-1</times>
			<!--減速-->
			<wait>30</wait>
			<changeSpeed>
				<speed>0</speed><term>20</term>
			</changeSpeed>
			<wait>45-($__temp_grank*5)</wait>
			<!--弾幕-->
			<aRef l="enemy_bullet_action8"><p>32</p></aRef>
			<fireRef label="stageC_bossTmp00_Fire01A">
			</fireRef>
			<wait>4</wait>
			<fireRef label="stageC_bossTmp00_Fire02">
			<param>0</param>
			<param>$2</param>
			</fireRef>
			<wait>4</wait>
			<repeat><times>2</times>
				<fireRef label="stageC_bossTmp00_Fire01B">
				<param>$1</param>
				</fireRef>
				<wait>4</wait>
				<fireRef label="stageC_bossTmp00_Fire02">
				<param>$1</param>
				<param>$2</param>
				</fireRef>
				<wait>4</wait>
			</repeat>

			<repeat><times>4+($__temp_grank)</times>
				<aRef l="enemy_bullet_action8"><p>32</p></aRef>
				<repeat><times>4</times>
					<fireRef label="stageC_bossTmp00_Fire01B">
					<param>$1</param>
					</fireRef>
					<wait>5</wait>
					<fireRef label="stageC_bossTmp00_Fire02">
					<param>$1</param>
					<param>$2</param>
					</fireRef>
					<wait>5</wait>
				</repeat>
			</repeat>
			<w>($__temp_grank)*40</w>

			<w>9999*($__C1_b03_status-eq0)</w>


			<!--移動、反射するのでX軸は気にしない-->
			<eval name="DIRECT">((30+30*($_self_cy-lt160))+($_player_cx%13+$_self_cx)%60)</eval>
			<repeat><times>1-($_self_cx-lt320)</times>
			<eval name="DIRECT">360-$DIRECT</eval>
			</repeat>
			<changeDirection>
				<direction type="absolute">$DIRECT</direction><term>1</term>
			</changeDirection>
			<changeSpeed>
				<speed>4.0*(20+($_self_cy*13+$_pleayer_cx*7)%20)/40</speed><term>5</term>
			</changeSpeed> 
			<wait>35</wait>
			<changeSpeed>
				<speed>0</speed><term>20</term>
			</changeSpeed>
			<wait>45-($__temp_grank*5)</wait>

			<!--弾幕、１巡目とは逆方向-->
			<aRef l="enemy_bullet_action8"><p>32</p></aRef>
			<fireRef label="stageC_bossTmp00_Fire01A">
			</fireRef>
			<wait>3</wait>
			<fireRef label="stageC_bossTmp00_Fire02">
			<param>-1*$1</param>
			</fireRef>
			<wait>5</wait>
			<repeat><times>2</times>
				<fireRef label="stageC_bossTmp00_Fire01B">
				<param>-1*$1</param>
				<param>-1*$2</param>
				</fireRef>
				<wait>3</wait>
				<fireRef label="stageC_bossTmp00_Fire02">
				<param>-1*$1</param>
				<param>-1*$2</param>
				</fireRef>
				<wait>5</wait>
			</repeat>

			<repeat><times>4+($__temp_grank)</times>
				<aRef l="enemy_bullet_action8"><p>32</p></aRef>
				<repeat><times>4</times>
					<fireRef label="stageC_bossTmp00_Fire01B">
					<param>-1*$1</param>
					<param>-1*$2</param>
					</fireRef>
					<wait>5</wait>
					<fireRef label="stageC_bossTmp00_Fire02">
					<param>-1*$1</param>
					<param>-1*$2</param>
					</fireRef>
					<wait>5</wait>
				</repeat>
			</repeat>
			<w>($__temp_grank)*40</w>
			<w>9999*($__C1_b03_status-eq0)</w>

			<!--移動-->
			<eval name="DIRECT">((30+30*($_self_cy-lt160))+($_player_cx%13+$_self_cx)%60)</eval>
			<repeat><times>1-($_self_cx-lt320)</times>
			<eval name="DIRECT">360-$DIRECT</eval>
			</repeat>
			<changeDirection>
				<direction type="absolute">$DIRECT</direction><term>1</term>
			</changeDirection>
			<changeSpeed>
				<speed>4.0*(20+($_self_cy*13+$_pleayer_cx*7)%20)/40</speed><term>5</term>
			</changeSpeed> 
			<!--戻る-->
		</repeat>
	</action>
</enemy>

<!-- 使い魔暫定 -->
<present label="tukaima_3p">
	<damageRef l="enemy_common_damage"></damageRef>
	<img type="normal">
		<file type="dds">enemy_box_red</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>
	<aRef l="enemy_box_anime_action"></aRef>
</present>


<!-- ************ ボス第４ ***************** -->
<!-- ************ enemy b3_01 ***************** -->

<create label="mahoujin_create_b3_01">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$6</vital>
	<child>1</child>
	<enemyRef label="enemy_b3_01"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b3_01">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="rect"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	

	<repeat><times>$4-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq0)</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>


	<!-- キラの使い魔　暫定 -->
	<repeat><times>$1-eq0</times>
		<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	</repeat>

	<action>
		<w>$2</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>40+30-$2</w>

		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">6.28</sp><tm>1</tm></chS>
		<w>1</w>

		<chD><dir type="relative">360*$3</dir><tm>($2*4+40)-1</tm></chD>
		
		<eval name="wait_time">210</eval>

		<repeat><times>($__temp_grank-lt2)</times>
			<repeat><times>($2*4+40)/5-1</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-5</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>4</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>($__temp_grank-gt1)*($__temp_grank-lt4)</times>
			<repeat><times>($2*4+40)/4-1</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-4</evaladd>
			<w>4</w>
			</repeat>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>3</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
			<repeat><times>(($2*4+40)/3-1)%100</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>2</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>

		<w>240</w>
		<chS><sp type="abs">2.4</sp><tm>30</tm></chS>
		<chD><dir type="abs">0</dir><tm>30</tm></chD>


	</action>

</enemy>

<!-- ************ enemy b3_02 ***************** -->

<create label="mahoujin_create_b3_02">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$6</vital>
	<child>1</child>
	<enemyRef label="enemy_b3_02"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b3_02">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="rect"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<repeat><times>$4-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq0)</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>

	<!-- キラの使い魔　暫定 -->
	<repeat><times>$1-eq0</times>
		<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	</repeat>

	<action>
		<w>$2</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>40+30-$2</w>

		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">6.28</sp><tm>1</tm></chS>
		<w>1</w>

		<chD><dir type="relative">360*$3</dir><tm>($2*4+40)-1</tm></chD>
		
		<eval name="wait_time">210</eval>

		<repeat><times>($__temp_grank-lt2)</times>
			<repeat><times>($2*4+40)/5-1</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-5</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>4</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>($__temp_grank-gt1)*($__temp_grank-lt4)</times>
			<repeat><times>($2*4+40)/4-1</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-4</evaladd>
			<w>4</w>
			</repeat>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>3</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
			<repeat><times>(($2*4+40)/3-1)%100</times>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>2</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<w>240</w>
		<chS><sp type="abs">2.4</sp><tm>30</tm></chS>
		<chD><dir type="abs">0</dir><tm>30</tm></chD>
	</action>

</enemy>

<!-- ************ enemy b3_03 ***************** -->

<create label="mahoujin_create_b3_03">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$6</vital>
	<child>1</child>
	<enemyRef label="enemy_b3_03"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b3_03">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="rect"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<repeat><times>$4-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq0)</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>

	<!-- キラの使い魔　暫定 -->
	<repeat><times>$1-eq0</times>
		<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	</repeat>

	<action>
		<w>$2</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>40</w>

		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">3.14</sp><tm>1</tm></chS>
		<w>1</w>

		<chD><dir type="relative">360*$3</dir><tm>99</tm></chD>
		
		<eval name="wait_time">210</eval>

		<repeat><times>$__temp_grank-lt2</times>
			<repeat><times>19</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_3_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<w>3</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>$__temp_grank-gt1</times>
			<repeat><times>33</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt3</times>
				<fRef l="enemy_fire_b_3_11ss"><p>$wait_time</p><p>$3*(-1)</p><p>180</p></fRef>
			</repeat>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<fRef l="enemy_fire_b_3_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt3</times>
				<fRef l="enemy_fire_b_3_11ss"><p>$wait_time</p><p>$3*(-1)</p><p>180</p></fRef>
			</repeat>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<w>240</w>
		<chS><sp type="abs">2.4</sp><tm>30</tm></chS>
		<chD><dir type="abs">0</dir><tm>30</tm></chD>

	</action>

</enemy>

<!-- ************ enemy b3_04 ***************** -->

<create label="mahoujin_create_b3_04">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$6</vital>
	<child>1</child>
	<enemyRef label="enemy_b3_04"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b3_04">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="rect"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<repeat><times>$4-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq0)</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>

	<!-- キラの使い魔　暫定 -->
	<repeat><times>$1-eq0</times>
		<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	</repeat>

	<action>
		<w>$2</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>40</w>

		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">3.14</sp><tm>1</tm></chS>
		<w>1</w>

		<chD><dir type="relative">360*$3</dir><tm>99</tm></chD>
		
		<eval name="wait_time">210</eval>

		<repeat><times>$__temp_grank-lt2</times>
			<repeat><times>19</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_3_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<w>3</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>$__temp_grank-gt1</times>
			<repeat><times>33</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_3_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt4</times>
				<fRef l="enemy_fire_b_3_11ss"><p>$wait_time</p><p>$3*(-1)</p><p>180</p></fRef>
			</repeat>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<fRef l="enemy_fire_b_3_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt4</times>
				<fRef l="enemy_fire_b_3_11ss"><p>$wait_time</p><p>$3*(-1)</p><p>180</p></fRef>
			</repeat>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<w>240</w>
		<chS><sp type="abs">2.4</sp><tm>30</tm></chS>
		<chD><dir type="abs">0</dir><tm>30</tm></chD>

	</action>

</enemy>


<!-- ************ enemy b3_05 ***************** -->

<create label="mahoujin_create_b3_05">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$6</vital>
	<child>1</child>
	<enemyRef label="enemy_b3_05"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b3_05">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="rect"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<repeat><times>$4-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq0)</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>

	<!-- キラの使い魔　暫定 -->
	<repeat><times>$1-eq0</times>
		<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	</repeat>

	<action>
		<w>$2</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>40+30-$2</w>

		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">6.28</sp><tm>1</tm></chS>
		<w>1</w>

		<chD><dir type="relative">360*$3</dir><tm>59</tm></chD>
		
		<eval name="wait_time">210</eval>

		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<repeat><times>6+($__temp_grank-gt2)*4</times>
		<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
		<evaladd name="wait_time">-3</evaladd>
		<w>3</w>
		</repeat>

		<repeat><times>$__temp_grank-lt3</times>
			<w>12</w>
		</repeat>

		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<repeat><times>4+($__temp_grank-gt2)*5</times>
		<fRef l="enemy_fire_b_3_01r"><p>$wait_time</p><p>$3</p></fRef>
		<evaladd name="wait_time">-3</evaladd>
		<w>3</w>
		</repeat>
		<repeat><times>$__temp_grank-lt3</times>
			<w>15</w>
		</repeat>
		<w>2</w>
		<chS><sp type="abs">0</sp><tm>1</tm></chS>
		<w>1</w>
		<w>240</w>
		<chS><sp type="abs">2.4</sp><tm>30</tm></chS>
		<chD><dir type="abs">0</dir><tm>30</tm></chD>
	</action>

</enemy>


<!-- 使い魔暫定 -->
<present label="tukaima_2p">
	<damageRef l="enemy_common_damage"></damageRef>
	<img type="normal">
		<file type="dds">enemy_box_red</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>
	<aRef l="enemy_box_anime_action"></aRef>
</present>


<!-- ************ enemy b5_01 ***************** -->

<create label="mahoujin_create_b5_01">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$6</vital>
	<child>1</child>
	<enemyRef label="enemy_b5_01"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b5_01">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="rect"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<repeat><times>$4-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq0)</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>

	<!-- キラの使い魔　暫定 -->
	<repeat><times>$1-eq0</times>
		<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	</repeat>

	<action>
		<w>$2</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>40+30-$2</w>

		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">6.28</sp><tm>1</tm></chS>
		<w>1</w>

		<chD><dir type="relative">360*$3</dir><tm>($2*4+40)-1</tm></chD>
		
		<eval name="wait_time">210</eval>

		<repeat><times>($__temp_grank-lt2)</times>
			<repeat><times>($2*4+40)/5-1</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-5</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>4</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>($__temp_grank-gt1)*($__temp_grank-lt4)</times>
			<repeat><times>($2*4+40)/4-1</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-4</evaladd>
			<w>4</w>
			</repeat>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>3</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
			<repeat><times>(($2*4+40)/3-1)%100</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>2</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>

		<w>240</w>
		<chS><sp type="abs">2.4</sp><tm>30</tm></chS>
		<chD><dir type="abs">0</dir><tm>30</tm></chD>


	</action>

</enemy>

<!-- ************ enemy b5_02 ***************** -->

<create label="mahoujin_create_b5_02">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$6</vital>
	<child>1</child>
	<enemyRef label="enemy_b5_02"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b5_02">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="rect"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<repeat><times>$4-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq0)</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>

	<!-- キラの使い魔　暫定 -->
	<repeat><times>$1-eq0</times>
		<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	</repeat>

	<action>
		<w>$2</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>40+30-$2</w>

		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">6.28</sp><tm>1</tm></chS>
		<w>1</w>

		<chD><dir type="relative">360*$3</dir><tm>($2*4+40)-1</tm></chD>
		
		<eval name="wait_time">210</eval>

		<repeat><times>($__temp_grank-lt2)</times>
			<repeat><times>($2*4+40)/5-1</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-5</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>4</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>($__temp_grank-gt1)*($__temp_grank-lt4)</times>
			<repeat><times>($2*4+40)/4-1</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-4</evaladd>
			<w>4</w>
			</repeat>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>3</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
			<repeat><times>(($2*4+40)/3-1)%100</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<fRef l="enemy_fire_b_5_01r"><p>$wait_time</p><p>$3</p></fRef>
			<w>2</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<w>240</w>
		<chS><sp type="abs">2.4</sp><tm>30</tm></chS>
		<chD><dir type="abs">0</dir><tm>30</tm></chD>
	</action>

</enemy>


<!-- ************ enemy b3_03 ***************** -->

<create label="mahoujin_create_b5_03">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$6</vital>
	<child>1</child>
	<enemyRef label="enemy_b5_03"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b5_03">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="rect"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<repeat><times>$4-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq0)</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>

	<!-- キラの使い魔　暫定 -->
	<repeat><times>$1-eq0</times>
		<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	</repeat>

	<action>
		<w>$2</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>40</w>

		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">3.14</sp><tm>1</tm></chS>
		<w>1</w>

		<chD><dir type="relative">360*$3</dir><tm>99</tm></chD>
		
		<eval name="wait_time">210</eval>

		<repeat><times>$__temp_grank-lt2</times>
			<repeat><times>19</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_5_02rs"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_5_02rs"><p>$wait_time</p><p>$3</p></fRef>
			<w>3</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>$__temp_grank-gt1</times>
			<repeat><times>33</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_5_02rs"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt3</times>
				<fRef l="enemy_fire_b_5_12ss"><p>$wait_time</p><p>$3*(-1)</p><p>180</p></fRef>
			</repeat>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<fRef l="enemy_fire_b_5_02rs"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt3</times>
				<fRef l="enemy_fire_b_5_12ss"><p>$wait_time</p><p>$3*(-1)</p><p>180</p></fRef>
			</repeat>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<w>240</w>
		<chS><sp type="abs">2.4</sp><tm>30</tm></chS>
		<chD><dir type="abs">0</dir><tm>30</tm></chD>

	</action>

</enemy>


<!-- ************ enemy b5_04 ***************** -->

<create label="mahoujin_create_b5_04">
	<speed>4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$6</vital>
	<child>1</child>
	<enemyRef label="enemy_b5_04"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b5_04">
	<score>3000</score>
	<inv>20</inv>
	<prate>$__small_enemy_prate5</prate>

	<collision type="rect"><left>-11</left><top>-11</top><right>11</right><bottom>11</bottom></collision>	
	<repeat><times>$4-eq0</times>
		<revRef label="enemy_revenge_mb1"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq0)</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>

	<!-- キラの使い魔　暫定 -->
	<repeat><times>$1-eq0</times>
		<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	</repeat>

	<action>
		<w>$2</w>
		<chS><sp type="abs">0</sp><tm>20</tm></chS>
		<w>40</w>

		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">3.14</sp><tm>1</tm></chS>
		<w>1</w>

		<chD><dir type="relative">360*$3</dir><tm>99</tm></chD>
		
		<eval name="wait_time">210</eval>

		<repeat><times>$__temp_grank-lt2</times>
			<repeat><times>19</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_5_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_5_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<w>3</w>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<repeat><times>$__temp_grank-gt1</times>
			<repeat><times>33</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_5_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt2</times>
				<fRef l="enemy_fire_b_5_11ss"><p>$wait_time</p><p>$3*(-1)</p><p>180</p></fRef>
			</repeat>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<fRef l="enemy_fire_b_5_01rs"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt3</times>
				<fRef l="enemy_fire_b_5_11ss"><p>$wait_time</p><p>$3*(-1)</p><p>180</p></fRef>
			</repeat>
			<chS><sp type="abs">0</sp><tm>1</tm></chS>
			<w>1</w>
		</repeat>
		<w>240</w>
		<chS><sp type="abs">2.4</sp><tm>30</tm></chS>
		<chD><dir type="abs">0</dir><tm>30</tm></chD>

	</action>

</enemy>


<!-- 使い魔暫定 -->
<present label="tukaima_5p">
	<damageRef l="enemy_common_damage"></damageRef>
	<img type="normal">
		<file type="dds">enemy_box_red</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>
	<aRef l="enemy_box_anime_action"></aRef>
</present>




</exbulletml>
