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

<!-- ************************************************************ -->
<!-- *  ITEM                                                    * -->
<!-- *                                                          * -->
<!-- *  1 : Material                                            * -->
<!-- *  2 :                                                     * -->
<!-- *  3 : 得点                                                * -->
<!-- *  4 :                                                     * -->
<!-- *  5 : Spirit                                              * -->
<!-- *  6 :                                                     * -->
<!-- ************************************************************ -->


<!-- TTC 発動時自機周辺弾幕が実行するアクション -->
<!-- ラベル名変更禁止 ここから-->
<action label="ttc_item_create_action_01">
	<createRef label="ttc_item_create_01"></createRef>
	<setRevenge></setRevenge>
</action>

<item label="ttc_item_01">
	<speed>10</speed><direction type="aim">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy><flag>1</flag>
	<score>$__e_crystal_score_ttc</score>
	<prate>$__e_crystal_ttc</prate>
	<spirit>1</spirit>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_01_img"></imgRef>	
	<revengeRef label="item_common_revenge_ttc_crystal"></revengeRef>
	<actionRef label="item_common_action"></actionRef>
</item>
<!-- ラベル名変更禁止 ここまで-->


<create label="item_create_01">

	<eval name="dir">($_self_cx-lt165)*45+($_self_cx-gt485)*(-45)</eval>

	<speed>3</speed>
	<direction type="absolute">-45+$__item_dir_01*5+$dir</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01"></itemRef>

	<global name="item_dir_01">($__item_dir_01+$_self_cx+$_player_cx+1)%9</global>

</create>

<create label="item_create_01_small">

	<speed>3</speed>
	<direction type="aim">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01_ttc"></itemRef>

</create>

<create label="item_create_01_laser">

	<speed>3</speed>
	<direction type="relative">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01_ttc"></itemRef>

</create>

<create label="item_create_01_boss_ab">

	<eval name="dir">($_self_cx-lt165)*45+($_self_cx-gt485)*(-45)</eval>

	<speed>3</speed>
	<direction type="absolute">-45+$__item_dir_01*5+$dir</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01boss"></itemRef>

	<global name="item_dir_01">($__item_dir_01+$_self_cx+$_player_cx+1)%9</global>

</create>

<create label="item_create_01_boss">

	<eval name="dir">($_self_cx-lt165)*45+($_self_cx-gt485)*(-45)</eval>

	<speed>3</speed>
	<direction type="sequence">-45+$__item_dir_01*5+$dir</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01boss"></itemRef>

	<global name="item_dir_01">($__item_dir_01+$_self_cx+$_player_cx+1)%9</global>

</create>


<create label="item_create_01_red">

	<eval name="dir">($_self_cx-lt165)*45+($_self_cx-gt485)*(-45)</eval>

	<speed>3</speed>
	<direction type="absolute">-45+$__item_dir_01*5+$dir</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01_red"></itemRef>

	<global name="item_dir_01">($__item_dir_01+$_self_cx+$_player_cx+1)%9</global>

</create>


<create label="item_create_01_red_s">

	<eval name="dir">($_self_cx-lt165)*45+($_self_cx-gt485)*(-45)</eval>

	<speed>3</speed>
	<direction type="sequence">-45+$__item_dir_01*5+$dir</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01_red"></itemRef>

	<global name="item_dir_01">($__item_dir_01+$_self_cx+$_player_cx+1)%9</global>

</create>

<create label="item_create_01_red2">

	<eval name="dir">($_self_cx-lt165)*45+($_self_cx-gt485)*(-45)</eval>

	<speed>3</speed>
	<direction type="absolute">-45+$__item_dir_01*5+$dir</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01_red2"></itemRef>

	<global name="item_dir_01">($__item_dir_01+$_self_cx+$_player_cx+1)%9</global>

</create>


<create label="item_create_01_red2_s">

	<eval name="dir">($_self_cx-lt165)*45+($_self_cx-gt485)*(-45)</eval>

	<speed>3</speed>
	<direction type="sequence">-45+$__item_dir_01*5+$dir</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01_red2"></itemRef>

	<global name="item_dir_01">($__item_dir_01+$_self_cx+$_player_cx+1)%9</global>

</create>


<create label="item_create_01_etb">

	<speed>3</speed>
	<direction type="aim">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01_etb"><param>$1</param></itemRef>

</create>


<create label="item_create_02">
	<speed>3</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_02"></itemRef>
</create>

<create label="item_create_03">
	<speed>2.6</speed>
	<direction type="absolute">180</direction>
	<cx>$_self_cx+$1</cx><cy>$_self_cy+$2</cy>
	<itemRef label="item_03"></itemRef>
</create>

<create label="item_create_04">
	<speed>3</speed>
	<direction type="absolute">135</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_04"></itemRef>
</create>

<create label="item_create_05">
	<speed>3</speed>
	<direction type="absolute">32</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_05"></itemRef>
</create>
<create label="item_create_05_2">
	<speed>3</speed>
	<direction type="absolute">32</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_05_2"></itemRef>
</create>

<create label="item_create_06">
	<speed>3</speed>
	<direction type="absolute">135</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_06"></itemRef>
</create>

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

<item label="item_01">
	<flag>1</flag>
	<score>$__e_crystal_score</score>
	<prate>$__e_crystal</prate>
	<spirit>1</spirit>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_01_img"></imgRef>	
	<imgDirection type="sync">0</imgDirection>
	<revengeRef label="item_common_revenge_small_crystal"></revengeRef>
	<actionRef label="item_common_action_crystal"></actionRef>
</item>

<item label="item_01boss">
	<flag>1</flag>
	<score>$__e_crystal_score</score>
	<prate>$__e_crystal_boss</prate>
	<spirit>1</spirit>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_01_img"></imgRef>	
	<imgDirection type="sync">0</imgDirection>
	<revengeRef label="item_common_revenge_small_crystal"></revengeRef>
	<actionRef label="item_common_action_crystal"></actionRef>
</item>

<item label="item_01_ttc">
	<flag>1</flag>
	<score>$__e_crystal_score_ttc</score>
	<prate>$__e_crystal_ttc</prate>
	<spirit>1</spirit>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_01_img"></imgRef>	
	<imgDirection type="sync">0</imgDirection>
	<revengeRef label="item_common_revenge_small_crystal"></revengeRef>
	<actionRef label="item_common_action_crystal"></actionRef>
</item>

<item label="item_01_etb">
	<flag>7</flag>
	<score>$2</score>
	<prate>$1</prate>
	<spirit>1</spirit>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_01_img"></imgRef>	
	<imgDirection type="sync">0</imgDirection>
	<revengeRef label="item_common_revenge_small_crystal"></revengeRef>
	<actionRef label="item_common_action_crystal"></actionRef>
</item>

