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


<action label="record_sound_top">
	<global name="sound_twinstype">0</global>
	<global name="sound_table_y">0</global>
	<global name="now_play">0</global>

	<actionRef label="record_sound_check"></actionRef>		
	<actionRef label="record_sound_main"></actionRef>

	<create>
		<cx>400</cx><cy>40</cy><speed>0</speed><direction>0</direction>
		<object label="title_bg_object">
			<img type="normal">
				<file type="dds">title_record_img_1</file>
				<left>64*4</left><top>64</top><right>64*7</right><bottom>64*2</bottom>
				<width>64*3</width><height>64</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>9</num></setDrawLevel>
		</object>
	</create>

	<create>
		<speed>0</speed><direction type="absolute">0</direction>
		<cx>64</cx><cy>300</cy>
		<object label="title_bg_object">
			<revengeRef label="title_common_revenge"></revengeRef>
			<imgRef label="title_triangle_img"><p>64</p></imgRef>
			<setDrawLevel><num>10</num></setDrawLevel>
			<imgDirection type="sync">-30</imgDirection>
		</object>
	</create>

	<create>
		<speed>0</speed><direction type="absolute">0</direction>
		<cx>800-64</cx><cy>300</cy>
		<object label="title_bg_object">
			<revengeRef label="title_common_revenge"></revengeRef>
			<imgRef label="title_triangle_img"><p>64</p></imgRef>
			<setDrawLevel><num>10</num></setDrawLevel>
			<imgDirection type="sync">30</imgDirection>
		</object>
	</create>


	<create>
		<speed>0</speed><direction type="absolute">0</direction><cx>500</cx><cy>360</cy>
		<object label="text_object3">
			<actionRef label="record_sound_text_setup_action"></actionRef>
		</object>
	</create>

	<create>
		<speed>0</speed><direction type="absolute">0</direction><cx>332</cx><cy>260</cy>
		<object label="text_object3">
			<actionRef label="record_sound_text_setup_action_2"></actionRef>
		</object>
	</create>

</action>

<action label="record_sound_main">
	
	<!-- カーソル -->
	<create>
		<x>$__sound_twinstype</x><y>$__sound_table_y</y>
		<cursor>
			<decidedRef    label="sound_cursor_decided"></decidedRef>
			<selectedRef   label="sound_cursor_selected"></selectedRef>
			<unselectedRef label="sound_cursor_unselected"></unselectedRef>
			<actionRef	   label="sound_cursor_action"></actionRef>
		</cursor>
	</create>
		

	<!-- 矢印 -->

	<eval n="ybase">118</eval>
	<eval n="height">28</eval>

	<eval name="i">0</eval>
	<repeat><times>16</times>
		<create>
			<cx>400</cx><cy>$ybase+$i*$height</cy><speed>0</speed><direction>0</direction><x>0</x><y>$i</y>
			<selectableRef label="sound_selectable_1"></selectableRef>
		</create>
		<evaladd name="i">1</evaladd>
	</repeat>

	<eval name="i">0</eval>
	<repeat><times>16</times>
		<create>
			<cx>400</cx><cy>$ybase+$i*$height</cy><speed>0</speed><direction>0</direction><x>1</x><y>$i</y>
			<selectableRef label="sound_selectable_1"></selectableRef>
		</create>
		<evaladd name="i">1</evaladd>
	</repeat>

	<create>
		<cx>320</cx><cy>$ybase+$i*$height</cy><speed>0</speed><direction>0</direction><x>1</x><y>15</y>
		<selectableRef label="sound_selectable_dummy"></selectableRef>
	</create>


<!-- 再生していない曲を無効にする -->

	<actionRef label="record_sound_check_disabletable"></actionRef>	


</action>


