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

<!-- ミス時 TTC アクション -->
<action label="bomb2_top">
	<sound label="ttc_se" type="se">
		<track><file type="ogg">ttc1</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>
	<actionRef label="auto_tension_str"></actionRef>

	<targetRevenge label="bomb_full"></targetRevenge>	
	<targetRevenge label="tension_particle_org"></targetRevenge>
	<targetRevenge label="tension_explode"></targetRevenge>
	<actionRef label="common_tension_effect_s"></actionRef>
	<createRef label="tension_explode_create"><param>0</param><param>0</param><param>1</param></createRef>
	<wait>1</wait>

	<repeat><times>$_player_type-eq0</times><action>

		<repeat><times>$_playerswitchable-eq1</times>
			<createRef label="bomb_yuuri_full"><param>30</param></createRef>
			<createRef label="bomb_mayuu_bmp"></createRef>
			<createRef label="bomb_guided"></createRef>
		</repeat>
		<!-- 悠莉一人の場合 -->
		<repeat><times>$_playerswitchable-eq0</times>
			<createRef label="bomb_yuuri_full_solo"><param>30</param></createRef>
		</repeat>
	</action></repeat>

	<repeat><times>$_player_type-eq1</times><action>

		<repeat><times>$_playerswitchable-eq1</times>
			<createRef label="bomb_mayuu_full"><param>30</param></createRef>
			<createRef label="bomb_yuuri_bmp"></createRef>
			<createRef label="bomb_laser"></createRef>
		</repeat>
		<!-- 真悠一人の場合 -->
		<repeat><times>$_playerswitchable-eq0</times>
			<createRef label="bomb_mayuu_full_solo"><param>30</param></createRef>
		</repeat>
	</action></repeat>

</action>

<action label="bomb_top">
	<sound label="ttc_se" type="se">
		<track><file type="ogg">ttc1</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>
	<actionRef label="twins_tension_str"></actionRef>
	<targetRevenge label="bomb_full"></targetRevenge>	
	<targetRevenge label="tension_particle_org"></targetRevenge>
	<targetRevenge label="tension_explode"></targetRevenge>
	<actionRef label="common_tension_effect_s"></actionRef>
	<createRef label="tension_explode_create"><param>0</param><param>0</param><param>1</param></createRef>
	<wait>1</wait>

	<repeat><times>$_player_type-eq0</times><action>

		<repeat><times>$_playerswitchable-eq1</times>
			<createRef label="bomb_yuuri_full"><param>30</param></createRef>
			<createRef label="bomb_mayuu_bmp"></createRef>
			<createRef label="bomb_guided"></createRef>
		</repeat>
		<!-- 悠莉一人の場合 -->
		<repeat><times>$_playerswitchable-eq0</times>
			<createRef label="bomb_yuuri_full_solo"><param>30</param></createRef>
		</repeat>
	</action></repeat>

	<repeat><times>$_player_type-eq1</times><action>
		<repeat><times>$_playerswitchable-eq1</times>
			<createRef label="bomb_mayuu_full"><param>30</param></createRef>
			<createRef label="bomb_yuuri_bmp"></createRef>
			<createRef label="bomb_laser"></createRef>
		</repeat>
		<!-- 真悠一人の場合 -->
		<repeat><times>$_playerswitchable-eq0</times>
			<createRef label="bomb_mayuu_full_solo"><param>30</param></createRef>
		</repeat>
	</action></repeat>

</action>

<!-- 全身絵 -->
<create label="bomb_yuuri_full">
	<direction type="absolute">90</direction>
	<speed type="absolute">1.7</speed>
	<cx>460</cx><cy>300</cy>

	<object label="bomb_full">
		<img type="normal">
			<file type="dds">yuuri_full</file>
			<left>128</left><top>66</top><right>384</right><bottom>446</bottom>
			<width>256</width><height>380</height>
			<alpha>16</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>$1</num></setDrawLevel>

		<action>
			<changeColor>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>45</wait>
			<changeSpeed>
				<speed type="absolute">0.2</speed><term>10</term>
			</changeSpeed>
			<wait>50</wait>
			<changeColor>
				<alpha>120</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
			</changeColor>
			<wait>90</wait>
			<changeColor>
				<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
			</changeColor>
			<wait>30</wait>
			<vanish/>	
		</action>
	</object>
</create>