<item label="item_01_red">
	<flag>7</flag>
	<score>0</score>
	<prate>375</prate>
	<spirit>1</spirit>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_01_red_img"></imgRef>	
	<imgDirection type="sync">0</imgDirection>
	<revengeRef label="item_common_revenge_small"></revengeRef>
	<actionRef label="item_common_action_red"></actionRef>
</item>

<item label="item_01_red2">
	<flag>7</flag>
	<score>0</score>
	<prate>375</prate>
	<spirit>1</spirit>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_01_red_img"></imgRef>	
	<imgDirection type="sync">0</imgDirection>
	<revengeRef label="item_common_revenge_small"></revengeRef>
	<actionRef label="item_common_action_red"></actionRef>
</item>

<item label="item_02">
	<flag>2</flag>
	<score>10</score>
	<vital>1</vital>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_02_img"></imgRef>	
	<revengeRef label="item_common_revenge"></revengeRef>
	<actionRef label="item_common_action"></actionRef>
</item>

<item label="item_02_big">
	<flag>2</flag>
	<score>10</score>
	<vital>5</vital>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_02_big_img"></imgRef>	
	<revengeRef label="item_common_revenge"></revengeRef>
	<actionRef label="item_common_action"></actionRef>
</item>

<item label="item_03">
	<flag>3</flag>
	<score>10</score>
	<collision type="rect"><left>-16-3*$__grank</left><top>-16-3*$__grank</top><right>16+3*$__grank</right><bottom>16+3*$__grank</bottom></collision>

	<imgRef label="item_03_img"></imgRef>	
	<revengeRef label="item_common_revenge_score"></revengeRef>
	<actionRef label="item_common_action3"></actionRef>
</item>

<item label="item_04">
	<flag>4</flag>
	<score>10</score>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_04_img"></imgRef>	
	<revengeRef label="item_common_revenge"></revengeRef>
	
	<setReflect>
		<flag>7</flag><num>20</num>
	</setReflect>
	<actionRef label="item_common_action"></actionRef>
</item>

<item label="item_05">
	<flag>5</flag>
	<score>10</score>
	<collision type="rect"><left>-18</left><top>-18</top><right>18</right><bottom>18</bottom></collision>

	<imgRef label="item_05_img"></imgRef>	
	<revengeRef label="item_common_revenge_1up"></revengeRef>
	<setReflect>
		<flag>15</flag><num>25</num>
	</setReflect>
	<actionRef label="item_common_action5"></actionRef>
</item>

<item label="item_05_2">
	<flag>5</flag>
	<score>10</score>
	<collision type="rect"><left>-18</left><top>-18</top><right>18</right><bottom>18</bottom></collision>

	<imgRef label="item_05_img"></imgRef>	
	<revengeRef label="item_common_revenge_halfup"></revengeRef>
	<setReflect>
		<flag>15</flag><num>25</num>
	</setReflect>
	<actionRef label="item_common_action5"></actionRef>
</item>

<item label="item_06">
	<flag>6</flag>
	<score>10</score>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_06_img"></imgRef>	
	<revengeRef label="item_common_revenge"></revengeRef>
	<actionRef label="item_common_action"></actionRef>
</item>


<action label="item_common_action_crystal">
	<wait>1</wait>
	<repeat><times>-1</times>
		<changeColor>
			<alpha>140</alpha><red>200</red><green>200</green><blue>200</blue><term>10</term>	
		</changeColor>
		<wait>10</wait>
		<changeColor>
			<alpha>140</alpha><red>100</red><green>100</green><blue>100</blue><term>10</term>	
		</changeColor>
		<wait>10</wait>		
	</repeat>
</action>

<action label="item_common_action_red">
	<wait>1</wait>
	<repeat><times>-1</times>
		<changeColor>
			<alpha>200</alpha><red>155</red><green>155</green><blue>155</blue><term>10</term>	
		</changeColor>
		<wait>10</wait>
		<changeColor>
			<alpha>140</alpha><red>65</red><green>65</green><blue>65</blue><term>10</term>	
		</changeColor>
		<wait>10</wait>		
	</repeat>
</action>

<action label="item_counter_01_red2">

		<createRef label="item_create_01_red2"></createRef>
	<repeat><times>$1-1</times>
		<createRef label="item_create_01_red2_s"></createRef>
		<wait>1</wait>
	</repeat>

</action>


<action label="item_common_action">
	<wait>1</wait>
	<repeat><times>-1</times>
		<changeColor>
			<alpha>255</alpha><red>200</red><green>200</green><blue>200</blue><term>10</term>	
		</changeColor>
		<wait>10</wait>
		<changeColor>
			<alpha>255</alpha><red>0</red><green>0</green><blue>0</blue><term>10</term>	
		</changeColor>
		<wait>10</wait>		
	</repeat>
</action>

<action label="item_common_action2">
	<wait>1</wait>
	<repeat><times>-1</times>
		<changeColor>
			<alpha>255</alpha><red>50</red><green>50</green><blue>50</blue><term>20</term>	
		</changeColor>
		<wait>30</wait>
		<changeColor>
			<alpha>205</alpha><red>0</red><green>0</green><blue>0</blue><term>20</term>	
		</changeColor>
		<wait>30</wait>		
	</repeat>
</action>

<action label="item_common_action3">
	<wait>1</wait>

	<repeat><times>-1</times>
			<changeColor><alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>12</term></changeColor>
			<setImgUV><left>24*0</left><top>24*3</top><right>24*1</right><bottom>24*4</bottom></setImgUV><wait>6</wait>
			<setImgUV><left>24*1</left><top>24*3</top><right>24*2</right><bottom>24*4</bottom></setImgUV><wait>6</wait>

			<changeColor><alpha>200</alpha><red>255</red><green>255</green><blue>255</blue><term>12</term></changeColor>
			<setImgUV><left>24*2</left><top>24*3</top><right>24*3</right><bottom>24*4</bottom></setImgUV><wait>6</wait>
			<setImgUV><left>24*3</left><top>24*3</top><right>24*4</right><bottom>24*4</bottom></setImgUV><wait>6</wait>

			<changeColor><alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>12</term></changeColor>
			<setImgUV><left>24*4</left><top>24*3</top><right>24*5</right><bottom>24*4</bottom></setImgUV><wait>6</wait>
			<setImgUV><left>24*5</left><top>24*3</top><right>24*6</right><bottom>24*4</bottom></setImgUV><wait>6</wait>

			<changeColor><alpha>200</alpha><red>255</red><green>255</green><blue>255</blue><term>12</term></changeColor>
			<setImgUV><left>24*6</left><top>24*3</top><right>24*7</right><bottom>24*4</bottom></setImgUV><wait>6</wait>
			<setImgUV><left>24*7</left><top>24*3</top><right>24*8</right><bottom>24*4</bottom></setImgUV><wait>6</wait>

			<changeColor><alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>12</term></changeColor>
			<setImgUV><left>24*8</left><top>24*3</top><right>24*9</right><bottom>24*4</bottom></setImgUV><wait>6</wait>
			<setImgUV><left>24*9</left><top>24*3</top><right>24*10</right><bottom>24*4</bottom></setImgUV><wait>6</wait>
	</repeat>