<action label="record_sound_check">		

	<!-- 曲が再生可能かどうか決定 -->

	<!-- ファイル名で判断する -->
	<checkPlayTrack n="sound_valid01"><file type="ogg">01_title</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid02"><file type="ogg">02_charasele_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid03"><file type="ogg">03_prologue_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid04"><file type="ogg">04_talkscene1_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid05"><file type="ogg">05_talkscene2_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid06"><file type="ogg">06_stage1_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid07"><file type="ogg">07_boss1_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid08"><file type="ogg">08_stage2_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid09"><file type="ogg">09_boss2_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid10"><file type="ogg">10_boss2_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid11"><file type="ogg">11_stage3_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid12"><file type="ogg">12_hannna_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid13"><file type="ogg">13_akira_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid14"><file type="ogg">14_talkscene_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid15"><file type="ogg">15_stage4_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid16"><file type="ogg">16_bluebell_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid17"><file type="ogg">17_akari_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid18"><file type="ogg">18_stage5_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid19"><file type="ogg">19_boss5_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid20"><file type="ogg">20_stage6_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid21"><file type="ogg">21_midboss_hoshimi_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid22"><file type="ogg">22_stage6_midboss_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid23"><file type="ogg">23_lastboss_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid24"><file type="ogg">24_lastboss2_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid25"><file type="ogg">25_talkscene4_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid26"><file type="ogg">26_epilogue1_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid27"><file type="ogg">27_epilogue2_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid28"><file type="ogg">28_ending1</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid29"><file type="ogg">29_ending2_vocal</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid30"><file type="ogg">30_stageEX_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid31"><file type="ogg">31_bossEX_loop</file></checkPlayTrack>
	<checkPlayTrack n="sound_valid32"><file type="ogg">32_bossEX2_loop</file></checkPlayTrack>

	<global name="sound_valid00">$sound_valid00</global>		
	<global name="sound_valid01">$sound_valid01</global>
	<global name="sound_valid02">$sound_valid02</global>
	<global name="sound_valid03">$sound_valid03</global>
	<global name="sound_valid04">$sound_valid04</global>
	<global name="sound_valid05">$sound_valid05</global>
	<global name="sound_valid06">$sound_valid06</global>
	<global name="sound_valid07">$sound_valid07</global>
	<global name="sound_valid08">$sound_valid08</global>
	<global name="sound_valid09">$sound_valid09</global>

	<global name="sound_valid10">$sound_valid10</global>
	<global name="sound_valid11">$sound_valid11</global>
	<global name="sound_valid12">$sound_valid12</global>
	<global name="sound_valid13">$sound_valid13</global>
	<global name="sound_valid14">$sound_valid14</global>
	<global name="sound_valid15">$sound_valid15</global>
	<global name="sound_valid16">$sound_valid16</global>
	<global name="sound_valid17">$sound_valid17</global>
	<global name="sound_valid18">$sound_valid18</global>
	<global name="sound_valid19">$sound_valid19</global>

	<global name="sound_valid20">$sound_valid20</global>
	<global name="sound_valid21">$sound_valid21</global>
	<global name="sound_valid22">$sound_valid22</global>
	<global name="sound_valid23">$sound_valid23</global>
	<global name="sound_valid24">$sound_valid24</global>
	<global name="sound_valid25">$sound_valid25</global>
	<global name="sound_valid26">$sound_valid26</global>
	<global name="sound_valid27">$sound_valid27</global>
	<global name="sound_valid28">$sound_valid28</global>
	<global name="sound_valid29">$sound_valid29</global>

	<global name="sound_valid30">$sound_valid30</global>		
	<global name="sound_valid31">$sound_valid31</global>
	<global name="sound_valid32">$sound_valid32</global>


</action>


