<?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>270</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>15</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.4</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>1.4</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>1.4</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_01s"><p>-160</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-eq3)</times>
			<eval name="sp1">1.4</eval>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
			<fRef l="enemy_fire_01"><p>-80</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_01s"><p>80</p><p>$sp1</p></fRef>
			<w>2</w>
			<repeat><times>3</times>
				<evaladd name="sp1">-0.15</evaladd>
				<fRef l="enemy_fire_01s"><p>-160</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_01s"><p>80</p><p>$sp1</p></fRef>
				<fRef l="enemy_fire_01s"><p>80</p><p>$sp1</p></fRef>
				<w>2</w>
			</repeat>
		</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.4</p></fRef>
				<fRef l="enemy_fire_01s"><p>43</p><p>1.4</p></fRef>
				<fRef l="enemy_fire_01s"><p>43</p><p>1.4</p></fRef>
				<fRef l="enemy_fire_01s"><p>43</p><p>1.4</p></fRef>
				<fRef l="enemy_fire_01s"><p>43</p><p>1.4</p></fRef>
				<w>2</w>
			<repeat><times>4+($__temp_grank-eq5)*2</times>
				<fRef l="enemy_fire_01s"><p>43+(($_self_cx+$_self_cy)%29)</p><p>1.4</p></fRef>
				<fRef l="enemy_fire_01s"><p>43</p><p>1.4</p></fRef>
				<fRef l="enemy_fire_01s"><p>43</p><p>1.4</p></fRef>
				<fRef l="enemy_fire_01s"><p>43</p><p>1.4</p></fRef>
				<fRef l="enemy_fire_01s"><p>43</p><p>1.4</p></fRef>
				<w>2</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>270</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>8</w>

		</repeat>
		<repeat><times>($__temp_grank-gt3)</times>
				<w>2</w>
			<repeat><times>3+($__temp_grank-eq5)*2</times>
				<w>2</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_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">
	<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_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>160</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.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>-80</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.3</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.1</p></fRef>
			<w>3</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.2</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>
			<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.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>-80</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.3</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.1</p></fRef>
			<w>3</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>160</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>3</w>
			<w>3</w>
			<w>3</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>3</w>
			<w>3</w>
			<w>3</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 label="enemy_create_03_org">
	<speed>2</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<action>
			<repeat><times>$__temp_grank-gt3</times>
				<createRef label="enemy_create_03"><p>$_self_cx+16</p><p>$_self_cy</p><p>90</p><p>8</p></createRef>
				<createRef label="enemy_create_03"><p>$_self_cx</p><p>$_self_cy+16</p><p>180</p><p>8</p></createRef>
				<createRef label="enemy_create_03"><p>$_self_cx-16</p><p>$_self_cy</p><p>270</p><p>8</p></createRef>
			</repeat>
			<repeat><times>$__temp_grank-eq3</times>
				<createRef label="enemy_create_03"><p>$_self_cx+16</p><p>$_self_cy</p><p>90</p><p>8</p></createRef>
				<createRef label="enemy_create_03n"><p>$_self_cx</p><p>$_self_cy+16</p><p>180</p><p>8</p></createRef>
				<createRef label="enemy_create_03"><p>$_self_cx-16</p><p>$_self_cy</p><p>270</p><p>8</p></createRef>
			</repeat>
			<repeat><times>$__temp_grank-eq2</times>
				<createRef label="enemy_create_03n"><p>$_self_cx+16</p><p>$_self_cy</p><p>90</p><p>8</p></createRef>
				<createRef label="enemy_create_03n"><p>$_self_cx</p><p>$_self_cy+16</p><p>180</p><p>8</p></createRef>
				<createRef label="enemy_create_03"><p>$_self_cx-16</p><p>$_self_cy</p><p>270</p><p>8</p></createRef>
			</repeat>
			<repeat><times>$__temp_grank-lt2</times>
				<createRef label="enemy_create_03n"><p>$_self_cx+16</p><p>$_self_cy</p><p>90</p><p>8</p></createRef>
				<createRef label="enemy_create_03n"><p>$_self_cx</p><p>$_self_cy+16</p><p>180</p><p>8</p></createRef>
				<createRef label="enemy_create_03n"><p>$_self_cx-16</p><p>$_self_cy</p><p>270</p><p>8</p></createRef>
			</repeat>
			<w>8</w>
			<createRef label="enemy_create_03_score"><p>$_self_cx</p><p>$_self_cy-16</p><p>0</p><p>0</p></createRef>
		</action>
	</object>
</create>


<create label="enemy_create_03">
	<speed>0</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_03"><param>$4</param><p>0</p></enemyRef>
</create>

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

<create label="enemy_create_03_score">
	<speed>0</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_03"><param>$4</param><p>1</p></enemyRef>
</create>
<create label="enemy_create_03n_score">
	<speed>0</speed>
	<direction type="absolute">$3</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>16</vital>
	<enemyRef label="enemy_03n"><param>$4</param><p>1</p></enemyRef>
</create>