<create label="bomb_yuuri_full_solo">
	<direction type="absolute">90</direction>
	<speed type="absolute">1.7</speed>
	<cx>460</cx><cy>300</cy>

	<object label="bomb_full">
		<img type="normal">
			<file type="dds">yuuri_full_solo</file>
			<left>128</left><top>66</top><right>384</right><bottom>446</bottom>
			<width>256</width><height>380</height>
			<alpha>16</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>$1</num></setDrawLevel>

		<action>
			<changeColor>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>45</wait>
			<changeSpeed>
				<speed type="absolute">0.2</speed><term>10</term>
			</changeSpeed>
			<wait>50</wait>
			<changeColor>
				<alpha>120</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
			</changeColor>
			<wait>90</wait>
			<changeColor>
				<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
			</changeColor>
			<wait>30</wait>
			<vanish/>	
		</action>
	</object>
</create>

<create label="bomb_mayuu_full">
	<direction type="absolute">90</direction>
	<speed type="absolute">1.7</speed>
	<cx>480</cx><cy>300</cy>

	<object label="bomb_full">
		<img type="normal">
			<file type="dds">mayuu_full</file>
			<left>128</left><top>66</top><right>384</right><bottom>446</bottom>
			<width>256</width><height>380</height>
			<alpha>16</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>$1</num></setDrawLevel>

		<action>
			<changeColor>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>45</wait>
			<changeSpeed>
				<speed type="absolute">0.2</speed><term>10</term>
			</changeSpeed>
			<wait>50</wait>
			<changeColor>
				<alpha>120</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
			</changeColor>
			<wait>90</wait>
			<changeColor>
				<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
			</changeColor>
			<wait>30</wait>
			<vanish/>	
		</action>
	</object>
</create>

<create label="bomb_mayuu_full_solo">
	<direction type="absolute">90</direction>
	<speed type="absolute">1.7</speed>
	<cx>480</cx><cy>300</cy>

	<object label="bomb_full">
		<img type="normal">
			<file type="dds">mayuu_full_solo</file>
			<left>128</left><top>66</top><right>384</right><bottom>446</bottom>
			<width>256</width><height>380</height>
			<alpha>16</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>$1</num></setDrawLevel>

		<action>
			<changeColor>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>45</wait>
			<changeSpeed>
				<speed type="absolute">0.2</speed><term>10</term>
			</changeSpeed>
			<wait>50</wait>
			<changeColor>
				<alpha>120</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
			</changeColor>
			<wait>90</wait>
			<changeColor>
				<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
			</changeColor>
			<wait>30</wait>
			<vanish/>	
		</action>
	</object>
</create>

<!-- 誘導ボム -->
<create label="bomb_mayuu_bmp">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_player_cx</cx><cy>$_player_cy</cy>
	<object>
		<img type="normal">
			<file type="dds">player_dot_type2</file>
			<left>16</left><top>0</top><right>48</right><bottom>60</bottom>
			<width>24</width><height>44</height>
			<alpha>224</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<action>

			<changeColor>
				<alpha>120</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
			</changeColor>
			<changeImgSize>
				<width>32</width><height>60</height><term>30</term>
			</changeImgSize>
			<wait>30</wait>
			<vanish/>
		</action>
	</object>

</create>

<create label="bomb_guided">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_player_cx</cx><cy>$_player_cy</cy>
	<object>
		<img type="maskadd">
			<file type="dds">bullet32_1</file>
			<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
			<width>2</width><height>2</height>
			<alpha>0</alpha><red>126</red><green>255</green><blue>100</blue>
		</img>
		<action>
			<eval name="wid">32</eval>
			<eval name="height">32</eval>
			<eval name="count">0</eval>
			<eval name="dir">10</eval>
			<createRef label="bomb_guided2"><param>$dir</param><param>$wid</param><param>$height</param><param>$count</param></createRef>
			<createRef label="bomb_guided2"><param>-1*$dir</param><param>$wid</param><param>$height</param><param>$count+1</param></createRef>
			<repeat><times>20</times>
				<wait>1</wait>
				<evaladd name="count">2</evaladd>
				<evaladd name="dir">10</evaladd>
				<createRef label="bomb_guided2"><param>$dir</param><param>$wid</param><param>$height</param><param>$count</param></createRef>
				<createRef label="bomb_guided2"><param>-1*$dir</param><param>$wid</param><param>$height</param><param>$count+1</param></createRef>
			</repeat>
			<vanish/>
		</action>
	</object>

</create>