<action label="record_sound_check_disabletable">
	<rep><ts>$__sound_valid01-eq0</ts><disableTable><x>0</x><y>0</y></disableTable></rep>
	<rep><ts>$__sound_valid02-eq0</ts><disableTable><x>0</x><y>1</y></disableTable></rep>
	<rep><ts>$__sound_valid03-eq0</ts><disableTable><x>0</x><y>2</y></disableTable></rep>
	<rep><ts>$__sound_valid04-eq0</ts><disableTable><x>0</x><y>3</y></disableTable></rep>
	<rep><ts>$__sound_valid05-eq0</ts><disableTable><x>0</x><y>4</y></disableTable></rep>
	<rep><ts>$__sound_valid06-eq0</ts><disableTable><x>0</x><y>5</y></disableTable></rep>
	<rep><ts>$__sound_valid07-eq0</ts><disableTable><x>0</x><y>6</y></disableTable></rep>
	<rep><ts>$__sound_valid08-eq0</ts><disableTable><x>0</x><y>7</y></disableTable></rep>
	<rep><ts>$__sound_valid09-eq0</ts><disableTable><x>0</x><y>8</y></disableTable></rep>
	<rep><ts>$__sound_valid10-eq0</ts><disableTable><x>0</x><y>9</y></disableTable></rep>
	<rep><ts>$__sound_valid11-eq0</ts><disableTable><x>0</x><y>10</y></disableTable></rep>
	<rep><ts>$__sound_valid12-eq0</ts><disableTable><x>0</x><y>11</y></disableTable></rep>
	<rep><ts>$__sound_valid13-eq0</ts><disableTable><x>0</x><y>12</y></disableTable></rep>
	<rep><ts>$__sound_valid14-eq0</ts><disableTable><x>0</x><y>13</y></disableTable></rep>
	<rep><ts>$__sound_valid15-eq0</ts><disableTable><x>0</x><y>14</y></disableTable></rep>
	<rep><ts>$__sound_valid16-eq0</ts><disableTable><x>0</x><y>15</y></disableTable></rep>

	<rep><ts>$__sound_valid17-eq0</ts><disableTable><x>1</x><y>0</y></disableTable></rep>
	<rep><ts>$__sound_valid18-eq0</ts><disableTable><x>1</x><y>1</y></disableTable></rep>
	<rep><ts>$__sound_valid19-eq0</ts><disableTable><x>1</x><y>2</y></disableTable></rep>
	<rep><ts>$__sound_valid20-eq0</ts><disableTable><x>1</x><y>3</y></disableTable></rep>
	<rep><ts>$__sound_valid21-eq0</ts><disableTable><x>1</x><y>4</y></disableTable></rep>
	<rep><ts>$__sound_valid22-eq0</ts><disableTable><x>1</x><y>5</y></disableTable></rep>
	<rep><ts>$__sound_valid23-eq0</ts><disableTable><x>1</x><y>6</y></disableTable></rep>
	<rep><ts>$__sound_valid24-eq0</ts><disableTable><x>1</x><y>7</y></disableTable></rep>
	<rep><ts>$__sound_valid25-eq0</ts><disableTable><x>1</x><y>8</y></disableTable></rep>
	<rep><ts>$__sound_valid26-eq0</ts><disableTable><x>1</x><y>9</y></disableTable></rep>
	<rep><ts>$__sound_valid27-eq0</ts><disableTable><x>1</x><y>10</y></disableTable></rep>
	<rep><ts>$__sound_valid28-eq0</ts><disableTable><x>1</x><y>11</y></disableTable></rep>
	<rep><ts>$__sound_valid29-eq0</ts><disableTable><x>1</x><y>12</y></disableTable></rep>
	<rep><ts>$__sound_valid30-eq0</ts><disableTable><x>1</x><y>13</y></disableTable></rep>
	<rep><ts>$__sound_valid31-eq0</ts><disableTable><x>1</x><y>14</y></disableTable></rep>
	<rep><ts>$__sound_valid32-eq0</ts><disableTable><x>1</x><y>15</y></disableTable></rep>
</action>		


<action label="record_sound_text_setup_action">
	<actionRef label="fullsize_text_setup_sound_action"></actionRef>
		
	<repeat><times>-1</times>
		<repeat><times>$__sound_twinstype-eq0</times>
			<actionRef label="record_sound_text_create_action1"></actionRef>
		</repeat>	
		<repeat><times>$__sound_twinstype-eq1</times>
			<actionRef label="record_sound_text_create_action2"></actionRef>
		</repeat>	

		<setLock><num>1</num></setLock>
		<waitLock><num>1</num></waitLock>
	</repeat>
	
</action>

