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

<!-- *** ショットボタンを押した時に呼ばれるアクション ******************** -->

<!-- ********************************************************************* -->
<!-- *** 桜の場合 ******************************************************** -->
<!-- ********************************************************************* -->
<action label="shot_1_top">
	<sound label="shot_se" type="se">
		<track><file type="ogg">shot</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>

	<!-- *** TTC 発動中（TTC 発動から 300 フレーム未満）*** -->
	<repeat><times>$_ttc_frame-lt300</times>
		<actionRef label="shot_1_3_ttc_create_action"></actionRef>
	</repeat>

	
	<!-- *** 通常（TTC 発動から 300 フレーム以上経過）*** -->
	<repeat><times>1-($_ttc_frame-lt300)</times>
		<actionRef label="shot_1_3_create_action"></actionRef>
	</repeat>
	
</action>

<!-- ********************************************************************* -->
<!-- *** 慎也の場合 ****************************************************** -->
<!-- ********************************************************************* -->
<action label="shot_2_top">
	<sound label="shot_se" type="se">
		<track><file type="ogg">shot</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>

	<!-- *** TTC 発動中（TTC 発動から 300 フレーム未満）*** -->
	<repeat><times>$_ttc_frame-lt300</times>
		<actionRef label="shot_2_3_ttc_create_action"></actionRef>
	</repeat>

	
	<!-- *** 通常（TTC 発動から 300 フレーム以上経過）*** -->
	<repeat><times>1-($_ttc_frame-lt300)</times>
		<actionRef label="shot_2_3_create_action"></actionRef>
	</repeat>
	
	
</action>



<!-- ********************************************************************* -->
<!-- *** 桜の場合の生成アクション **************************************** -->
<!-- ********************************************************************* -->

<action label="shot_1_3_create_action">		
	<create>
		<speed>8</speed>
		<direction type="absolute">0</direction>
		<cx>$_player_cx</cx><cy>$_player_cy-16</cy>
		<vital>2</vital>
		<shotRef label="shot_bullet_1"></shotRef>
	</create>
	<wait>1</wait>
		
	<create>
		<speed>8</speed>
		<direction type="absolute">340</direction>
		<cx>$_player_cx-4</cx><cy>$_player_cy-10</cy>
		<vital>2</vital>
		<shotRef label="shot_bullet_1"></shotRef>
	</create>
	<create>
		<speed>8</speed>
		<direction type="absolute">320</direction>
		<cx>$_player_cx-10</cx><cy>$_player_cy-5</cy>
		<vital>2</vital>
		<shotRef label="shot_bullet_1"></shotRef>
	</create>
	<wait>1</wait>

	<create>
		<speed>8</speed>
		<direction type="absolute">300</direction>
		<cx>$_player_cx-16</cx><cy>$_player_cy</cy>
		<vital>2</vital>
		<shotRef label="shot_bullet_1"></shotRef>
	</create>
	
	<wait>2</wait>
	<create>
		<speed>8</speed>
		<direction type="absolute">20</direction>
		<cx>$_player_cx+4</cx><cy>$_player_cy-10</cy>
		<vital>2</vital>
		<shotRef label="shot_bullet_1"></shotRef>
	</create>
		
	<create>
		<speed>8</speed>
		<direction type="absolute">40</direction>
		<cx>$_player_cx+10</cx><cy>$_player_cy-5</cy>
		<vital>2</vital>
		<shotRef label="shot_bullet_1"></shotRef>
	</create>		

	<create>
		<speed>8</speed>
		<direction type="absolute">60</direction>
		<cx>$_player_cx+16</cx><cy>$_player_cy</cy>
		<vital>2</vital>
		<shotRef label="shot_bullet_1"></shotRef>
	</create>		
	
	<wait>4</wait>

	<!-- *** 最後に必ず exit すること *** -->
	<exit></exit>		
</action>

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