</action>

<action label="item_common_action5">
	<wait>1</wait>

	<repeat><times>-1</times>
			<changeColor><alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>12</term></changeColor>
			<setImgUV><left>24*0</left><top>24*4</top><right>24*1</right><bottom>24*5</bottom></setImgUV><wait>6</wait>
			<setImgUV><left>24*1</left><top>24*4</top><right>24*2</right><bottom>24*5</bottom></setImgUV><wait>6</wait>

			<changeColor><alpha>200</alpha><red>255</red><green>255</green><blue>255</blue><term>12</term></changeColor>
			<setImgUV><left>24*2</left><top>24*4</top><right>24*3</right><bottom>24*5</bottom></setImgUV><wait>6</wait>
			<setImgUV><left>24*3</left><top>24*4</top><right>24*4</right><bottom>24*5</bottom></setImgUV><wait>6</wait>

			<changeColor><alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>12</term></changeColor>
			<setImgUV><left>24*4</left><top>24*4</top><right>24*5</right><bottom>24*5</bottom></setImgUV><wait>6</wait>
			<setImgUV><left>24*5</left><top>24*4</top><right>24*6</right><bottom>24*5</bottom></setImgUV><wait>6</wait>

			<changeColor><alpha>200</alpha><red>255</red><green>255</green><blue>255</blue><term>12</term></changeColor>
			<setImgUV><left>24*6</left><top>24*4</top><right>24*7</right><bottom>24*5</bottom></setImgUV><wait>6</wait>
			<setImgUV><left>24*7</left><top>24*4</top><right>24*8</right><bottom>24*5</bottom></setImgUV><wait>6</wait>

			<changeColor><alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>12</term></changeColor>
			<setImgUV><left>24*8</left><top>24*4</top><right>24*9</right><bottom>24*5</bottom></setImgUV><wait>6</wait>
			<setImgUV><left>24*9</left><top>24*4</top><right>24*10</right><bottom>24*5</bottom></setImgUV><wait>6</wait>
	</repeat>
</action>

<revenge label="item_common_revenge_ttc_crystal">
	<soundtrack><file type="ogg">itemget</file></soundtrack>
	<addRank><num>$__e_crystal_rank_ttc</num></addRank>

	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>0</alpha><red>80</red><green>80</green><blue>80</blue><term>10</term>
	</changeColor>
	<changeImgSize>
		<width>32</width><height>52</height><term>15</term>
	</changeImgSize>
	<wait>15</wait>
	<vanish></vanish>
</revenge>

<revenge label="item_common_revenge_small_crystal">
	<soundtrack><file type="ogg">itemget</file></soundtrack>
	<addRank><num>$__e_crystal_rank</num></addRank>

	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>0</alpha><red>80</red><green>80</green><blue>80</blue><term>10</term>
	</changeColor>
	<changeImgSize>
		<width>32</width><height>52</height><term>15</term>
	</changeImgSize>
	<wait>15</wait>
	<vanish></vanish>
</revenge>

<revenge label="item_common_revenge_small">
	<soundtrack><file type="ogg">itemget</file></soundtrack>


	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>0</alpha><red>100</red><green>100</green><blue>100</blue><term>10</term>
	</changeColor>
	<changeImgSize>
		<width>32</width><height>64</height><term>15</term>
	</changeImgSize>
	<wait>15</wait>
	<vanish></vanish>
</revenge>


<revenge label="item_common_revenge">
	<soundtrack><file type="ogg">itemget</file></soundtrack>

	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>0</alpha><red>100</red><green>100</green><blue>100</blue><term>15</term>
	</changeColor>
	<changeImgSize>
		<width>64</width><height>64</height><term>15</term>
	</changeImgSize>
	<wait>15</wait>
	<vanish></vanish>
</revenge>

<revenge label="item_common_revenge_score">
	<soundtrack><file type="ogg">itemget</file></soundtrack>
	<addRank><num>50*($_difficulty+1)</num></addRank>

	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<changeColor>
		<alpha>0</alpha><red>100</red><green>100</green><blue>100</blue><term>15</term>
	</changeColor>
	<changeImgSize>
		<width>64</width><height>64</height><term>15</term>
	</changeImgSize>
	<wait>1</wait>

	<eval n="myscore">0</eval>
	<rep><ts>$_self_score-eq3200</ts><eval n="myscore">1</eval></rep>
	<rep><ts>$_self_score-eq6400</ts><eval n="myscore">2</eval></rep>
	<rep><ts>$_self_score-eq12800</ts><eval n="myscore">3</eval></rep>
	<rep><ts>$_self_score-eq25600</ts><eval n="myscore">4</eval></rep>
	<rep><ts>$_self_score-eq51200</ts><eval n="myscore">5</eval></rep>

	<create>
		<speed>0</speed><direction type="absolute">0</direction>
		<cx>$_self_cx</cx><cy>$_self_cy</cy>
		<objectRef l="score_item_score_digit_object"><p>$myscore</p></objectRef>
	</create>

	<wait>14</wait>
	<global name="item_count">$__item_count+1</global>
	<vanish></vanish>
</revenge>

<object l="score_item_score_digit_object">
	<imgRef label="score_item_score_digit_img"><p>$1</p></imgRef>
	<setDrawLevel><num>10</num></setDrawLevel>
	<wait>60</wait>
	<changeColor>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>15</term>
	</changeColor>
	<wait>15</wait>
	<vanish></vanish>
</object>



<revenge label="item_common_revenge_1up">
	<soundtrack><file type="ogg">1up</file></soundtrack>
	<addSpirit><spirit>3000</spirit></addSpirit>
	<aRef label="addsp_letter"/>

	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<w>1</w>
	<changeColor>
		<alpha>0</alpha><red>100</red><green>100</green><blue>100</blue><term>15</term>
	</changeColor>
	<changeImgSize>
		<width>64</width><height>64</height><term>15</term>
	</changeImgSize>
	<wait>15</wait>
	<vanish></vanish>
</revenge>

<revenge label="item_common_revenge_halfup">
	<soundtrack><file type="ogg">1up</file></soundtrack>
	<addSpirit><spirit>1500</spirit></addSpirit>
	<aRef label="addsp_letter_h"/>

	<changeSpeed>
		<speed>0</speed><term>1</term>
	</changeSpeed>
	<w>1</w>
	<changeColor>
		<alpha>0</alpha><red>100</red><green>100</green><blue>100</blue><term>15</term>
	</changeColor>
	<changeImgSize>
		<width>64</width><height>64</height><term>15</term>
	</changeImgSize>
	<wait>15</wait>
	<vanish></vanish>