<action label="record_sound_text_create_action1">

	<repeat><times>$__sound_valid01</times>
		<setString><string> 0 1　星影**</string></setString>
	</repeat>
	<repeat><times>1-$__sound_valid01</times>
		<setString><string> 0 1　**</string></setString>
	</repeat>
	
	<repeat><times>$__sound_valid02</times>
		<addString><string> 0 2　 i n t e r f e r e n c e**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid02</times>
		<addString><string> 0 2　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid03</times>		
		<addString><string> 0 3　悠久の羽に捧ぐ**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid03</times>
		<addString><string> 0 3　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid04</times>		
		<addString><string> 0 4　拒絶の波**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid04</times>
		<addString><string> 0 4　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid05</times>		
		<addString><string> 0 5　ほしのまたたき**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid05</times>
		<addString><string> 0 5　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid06</times>		
		<addString><string> 0 6　 F e a r   n o t !**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid06</times>
		<addString><string> 0 6　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid07</times>		
		<addString><string> 0 7　電子の精霊Ａ**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid07</times>
		<addString><string> 0 7　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid08</times>		
		<addString><string> 0 8　 U n - N a t u r a l   N a t u r e**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid08</times>
		<addString><string> 0 8　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid09</times>		
		<addString><string> 0 9　電子の精霊Ｃ**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid09</times>
		<addString><string> 0 9　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid10</times>		
		<addString><string> 1 0　電子の精霊Ｖ**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid10</times>
		<addString><string> 1 0　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid11</times>		
		<addString><string> 1 1　 A e r a i l   B e a t**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid11</times>
		<addString><string> 1 1　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid12</times>		
		<addString><string> 1 2　 V i c t o r y   o r   D e f e a t**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid12</times>
		<addString><string> 1 2　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid13</times>		
		<addString><string> 1 3　 D i s s o n a n t   F r i c t i o n**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid13</times>
		<addString><string> 1 3　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid14</times>		
		<addString><string> 1 4　 p r o m i s e**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid14</times>
		<addString><string> 1 4　**</string></addString>
	</repeat>
		
	<repeat><times>$__sound_valid15</times>				
		<addString><string> 1 5　 D e s t r u c t i v e   N i g h t**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid15</times>
		<addString><string> 1 5　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid16</times>				
		<addString><string> 1 6　 A c t   w i t h   y o u r   f a i t h**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid16</times>
		<addString><string> 1 6　**</string></addString>
	</repeat>

</action>
<action label="record_sound_text_create_action2">
		
	<repeat><times>$__sound_valid17</times>				
		<setString><string> 1 7　無より生まれし炎**</string></setString>
	</repeat>
	<repeat><times>1-$__sound_valid17</times>
		<setString><string> 1 7　**</string></setString>
	</repeat>
		
	<repeat><times>$__sound_valid18</times>				
		<addString><string> 1 8　 A b s o l u t e   D e f e n s e   L i n e**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid18</times>
		<addString><string> 1 8　**</string></addString>
	</repeat>
		
	<repeat><times>$__sound_valid19</times>				
		<addString><string> 1 9　夢幻の城**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid19</times>
		<addString><string> 1 9　**</string></addString>
	</repeat>
		
	<repeat><times>$__sound_valid20</times>				
		<addString><string> 2 0　 A r e a : 0 - 0 0 0   " S a n c t u a r y "**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid20</times>
		<addString><string> 2 0　**</string></addString>
	</repeat>
		
	<repeat><times>$__sound_valid21</times>				
		<addString><string> 2 1　夜空で一番明るい星**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid21</times>
		<addString><string> 2 1　**</string></addString>
	</repeat>
		
	<repeat><times>$__sound_valid22</times>				
		<addString><string> 2 2　 1 0　の耀き**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid22</times>
		<addString><string> 2 2　**</string></addString>
	</repeat>
		
	<repeat><times>$__sound_valid23</times>				
		<addString><string> 2 3　血星石   - B L O O D   S T O N E -**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid23</times>
		<addString><string> 2 3　**</string></addString>
	</repeat>
		
	<repeat><times>$__sound_valid24</times>				
		<addString><string> 2 4　あまねく光を統べし羽**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid24</times>
		<addString><string> 2 4　**</string></addString>
	</repeat>

	<!-- Landscape Step がここ？ -->		
	<repeat><times>$__sound_valid25</times>				
		<addString><string> 2 5　 l a s t   r e s o r t**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid25</times>
		<addString><string> 2 5　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid26</times>				
		<addString><string> 2 6　ひざしのぬくもり**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid26</times>
		<addString><string> 2 6　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid27</times>				
		<addString><string> 2 7　水鏡**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid27</times>
		<addString><string> 2 7　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid28</times>				
		<addString><string> 2 8　 s i m u l a c r u m**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid28</times>
		<addString><string> 2 8　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid29</times>				
		<addString><string> 2 9　未来へと続く道**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid29</times>
		<addString><string> 2 9　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid30</times>				
		<addString><string> 3 0　 L a n d s c a p e   S t e p**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid30</times>
		<addString><string> 3 0　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid31</times>				
		<addString><string> 3 1　 G a t e   K e e p e r   -   P r o j e c t   A I G I S -**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid31</times>
		<addString><string> 3 1　**</string></addString>
	</repeat>

	<repeat><times>$__sound_valid32</times>				
		<addString><string> 3 2　 W h i c h   i s   W I T C H ?**</string></addString>
	</repeat>
	<repeat><times>1-$__sound_valid32</times>
		<addString><string> 3 2　**</string></addString>
	</repeat>