<action label="shot_1_3_ttc_create_action">		
	<create>
		<speed>8</speed>
		<direction type="absolute">0</direction>
		<cx>$_player_cx</cx><cy>$_player_cy-16</cy>
		<vital>4</vital><flag>1</flag>
		<shotRef label="shot_bullet_ttc_1"></shotRef>
	</create>
	<wait>1</wait>
		
	<create>
		<speed>8</speed>
		<direction type="absolute">340</direction>
		<cx>$_player_cx-4</cx><cy>$_player_cy-10</cy>
		<vital>4</vital><flag>1</flag>
		<shotRef label="shot_bullet_ttc_1"></shotRef>
	</create>
	<create>
		<speed>8</speed>
		<direction type="absolute">320</direction>
		<cx>$_player_cx-10</cx><cy>$_player_cy-5</cy>
		<vital>4</vital><flag>1</flag>
		<shotRef label="shot_bullet_ttc_1"></shotRef>
	</create>
	<wait>1</wait>

	<create>
		<speed>8</speed>
		<direction type="absolute">300</direction>
		<cx>$_player_cx-16</cx><cy>$_player_cy</cy>
		<vital>4</vital><flag>1</flag>
		<shotRef label="shot_bullet_ttc_1"></shotRef>
	</create>
	
	<wait>2</wait>
	<create>
		<speed>8</speed>
		<direction type="absolute">20</direction>
		<cx>$_player_cx+4</cx><cy>$_player_cy-10</cy>
		<vital>4</vital><flag>1</flag>
		<shotRef label="shot_bullet_ttc_1"></shotRef>
	</create>
		
	<create>
		<speed>8</speed>
		<direction type="absolute">40</direction>
		<cx>$_player_cx+10</cx><cy>$_player_cy-5</cy>
		<vital>4</vital><flag>1</flag>
		<shotRef label="shot_bullet_ttc_1"></shotRef>
	</create>		

	<create>
		<speed>8</speed>
		<direction type="absolute">60</direction>
		<cx>$_player_cx+16</cx><cy>$_player_cy</cy>
		<vital>4</vital><flag>1</flag>
		<shotRef label="shot_bullet_ttc_1"></shotRef>
	</create>		
	
	<wait>4</wait>

	<!-- *** 最後に必ず exit すること *** -->
	<exit></exit>		
</action>



<!-- ********************************************************************* -->
<!-- *** 慎也の場合の生成アクション ************************************** -->
<!-- ********************************************************************* -->
<action label="shot_2_3_create_action">		
	<create>
		<speed>12</speed>
		<direction type="absolute">0</direction>
		<cx>$_player_cx</cx><cy>$_player_cy-16</cy>
		<vital>8</vital>
		<shotRef label="shot_bullet_2_3"></shotRef>
	</create>
	<wait>4</wait>

	<!-- *** 最後に必ず exit すること *** -->
	<exit></exit>
</action>

<!-- ********************************************* -->
<action label="shot_2_3_ttc_create_action">		
	<create>
		<speed>12</speed>
		<direction type="absolute">0</direction>
		<cx>$_player_cx</cx><cy>$_player_cy-16</cy>
		<vital>16</vital><flag>1</flag>
		<shotRef label="shot_bullet_ttc_2_3"></shotRef>
	</create>
	<wait>4</wait>

	<!-- *** 最後に必ず exit すること *** -->
	<exit></exit>
</action>




<!-- ********************************************************************* -->
<!-- ********************************************************************* -->
<!-- ********************************************************************* -->
<!--
<shot label="shot_bullet_1">
	<revengeRef label="shot_revenge_1"></revengeRef>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>	
	<img type="normal">
		<file type="dds">shot1s</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>20</width><height>20</height>
		<alpha>164</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<rotateImg>
			<direction>6</direction><term>-1</term>
		</rotateImg>
	</action>
</shot>

<shot label="shot_bullet_ttc_1">
	<revengeRef label="shot_revenge_1"></revengeRef>
	<collision type="rect"><left>-32</left><top>-32</top><right>32</right><bottom>32</bottom></collision>	
	<img type="maskadd">
		<file type="dds">shot1s</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>40</width><height>40</height>
		<alpha>164</alpha><red>32</red><green>32</green><blue>32</blue>
	</img>
	<action>
		<rotateImg>
			<direction>6</direction><term>-1</term>
		</rotateImg>
	</action>