</revenge>

<img label="score_item_score_digit_img" type="add">
	<file type="dds">scorerate</file>
	<left>24*($1%3)</left><top>16*(($1/3)%2)+64</top><right>24*($1%3)+24</right><bottom>16*(($1/3)%2)+8+64</bottom>
	<width>24</width><height>8</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>


<img label="item_01_img" type="add">
	<file type="dds">itemjewel_2_24x24</file>
	<left>24*5</left><top>24*($_twinstype-1)</top><right>24*6</right><bottom>24*$_twinstype</bottom>
	<width>20</width><height>20</height>
	<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img label="item_01_red_img" type="normal">
	<file type="dds">itemjewel_2_24x24</file>
	<left>24*5</left><top>24*5</top><right>24*6</right><bottom>24*6</bottom>
	<width>20</width><height>20</height>
	<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue>
</img>


<img label="item_02_img" type="normal">
	<file type="dds">bullet</file>
	<left>32</left><top>64</top><right>64</right><bottom>96</bottom>
	<width>16</width><height>16</height>
	<alpha>255</alpha><red>0</red><green>0</green><blue>0</blue>
</img>

<img label="item_03_img" type="normal">
	<file type="dds">itemjewel_2_24x24</file>
	<left>0</left><top>24*3</top><right>24</right><bottom>24*4</bottom>
	<width>12+5*$__grank</width><height>12+5*$__grank</height>
	<alpha>200</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img label="item_04_img" type="maskadd">
	<file type="dds">bullet</file>
	<left>96</left><top>64</top><right>128</right><bottom>96</bottom>
	<width>16</width><height>16</height>
	<alpha>255</alpha><red>0</red><green>0</green><blue>0</blue>
</img>

<img label="item_05_img" type="normal">
	<file type="dds">itemjewel_2_24x24</file>
	<left>0</left><top>24*4</top><right>24</right><bottom>24*5</bottom>
	<width>24</width><height>24</height>
	<alpha>200</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img label="item_06_img" type="maskadd">
	<file type="dds">bullet</file>
	<left>160</left><top>64</top><right>196</right><bottom>96</bottom>
	<width>16</width><height>16</height>
	<alpha>255</alpha><red>0</red><green>0</green><blue>0</blue>
</img>

<img label="item_02_big_img" type="maskadd">
	<file type="dds">bullet</file>
	<left>32</left><top>64</top><right>64</right><bottom>96</bottom>
	<width>24</width><height>24</height>
	<alpha>255</alpha><red>0</red><green>0</green><blue>0</blue>
</img>

<!-- ************************************************************ -->
<!-- *  e-crystal number Debug用                                * -->
<!-- ************************************************************ -->
<create label="score_figure_create_debug">
	<direction type="absolute">0</direction>
	<speed type="absolute">0.2</speed>
	<cx>$_self_cx+$3</cx><cy>$_self_cy-$4</cy>
	
	<object>
		<img type="normal">
			<file type="dds">scorerate</file>
			<left>$1*16</left><top>$2*16</top><right>$1*16+16</right><bottom>$2*16+16</bottom>
			<width>12</width><height>12</height>
			<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>17</num></setDrawLevel>
		<action>
			<changeColor>
				<alpha>102</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>60</wait>
			<vanish/>
		</action>
	</object>
</create>

<create label="score_figure_create_debug2">
	<direction type="absolute">0</direction>
	<speed type="absolute">0.2</speed>
	<cx>$_self_cx+$3</cx><cy>$_self_cy-$4</cy>
	
	<object>
		<img type="normal">
			<file type="dds">scorerate</file>
			<left>$1*16</left><top>$2*16</top><right>$1*16+16</right><bottom>$2*16+16</bottom>
			<width>16</width><height>16</height>
			<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>17</num></setDrawLevel>
		<action>
			<changeColor>
				<alpha>102</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>60</wait>
			<vanish/>
		</action>
	</object>
</create>

<create label="score_figure_create_debug3">
	<direction type="absolute">0</direction>
	<speed type="absolute">0.2</speed>
	<cx>$_self_cx+$3</cx><cy>$_self_cy-$4</cy>
	
	<object>
		<img type="normal">
			<file type="dds">scorerate</file>
			<left>64+$1*24</left><top>$2*24</top><right>64+$1*24+24</right><bottom>$2*24+24</bottom>
			<width>22</width><height>22</height>
			<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>17</num></setDrawLevel>
		<action>
			<changeColor>
				<alpha>102</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>60</wait>
			<vanish/>
		</action>
	</object>
</create>

<create label="score_figure_create_debug_x">
	<direction type="absolute">0</direction>
	<speed type="absolute">0.2</speed>
	<cx>$_self_cx-$2</cx><cy>$_self_cy-$3</cy>
	
	<object>
		<img type="normal">
			<file type="dds">scorerate</file>
			<left>0</left><top>0</top><right>16</right><bottom>16</bottom>
			<width>16-(($1-lt4)*4)</width><height>16-(($1-lt4)*4)</height>
			<alpha>235</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>17</num></setDrawLevel>
		<action>
			<changeColor>
				<alpha>102</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>60</wait>
			<vanish/>
		</action>
	</object>
</create>


<!-- ************************************************************ -->
<!-- *  e-crystal 出現用                                        * -->
<!-- ************************************************************ -->

<action label="item_counter_01">

	<eval name="distance">($_player_distance/$6)%100</eval>
	<eval name="item">(($5-$2)/$3)%1000000</eval>
	<eval name="bonus">1+($item-lt1)+($item-lt2)+($item-lt3)+($distance-lt1)+($distance-lt2)</eval>

	<eval name="num2">($bonus/4)%10</eval>
	<eval name="num1">$bonus-4*$num2</eval>
<!--
	<debugstr><string>enemy_multi</string></debugstr>
	<debugval><num>$5</num></debugval>
	<debugval><num>$2</num></debugval>
	<debugval><num>$3</num></debugval>
	<debugval><num>$_player_distance</num></debugval>
	<debugval><num>$distance</num></debugval>
	<debugval><num>$item</num></debugval>
	<debugval><num>$bonus</num></debugval>
-->
	
	<rep><ts>$bonus-lt4</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>4</param><param>8</param></createRef>
		<createRef label="score_figure_create_debug"><param>$num1</param><param>$num2</param><param>4</param><param>8</param></createRef>
	</rep>
	<rep><ts>($bonus-eq4)+($bonus-eq5)</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>6</param><param>8</param></createRef>
		<createRef label="score_figure_create_debug2"><param>$num1</param><param>$num2</param><param>6</param><param>8</param></createRef>
	</rep>
	<rep><ts>$bonus-gt5</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>8</param><param>14</param></createRef>
		<createRef label="score_figure_create_debug3"><param>($bonus-5)%2</param><param>(($bonus-5)/2)%2</param><param>8</param><param>14</param></createRef>
		<global name="m6_count">$__m6_count+1</global>
	</rep>


	<repeat><times>$bonus-lt5</times>
		<repeat><times>$1*$bonus</times>
			<createRef label="item_create_01"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>
	<repeat><times>1-($bonus-lt5)</times>
		<repeat><times>(($1*$bonus)/2)%1000</times>
			<createRef label="item_create_01"></createRef>
			<createRef label="item_create_01"></createRef>
			<wait>1</wait>
		</repeat>
		<repeat><times>($1*$bonus)%2</times>
			<createRef label="item_create_01"></createRef>
		</repeat>
	</repeat>