<create label="bomb_guided2">
	<speed>6</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>2</vital><flag>1</flag>
	<shot>
		<revengeRef label="shot_revenge_1"></revengeRef>
		<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>	
		<img type="add">
			<file type="dds">bullet32_1</file>
			<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
			<width>$2</width><height>$3</height>
			<alpha>255</alpha><red>1</red><green>160</green><blue>160</blue>
		</img>
		<imgDirection type="sync">0</imgDirection>
		<flag>1</flag>
		<action>
		<changeSpeed>
			<speed type="absolute">2</speed><term>30</term>
		</changeSpeed>
		<wait>30</wait>
		<autoTarget><num>$4</num></autoTarget>
		<changeSpeed>
			<speed type="absolute">6</speed><term>30</term>
		</changeSpeed>
		</action>
	</shot>

</create>


<!-- レーザーボム -->
<create label="bomb_yuuri_bmp">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_player_cx</cx><cy>$_player_cy</cy>
	<object>
		<img type="normal">
			<file type="dds">player_dot_type2</file>
			<left>16+64</left><top>0</top><right>48+64</right><bottom>60</bottom>
			<width>24</width><height>44</height>
			<alpha>224</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<action>

			<changeColor>
				<alpha>120</alpha><red>255</red><green>255</green><blue>255</blue><term>30</term>
			</changeColor>
			<changeImgSize>
				<width>32</width><height>60</height><term>30</term>
			</changeImgSize>
			<wait>30</wait>
			<vanish/>
		</action>
	</object>

</create>

<create label="bomb_laser">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_player_cx</cx><cy>$_player_cy</cy>
	<object>
		<img type="maskadd">
			<file type="dds">bullet32_1</file>
			<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
			<width>2</width><height>2</height>
			<alpha>0</alpha><red>126</red><green>255</green><blue>100</blue>
		</img>
		<action>
			<createRef label="bomb_laser2"><param>320</param><param>464</param></createRef>
			<createRef label="bomb_laser2"><param>367</param><param>464</param></createRef>
			<wait>1</wait>
			<createRef label="bomb_laser2"><param>273</param><param>464</param></createRef>
			<createRef label="bomb_laser2"><param>414</param><param>464</param></createRef>
			<wait>1</wait>
			<createRef label="bomb_laser2"><param>179</param><param>464</param></createRef>
			<createRef label="bomb_laser2"><param>461</param><param>464</param></createRef>
			<wait>1</wait>
			<createRef label="bomb_laser2"><param>226</param><param>464</param></createRef>
			<wait>1</wait>
			<vanish/>
		</action>
	</object>

</create>

<create label="bomb_laser2">
	<speed>4</speed>
	<direction type="absolute">0</direction>
	<cx>$_player_cx</cx><cy>$_player_cy</cy>
	<object>
		<img type="normal">
			<file type="dds">s_mahoujin5_soft</file>
			<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
			<width>64</width><height>64</height>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<action>
			<changePosition>
				<x>$1</x><y>$2</y>
			</changePosition>
			<changeSpeed>
				<speed type="absolute">0</speed><term>1</term>
			</changeSpeed>
			<wait>1</wait>
			<repeat><times>15</times>
			<create>
				<speed>0</speed>
				<direction type="absolute">0</direction>
				<cx>$1</cx><cy>232</cy>
				<vital>0.8</vital><flag>1</flag>
				<shot>
					<collision type="rect"><left>-7</left><top>-232</top><right>7</right><bottom>232</bottom></collision>	
					<img type="add">
						<file type="dds">shot2l</file>
						<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
						<width>14</width><height>464</height>
						<alpha>145</alpha><red>220</red><green>220</green><blue>250</blue>
					</img>
					<flag>1</flag>
					<setBreakable><num>1</num></setBreakable>
					<setDrawLevel><num>21</num></setDrawLevel>
					<changeColor>
						<alpha>0</alpha><red>5</red><green>5</green><blue>80</blue><term>20</term>
					</changeColor>
					<wait>1</wait>
					<wait>20</wait>
					<vanish></vanish>
				</shot>
			</create>
			<wait>4</wait>
			</repeat>
			<wait>30</wait>

			<changeColor>
				<alpha>20</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>
			</changeColor>
			<wait>60</wait>
			<vanish/>
		</action>
	</object>

</create>