<enemy l="enemy_03">
	<score>270</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_blue"></preRef>
	<repeat><times>$2-eq0</times>
		<revRef label="enemy_revenge_1"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<repeat><times>$2-eq1</times>
		<revRef label="enemy_revenge_1_score"><p>1</p><p>20</p><p>15</p><p>80</p></revRef>
	</repeat>
	<child>1</child>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

	<a>
		<wait>1+$1</wait>
		<changeSpeed>
			<speed type="absolute">1</speed><term>1</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">90</direction><term>1</term>
		</changeDirection>
		<wait>1</wait>

		<changeDirection>
			<direction type="relative">360</direction><term>100</term>
		</changeDirection>

		<eval name="rp_tms">1+($__temp_grank-gt1)+($__temp_grank-gt3)*2+($__temp_grank-gt4)</eval>

		<repeat><times>$rp_tms</times>
			<aRef l="enemy_bullet_action3"><p>64</p></aRef>
			<fRef l="enemy_fire_02"><p>0</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>90</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>90</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>90</p><p>1.5</p></fRef>
			<w>100/$rp_tms</w>
		</repeat>

		<repeat><times>-1</times>
			<changeDirection>
				<direction type="relative">360</direction><term>100</term>
			</changeDirection>
			<wait>100</wait>
		</repeat>
	</a>
</enemy>

<enemy l="enemy_03n">
	<score>270</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_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>
	<child>1</child>
	<definedAction type="synctoparentx"></definedAction>
	<definedAction type="synctoparenty"></definedAction>

	<a>
		<wait>1+$1</wait>
		<changeSpeed>
			<speed type="absolute">1</speed><term>1</term>
		</changeSpeed>
		<changeDirection>
			<direction type="relative">90</direction><term>1</term>
		</changeDirection>
		<wait>1</wait>

		<repeat><times>-1</times>
			<changeDirection>
				<direction type="relative">360</direction><term>100</term>
			</changeDirection>
			<wait>100</wait>
		</repeat>
	</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>550</vital>
	<enemyRef label="enemy_04"><p>$3</p></enemyRef>
</create>


<enemy l="enemy_04">
	<score>1600</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>4</times>
			<eval name="sp1">1.7</eval>
			<eval name="time1">3+($__temp_grank-gt3)+($__temp_grank-gt4)</eval>

			<w>2</w>

			<repeat><times>4</times>
				<aRef l="enemy_bullet_action8"><p>64</p></aRef>
				<fRef l="enemy_fire_03ab"><p>360/($time1+1)/2</p><p>$sp1</p></fRef>
				<repeat><times>$time1</times>
					<fRef l="enemy_fire_03s"><p>360/($time1+1)</p><p>$sp1</p></fRef>
				</repeat>
				<evaladd name="sp1">-0.1</evaladd>
				<w>2</w>
			</repeat>
			<w>10</w>

			<eval name="sp1">1.8</eval>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<fRef l="enemy_fire_04"><p>0</p><p>$sp1</p></fRef>
			<repeat><times>7</times>
				<fRef l="enemy_fire_04s"><p>45</p><p>$sp1</p></fRef>
			</repeat>
			<evaladd name="sp1">-0.2</evaladd>
			<w>3</w>

			<repeat><times>5+($__temp_grank-gt2)+($__temp_grank-gt3)</times>
				<aRef l="enemy_bullet_action8"><p>64</p></aRef>
				<fRef l="enemy_fire_04s"><p>45+1.5+($__temp_grank-gt2)+($__temp_grank-gt3)*10</p><p>$sp1</p></fRef>
				<repeat><times>7</times>
					<fRef l="enemy_fire_04s"><p>45</p><p>$sp1</p></fRef>
				</repeat>
				<evaladd name="sp1">-0.2</evaladd>
				<w>1</w>
			</repeat>


			<w>50</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>270</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_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>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><p>0</p></fRef>
			<repeat><times>4-($__temp_grank-lt2)</times>
				<fRef l="enemy_fire_05s"><p>45+($__temp_grank-lt2)*15</p><p>0.6</p><p>1.3</p><p>0</p></fRef>
				<fRef l="enemy_fire_05s"><p>45+($__temp_grank-lt2)*15</p><p>0.6</p><p>1.6</p><p>1</p></fRef>
			</repeat>
			<w>1</w>
		</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><p>0</p></fRef>
			<repeat><times>3</times>
				<fRef l="enemy_fire_05s"><p>40-($__temp_grank-gt3)*10</p><p>0.6</p><p>1.3</p><p>0</p></fRef>
				<fRef l="enemy_fire_05s"><p>40-($__temp_grank-gt3)*10</p><p>0.6</p><p>1.3</p><p>0</p></fRef>
				<fRef l="enemy_fire_05s"><p>40-($__temp_grank-gt3)*10</p><p>0.6</p><p>1.6</p><p>1</p></fRef>
			</repeat>
			<w>1</w>
			<repeat><times>($__temp_grank-gt3)</times>
				<fRef l="enemy_fire_05s"><p>40-($__temp_grank-gt3)*10</p><p>0.6</p><p>1.3</p><p>0</p></fRef>
				<fRef l="enemy_fire_05s"><p>40-($__temp_grank-gt3)*10</p><p>0.6</p><p>1.6</p><p>1</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>270</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_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>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>4.1</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>550</vital>
	<enemyRef label="enemy_06"><p>0</p><p>$3</p></enemyRef>
</create>