</action>



<action label="item_counter_01_boss">
	<eval name="distance">($_player_distance/$7*2)%100</eval>
	<eval name="item">((($5-$2)/$3)%1000000)*2+(10*$__end_flag)</eval>
	<eval name="bonus">1+($item-lt2)+($item-lt3)+($item-lt4)+($distance-lt2)+($distance-lt3)+($distance-lt4)+($distance-lt5)</eval>

	<eval name="num2">($bonus/4)%10</eval>
	<eval name="num1">$bonus-4*$num2</eval>

	<!-- アイテム出現数変更 -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<wait>1</wait>
	<repeat><times>$_revenge_state-eq1</times>
		<repeat><times>$item-lt4</times>
			<createRef label="item_create_03"><param>32-($_self_cx%9)*8</param><param>32-$_self_cx%64</param></createRef>
		</repeat>
		<repeat><times>$item-lt3</times>
			<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		</repeat>
		<repeat><times>$item-lt2</times>
			<createRef label="item_create_03"><param>12-$_self_cx%24</param><param>24-$_self_cx%48</param></createRef>
			<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
		</repeat>
	</repeat>

	<debugstr><string>boss_multi</string></debugstr>
	<debugval><num>$5</num></debugval>
	<debugval><num>$2</num></debugval>
	<debugval><num>$3</num></debugval>
	<debugval><num>$_player_distance</num></debugval>
	<debugval><num>$distance</num></debugval>
	<debugval><num>$item</num></debugval>
	<debugval><num>$bonus</num></debugval>
	<debugval><num>$1</num></debugval>
	<debugval><num>$6</num></debugval>

	<rep><ts>$bonus-lt4</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>6</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug"><param>$num1</param><param>$num2</param><param>6</param><param>24</param></createRef>
	</rep>
	<rep><ts>($bonus-eq4)+($bonus-eq5)</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>8</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug2"><param>$num1</param><param>$num2</param><param>8</param><param>24</param></createRef>
	</rep>
	<rep><ts>$bonus-gt5</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>10</param><param>32</param></createRef>
		<createRef label="score_figure_create_debug3"><param>($bonus-5)%2</param><param>(($bonus-5)/2)%2</param><param>10</param><param>32</param></createRef>
		<global name="m6_count">$__m6_count+1</global>
	</rep>


	<repeat><times>$bonus-lt5</times>
		<repeat><times>($1*$bonus)/2</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>
	<repeat><times>1-($bonus-lt5)</times>
		<repeat><times>(($1*$bonus)/4)%1000</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
		<repeat><times>($1*$bonus)%4</times>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>


	<repeat><times>$item-lt2</times>
		<addRank><num>$6</num></addRank>
		<debugstr><string>rankup</string></debugstr>
	</repeat>
	<repeat><times>$item-eq3</times>
		<addRank><num>-1*$6</num></addRank>
		<debugstr><string>rankdown-1</string></debugstr>
	</repeat>
	<repeat><times>$item-gt3</times>
		<addRank><num>-2*$6</num></addRank>
		<debugstr><string>rankdown-2</string></debugstr>
	</repeat>

</action>

<action label="item_counter_01_boss_stage1">
	<eval name="distance">($_player_distance/$7*2)%100</eval>
	<eval name="item">((($5-$2)/$3)%1000000)*2+(10*$__end_flag)</eval>
	<eval name="bonus">1+($item-lt2)+($item-lt3)+($item-lt4)+($distance-lt2)+($distance-lt3)+($distance-lt4)+($distance-lt5)</eval>

	<eval name="num2">($bonus/4)%10</eval>
	<eval name="num1">$bonus-4*$num2</eval>
	<!-- アイテム出現数変更 -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<wait>1</wait>
	<repeat><times>$_revenge_state-eq1</times>
		<repeat><times>$item-lt4</times>
			<createRef label="item_create_03"><param>32-($_self_cx%9)*8</param><param>32-$_self_cx%64</param></createRef>
		</repeat>
		<repeat><times>$item-lt3</times>
			<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		</repeat>
		<repeat><times>$item-lt2</times>
			<createRef label="item_create_03"><param>12-$_self_cx%24</param><param>24-$_self_cx%48</param></createRef>
		</repeat>
		<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
	</repeat>

	<debugstr><string>boss_multi</string></debugstr>
	<debugval><num>$5</num></debugval>
	<debugval><num>$2</num></debugval>
	<debugval><num>$3</num></debugval>
	<debugval><num>$_player_distance</num></debugval>
	<debugval><num>$distance</num></debugval>
	<debugval><num>$item</num></debugval>
	<debugval><num>$bonus</num></debugval>
	<debugval><num>$1</num></debugval>

	<rep><ts>$bonus-lt4</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>6</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug"><param>$num1</param><param>$num2</param><param>6</param><param>24</param></createRef>
	</rep>
	<rep><ts>($bonus-eq4)+($bonus-eq5)</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>8</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug2"><param>$num1</param><param>$num2</param><param>8</param><param>24</param></createRef>
	</rep>
	<rep><ts>$bonus-gt5</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>10</param><param>32</param></createRef>
		<createRef label="score_figure_create_debug3"><param>($bonus-5)%2</param><param>(($bonus-5)/2)%2</param><param>10</param><param>32</param></createRef>
		<global name="m6_count">$__m6_count+1</global>
	</rep>


	<repeat><times>$bonus-lt5</times>
		<repeat><times>($1*$bonus)/2</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>
	<repeat><times>1-($bonus-lt5)</times>
		<repeat><times>(($1*$bonus)/4)%1000</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
		<repeat><times>($1*$bonus)%4</times>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>

	<repeat><times>$item-lt2</times>
		<addRank><num>$6</num></addRank>
	</repeat>
	<repeat><times>$item-eq3</times>
		<addRank><num>-1*$6</num></addRank>
	</repeat>
	<repeat><times>$item-gt3</times>
		<addRank><num>-2*$6</num></addRank>
	</repeat>

</action>