</action>

<action label="record_sound_text_setup_action_2">
	<actionRef label="minisize_text_setup_sound_action"></actionRef>
		
	<repeat><times>-1</times>
		<repeat><times>$__sound_twinstype-eq1</times>
			<actionRef label="record_sound_text_create_action3"></actionRef>
		</repeat>
		<repeat><times>$__sound_twinstype-eq0</times>
			<actionRef label="record_sound_text_create_action4"></actionRef>
		</repeat>

		<w>1</w>
	</repeat>
	
</action>

<action label="record_sound_text_create_action3">
	<repeat><times>$__sound_valid22</times>				
		<setString><string> - 9</string></setString>
	</repeat>
	<repeat><times>1-$__sound_valid22</times>
		<setString><string>　　　　</string></setString>
	</repeat>
</action>

<action label="record_sound_text_create_action4">
		<setString><string>　　</string></setString>
</action>


<decided    label="sound_cursor_decided">	
	<actionRef label="sound_play_create_action"></actionRef>
	<vanish></vanish>
</decided>

<unselected   label="sound_cursor_unselected">
	<targetRevenge label="str_object"></targetRevenge>
	<targetRevenge label="str_object2"></targetRevenge>
	<targetRevenge label="glt_object"></targetRevenge>
	<targetRevenge label="title_bg_object"></targetRevenge>
	<targetRevenge label="text_object3"></targetRevenge>
	
	<targetRevenge label="now_play_rect"></targetRevenge>

	<sound type="se">
		<track><file type="ogg">cursor_can</file><flag>1</flag></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>


	<changeTargetVolume label="bgm">
		<num>-10000</num><term>1</term>	
	</changeTargetVolume>
	<wait>1</wait>
	<targetVanish label="bgm"></targetVanish>

	<sound type="bgm" label="bgm">
		<track><file type="ogg">01_title</file><flag>1</flag></track><play><flag>1</flag><loop>0</loop></play>	
	</sound>
			

	<actionRef label="record_select_back"></actionRef>
	<vanish></vanish>
</unselected>

<selected   label="sound_cursor_selected">
	<sound type="se">
		<track><file type="ogg">cursor_mv</file><flag>1</flag></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>

	<repeat><times>1-($_table_dx-eq0)</times>
		<releaseLock><num>1</num></releaseLock>	
	</repeat>

	<global name="sound_twinstype">$_cursor_x</global>
	<repeat><times>$__sound_twinstype-lt0</times>
		<global name="sound_twinstype">1</global>	
	</repeat>		
	
	<repeat><times>$__sound_twinstype-gt1</times>
		<global name="sound_twinstype">0</global>	
	</repeat>		

	<global name="sound_table_y">$_cursor_y</global>
	
<!--
	<repeat><times>$__sound_twinstype-eq1</times>
		<repeat><times>$_cursor_y-gt14</times>
			<repeat><times>$_table_dy-gt0</times>
				<system><command>setcursor</command><x>1</x><y>0</y></system>		
				<global name="sound_table_y">0</global>
			</repeat>
			<repeat><times>1-($_table_dy-gt0)</times>
				<system><command>setcursor</command><x>1</x><y>14</y></system>		
				<global name="sound_table_y">14</global>
			</repeat>
		</repeat>
	
	</repeat>
-->
	
</selected>


<action	   label="sound_cursor_action">
</action>


<!-- ****************************************************** -->
<selectable label="sound_selectable_1">
	<decidedRef    label="sound_selectable_1_decided"></decidedRef>
	<selectedRef   label="sound_selectable_1_selected"></selectedRef>
	<unselectedRef label="sound_selectable_1_unselected"></unselectedRef>
	<revengeRef	   label="sound_selectable_1_revenge"></revengeRef>
	<actionRef	   label="sound_selectable_1_action"></actionRef>
</selectable>

<decided    label="sound_selectable_1_decided">
	<changeColor>
		<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
	</changeColor>
	<wait>1</wait>	
	<changeColor>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>29</term>
	</changeColor>
	
	<wait>29</wait>
	<vanish></vanish>
</decided>

<selected   label="sound_selectable_1_selected">
	<repeat><times>-1</times>
		<changeColor>
			<alpha>20</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
		</changeColor>
		<wait>1</wait>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
		</changeColor>
		<wait>1</wait>
	</repeat>