<!-- Tension effect saijou -->
<action label="common_tension_effect_s">

	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>$_player_cx</cx><cy>$_player_cy</cy>
		<object label="tension_particle_org">
			<img type="normal">
				<file type="dds">tension_particle</file>
				<left>0</left><top>0</top><right>2</right><bottom>2</bottom>
				<width>2</width><height>2</height>
				<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue>
			</img>
			<setDrawLevel><num>16</num></setDrawLevel>
			<definedAction type="synctoplayerx"></definedAction>
			<definedAction type="synctoplayery"></definedAction>
			<action>
				<eval name="pa_dir">($_player_cx+$_player_cy)%27</eval>
				<createRef label="tension_partricle1"><param>$pa_dir</param></createRef>

				<repeat><times>75</times>
				<createRef label="tension_partricle1_s"><param>$pa_dir+180</param></createRef>
				<createRef label="tension_partricle1_s"><param>$pa_dir+60</param></createRef>
				<wait>1</wait>
				<createRef label="tension_partricle1_s"><param>$pa_dir</param></createRef>
				<createRef label="tension_partricle1_s"><param>$pa_dir-60</param></createRef>
				<wait>1</wait>
				<eval name="pa_dir">($pa_dir+$_self_cx+$_self_cy)%31</eval>
				<wait>2</wait>
				</repeat>
				<vanish/>
			</action>
		</object>
	</create>

</action>

<create label="tension_partricle1">
	<speed>1.4</speed>
	<direction type="absolute">$1</direction>
	<cx>$_player_cx</cx><cy>$_player_cy</cy>
	<object>
		<img type="maskadd">
			<file type="dds">tension_particle_8_2</file>
			<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
			<width>4</width><height>4</height>
			<alpha>60</alpha><red>0</red><green>0</green><blue>0</blue>
		</img>
		<setDrawLevel><num>16</num></setDrawLevel>
		<definedAction type="synctoplayerx"></definedAction>
		<definedAction type="synctoplayery"></definedAction>
		<action>
			<changeSpeed>
				<speed type="absolute">0</speed><term>40</term>
			</changeSpeed>
			<wait>20</wait>
			<changeColor>
				<alpha>160</alpha><red>0</red><green>0</green><blue>0</blue><term>20</term>
			</changeColor>
			<wait>20</wait>
			<vanish/>
		</action>
	</object>
</create>

<create label="tension_partricle1_s">
	<speed>1.4</speed>
	<direction type="sequence">$1</direction>
	<cx>$_player_cx</cx><cy>$_player_cy</cy>
	<object>
		<img type="maskadd">
			<file type="dds">tension_particle_8_2</file>
			<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
			<width>4</width><height>4</height>
			<alpha>60</alpha><red>0</red><green>0</green><blue>0</blue>
		</img>
		<setDrawLevel><num>16</num></setDrawLevel>
		<definedAction type="synctoplayerx"></definedAction>
		<definedAction type="synctoplayery"></definedAction>
		<action>
			<changeSpeed>
				<speed type="absolute">0</speed><term>40</term>
			</changeSpeed>
			<wait>20</wait>
			<changeColor>
				<alpha>160</alpha><red>0</red><green>0</green><blue>0</blue><term>20</term>
			</changeColor>
			<wait>20</wait>
			<vanish/>
		</action>
	</object>
</create>


<!-- bomb -->
<bomb label="bomb_bomb_1">
	<img type="normal">
		<file type="bmp">rectwhite</file>
		<left>0</left><top>0</top><right>16</right><bottom>16</bottom>
		<width>80</width><height>16</height>
		<alpha>128</alpha><red>164</red><green>128</green><blue>255</blue>
	</img>
	<collision type="rect">
		<left>-40</left><top>-8</top><right>40</right><bottom>8</bottom>
	</collision>
</bomb>

<bomb label="bomb_bomb_2">
	<eval name="i">0</eval>
	
	<img type="normal">
		<file type="dds">bullet16_1</file>
		<left>8</left><top>0</top><right>16</right><bottom>8</bottom>
		<width>30</width><height>30</height>
		<alpha>128</alpha><red>255</red><green>200</green><blue>200</blue>
	</img>
	<changeImgSize>
		<width>2*(30+120*5)</width><height>2*(30+120*5)</height><term>120</term>
	</changeImgSize>
	
	<repeat><times>120</times>
		<collision type="circle"><cx>0</cx><cy>0</cy><radius>30+$i</radius></collision>
		<evaladd name="i">5</evaladd>
		<wait>1</wait>
	</repeat>

	<changeColor>
		<alpha>0</alpha><red>255</red><green>200</green><blue>200</blue><term>60</term>
	</changeColor>	
	<collision type="circle"><cx>0</cx><cy>0</cy><radius>0</radius></collision>
	<wait>60</wait>
	<vanish></vanish>
</bomb>


<bomb label="bomb_clearbomb">
	<collision type="rect">
		<left>-182</left><top>-242</top><right>182</right><bottom>242</bottom>
	</collision>
	<wait>1</wait>
	<vanish></vanish>
</bomb>

</exbulletml>