<action label="item_counter_01_boss_stage2">
	<eval name="distance">($_player_distance/$7*2)%100</eval>
	<eval name="item">((($5-$2)/$3)%1000000)*2+(10*$__end_flag)</eval>
	<eval name="bonus">1+($item-lt2)+($item-lt3)+($item-lt4)+($distance-lt2)+($distance-lt3)+($distance-lt4)+($distance-lt5)</eval>

	<eval name="num2">($bonus/4)%10</eval>
	<eval name="num1">$bonus-4*$num2</eval>
	<!-- アイテム出現数変更 -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<wait>1</wait>
	<repeat><times>$_revenge_state-eq1</times>
		<repeat><times>$item-lt4</times>
			<createRef label="item_create_03"><param>32-($_self_cx%9)*8</param><param>32-$_self_cx%64</param></createRef>
		</repeat>
		<repeat><times>$item-lt3</times>
			<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		</repeat>
		<repeat><times>$item-lt2</times>
			<createRef label="item_create_03"><param>12-$_self_cx%24</param><param>24-$_self_cx%48</param></createRef>
		</repeat>
		<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
	</repeat>

<!--
	<debugstr><string>boss_multi</string></debugstr>
	<debugval><num>$5</num></debugval>
	<debugval><num>$2</num></debugval>
	<debugval><num>$3</num></debugval>
	<debugval><num>$_player_distance</num></debugval>
	<debugval><num>$distance</num></debugval>
	<debugval><num>$item</num></debugval>
	<debugval><num>$bonus</num></debugval>
	<debugval><num>$1</num></debugval>
-->
	<rep><ts>$bonus-lt4</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>6</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug"><param>$num1</param><param>$num2</param><param>6</param><param>24</param></createRef>
	</rep>
	<rep><ts>($bonus-eq4)+($bonus-eq5)</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>8</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug2"><param>$num1</param><param>$num2</param><param>8</param><param>24</param></createRef>
	</rep>
	<rep><ts>$bonus-gt5</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>10</param><param>32</param></createRef>
		<createRef label="score_figure_create_debug3"><param>($bonus-5)%2</param><param>(($bonus-5)/2)%2</param><param>10</param><param>32</param></createRef>
		<global name="m6_count">$__m6_count+1</global>
	</rep>


	<repeat><times>$bonus-lt5</times>
		<repeat><times>($1*$bonus)/2</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>
	<repeat><times>1-($bonus-lt5)</times>
		<repeat><times>(($1*$bonus)/4)%1000</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
		<repeat><times>($1*$bonus)%4</times>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>

	<repeat><times>$item-lt2</times>
		<addRank><num>$6</num></addRank>
	</repeat>
	<repeat><times>$item-eq3</times>
		<addRank><num>-1*$6</num></addRank>
	</repeat>
	<repeat><times>$item-gt3</times>
		<addRank><num>-2*$6</num></addRank>
	</repeat>

</action>


<action label="item_counter_01_boss_stageF">
	<eval name="distance">($_player_distance/$7*2)%100</eval>
	<eval name="item">((($5-$2)/$3)%1000000)*2+(10*$__end_flag)</eval>
	<eval name="bonus">1+($item-lt2)+($item-lt3)+($item-lt4)+($distance-lt2)+($distance-lt3)+($distance-lt4)+($distance-lt5)</eval>

	<eval name="num2">($bonus/4)%10</eval>
	<eval name="num1">$bonus-4*$num2</eval>

	<!-- アイテム出現数変更 -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<wait>1</wait>
	<repeat><times>$_revenge_state-eq1</times>
		<repeat><times>$item-lt3</times>
			<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		</repeat>
		<repeat><times>$item-lt2</times>
			<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
		</repeat>
	</repeat>

	<debugstr><string>boss_multi</string></debugstr>
	<debugval><num>$5</num></debugval>
	<debugval><num>$2</num></debugval>
	<debugval><num>$3</num></debugval>
	<debugval><num>$_player_distance</num></debugval>
	<debugval><num>$distance</num></debugval>
	<debugval><num>$item</num></debugval>
	<debugval><num>$bonus</num></debugval>
	<debugval><num>$1</num></debugval>

	<rep><ts>$bonus-lt4</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>6</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug"><param>$num1</param><param>$num2</param><param>6</param><param>24</param></createRef>
	</rep>
	<rep><ts>($bonus-eq4)+($bonus-eq5)</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>8</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug2"><param>$num1</param><param>$num2</param><param>8</param><param>24</param></createRef>
	</rep>
	<rep><ts>$bonus-gt5</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>10</param><param>32</param></createRef>
		<createRef label="score_figure_create_debug3"><param>($bonus-5)%2</param><param>(($bonus-5)/2)%2</param><param>10</param><param>32</param></createRef>
		<global name="m6_count">$__m6_count+1</global>
	</rep>


	<repeat><times>$bonus-lt5</times>
		<repeat><times>($1*$bonus)/2</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>
	<repeat><times>1-($bonus-lt5)</times>
		<repeat><times>(($1*$bonus)/4)%1000</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
		<repeat><times>($1*$bonus)%4</times>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>

	<repeat><times>$item-lt2</times>
		<addRank><num>$6</num></addRank>
	</repeat>
	<repeat><times>$item-eq3</times>
		<addRank><num>-1*$6</num></addRank>
	</repeat>
	<repeat><times>$item-gt3</times>
		<addRank><num>-2*$6</num></addRank>
	</repeat>

</action>


<action label="item_counter_01_boss_stageF_2">
	<eval name="distance">($_player_distance/$7*2)%100</eval>
	<eval name="item">((($5-$2)/$3)%1000000)*2+(10*$__end_flag)</eval>
	<eval name="bonus">1+($item-lt2)+($item-lt3)+($item-lt4)+($distance-lt2)+($distance-lt3)+($distance-lt4)+($distance-lt5)</eval>

	<eval name="num2">($bonus/4)%10</eval>
	<eval name="num1">$bonus-4*$num2</eval>

	<!-- アイテム出現数変更 -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<wait>1</wait>
	<repeat><times>$item-lt2</times>
		<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
	</repeat>

	<debugstr><string>boss_multi</string></debugstr>
	<debugval><num>$5</num></debugval>
	<debugval><num>$2</num></debugval>
	<debugval><num>$3</num></debugval>
	<debugval><num>$_player_distance</num></debugval>
	<debugval><num>$distance</num></debugval>
	<debugval><num>$item</num></debugval>
	<debugval><num>$bonus</num></debugval>
	<debugval><num>$1</num></debugval>

	<rep><ts>$bonus-lt4</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>6</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug"><param>$num1</param><param>$num2</param><param>6</param><param>24</param></createRef>
	</rep>
	<rep><ts>($bonus-eq4)+($bonus-eq5)</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>8</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug2"><param>$num1</param><param>$num2</param><param>8</param><param>24</param></createRef>
	</rep>
	<rep><ts>$bonus-gt5</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>10</param><param>32</param></createRef>
		<createRef label="score_figure_create_debug3"><param>($bonus-5)%2</param><param>(($bonus-5)/2)%2</param><param>10</param><param>32</param></createRef>
		<global name="m6_count">$__m6_count+1</global>
	</rep>


	<repeat><times>$bonus-lt5</times>
		<repeat><times>($1*$bonus)/2</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>
	<repeat><times>1-($bonus-lt5)</times>
		<repeat><times>(($1*$bonus)/4)%1000</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
		<repeat><times>($1*$bonus)%4</times>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>

	<repeat><times>$item-lt2</times>
		<addRank><num>$6</num></addRank>
	</repeat>
	<repeat><times>$item-eq3</times>
		<addRank><num>-1*$6</num></addRank>
	</repeat>
	<repeat><times>$item-gt3</times>
		<addRank><num>-2*$6</num></addRank>
	</repeat>