</selected>

<unselected label="sound_selectable_1_unselected">
	<changeColor>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
	</changeColor>
</unselected>

<revenge	label="sound_selectable_1_revenge">
	<vanish></vanish>
</revenge>

<action		label="sound_selectable_1_action">
	<img type="add">
		<file type="dds">selectable_cursor</file>
		<left>0</left><top>0</top><right>256</right><bottom>32</bottom>
		<width>512</width><height>24</height>
		<alpha>0</alpha><red>200</red><green>200</green><blue>32</blue>
	</img>	

	<setDrawLevel>
		<num>15</num>
	</setDrawLevel>
</action>

<!-- ****************************************************** -->
<selectable label="sound_selectable_dummy">
	<decidedRef    label="sound_selectable_dummy_decided"></decidedRef>
	<selectedRef   label="sound_selectable_dummy_selected"></selectedRef>
	<unselectedRef label="sound_selectable_dummy_unselected"></unselectedRef>
	<revengeRef	   label="sound_selectable_dummy_revenge"></revengeRef>
	<actionRef	   label="sound_selectable_dummy_action"></actionRef>
</selectable>

<decided    label="sound_selectable_dummy_decided">
	<changeColor>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
	</changeColor>
	<vanish></vanish>
</decided>

<selected   label="sound_selectable_dummy_selected">
	<changeColor>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
	</changeColor>
</selected>

<unselected label="sound_selectable_dummy_unselected">
	<changeColor>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
	</changeColor>
</unselected>

<revenge	label="sound_selectable_dummy_revenge">
	<vanish></vanish>
</revenge>

<action		label="sound_selectable_dummy_action">
	<img type="add">
		<file type="dds">selectable_cursor</file>
		<left>0</left><top>0</top><right>256</right><bottom>32</bottom>
		<width>512</width><height>24</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>	


	<setDrawLevel>
		<num>15</num>
	</setDrawLevel>
</action>

<!-- ****************************************************** -->
<action label="sound_play_create_action">
	
	<targetRevenge label="now_play_rect"></targetRevenge>

	<changeTargetVolume label="bgm">
		<num>-10000</num><term>30</term>	
	</changeTargetVolume>
	<wait>30</wait>
	<targetVanish label="bgm"></targetVanish>
	<system><command>clearbgm</command></system>
	<wait>1</wait>

	<actionRef label="record_sound_main"></actionRef>

	<createRef label="now_play_create"></createRef>

	<repeat><times>$__sound_twinstype-eq0</times>
		<repeat><times>$__sound_table_y-eq0</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">01_title</file><flag>1</flag></track><play><flag>1</flag><loop>0</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq1</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">02_charasele_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*30</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq2</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">03_prologue_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*7</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq3</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">04_talkscene1_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*3</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq4</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">05_talkscene2_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*4</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq5</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">06_stage1_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*10</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq6</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">07_boss1_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*3</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq7</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">08_stage2_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*8</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq8</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">09_boss2_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*3</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq9</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">10_boss2_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*4</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq10</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">11_stage3_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*3</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq11</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">12_hannna_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*6</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq12</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">13_akira_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*3</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq13</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">14_talkscene_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*3</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq14</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">15_stage4_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*5</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>	
		<repeat><times>$__sound_table_y-eq15</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">16_bluebell_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*9</loop></play>	
			</sound>
			<global name="now_play">1</global>
		</repeat>		
	</repeat>

	<repeat><times>$__sound_twinstype-eq1</times>
		<repeat><times>$__sound_table_y-eq0</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">17_akari_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*4</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq1</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">18_stage5_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*2</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq2</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">19_boss5_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*8</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq3</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">20_stage6_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*5</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq4</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">21_midboss_hoshimi_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*6</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq5</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">22_stage6_midboss_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*5</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>			
		<repeat><times>$__sound_table_y-eq6</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">23_lastboss_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*3</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq7</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">24_lastboss2_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*6</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq8</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">25_talkscene4_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*21</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq9</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">26_epilogue1_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*16</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq10</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">27_epilogue2_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*12</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq11</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">28_ending1</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*0</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq12</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">29_ending2_vocal</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*0</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq13</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">30_stageEX_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*4</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>
		<repeat><times>$__sound_table_y-eq14</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">31_bossEX_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*4</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>

		<repeat><times>$__sound_table_y-eq15</times>
			<sound type="bgm" label="bgm">
				<track><file type="ogg">32_bossEX2_loop</file><flag>1</flag></track><play><flag>1</flag><loop>44100*2*2*4</loop></play>	
			</sound>
			<global name="now_play">2</global>
		</repeat>

	</repeat>