</shot>
-->

<shot label="shot_bullet_1">
	<revengeRef label="shot_revenge_1"></revengeRef>
	<collision type="rect"><left>-16</left><top>-16</top><right>16</right><bottom>16</bottom></collision>	
	<img type="normal">
		<file type="dds">sakura_shot</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>20</width><height>20</height>
		<alpha>150</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<rotateImg>
			<direction>6</direction><term>-1</term>
		</rotateImg>
	</action>
</shot>

<shot label="shot_bullet_ttc_1">
	<revengeRef label="shot_revenge_1"></revengeRef>
	<collision type="rect"><left>-32</left><top>-32</top><right>32</right><bottom>32</bottom></collision>	
	<img type="add">
		<file type="dds">sakura_shot</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>40</width><height>40</height>
		<alpha>150</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>
	<action>
		<rotateImg>
			<direction>6</direction><term>-1</term>
		</rotateImg>
	</action>
</shot>



<!-- ********************************************************************* -->
<!-- ********************************************************************* -->
<!-- ********************************************************************* -->
<shot label="shot_bullet_2_3">
	<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">bullet</file>
		<left>0</left><top>104</top><right>32</right><bottom>112</bottom>
		<width>44</width><height>32</height>
		<alpha>210</alpha><red>10</red><green>255</green><blue>100</blue>
	</img>
</shot>
<shot label="shot_bullet_ttc_2_3">
	<revengeRef label="shot_revenge_1"></revengeRef>
	<collision type="rect"><left>-32</left><top>-32</top><right>32</right><bottom>32</bottom></collision>	
	<img type="add">
		<file type="dds">bullet</file>
		<left>0</left><top>104</top><right>32</right><bottom>112</bottom>
		<width>88</width><height>64</height>
		<alpha>210</alpha><red>250</red><green>100</green><blue>100</blue>
	</img>
</shot>


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

<revenge label="shot_revenge_1">
<!--
	<img type="add">
		<file type="dds">ring</file>
		<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
		<width>8</width><height>8</height>
		<alpha>200</alpha><red>255</red><green>128</green><blue>128</blue>
	</img>
-->
	<img type="add">
		<file type="dds">break_particle</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>8</width><height>8</height>
		<alpha>250</alpha><red>255</red><green>128</green><blue>128</blue>
	</img>

	<changeSpeed>
		<speed type="absolute">0.5</speed><term>3</term>
	</changeSpeed>
	<changeDirection>
		<direction type="relative">0</direction><term>3</term>
	</changeDirection>

	<changeImgSize>
		<width>160</width><height>160</height><term>36</term>
	</changeImgSize>
	<wait>2</wait>

	<soundRef label="shot_break"></soundRef>

	<changeColor>
		<alpha>230</alpha><red>255</red><green>255</green><blue>128</blue><term>2</term>	
	</changeColor>
	<wait>4</wait>
	<changeColor>
		<alpha>210</alpha><red>128</red><green>255</green><blue>128</blue><term>2</term>	
	</changeColor>
	<wait>4</wait>
	<changeColor>
		<alpha>190</alpha><red>128</red><green>255</green><blue>255</blue><term>2</term>	
	</changeColor>
	<wait>4</wait>
	<changeColor>
		<alpha>170</alpha><red>128</red><green>128</green><blue>255</blue><term>2</term>	
	</changeColor>
	<wait>4</wait>
	<changeColor>
		<alpha>150</alpha><red>255</red><green>128</green><blue>255</blue><term>2</term>	
	</changeColor>
	<wait>4</wait>

	<changeColor>
		<alpha>130</alpha><red>255</red><green>255</green><blue>128</blue><term>2</term>	
	</changeColor>
	<wait>4</wait>
	<changeColor>
		<alpha>40</alpha><red>128</red><green>255</green><blue>128</blue><term>2</term>	
	</changeColor>
	<wait>4</wait>
	

	<vanish></vanish>
</revenge>


</exbulletml>