</action>


<action label="item_counter_01_boss_stageI">
	<eval name="distance">($_player_distance/$7*2)%100</eval>
	<eval name="item">((($5-$2)/$3)%1000000)*2</eval>
	<eval name="bonus">1+($item-lt2)+($item-lt3)+($item-lt4)+($distance-lt2)+($distance-lt3)+($distance-lt4)+($distance-lt5)</eval>

	<eval name="num2">($bonus/4)%10</eval>
	<eval name="num1">$bonus-4*$num2</eval>

	<!-- アイテム出現数変更 -->
	<wait>1</wait>
	<repeat><times>$__end_flag-eq1</times>
		<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
		<createRef label="item_create_03"><param>0</param><param>-16</param></createRef>
		<createRef label="item_create_03"><param>24</param><param>-6</param></createRef>
		<createRef label="item_create_03"><param>-24</param><param>6</param></createRef>
		<w>1</w>
		<repeat><times>$item-lt4</times>
			<createRef label="item_create_03"><param>32-($_self_cx%9)*8</param><param>32-$_self_cx%64</param></createRef>
		</repeat>
		<repeat><times>$item-lt3</times>
			<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
		</repeat>
		<repeat><times>$item-lt2</times>
			<createRef label="item_create_03"><param>12-$_self_cx%24</param><param>24-$_self_cx%48</param></createRef>
			<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>
		</repeat>
	</repeat>

	<debugstr><string>boss_multi</string></debugstr>
	<debugval><num>$5</num></debugval>
	<debugval><num>$2</num></debugval>
	<debugval><num>$3</num></debugval>
	<debugval><num>$_player_distance</num></debugval>
	<debugval><num>$distance</num></debugval>
	<debugval><num>$item</num></debugval>
	<debugval><num>$bonus</num></debugval>
	<debugval><num>$1</num></debugval>
	<debugval><num>$6</num></debugval>

	<rep><ts>$bonus-lt4</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>6</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug"><param>$num1</param><param>$num2</param><param>6</param><param>24</param></createRef>
	</rep>
	<rep><ts>($bonus-eq4)+($bonus-eq5)</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>8</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug2"><param>$num1</param><param>$num2</param><param>8</param><param>24</param></createRef>
	</rep>
	<rep><ts>$bonus-gt5</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>10</param><param>32</param></createRef>
		<createRef label="score_figure_create_debug3"><param>($bonus-5)%2</param><param>(($bonus-5)/2)%2</param><param>10</param><param>32</param></createRef>
	</rep>


	<repeat><times>$bonus-lt5</times>
		<repeat><times>($1*$bonus)/2</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>
	<repeat><times>1-($bonus-lt5)</times>
		<repeat><times>(($1*$bonus)/4)%1000</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
		<repeat><times>($1*$bonus)%4</times>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>


	<repeat><times>$item-lt2</times>
		<addRank><num>$6</num></addRank>
		<debugstr><string>rankup</string></debugstr>
	</repeat>
	<repeat><times>$item-eq3</times>
		<addRank><num>-1*$6</num></addRank>
		<debugstr><string>rankdown-1</string></debugstr>
	</repeat>
	<repeat><times>$item-gt3</times>
		<addRank><num>-2*$6</num></addRank>
		<debugstr><string>rankdown-2</string></debugstr>
	</repeat>

</action>

<action label="item_counter_01_boss_stageI_0">
	<eval name="distance">($_player_distance/$7*2)%100</eval>
	<eval name="item">((($5-$2)/$3)%1000000)*2+(10*$__end_flag)</eval>
	<eval name="bonus">1+($item-lt2)+($item-lt3)+($item-lt4)+($distance-lt2)+($distance-lt3)+($distance-lt4)+($distance-lt5)</eval>

	<eval name="num2">($bonus/4)%10</eval>
	<eval name="num1">$bonus-4*$num2</eval>
	<!-- アイテム出現数変更 -->
	<createRef label="item_create_03"><param>0</param><param>0</param></createRef>
	<createRef label="item_create_03"><param>0</param><param>-16</param></createRef>
	<wait>1</wait>
	<repeat><times>$item-lt4</times>
		<createRef label="item_create_03"><param>32-($_self_cx%9)*8</param><param>32-$_self_cx%64</param></createRef>
	</repeat>
	<repeat><times>$item-lt3</times>
		<createRef label="item_create_03"><param>16-$_self_cy%32</param><param>16-($_self_cy%8)*4</param></createRef>
	</repeat>
	<repeat><times>$item-lt2</times>
		<createRef label="item_create_03"><param>12-$_self_cx%24</param><param>24-$_self_cx%48</param></createRef>
	</repeat>
	<createRef label="item_create_03"><param>24-($_self_cy%8)*6</param><param>12-$_self_cy%24</param></createRef>

	<debugstr><string>boss_multi</string></debugstr>
	<debugval><num>$5</num></debugval>
	<debugval><num>$2</num></debugval>
	<debugval><num>$3</num></debugval>
	<debugval><num>$_player_distance</num></debugval>
	<debugval><num>$distance</num></debugval>
	<debugval><num>$item</num></debugval>
	<debugval><num>$bonus</num></debugval>
	<debugval><num>$1</num></debugval>

	<rep><ts>$bonus-lt4</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>6</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug"><param>$num1</param><param>$num2</param><param>6</param><param>24</param></createRef>
	</rep>
	<rep><ts>($bonus-eq4)+($bonus-eq5)</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>8</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug2"><param>$num1</param><param>$num2</param><param>8</param><param>24</param></createRef>
	</rep>
	<rep><ts>$bonus-gt5</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>10</param><param>32</param></createRef>
		<createRef label="score_figure_create_debug3"><param>($bonus-5)%2</param><param>(($bonus-5)/2)%2</param><param>10</param><param>32</param></createRef>
		<global name="m6_count">$__m6_count+1</global>
	</rep>


	<repeat><times>$bonus-lt5</times>
		<repeat><times>($1*$bonus)/2</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>
	<repeat><times>1-($bonus-lt5)</times>
		<repeat><times>(($1*$bonus)/4)%1000</times>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
		<repeat><times>($1*$bonus)%4</times>
			<createRef label="item_create_01_boss"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>

	<repeat><times>$item-lt2</times>
		<addRank><num>$6</num></addRank>
	</repeat>
	<repeat><times>$item-eq3</times>
		<addRank><num>-1*$6</num></addRank>
	</repeat>
	<repeat><times>$item-gt3</times>
		<addRank><num>-2*$6</num></addRank>
	</repeat>