</action>

<create label="now_play_create">
	<speed>0</speed><direction type="absolute">0</direction><cx>400</cx><cy>118+$__sound_table_y*28</cy>
	<object label="now_play_rect">

		<img type="normal">
			<file type="dds">selectable_cursor</file>
			<left>0</left><top>0</top><right>256</right><bottom>32</bottom>
			<width>512</width><height>24</height>
			<alpha>0</alpha><red>128</red><green>255</green><blue>128</blue>
		</img>	

		<setDrawLevel>
			<num>14</num>
		</setDrawLevel>

		<action>
			<repeat><times>-1</times>
				<repeat><times>($__now_play-$__sound_twinstype)-eq1</times>
					<changeColor>
						<alpha>255</alpha><red>128</red><green>255</green><blue>128</blue><term>1</term>
					</changeColor>
					<wait>1</wait>
					<changeColor>
						<alpha>128</alpha><red>128</red><green>255</green><blue>128</blue><term>1</term>
					</changeColor>
					<wait>1</wait>
				</repeat>
				<repeat><times>1-(($__now_play-$__sound_twinstype)-eq1)</times>
					<changeColor>
						<alpha>0</alpha><red>32</red><green>255</green><blue>32</blue><term>1</term>
					</changeColor>
					<wait>2</wait>
				</repeat>
			</repeat>
		</action>
	</object>
</create>


<!-- ********************************************************************* -->
<action label="fullsize_text_setup_sound_action">

	<imgString>
		<width>512</width><height>512</height>
	</imgString>
			
	<setFontSize>
		<height>18</height>
	</setFontSize>
			
	<setFontColor>
		<alpha>255</alpha><red>255</red><green>255</green><blue>230</blue>
	</setFontColor>

	<setStringWait>
		<term>0</term>
	</setStringWait>

	<setDrawLevel><num>34</num></setDrawLevel>

	<actionRef label="stage_comm_text_shadow_setup_sound_action"><p>512</p><p>512</p></actionRef>

</action>


<action label="stage_comm_text_shadow_setup_sound_action">
	<create>
		<speed>0</speed><direction type="absolute">0</direction>
		<cx>$_self_cx+1</cx><cy>$_self_cy+1</cy>
		<child>1</child>
		<objectRef l="text_shadow_sound_object"><p>$1</p><p>$2</p></objectRef>
	</create>
</action>
<object l="text_shadow_sound_object">
	<createDupImg>
		<width>$1</width><height>$2</height>
	</createDupImg>
	<setDrawLevel><num>33</num></setDrawLevel>
	<changeColor>
		<alpha>255</alpha><red>0</red><green>0</green><blue>0</blue><term>0</term>
	</changeColor>
</object>


<!-- ********************************************************************* -->
<action label="minisize_text_setup_sound_action">

	<imgString>
		<width>32</width><height>32</height>
	</imgString>
			
	<setFontSize>
		<height>12</height>
	</setFontSize>
			
	<setFontColor>
		<alpha>255</alpha><red>255</red><green>255</green><blue>230</blue>
	</setFontColor>

	<setStringWait>
		<term>0</term>
	</setStringWait>

	<setDrawLevel><num>34</num></setDrawLevel>

	<actionRef label="mini_shadow_setup_sound_action"><p>32</p><p>32</p></actionRef>

</action>


<action label="mini_shadow_setup_sound_action">
	<create>
		<speed>0</speed><direction type="absolute">0</direction>
		<cx>$_self_cx+1</cx><cy>$_self_cy+1</cy>
		<child>1</child>
		<objectRef l="mini_shadow_sound_object"><p>$1</p><p>$2</p></objectRef>
	</create>
</action>
<object l="mini_shadow_sound_object">
	<createDupImg>
		<width>$1</width><height>$2</height>
	</createDupImg>
	<setDrawLevel><num>33</num></setDrawLevel>
	<changeColor>
		<alpha>255</alpha><red>0</red><green>0</green><blue>0</blue><term>0</term>
	</changeColor>
</object>
</exbulletml>