<enemy label="enemy_06">
	<score>1600</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate3</prate>
	<presentRef label="enemy_present_box_big_red"></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>12</wait>
		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>
		<wait>20</wait>
		
		<repeat><times>2</times>
		<eval name="sp1">2+($__temp_grank*0.2)</eval>
		<eval name="offset">133</eval>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fRef l="enemy_fire_06"><p>70</p><p>$sp1</p></fRef>
		<fRef l="enemy_fire_06"><p>-70</p><p>$sp1</p></fRef>
		<repeat><times>$__temp_grank-gt2</times>
			<fRef l="enemy_fire_06"><p>70</p><p>$sp1-0.3</p></fRef>
			<fRef l="enemy_fire_06"><p>-70</p><p>$sp1-0.3</p></fRef>
		</repeat>

		<repeat><times>7-($__temp_grank-lt2)*2</times>
			<w>3</w>
			<evaladd name="sp1">-0.15</evaladd>
			<fRef l="enemy_fire_06s"><p>$offset</p><p>$sp1</p></fRef>
			<fRef l="enemy_fire_06s"><p>-1*($offset-7)</p><p>$sp1</p></fRef>
			<repeat><times>$__temp_grank-gt2</times>
				<fRef l="enemy_fire_06s"><p>($offset-7)</p><p>$sp1-0.3</p></fRef>
				<fRef l="enemy_fire_06s"><p>-1*($offset-7)</p><p>$sp1-0.3</p></fRef>
			</repeat>
			<evaladd name="offset">-14-6*($__temp_grank-lt2)</evaladd>
		</repeat>
		<w>20+6*($__temp_grank-lt2)</w>

		<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-($__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>($__temp_grank-gt2)+($__temp_grank-gt3)+($__temp_grank-gt4)</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>90</w>
		<w>60-(($__temp_grank-gt2)+($__temp_grank-gt3)+($__temp_grank-gt4))*3</w>

		</repeat>
		<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>270</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">2</sp><tm>30</tm></chS>
		<chD><dir type="relative">-70+140*($_self_cx-gt320)</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-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>

		<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>270</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">2</sp><tm>30</tm></chS>
		<chD><dir type="relative">-70+140*($_self_cx-gt320)</dir><tm>120</tm></chD>


	</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>810</vital>
	<enemyRef label="enemy_08"><p>$3</p></enemyRef>
</create>


<enemy l="enemy_08">
	<score>1600</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>

		<repeat><times>3-($__temp_grank-lt2)</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>3</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>30-($__temp_grank-eq5)*9+30*($__temp_grank-lt2)</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>
		</repeat>
		<w>65</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>1000</vital>
	<enemyRef label="enemy_09"><p>0</p></enemyRef>
</create>


<enemy l="enemy_09">
	<score>1600</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>12-($__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_09ab"><p>$dir</p><p>1.5</p></fRef>
		<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
		<fRef l="enemy_fire_09ab"><p>-1*$dir</p><p>1.5</p></fRef>
		<fRef l="enemy_fire_09s"><p>0</p><p>1.1</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_09ab"><p>$dir</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
			<fRef l="enemy_fire_09ab"><p>-1*$dir</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
		</repeat>
		<w>25+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_09ab"><p>$dir</p><p>1.6</p></fRef>
		<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
		<fRef l="enemy_fire_09ab"><p>-1*$dir</p><p>1.6</p></fRef>
		<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
		<fRef l="enemy_fire_09ab"><p>$dir+90</p><p>1.6</p></fRef>
		<fRef l="enemy_fire_09ab"><p>-1*$dir-90</p><p>1.6</p></fRef>
		<repeat><times>6</times>
			<wait>6</wait>
			<evaladd name="dir">13</evaladd>
			<fRef l="enemy_fire_09ab"><p>$dir</p><p>1.6</p></fRef>
			<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
			<fRef l="enemy_fire_09ab"><p>-1*$dir</p><p>1.6</p></fRef>
			<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
			<fRef l="enemy_fire_09ab"><p>$dir+90</p><p>1.6</p></fRef>
			<fRef l="enemy_fire_09ab"><p>-1*$dir-90</p><p>1.6</p></fRef>
		</repeat>
		<w>25</w>		
	</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_09ab"><p>$dir</p><p>1.7</p></fRef>
		<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
		<fRef l="enemy_fire_09ab"><p>-1*$dir</p><p>1.7</p></fRef>
		<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
		<fRef l="enemy_fire_09ab"><p>$dir+90</p><p>1.7</p></fRef>
		<fRef l="enemy_fire_09ab"><p>-1*$dir-90</p><p>1.7</p></fRef>
		<repeat><times>6</times>
			<wait>6</wait>
			<evaladd name="dir">11</evaladd>
			<fRef l="enemy_fire_09ab"><p>$dir</p><p>1.7</p></fRef>
			<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
			<fRef l="enemy_fire_09ab"><p>-1*$dir</p><p>1.7</p></fRef>
			<fRef l="enemy_fire_09s"><p>0</p><p>1.1</p></fRef>
			<fRef l="enemy_fire_09ab"><p>$dir+90</p><p>1.7</p></fRef>
			<fRef l="enemy_fire_09ab"><p>-1*$dir-90</p><p>1.7</p></fRef>
		</repeat>
		<w>15</w>		
	</repeat>	

</a>




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

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

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

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

<enemy label="enemy_10">
	<score>160</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>$2</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.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>-80</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.3</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.1</p></fRef>
			<w>3</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.2</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>
			<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.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>-80</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<fRef l="enemy_fire_02s"><p>40</p><p>1.5</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.3</p></fRef>
			<w>3</w>
			<fRef l="enemy_fire_02ab"><p>180</p><p>1.1</p></fRef>
			<w>3</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_10n">
	<score>160</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>$2</wait>
		<repeat><times>($__temp_grank-lt2)</times>
			<w>9</w>
		</repeat>
		<repeat><times>($__temp_grank-eq2)</times>
			<w>3</w>
			<w>3</w>
			<w>3</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>3</w>
			<w>3</w>
			<w>3</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 11 ***************** -->
<create l="enemy_create_11">
	<speed>4</speed>
	<direction type="absolute">180</direction>
	<cx>$1</cx><cy>$2</cy>
	<vital>2450</vital>
	<enemyRef label="enemy_11"><p>0</p></enemyRef>
</create>


<enemy l="enemy_11">
	<score>7200</score>
	<inv>20</inv>
	<prate>$__middle_enemy_prate2</prate>
	<presentRef label="enemy_present_ball_big_red"></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.6</p></fRef>
		<fRef l="enemy_fire_12s"><p>80</p><p>1.2</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.6</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.5</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.3</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.6</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.6</p></fRef>
		<w>$w_time</w>
		<fRef l="enemy_fire_11s"><p>120+62</p><p>1.5</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.2</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.6</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>0.8</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 mb3 ***************** -->
<create l="enemy_create_mb3_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_mb3_01"><p>$2</p><p>$3</p></enemyRef>
</create>


<enemy l="enemy_mb3_01">
	<score>510</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>$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>$1</w>
		<chS><sp>0</sp><tm>15</tm></chS>
		<w>15</w>
		<eval name="dir1">1-2*($_self_cx-gt320))</eval>

		<aRef l="enemy_bullet_action8"><p>32</p></aRef>
		<fRef l="enemy_fire_mb_3_01"><p>-90*$dir1+$2</p><p>1.9+($__temp_grank*0.2)</p></fRef>
		<fRef l="enemy_fire_mb_3_01s"><p>0</p><p>1.6+($__temp_grank*0.2)</p></fRef>
		<repeat><times>9-($__temp_grank-eq0)*2+($__temp_grank-gt3)*5</times>
			<w>2+($__temp_grank-eq0)</w>
			<fRef l="enemy_fire_mb_3_01s"><p>(9+3*($__temp_grank-eq0)-3*($__temp_grank-gt3))*$dir1</p><p>1.9+($__temp_grank*0.2)</p></fRef>
			<fRef l="enemy_fire_mb_3_01s"><p>0</p><p>1.6+($__temp_grank*0.2)</p></fRef>
		</repeat>

		<aRef l="enemy_bullet_action8"><p>32</p></aRef>
		<repeat><times>10-($__temp_grank-eq0)*3+($__temp_grank-gt3)*5</times>
			<w>2+($__temp_grank-eq0)</w>
			<fRef l="enemy_fire_mb_3_01s"><p>(9+3*($__temp_grank-eq0)-3*($__temp_grank-gt3))*$dir1</p><p>1.9+($__temp_grank*0.2)</p></fRef>
			<fRef l="enemy_fire_mb_3_01s"><p>0</p><p>1.6+($__temp_grank*0.2)</p></fRef>
		</repeat>

		<w>40</w>
		<chS><sp>2.6</sp><tm>30</tm></chS>
		<chD><dir type="abs">0</dir><tm>1</tm></chD>


	</a>
</enemy>

<!-- ************ 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>510</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>
		<eval name="sp1">1.9+($__temp_grank*0.2)</eval>
		<aRef l="enemy_bullet_action8"><p>32</p></aRef>
		<repeat><times>2+($__temp_grank)</times>
			<fRef l="enemy_fire_b_1_01ab"><p>$sp1</p><p>180</p></fRef>
			<fRef l="enemy_fire_b_1_01ab"><p>$sp1</p><p>0</p></fRef>
			<evaladd name="sp1">-0.1</evaladd>
			<w>1</w>
		</repeat>
		<w>$2</w>

		<repeat><times>-1</times>
			<eval name="sp1">1.9+($__temp_grank*0.2)</eval>
			<aRef l="enemy_bullet_action8"><p>32</p></aRef>
			<repeat><times>6+($__temp_grank*2)</times>
				<fRef l="enemy_fire_b_1_01ab"><p>$sp1</p><p>180</p></fRef>
				<fRef l="enemy_fire_b_1_01ab"><p>$sp1</p><p>0</p></fRef>
				<evaladd name="sp1">-0.1</evaladd>
				<w>1</w>
			</repeat>
			<w>34-($__temp_grank*2)+($__temp_grank-lt1)*5+($__temp_grank-lt2)*5</w>
		</repeat>

	</a>
</enemy>

<!-- ************ enemy b1 ***************** -->
<create l="enemy_create_b1_02">
	<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_02"><p>$2</p><p>$3</p></enemyRef>
</create>


<enemy l="enemy_b1_02">
	<score>510</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>
		<w>$2</w>
		<createRef label="enemy_create_b1_02d"/>
	</a>
</enemy>

<create l="enemy_create_b1_02d">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital>
	<child>1</child>
	<enemyRef label="enemy_b1_02d"></enemyRef>
</create>


<enemy l="enemy_b1_02d">
	<score>0</score>
	<inv>0</inv>
	<prate>0</prate>

	<collision type="circle"><cx>-1</cx><cy>-1</cy><radius>0</radius></collision>

	<a>

		<eval name="sp1">1.7+$__temp_grank*0.3</eval>
		<aRef l="enemy_bullet_action8"><p>32</p></aRef>
		<fRef l="enemy_fire_b_1_01"><p>$sp1</p><p>(($_prate+$_player_cx+$_self_cx)%17)</p></fRef>
		<repeat><times>1+($__temp_grank-gt1)+($__temp_grank-gt2)+($__temp_grank-gt3)</times>
			<repeat><times>9-($__temp_grank-eq0)*2</times>
				<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>36+($__temp_grank-eq0)*9</p></fRef>
			</repeat>
			<w>8</w>
			<repeat><times>$__temp_grank-gt2</times>
				<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>13</p></fRef>
				<repeat><times>9</times>
					<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>36</p></fRef>
				</repeat>
			</repeat>
			<repeat><times>$__temp_grank-eq2</times>
				<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>13</p></fRef>
				<repeat><times>4</times>
					<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>72</p></fRef>
				</repeat>
			</repeat>
			<w>8</w>
			<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>13</p></fRef>
		</repeat>
		<vanish/>

	</a>
</enemy>


<!-- ************ enemy b1_03 ***************** -->
<create l="enemy_create_b1_03">
	<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_03"><p>$2</p><p>$3</p></enemyRef>
</create>


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

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

		<repeat><times>-1</times>
			<eval name="sp1">2.1+($__temp_grank*0.2)</eval>
			<aRef l="enemy_bullet_action8"><p>32</p></aRef>
			<w>1</w>
			<fRef l="enemy_fire_b_1_01"><p>$sp1</p></fRef>
			<repeat><times>2+($__temp_grank)</times>
				<evaladd name="sp1">-0.1</evaladd>
				<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>0</p></fRef>
			</repeat>
			<w>4</w>
			<repeat><times>$__temp_grank-gt1</times>
				<eval name="sp1">2.1+($__temp_grank*0.2)</eval>
				<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>45</p></fRef>
				<repeat><times>2+($__temp_grank)</times>
					<evaladd name="sp1">-0.1</evaladd>
					<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>0</p></fRef>
				</repeat>
			</repeat>
			<w>4</w>
			<eval name="sp1">2.1+($__temp_grank*0.2)</eval>
			<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>-90</p></fRef>
			<repeat><times>2+($__temp_grank)</times>
				<evaladd name="sp1">-0.1</evaladd>
				<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>0</p></fRef>
			</repeat>
			<w>5</w>
				<repeat><times>$__temp_grank-gt3</times>
					<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>10</p></fRef>
					<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>-20</p></fRef>
				</repeat>
			<w>10</w>
				<repeat><times>$__temp_grank-gt4</times>
					<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>35</p></fRef>
					<fRef l="enemy_fire_b_1_01s"><p>$sp1</p><p>-30</p></fRef>
				</repeat>
			<w>10</w>
		</repeat>

	</a>
</enemy>


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

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


<enemy l="enemy_b2_01">
	<score>3500</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>$3-eq0</times>
		<revRef label="enemy_revenge_C1_score"><p>3</p><p>20</p><p>300</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($3-eq0)</times>
		<revRef label="enemy_revenge_C1"><p>3</p><p>20</p><p>300</p><p>90</p></revRef>
	</repeat>

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

	<action>
		<w>$1</w>
		<changeSpeed>
			<speed type="absolute">0</speed><term>20</term>
		</changeSpeed>
		<w>30</w>

		<repeat><times>-1</times>
		<repeat><times>$__C1_b02_status-eq1</times>
			<aRef l="enemy_bullet_action8"><p>32</p></aRef>
			<repeat><times>7</times>
			<fRef l="enemy_fire_b_2_01ab"><p>180</p><p>5</p><p>0</p></fRef>
			<fRef l="enemy_fire_b_2_01ab"><p>180</p><p>-5</p><p>0</p></fRef>
			<w>4</w>
			</repeat>
			<aRef l="enemy_bullet_action8"><p>64</p></aRef>
			<repeat><times>4</times>
			<fRef l="enemy_fire_b_2_01ab"><p>180-($__temp_grank-gt3)*5</p><p>5</p><p>0</p></fRef>
			<fRef l="enemy_fire_b_2_01ab"><p>180+($__temp_grank-gt3)*5</p><p>-5</p><p>0</p></fRef>
			<w>4</w>
			</repeat>
			<repeat><times>3</times>
			<fRef l="enemy_fire_b_2_01ab"><p>180-($__temp_grank-gt3)*5-($__temp_grank-gt4)*10</p><p>5</p><p>0</p></fRef>
			<fRef l="enemy_fire_b_2_01ab"><p>180+($__temp_grank-gt3)*5+($__temp_grank-gt4)*10</p><p>-5</p><p>0</p></fRef>
			<w>4</w>
			</repeat>
			<repeat><times>$__temp_grank-gt2</times>
				<fRef l="enemy_fire_b_2_01ab"><p>150</p><p>5</p><p>0</p></fRef>
				<fRef l="enemy_fire_b_2_01ab"><p>210</p><p>-5</p><p>0</p></fRef>
			</repeat>
			<repeat><times>$__temp_grank-gt3</times>
				<fRef l="enemy_fire_b_2_01ab"><p>120</p><p>5</p><p>0</p></fRef>
				<fRef l="enemy_fire_b_2_01ab"><p>240</p><p>-5</p><p>0</p></fRef>
			</repeat>

			<repeat><times>$__enemy_count-lt3</times>
				<aRef l="enemy_bullet_action4"><p>64</p></aRef>
				<fRef l="enemy_fire_b_2_01"><p>0</p><p>0</p><p>0</p></fRef>
				<repeat><times>3</times>
					<w>4</w>
					<fRef l="enemy_fire_b_2_01s"><p>0</p><p>0</p><p>0</p></fRef>
				</repeat>
			</repeat>
			<w>35-($__temp_grank*2)-($__enemy_counter_lt3)*12</w>

		</repeat>
		<w>4</w>
		</repeat>

	</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 b3_01 ***************** -->

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


<enemy l="enemy_b3_01">
	<score>3500</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>$1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>160</p><p>90</p></revRef>
	</repeat>
	<repeat><times>(1-$1)</times>
		<revRef label="enemy_revenge_mb1"><p>2</p><p>20</p><p>160</p><p>90</p></revRef>
	</repeat>

	<!-- キラの使い魔　暫定 -->
	<presentRef label="stage_main_boss_bit_present_01"></presentRef>
	<setReflect>
		<flag>7</flag><num>1</num>
	</setReflect>

	<a>
		<changeSpeed><speed>1.6</speed><term>30</term></changeSpeed>
		<eval name="DIRECT">0</eval>
		<wait>30</wait>

		<aRef l="enemy_bullet_action8"><p>32</p></aRef>
		<fireRef label="pod_bulletFireA"/>
		<repeat><times>3+($__temp_grank)</times>
			<eval name="DIRECT">$DIRECT+360/32</eval>
			<fireRef label="pod_bulletFireB">
			<param>$DIRECT</param>
			</fireRef>
			<eval name="DIRECT">$DIRECT+360/32</eval>
			<fireRef label="pod_bulletFireB">
			<param>-1*$DIRECT</param>
			</fireRef>
			<wait>15-($__temp_grank*3)+($__temp_grank-gt3)*2+($__temp_grank-gt4)</wait>
		</repeat>

		<repeat><times>-1</times>
		<aRef l="enemy_bullet_action8"><p>32</p></aRef>
		<repeat><times>3+($__temp_grank)</times>
			<eval name="DIRECT">$DIRECT+360/32</eval>
			<fireRef label="pod_bulletFireB">
			<param>$DIRECT</param>
			</fireRef>
			<eval name="DIRECT">$DIRECT+360/32</eval>
			<fireRef label="pod_bulletFireB">
			<param>-1*$DIRECT</param>
			</fireRef>
			<wait>15-($__temp_grank*3)+($__temp_grank-gt3)*2+($__temp_grank-gt4)</wait>
		</repeat>
		</repeat>


	</a>
</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 b4_01 ***************** -->

<create label="mahoujin_create_b4_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_b4_01"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b4_01">
	<score>3500</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-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-5</evaladd>
			<w>5</w>
			</repeat>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_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_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-4</evaladd>
			<w>4</w>
			</repeat>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_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_4_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_4_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>156</w>
		<fRef l="enemy_fire_b_2_02d"><p>-40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>60</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_4p">
	<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 b4_02 ***************** -->

<create label="mahoujin_create_b4_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_b4_02"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b4_02">
	<score>3500</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-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-5</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_4_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_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-4</evaladd>
			<w>4</w>
			</repeat>
			<fRef l="enemy_fire_b_4_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_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<fRef l="enemy_fire_b_4_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>153</w>
		<fRef l="enemy_fire_b_2_02d"><p>-40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>57</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 b4_03 ***************** -->

<create label="mahoujin_create_b4_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_b4_03"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b4_03">
	<score>3500</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-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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">135*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">5.64</sp><tm>1</tm></chS>
		<w>1</w>
		
		<eval name="wait_time">210</eval>

		<!-- １辺wait 34 -->

		<repeat><times>4*($__temp_grank-lt2)</times>
			<eval name="dir1">-45</eval>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<repeat><times>6-($__temp_grank-eq0)</times>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<evaladd name="dir1">-8</evaladd>
			<evaladd name="wait_time">-3</evaladd>
			<w>5+($__temp_grank-eq0)</w>
			</repeat>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<w>4</w>
		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		</repeat>

		<repeat><times>4*($__temp_grank-eq2)</times>
			<eval name="dir1">-45</eval>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<repeat><times>8</times>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>-1*$3</p><p>$dir1</p></fRef>
			<evaladd name="dir1">-8</evaladd>
			<evaladd name="wait_time">-3</evaladd>
			<w>4</w>
			</repeat>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>-1*$3</p><p>$dir1</p></fRef>
			<w>2</w>
		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		</repeat>

		<repeat><times>4*($__temp_grank-gt2)</times>
			<eval name="dir1">-45</eval>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<repeat><times>11</times>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>-1*$3</p><p>$dir1</p></fRef>
			<evaladd name="dir1">-8</evaladd>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>-1*$3</p><p>$dir1</p></fRef>
			<w>1</w>
		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		</repeat>

		<chS><sp type="abs">0</sp><tm>1</tm></chS>

		<w>156</w>
		<fRef l="enemy_fire_b_2_02d"><p>-40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>60</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 b4_04 ***************** -->

<create label="mahoujin_create_b4_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_b4_04"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b4_04">
	<score>3500</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-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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">135*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">5.64</sp><tm>1</tm></chS>
		<w>1</w>
		
		<eval name="wait_time">210</eval>

		<!-- １辺wait 34 -->

		<repeat><times>4*($__temp_grank-lt2)</times>
			<eval name="dir1">-45</eval>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<repeat><times>6-($__temp_grank-eq0)</times>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<evaladd name="dir1">-8</evaladd>
			<evaladd name="wait_time">-3</evaladd>
			<w>5+($__temp_grank-eq0)</w>
			</repeat>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<w>4</w>
		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		</repeat>

		<repeat><times>4*($__temp_grank-eq2)</times>
			<eval name="dir1">-45</eval>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<repeat><times>8</times>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>-1*$3</p><p>$dir1</p></fRef>
			<evaladd name="dir1">-8</evaladd>
			<evaladd name="wait_time">-3</evaladd>
			<w>4</w>
			</repeat>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>-1*$3</p><p>$dir1</p></fRef>
			<w>2</w>
		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		</repeat>

		<repeat><times>4*($__temp_grank-gt2)</times>
			<eval name="dir1">-45</eval>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<repeat><times>11</times>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>-1*$3</p><p>$dir1</p></fRef>
			<evaladd name="dir1">-8</evaladd>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
			</repeat>
			<aRef l="enemy_bullet_action4"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>-1*$3</p><p>$dir1</p></fRef>
			<w>1</w>
		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		</repeat>
		<chS><sp type="abs">0</sp><tm>1</tm></chS>

		<w>150</w>
		<fRef l="enemy_fire_b_2_02d"><p>-40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>66</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 b4_05 ***************** -->

<create label="mahoujin_create_b4_05">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$3</vital>
	<child>1</child>
	<enemyRef label="enemy_b4_05"><p>$1</p><p>$2</p></enemyRef>
</create>


<enemy l="enemy_b4_05">
	<score>3500</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>$2-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($2-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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>100</w>
	<aRef l="enemy_bullet_action8"><p>64</p></aRef>
	<fRef l="enemy_fire_b_4_04"><p>0</p><p>2</p></fRef>
	<repeat><times>8</times>
		<fRef l="enemy_fire_b_4_04s"><p>20</p><p>2</p></fRef>
	</repeat>
	<w>1</w>
	<repeat><times>9</times>
		<fRef l="enemy_fire_b_4_04s"><p>20</p><p>1</p></fRef>
	</repeat>
	<w>6</w>
	<fRef l="enemy_fire_b_4_04s"><p>10</p><p>3</p></fRef>
	<repeat><times>7</times>
		<fRef l="enemy_fire_b_4_04s"><p>15</p><p>3</p></fRef>
	</repeat>
	<w>1</w>
	<repeat><times>8</times>
		<fRef l="enemy_fire_b_4_04s"><p>15</p><p>2</p></fRef>
	</repeat>
	<w>1</w>
	<repeat><times>8</times>
		<fRef l="enemy_fire_b_4_04s"><p>15</p><p>1</p></fRef>
	</repeat>

	<repeat><times>$__temp_grank-gt3</times>
	<w>6</w>
	<fRef l="enemy_fire_b_4_04s"><p>7.5</p><p>4</p></fRef>
	<repeat><times>7</times>
		<fRef l="enemy_fire_b_4_04s"><p>12</p><p>4</p></fRef>
	</repeat>
	<w>1</w>
	<repeat><times>7</times>
		<fRef l="enemy_fire_b_4_04s"><p>12</p><p>3</p></fRef>
	</repeat>
	<w>1</w>
	<repeat><times>7</times>
		<fRef l="enemy_fire_b_4_04s"><p>12</p><p>2</p></fRef>
	</repeat>
	<w>1</w>
	<repeat><times>8</times>
		<fRef l="enemy_fire_b_4_04s"><p>12</p><p>1</p></fRef>
	</repeat>
	</repeat>

	<repeat><times>$__temp_grank-gt4</times>
	<w>6</w>
	<fRef l="enemy_fire_b_4_04s"><p>6</p><p>4</p></fRef>
	<repeat><times>8</times>
		<fRef l="enemy_fire_b_4_04s"><p>10</p><p>4</p></fRef>
	</repeat>
	<w>1</w>
	<repeat><times>9</times>
		<fRef l="enemy_fire_b_4_04s"><p>10</p><p>3</p></fRef>
	</repeat>
	<w>1</w>
	<repeat><times>9</times>
		<fRef l="enemy_fire_b_4_04s"><p>10</p><p>2</p></fRef>
	</repeat>
	<w>1</w>
	<repeat><times>9</times>
		<fRef l="enemy_fire_b_4_04s"><p>10</p><p>1</p></fRef>
	</repeat>
	</repeat>

	<w>12+($__temp_grank-lt4)*9+($__temp_grank-lt5)*9</w>
	<fRef l="enemy_fire_b_2_02d"><p>-40</p></fRef>
	<w>12</w>
	<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
	<w>12</w>
	<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
	<w>36</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_4_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>3500</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-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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>146</w>
		<repeat><times>$__temp_grank-gt3</times>
		<fRef l="enemy_fire_b_2_02d"><p>-40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		</repeat>
		<w>70+($__temp_grank-lt4)*24</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>

<!-- ************ 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>3500</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-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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>156</w>
		<repeat><times>$__temp_grank-gt3</times>
		<fRef l="enemy_fire_b_2_02d"><p>-40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		</repeat>
		<w>60+($__temp_grank-lt4)*24</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_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>3500</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-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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">135*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">7</sp><tm>1</tm></chS>
		<w>1</w>
		
		<eval name="wait_time">210</eval>

		<!-- １辺wait 34 -->

		<repeat><times>4*($__temp_grank-eq2)</times>
		<eval name="dir1">-45</eval>
		<aRef l="enemy_bullet_action4"><p>64</p></aRef>
		<repeat><times>12</times>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<evaladd name="dir1">-8</evaladd>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
		</repeat>
		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		</repeat>

		<repeat><times>4*($__temp_grank-lt2)</times>
		<eval name="dir1">-45</eval>
		<aRef l="enemy_bullet_action4"><p>64</p></aRef>
		<repeat><times>9</times>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<repeat><times>$__temp_grank-gt0</times>
				<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			</repeat>
			<evaladd name="dir1">-10</evaladd>
			<evaladd name="wait_time">-4</evaladd>
			<w>4</w>
		</repeat>
		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		</repeat>

		<repeat><times>4*($__temp_grank-gt2)</times>
		<eval name="dir1">-45</eval>
		<aRef l="enemy_bullet_action4"><p>64</p></aRef>
		<repeat><times>18</times>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<evaladd name="dir1">-5</evaladd>
			<evaladd name="wait_time">-2</evaladd>
			<w>2</w>
		</repeat>
		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		</repeat>

		<chS><sp type="abs">0</sp><tm>1</tm></chS>

		<w>156</w>
		<repeat><times>$__temp_rank-gt0</times>
		<fRef l="enemy_fire_b_2_02d"><p>-40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		</repeat>
		<w>60+($__temp_grank-lt1)*24</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>3500</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-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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">135*$3</dir><tm>1</tm></chD>
		<chS><sp type="abs">7</sp><tm>1</tm></chS>
		<w>1</w>
		
		<eval name="wait_time">210</eval>

		<!-- １辺wait 34 -->

		<repeat><times>4</times>
		<eval name="dir1">-45</eval>
		<aRef l="enemy_bullet_action4"><p>64</p></aRef>
		<repeat><times>12</times>
			<fRef l="enemy_fire_b_4_03r"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<fRef l="enemy_fire_b_4_03s"><p>$wait_time</p><p>$3</p><p>$dir1</p></fRef>
			<evaladd name="dir1">-9</evaladd>
			<evaladd name="wait_time">-3</evaladd>
			<w>3</w>
		</repeat>
		<chD><dir type="relative">90*$3</dir><tm>1</tm></chD>
		</repeat>

		<chS><sp type="abs">0</sp><tm>1</tm></chS>

		<w>156</w>
		<fRef l="enemy_fire_b_2_02d"><p>-40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>60</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_05 ***************** -->

<create label="mahoujin_create_b5_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_b5_05"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b5_05">
	<score>3500</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-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_4_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-gt1</times>
			<repeat><times>33</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt3</times>
				<fRef l="enemy_fire_b_4_11s"><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_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt3</times>
				<fRef l="enemy_fire_b_4_11s"><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_06 ***************** -->

<create label="mahoujin_create_b5_06">
	<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_06"><p>$2</p><p>$3</p><p>$4</p><p>$5</p></enemyRef>
</create>


<enemy l="enemy_b5_06">
	<score>3500</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-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($4-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<evaladd name="wait_time">-3</evaladd>
			<w>5</w>
			</repeat>
			<fRef l="enemy_fire_b_4_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-gt1</times>
			<repeat><times>33</times>
			<aRef l="enemy_bullet_action2"><p>64</p></aRef>
			<fRef l="enemy_fire_b_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt4</times>
				<fRef l="enemy_fire_b_4_11s"><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_4_01r"><p>$wait_time</p><p>$3</p></fRef>
			<repeat><times>$__temp_grank-gt4</times>
				<fRef l="enemy_fire_b_4_11s"><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_07 ***************** -->

<create label="mahoujin_create_b5_07">
	<speed>0</speed>
	<direction type="relative">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>$3</vital>
	<child>1</child>
	<enemyRef label="enemy_b5_07"><p>$1</p><p>$2</p></enemyRef>
</create>


<enemy l="enemy_b5_07">
	<score>3500</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>$2-eq1</times>
		<revRef label="enemy_revenge_mb1_score"><p>2</p><p>20</p><p>150</p><p>90</p></revRef>
	</repeat>
	<repeat><times>1-($2-eq1)</times>
		<revRef label="enemy_revenge_mb1"><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>
		<chS><sp type="abs">1.0</sp><tm>15</tm></chS>
		<w>15</w>
		<chS><sp type="abs">0</sp><tm>15</tm></chS>
		<w>65</w>

		<w>($__temp_grank-lt1)*13+($__temp_grank-lt2)*13</w>

		<repeat><times>$__temp_grank-gt0</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fRef l="enemy_fire_b_4_04"><p>0</p><p>6</p></fRef>
		<repeat><times>9</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>6</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>10</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>5</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>10</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>4</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>10</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>3</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>10</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>2</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>10</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>1</p></fRef>
		</repeat>
		</repeat>

		<w>21-13*($__temp_grank-gt3)</w>

		<repeat><times>($__temp_grank-gt2)+($__temp_grank-gt3)+($__temp_grank-gt4)</times>
		<aRef l="enemy_bullet_action8"><p>64</p></aRef>
		<fRef l="enemy_fire_b_4_04s"><p>3</p><p>6</p></fRef>
		<repeat><times>9</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>6</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>10</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>5</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>10</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>4</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>10</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>3</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>10</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>2</p></fRef>
		</repeat>
		<w>1</w>
		<repeat><times>10</times>
			<fRef l="enemy_fire_b_4_04s"><p>6</p><p>1</p></fRef>
		</repeat>
		<w>8</w>
		</repeat>

		<w>14-13*($__temp_grank-gt4)</w>
		<fRef l="enemy_fire_b_2_02d"><p>-40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>12</w>
		<fRef l="enemy_fire_b_2_02ds"><p>40</p></fRef>
		<w>36</w>

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

	</action>
</enemy>



</exbulletml>
