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

<!-- *** TTC 発動時に呼ばれるアクション ********************************** -->
<!-- *** （TTC 自体は双子エンジン内で実装されているため、演出のみ） ****** -->

<!-- ミス時 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_h"></actionRef>

	<createRef label="tension_explode_create"><param>1</param><param>0</param><param>0</param></createRef>

	<wait>1</wait>
	<repeat><times>$_player_type-eq0</times><action>
		<!-- *** ここに桜の演出を入れる *** -->

		<repeat><times>$_playerswitchable-eq1</times>
			<createRef label="bomb_sakura_full"><param>30</param></createRef>

			<createRef label="bomb_sword"></createRef>
			<createRef label="bomb_shinya_bmp"></createRef>
		</repeat>

		<!-- 桜一人の場合 -->
		<repeat><times>$_playerswitchable-eq0</times>
			<createRef label="bomb_sakura_full_solo"><param>30</param></createRef>
		</repeat>
	</action></repeat>

	<repeat><times>$_player_type-eq1</times><action>
		<!-- *** ここに慎也の演出を入れる *** -->
		<repeat><times>$_playerswitchable-eq1</times>
			<createRef label="bomb_shinya_full"><param>30</param></createRef>
			<createRef label="bomb_sakura"></createRef>
			<createRef label="bomb_sakura_bmp"></createRef>
		</repeat>
		<!-- 慎也一人の場合 -->

		<repeat><times>$_playerswitchable-eq0</times>
			<createRef label="bomb_shinya_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_h"></actionRef>
	<createRef label="tension_explode_create"><param>1</param><param>0</param><param>0</param></createRef>

	<wait>1</wait>
	<repeat><times>$_player_type-eq0</times><action>
		<!-- *** ここに桜の演出を入れる *** -->
		<repeat><times>$_playerswitchable-eq1</times>
			<createRef label="bomb_sakura_full"><param>30</param></createRef>
			<createRef label="bomb_sword"></createRef>
			<createRef label="bomb_shinya_bmp"></createRef>
		</repeat>
		<!-- 桜一人の場合 -->
		<repeat><times>$_playerswitchable-eq0</times>
			<createRef label="bomb_sakura_full_solo"><param>30</param></createRef>
		</repeat>
	</action></repeat>

	<repeat><times>$_player_type-eq1</times><action>
		<!-- *** ここに慎也の演出を入れる *** -->
		<repeat><times>$_playerswitchable-eq1</times>
			<createRef label="bomb_shinya_full"><param>30</param></createRef>
			<createRef label="bomb_sakura"></createRef>
			<createRef label="bomb_sakura_bmp"></createRef>
		</repeat>
		<!-- 慎也一人の場合 -->
		<repeat><times>$_playerswitchable-eq0</times>
			<createRef label="bomb_shinya_full_solo"><param>30</param></createRef>
		</repeat>
	</action></repeat>

</action>

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

	<object label="bomb_full">
		<img type="normal">
			<file type="dds">sakura_full</file>
			<left>98</left><top>66</top><right>414</right><bottom>446</bottom>
			<width>316</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_sakura_full_solo">
	<direction type="absolute">90</direction>
	<speed type="absolute">1.7</speed>
	<cx>470</cx><cy>300</cy>

	<object label="bomb_full">
		<img type="normal">
			<file type="dds">sakura_full_solo</file>
			<left>98</left><top>66</top><right>414</right><bottom>446</bottom>
			<width>316</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_shinya_full">
	<direction type="absolute">90</direction>
	<speed type="absolute">1.5</speed>
	<cx>485</cx><cy>300</cy>

	<object label="bomb_full">
		<img type="normal">
			<file type="dds">shinya_full</file>
			<left>85</left><top>80</top><right>427</right><bottom>432</bottom>
			<width>342</width><height>352</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_shinya_full_solo">
	<direction type="absolute">90</direction>
	<speed type="absolute">1.5</speed>
	<cx>485</cx><cy>300</cy>

	<object label="bomb_full">
		<img type="normal">
			<file type="dds">shinya_full_solo</file>
			<left>85</left><top>80</top><right>427</right><bottom>432</bottom>
			<width>342</width><height>352</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_shinya_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_type1</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_sword">
	<speed>4.5</speed>
	<direction type="absolute">0</direction>
	<cx>$_player_cx</cx><cy>$_player_cy</cy>
	<object>
		<img type="maskadd">
			<file type="dds">largeshot</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>300</width><height>32</height>
			<alpha>210</alpha><red>66</red><green>255</green><blue>60</blue>
		</img>
		<setDrawLevel><num>23</num></setDrawLevel>
		<action>
			<changeSpeed>
				<speed type="absolute">1.4</speed><term>60</term>
			</changeSpeed>

			<repeat><times>-1</times>
				<createRef label="bomb_swod2"></createRef>
				<wait>5</wait>
			</repeat>

		</action>
	</object>