</action>


<action label="item_counter_01_red">

		<createRef label="item_create_01_red"></createRef>
	<repeat><times>$1-1</times>
		<createRef label="item_create_01_red_s"></createRef>
		<wait>1</wait>
	</repeat>

</action>

<action label="item_counter_01_red_stageI">

	<createRef label="item_create_01_redx"></createRef>
	<repeat><times>$1-1</times>
		<createRef label="item_create_01_redx_s"></createRef>
		<wait>1</wait>
	</repeat>

</action>

<create label="item_create_01_redx">

	<eval name="dir">($_self_cx-lt165)*45+($_self_cx-gt485)*(-45)</eval>

	<speed>3</speed>
	<direction type="absolute">-45+$__item_dir_01*5+$dir</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01_redx"></itemRef>

	<global name="item_dir_01">($__item_dir_01+$_self_cx+$_player_cx+1)%9</global>

</create>


<create label="item_create_01_redx_s">

	<eval name="dir">($_self_cx-lt165)*45+($_self_cx-gt485)*(-45)</eval>

	<speed>3</speed>
	<direction type="sequence">-45+$__item_dir_01*5+$dir</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<itemRef label="item_01_redx"></itemRef>

	<global name="item_dir_01">($__item_dir_01+$_self_cx+$_player_cx+1)%9</global>

</create>

<item label="item_01_redx">
	<flag>7</flag>
	<score>0</score>
	<prate>300</prate>
	<spirit>0</spirit>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>

	<imgRef label="item_01_red_img"></imgRef>	
	<imgDirection type="sync">0</imgDirection>
	<revengeRef label="item_common_revenge_small"></revengeRef>
	<actionRef label="item_common_action_red"></actionRef>
</item>


<action label="item_counter_01_black">

	<eval name="distance">($_player_distance/$6)%100</eval>
	<eval name="item">10</eval>
	<eval name="bonus">1+($item-lt1)+($item-lt2)+($item-lt3)+($distance-lt1)+($distance-lt2)</eval>

	<eval name="num2">($bonus/4)%10</eval>
	<eval name="num1">$bonus-4*$num2</eval>
<!--
	<debugstr><string>enemy_multi</string></debugstr>
	<debugval><num>$5</num></debugval>
	<debugval><num>$2</num></debugval>
	<debugval><num>$3</num></debugval>
	<debugval><num>$_player_distance</num></debugval>
	<debugval><num>$distance</num></debugval>
	<debugval><num>$item</num></debugval>
	<debugval><num>$bonus</num></debugval>
-->
	
	<rep><ts>$bonus-lt4</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>6</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug"><param>$num1</param><param>$num2</param><param>6</param><param>24</param></createRef>
	</rep>
	<rep><ts>($bonus-eq4)+($bonus-eq5)</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>8</param><param>24</param></createRef>
		<createRef label="score_figure_create_debug2"><param>$num1</param><param>$num2</param><param>8</param><param>24</param></createRef>
	</rep>
	<rep><ts>$bonus-gt5</ts>
		<createRef label="score_figure_create_debug_x"><param>$bonus</param><param>10</param><param>32</param></createRef>
		<createRef label="score_figure_create_debug3"><param>($bonus-5)%2</param><param>(($bonus-5)/2)%2</param><param>10</param><param>32</param></createRef>
		<global name="m6_count">$__m6_count+1</global>
	</rep>


	<repeat><times>$bonus-lt5</times>
		<repeat><times>$1*$bonus</times>
			<createRef label="item_create_01"></createRef>
			<wait>1</wait>
		</repeat>
	</repeat>
	<repeat><times>1-($bonus-lt5)</times>
		<repeat><times>(($1*$bonus)/2)%1000</times>
			<createRef label="item_create_01"></createRef>
			<createRef label="item_create_01"></createRef>
			<wait>1</wait>
		</repeat>
		<repeat><times>($1*$bonus)%2</times>
			<createRef label="item_create_01"></createRef>
		</repeat>
	</repeat>

</action>




<action label="tensionup_top">
	<soundtrack><file type="ogg">tension_up</file></soundtrack>
</action>




<action label="addsp_letter">
		<createRef label="addsp_figure_create_boss"><p>48+3</p><p>1</p><p>$_player_cx-12</p><p>$_self_cy-12</p></createRef>
		<createRef label="addsp_figure_create_boss"><p>48+0</p><p>1</p><p>$_player_cx-4</p><p>$_self_cy-12</p></createRef>
		<createRef label="addsp_figure_create_boss"><p>48+0</p><p>1</p><p>$_player_cx+4</p><p>$_self_cy-12</p></createRef>
		<createRef label="addsp_figure_create_boss"><p>48+0</p><p>1</p><p>$_player_cx+12</p><p>$_self_cy-12</p></createRef>
</action>

<action label="addsp_letter_h">
		<createRef label="addsp_figure_create_boss"><p>48+1</p><p>1</p><p>$_player_cx-12</p><p>$_self_cy-12</p></createRef>
		<createRef label="addsp_figure_create_boss"><p>48+5</p><p>1</p><p>$_player_cx-4</p><p>$_self_cy-12</p></createRef>
		<createRef label="addsp_figure_create_boss"><p>48+0</p><p>1</p><p>$_player_cx+4</p><p>$_self_cy-12</p></createRef>
		<createRef label="addsp_figure_create_boss"><p>48+0</p><p>1</p><p>$_player_cx+12</p><p>$_self_cy-12</p></createRef>
</action>

<create label="addsp_figure_create_boss">
	<direction type="absolute">0</direction>
	<speed type="absolute">0.1</speed>
	<cx>$3</cx><cy>$4</cy>
	
	<object>
		<imgRef label="str_boss_sp_img"><param>($1-32)%10</param><param>(($1-32)/10)%255</param><p>16</p></imgRef>
		<setDrawLevel><num>7</num></setDrawLevel>
		<action>
			<wait>60</wait>
			<changeColor>
				<alpha>32</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>60</wait>
			<vanish/>
		</action>
	</object>
</create>

<img type="normal" label="str_boss_sp_img">
	<file type="dds">hu24x24blue</file>
	<left>$1*24</left><top>$2*24</top><right>$1*24+24</right><bottom>$2*24+24</bottom>
	<width>$3</width><height>$3</height>
	<alpha>200</alpha><red>255</red><green>255</green><blue>255</blue>
</img>


</exbulletml>