</create>

<create label="bomb_swod2">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>2</vital>
	<child>1</child>
	<flag>1</flag>
	<shot>
		<revengeRef label="shot_revenge_1"></revengeRef>
		<collision type="rect"><left>-150</left><top>-16</top><right>150</right><bottom>16</bottom></collision>	
		<img type="maskadd">
			<file type="dds">bullet</file>
			<left>0</left><top>104</top><right>32</right><bottom>112</bottom>
			<width>300</width><height>32</height>
			<alpha>100</alpha><red>255</red><green>5</green><blue>10</blue>
		</img>
		<flag>1</flag>
		<setBreakable><num>1</num></setBreakable>
		<definedAction type="synctoparenty"></definedAction>
		<wait>5</wait>
		<vanish></vanish>
	</shot>
</create>

<!-- さくらボム -->
<create label="bomb_sakura_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_type1</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_sakura">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$_player_cx</cx><cy>$_player_cy</cy>
	<object>
		<img type="maskadd">
			<file type="dds">bullet</file>
			<left>0</left><top>104</top><right>32</right><bottom>112</bottom>
			<width>300</width><height>32</height>
			<alpha>0</alpha><red>126</red><green>255</green><blue>100</blue>
		</img>
		<action>
			<eval name="dir">($_self_cx+$_self_cy)%21</eval>
			<eval name="dir2">($_self_cx+$_self_cy)%8</eval>

			<createRef label="bomb_sakura2"><param>$dir</param><param>1</param></createRef>
			<wait>1</wait>
			<repeat><times>100</times>
				<createRef label="bomb_sakura2_s"><param>$dir</param><param>1</param></createRef>
				<evaladd name="dir">$dir2</evaladd>
				<evaladd name="dir2">($_self_cx+$_player_cy+3)%8</evaladd>
				<createRef label="bomb_sakura2_s"><param>$dir+3</param><param>-1</param></createRef>
				<wait>1</wait>
			</repeat>
			<vanish/>
		</action>
	</object>

</create>

<create label="bomb_sakura2">
	<speed>5</speed>
	<direction type="absolute">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital><flag>1</flag>
	<shot>
		<revengeRef label="shot_revenge_1"></revengeRef>
		<collision type="rect"><left>-6</left><top>-6</top><right>6</right><bottom>6</bottom></collision>	
		<img type="normal">
			<file type="dds">sakura_shot</file>
			<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
			<width>10</width><height>10</height>
			<alpha>220</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<action>
			<rotateImg>
				<direction>6</direction><term>-1</term>
			</rotateImg>
			<wait>1</wait>
			<changeSpeed>
				<speed type="absolute">1</speed><term>30</term>
			</changeSpeed>

			<changeDirection>
				<direction type="relative">120*$2</direction><term>120</term>
			</changeDirection>

		</action>
	</shot>
</create>

<create label="bomb_sakura2_s">
	<speed>5</speed>
	<direction type="sequence">$1</direction>
	<cx>$_self_cx</cx><cy>$_self_cy</cy>
	<vital>1</vital><flag>1</flag>
	<shot>
		<revengeRef label="shot_revenge_1"></revengeRef>
		<collision type="rect"><left>-6</left><top>-6</top><right>6</right><bottom>6</bottom></collision>	
		<img type="normal">
			<file type="dds">sakura_shot</file>
			<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
			<width>10</width><height>10</height>
			<alpha>220</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<flag>1</flag>
		<action>
			<rotateImg>
				<direction>6</direction><term>-1</term>
			</rotateImg>
			<wait>1</wait>
			<changeSpeed>
				<speed type="absolute">2.6</speed><term>30</term>
			</changeSpeed>

			<changeDirection>
				<direction type="relative">120*$2</direction><term>120</term>
			</changeDirection>

		</action>
	</shot>
</create>

<!-- Tension effect haneita -->
<action label="common_tension_effect_h">

	<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_partricle"><param>$pa_dir</param></createRef>

				<repeat><times>75</times>
				<createRef label="tension_partricle_s"><param>$pa_dir+180</param></createRef>
				<createRef label="tension_partricle_s"><param>$pa_dir+60</param></createRef>
				<wait>1</wait>
				<createRef label="tension_partricle_s"><param>$pa_dir</param></createRef>
				<createRef label="tension_partricle_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_partricle">
	<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_1</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_partricle_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_1</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 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_clearbomb">
	<collision type="rect">
		<left>-182</left><top>-242</top><right>182</right><bottom>242</bottom>
	</collision>
	<wait>1</wait>
	<vanish></vanish>
</bomb>

</exbulletml>