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

<exbulletml>

<!--
<debugscreenval>
   <x>0</x><y>0</y>
   <red>0</red><green>0</green><blue>0</blue>
   <num>$_cursor_x</num>
 </debugscreenval>

<debugscreenval>
   <x>80</x><y>0</y>
   <red>0</red><green>0</green><blue>0</blue>
   <num>$_cursor_y</num>
 </debugscreenval>
-->



<action label="name_select_top">
	<global name="name_length">$_mynamelength</global>
	<global name="name_type">0</global>

	<system><command>createtmpname</command></system>

	<actionRef label="name_select_title_str_create_action"></actionRef>
	<actionRef label="name_select_myname_create_action"></actionRef>
	<actionRef label="name_select_string_create_action"></actionRef>

	<actionRef l="name_length_watcher_create_action"></actionRef>
	<actionRef l="name_select_alphabet_top"></actionRef>
</action>

<!-- 名前が０文字の場合に決定ボタンを無効にする -->
<action l="name_length_watcher_create_action">
	<create>
		<speed>0</speed><direction type="absolute">0</direction>
		<cx>400</cx><cy>300</cy>
		<object label="title_bg_object3">

			<rep><ts>-1</ts>

				<eval n="okx">16</eval>
				<rep><ts>$__name_type-eq0</ts>
					<eval n="okx">13</eval>					
				</rep>
				
				<rep><ts>$__name_length-eq0</ts>
					<disableTable><x>$okx</x><y>4</y></disableTable>
				</rep>
				<rep><ts>$__name_length-gt0</ts>
					

					<eval n="i">0</eval>
					<eval n="j">0</eval>

					<rep><ts>$__name_length</ts>
						<sysvar name="_arg0">$i</sysvar>
						<eval name="ascii">$_tmpmyname</eval>

						<rep><ts>$ascii-eq32</ts>
							<evaladd n="j">1</evaladd>
						</rep>
						<evaladd n="i">1</evaladd>
					</rep>

					<debugval><num>$j</num></debugval>
		
					<!-- 空白の個数は文字数よりも少なければならない -->
					<rep><ts>$j-lt$__name_length</ts>
						<enableTable><x>$okx</x><y>4</y></enableTable>
					</rep>
					<rep><ts>1-($j-lt$__name_length)</ts>
						<disableTable><x>$okx</x><y>4</y></disableTable>
					</rep>


				</rep>

				<w>1</w>
			</rep>
		</object>
	</create>	
</action>

<!-- 画面上部タイトル NAME ENTRY -->
<action label="name_select_title_str_create_action">
	<create>
		<speed>0</speed><direction type="absolute">0</direction>
		<cx>400+8</cx><cy>40</cy>
		<object label="title_bg_object3">
			<img type="normal">
				<file type="dds">title_record_img_4</file>
				<left>64*0</left><top>64*0</top><right>64*5</right><bottom>64*1</bottom>
				<width>64*5</width><height>64</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>10</num></setDrawLevel>
		</object>
	</create>
</action>

<!-- 英数記号選択肢作成 -->
<action l="name_select_alphabet_top">
	<global name="name_type">0</global>
	<global name="name_table_x">13</global>
	<global name="name_table_y">0</global>

	<actionRef label="name_select_string_alphabet_create_action"></actionRef>
	<actionRef label="name_select_selectable_create_action"></actionRef>
</action>
<!-- ひらがな選択肢作成 -->
<action l="name_select_hiragana_top">
	<global name="name_type">1</global>
	<global name="name_table_x">16</global>
	<global name="name_table_y">1</global>

	<actionRef label="name_select_string_hiragana_create_action"></actionRef>
	<actionRef label="name_select_hiragana_selectable_create_action"></actionRef>
</action>
<!-- カタカナ選択肢作成 -->
<action l="name_select_katakana_top">
	<global name="name_type">2</global>
	<global name="name_table_x">16</global>
	<global name="name_table_y">2</global>

	<actionRef label="name_select_string_katakana_create_action"></actionRef>
	<actionRef label="name_select_hiragana_selectable_create_action"></actionRef>
</action>



<!-- 下線部作成-->
<action label="name_select_string_create_action">
	
	<eval n="xbase">400</eval>
	<eval n="ybase">220-12</eval>

	<createRef label="str_create_24x24_2"><param>$xbase-16-32*3</param><param>$ybase</param><param>104</param><p>24</p></createRef>
	<createRef label="str_create_24x24_2"><param>$xbase-16-32*2</param><param>$ybase</param><param>104</param><p>24</p></createRef>
	<createRef label="str_create_24x24_2"><param>$xbase-16-32*1</param><param>$ybase</param><param>104</param><p>24</p></createRef>
	<createRef label="str_create_24x24_2"><param>$xbase-16-32*0</param><param>$ybase</param><param>104</param><p>24</p></createRef>
	<createRef label="str_create_24x24_2"><param>$xbase+16+32*0</param><param>$ybase</param><param>104</param><p>24</p></createRef>
	<createRef label="str_create_24x24_2"><param>$xbase+16+32*1</param><param>$ybase</param><param>104</param><p>24</p></createRef>	
	<createRef label="str_create_24x24_2"><param>$xbase+16+32*2</param><param>$ybase</param><param>104</param><p>24</p></createRef>	
	<createRef label="str_create_24x24_2"><param>$xbase+16+32*3</param><param>$ybase</param><param>104</param><p>24</p></createRef>	
	
</action>


<!-- ***** 英数記号 ************************************************************************** -->
<action label="name_select_string_alphabet_create_action">
	<eval name="xbase">170</eval>
	<eval name="ybase">260</eval>
	<eval name="width">32</eval>
	<eval name="height">46</eval>

	
	<!-- 一段目アルファベット -->
	<eval name="i">0</eval>
	<repeat><times>13</times>
		<createRef label="str_name_create"><param>$xbase+$i*$width</param><param>$ybase+$height*0</param><param>$i+65</param></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>
	
	<!-- 二段目アルファベット -->
	<eval name="i">0</eval>
	<repeat><times>13</times>
		<createRef label="str_name_create"><param>$xbase+$i*$width</param><param>$ybase+$height*1</param><param>$i+65+13</param></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>
	
	<!-- 三段目数字 -->
	<eval name="i">0</eval>
	<repeat><times>10</times>
		<createRef label="str_name_create"><param>$xbase+$i*$width</param><param>$ybase+$height*2</param><param>$i+48</param></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>

	<!-- 三段目記号 -->
	<eval name="i">0</eval>
	<repeat><times>3</times>
		<createRef label="str_name_create"><param>$xbase+($i+10)*$width</param><param>$ybase+$height*2</param><param>$i+32</param></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>

	<!-- 四段目記号 -->
	<eval name="i">0</eval>
	<repeat><times>13</times>
		<createRef label="str_name_create"><param>$xbase+$i*$width</param><param>$ybase+$height*3</param><param>$i+35</param></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>

	<!-- 五段目記号 -->
	<eval name="i">0</eval>
	<repeat><times>7</times>
		<createRef label="str_name_create"><param>$xbase+$i*$width</param><param>$ybase+$height*4</param><param>$i+58</param></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>

	<!-- 五段目記号 -->
	<eval name="i">0</eval>
	<repeat><times>6</times>
		<createRef label="str_name_create"><param>$xbase+($i+7)*$width</param><param>$ybase+$height*4</param><param>$i+91</param></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>


	<eval name="xbase">620</eval>
	<eval name="ybase">260</eval>
	<eval name="width">32</eval>
	<eval name="height">46</eval>

	<!-- 英数記号 -->
	<createRef label="str_hiragana_special_create"><param>$xbase+14</param><param>$ybase+$height*0</param><p>5</p><p>8</p><p>4</p><p>1</p></createRef>

	<!-- ひらがな -->
	<createRef label="str_hiragana_special_create"><param>$xbase+14</param><param>$ybase+$height*1</param><p>5</p><p>6</p><p>4</p><p>1</p></createRef>

	<!-- カタカナ -->
	<createRef label="str_hiragana_special_create"><param>$xbase+14</param><param>$ybase+$height*2</param><p>5</p><p>7</p><p>4</p><p>1</p></createRef>

	<!-- BackSpace -->
	<createRef label="str_katakana_special_create"><param>$xbase+14</param><param>$ybase+$height*3</param><p>5</p><p>6</p><p>4</p><p>1</p></createRef>

	<!-- 終了 -->
	<createRef label="str_katakana_special_create"><param>$xbase+14</param><param>$ybase+$height*4</param><p>5</p><p>7</p><p>4</p><p>1</p></createRef>

</action>


<!-- ***** ひらがな ************************************************************************** -->
<action label="name_select_string_hiragana_create_action">
	<eval name="xbase">560</eval>
	<eval name="ybase">260</eval>
	<eval name="width">28</eval>
	<eval name="height">46</eval>

	
	<!-- あ〜わ行 -->
	<eval name="i">0</eval>
	<repeat><times>10</times>
		<eval name="j">0</eval>
		<repeat><times>5</times>
			<createRef label="str_hiragana_create"><param>$xbase-$i*$width</param><param>$ybase+$height*$j</param><p>$j</p><p>$i</p></createRef>
			<evaladd name="j">1</evaladd>
		</repeat>
		<evaladd name="i">1</evaladd>
	</repeat>
	
	<repeat><times>5</times>
		<eval name="j">0</eval>
		<repeat><times>5</times>
			<createRef label="str_hiragana_create"><param>$xbase-$i*$width</param><param>$ybase+$height*$j</param><p>5+$j</p><p>$i-10</p></createRef>
			<evaladd name="j">1</evaladd>
		</repeat>
		<evaladd name="i">1</evaladd>
	</repeat>

	<eval name="j">0</eval>
	<repeat><times>5</times>
		<createRef label="str_hiragana_create"><param>$xbase-$i*$width</param><param>$ybase+$height*$j</param><p>5+$j</p><p>5</p></createRef>
		<evaladd name="j">1</evaladd>
	</repeat>




	<eval name="xbase">620</eval>
	<eval name="ybase">260</eval>
	<eval name="width">32</eval>
	<eval name="height">46</eval>

	<!-- 英数記号 -->
	<createRef label="str_hiragana_special_create"><param>$xbase+14</param><param>$ybase+$height*0</param><p>5</p><p>8</p><p>4</p><p>1</p></createRef>

	<!-- ひらがな -->
	<createRef label="str_hiragana_special_create"><param>$xbase+14</param><param>$ybase+$height*1</param><p>5</p><p>6</p><p>4</p><p>1</p></createRef>

	<!-- カタカナ -->
	<createRef label="str_hiragana_special_create"><param>$xbase+14</param><param>$ybase+$height*2</param><p>5</p><p>7</p><p>4</p><p>1</p></createRef>

	<!-- BackSpace -->
	<createRef label="str_katakana_special_create"><param>$xbase+14</param><param>$ybase+$height*3</param><p>5</p><p>6</p><p>4</p><p>1</p></createRef>

	<!-- 終了 -->
	<createRef label="str_katakana_special_create"><param>$xbase+14</param><param>$ybase+$height*4</param><p>5</p><p>7</p><p>4</p><p>1</p></createRef>

</action>


<!-- ***** ひらがな ************************************************************************** -->
<action label="name_select_string_katakana_create_action">
	<eval name="xbase">560</eval>
	<eval name="ybase">260</eval>
	<eval name="width">28</eval>
	<eval name="height">46</eval>

	
	<!-- あ〜わ行 -->
	<eval name="i">0</eval>
	<repeat><times>10</times>
		<eval name="j">0</eval>
		<repeat><times>5</times>
			<createRef label="str_katakana_create"><param>$xbase-$i*$width</param><param>$ybase+$height*$j</param><p>$j</p><p>$i</p></createRef>
			<evaladd name="j">1</evaladd>
		</repeat>
		<evaladd name="i">1</evaladd>
	</repeat>
	
	<repeat><times>5</times>
		<eval name="j">0</eval>
		<repeat><times>5</times>
			<createRef label="str_katakana_create"><param>$xbase-$i*$width</param><param>$ybase+$height*$j</param><p>5+$j</p><p>$i-10</p></createRef>
			<evaladd name="j">1</evaladd>
		</repeat>
		<evaladd name="i">1</evaladd>
	</repeat>

	<eval name="j">0</eval>
	<repeat><times>5</times>
		<createRef label="str_katakana_create"><param>$xbase-$i*$width</param><param>$ybase+$height*$j</param><p>5+$j</p><p>5</p></createRef>
		<evaladd name="j">1</evaladd>
	</repeat>




	<eval name="xbase">620</eval>
	<eval name="ybase">260</eval>
	<eval name="width">32</eval>
	<eval name="height">46</eval>

	<!-- 英数記号 -->
	<createRef label="str_hiragana_special_create"><param>$xbase+14</param><param>$ybase+$height*0</param><p>5</p><p>8</p><p>4</p><p>1</p></createRef>

	<!-- ひらがな -->
	<createRef label="str_hiragana_special_create"><param>$xbase+14</param><param>$ybase+$height*1</param><p>5</p><p>6</p><p>4</p><p>1</p></createRef>

	<!-- カタカナ -->
	<createRef label="str_hiragana_special_create"><param>$xbase+14</param><param>$ybase+$height*2</param><p>5</p><p>7</p><p>4</p><p>1</p></createRef>

	<!-- BackSpace -->
	<createRef label="str_katakana_special_create"><param>$xbase+14</param><param>$ybase+$height*3</param><p>5</p><p>6</p><p>4</p><p>1</p></createRef>

	<!-- 終了 -->
	<createRef label="str_katakana_special_create"><param>$xbase+14</param><param>$ybase+$height*4</param><p>5</p><p>7</p><p>4</p><p>1</p></createRef>

</action>

<!-- ****************************************************************************************** -->
<action label="name_select_selectable_create_action">
	<!-- カーソル -->
	<create>
		<x>$__name_table_x</x><y>$__name_table_y</y>
		<cursor>
			<decidedRef    label="name_cursor_decided"></decidedRef>
			<selectedRef   label="name_cursor_selected"></selectedRef>
			<unselectedRef label="name_cursor_unselected"></unselectedRef>
			<actionRef	   label="name_cursor_action"></actionRef>
		</cursor>
	</create>

	<eval name="xbase">170</eval>
	<eval name="ybase">260</eval>
	<eval name="width">32</eval>
	<eval name="height">46</eval>

	<eval name="j">0</eval>
	<repeat><times>5</times>
		<eval name="i">0</eval>
		<repeat><times>13</times>
			<create>
				<cx>$xbase+$i*$width</cx><cy>$ybase+$j*$height</cy><speed>0</speed><direction>0</direction>
				<x>$i</x><y>$j</y>
				<selectableRef label="name_select_selectable_1"></selectableRef>
			</create>

			<evaladd name="i">1</evaladd>
		</repeat>
		<evaladd name="j">1</evaladd>
	</repeat>
	
	<eval name="xbase">620</eval>
	<eval name="ybase">260</eval>
	<eval name="width">32</eval>
	<eval name="height">46</eval>

	<!-- 英数記号・ひらがな・カタカナ・削除・決定 -->
	<eval name="i">0</eval>
	<repeat><times>5</times>
		<create>
			<cx>$xbase+14</cx><cy>$ybase+$height*$i</cy><speed>0</speed><dir>0</dir>
			<x>13</x><y>$i</y>
			<selectableRef label="name_select_selectable_2"></selectableRef>
		</create>
		<evaladd n="i">1</evaladd>
	</repeat>
	
</action>

<action label="name_select_katakana_selectable_create_action">
	<actionRef label="name_select_hiragana_selectable_create_action"></actionRef>
</action>

<action label="name_select_hiragana_selectable_create_action">
	<!-- カーソル -->
	<create>
		<x>$__name_table_x</x><y>$__name_table_y</y>
		<cursor>
			<decidedRef    label="name_cursor_decided"></decidedRef>
			<selectedRef   label="name_cursor_selected"></selectedRef>
			<unselectedRef label="name_cursor_unselected"></unselectedRef>
			<actionRef	   label="name_cursor_action"></actionRef>
		</cursor>
	</create>

	<eval name="xbase">620</eval>
	<eval name="ybase">260</eval>
	<eval name="width">32</eval>
	<eval name="height">46</eval>

	<!-- 英数記号・ひらがな・カタカナ・削除・決定 -->
	<eval name="i">0</eval>
	<repeat><times>5</times>
		<create>
			<cx>$xbase+14</cx><cy>$ybase+$height*$i</cy><speed>0</speed><dir>0</dir>
			<x>16</x><y>$i</y>
			<selectableRef label="name_select_selectable_2"></selectableRef>
		</create>
		<evaladd n="i">1</evaladd>
	</repeat>



	<eval name="xbase">560</eval>
	<eval name="ybase">260</eval>
	<eval name="width">28</eval>
	<eval name="height">46</eval>

	<!-- あ〜ま行 -->
	<eval name="i">0</eval>
	<repeat><times>7</times>
		<eval name="j">0</eval>
		<repeat><times>5</times>
			<create>
				<cx>$xbase-$i*$width</cx><cy>$ybase+$height*$j</cy><speed>0</speed><dir>0</dir>
				<x>15-$i</x><y>$j</y>
				<selectableRef label="name_select_selectable_1"></selectableRef>
			</create>
			<evaladd name="j">1</evaladd>
		</repeat>
		<evaladd name="i">1</evaladd>
	</repeat>

	<!-- や -->	
		<eval name="j">0</eval>
		<repeat><times>5</times>
			<create>
				<cx>$xbase-$i*$width</cx><cy>$ybase+$height*$j</cy><speed>0</speed><dir>0</dir>
				<x>15-$i</x><y>$j</y>
				<selectableRef label="name_select_selectable_1"></selectableRef>
			</create>
			<evaladd name="j">1</evaladd>
		</repeat>
	<evaladd name="i">1</evaladd>

	<!-- ら -->	
		<eval name="j">0</eval>
		<repeat><times>5</times>
			<create>
				<cx>$xbase-$i*$width</cx><cy>$ybase+$height*$j</cy><speed>0</speed><dir>0</dir>
				<x>15-$i</x><y>$j</y>
				<selectableRef label="name_select_selectable_1"></selectableRef>
			</create>
			<evaladd name="j">1</evaladd>
		</repeat>
	<evaladd name="i">1</evaladd>

	<!-- わ -->	
		<eval name="j">0</eval>
		<repeat><times>5</times>
			<create>
				<cx>$xbase-$i*$width</cx><cy>$ybase+$height*$j</cy><speed>0</speed><dir>0</dir>
				<x>15-$i</x><y>$j</y>
				<selectableRef label="name_select_selectable_1"></selectableRef>
			</create>
			<evaladd name="j">1</evaladd>
		</repeat>
	<evaladd name="i">1</evaladd>

	<!-- が〜ゃ行 -->
	<eval name="i">0</eval>
	<repeat><times>6</times>
		<eval name="j">0</eval>
		<repeat><times>5</times>
			<create>
				<cx>$xbase-($i+10)*$width</cx><cy>$ybase+$height*$j</cy><speed>0</speed><dir>0</dir>
				<x>5-$i</x><y>$j</y>
				<selectableRef label="name_select_selectable_1"></selectableRef>
			</create>
			<evaladd name="j">1</evaladd>
		</repeat>
		<evaladd name="i">1</evaladd>
	</repeat>
		
	<disableTable><x>6</x><y>1</y></disableTable>
	<disableTable><x>6</x><y>3</y></disableTable>

	<disableTable><x>8</x><y>1</y></disableTable>
	<disableTable><x>8</x><y>3</y></disableTable>

	
</action>

<action l="name_type_change_action">
	<global name="name_table_x">$_cursor_x</global>
	<global name="name_table_y">$_cursor_y</global>
	<targetRevenge label="str_object"></targetRevenge>

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

	<eval n="mypos">$_cursor_y</eval>

	<rep><ts>$mypos-eq0</ts>
		<actionRef l="name_select_alphabet_top"></actionRef>	
	</rep>
	<rep><ts>$mypos-eq1</ts>
		<actionRef l="name_select_hiragana_top"></actionRef>	
	</rep>
	<rep><ts>$mypos-eq2</ts>
		<actionRef l="name_select_katakana_top"></actionRef>	
	</rep>

	<vanish></vanish>

</action>


<decided    label="name_cursor_decided">
	<eval name="ascii">0</eval>

	<!-- *** 文字種変更 *** -->
	<rep><ts>$_cursor_y-lt3</ts>
		<rep><ts>$__name_type-eq0</ts>
			<rep><ts>$_cursor_x-eq13</ts>
				<actionRef l="name_type_change_action"></actionRef>
			</rep>
		</rep>
		<rep><ts>$__name_type-eq1</ts>
			<rep><ts>$_cursor_x-eq16</ts>
				<actionRef l="name_type_change_action"></actionRef>
			</rep>
		</rep>
		<rep><ts>$__name_type-eq2</ts>
			<rep><ts>$_cursor_x-eq16</ts>
				<actionRef l="name_type_change_action"></actionRef>
			</rep>
		</rep>
	</rep>

	<!-- *** 削除 *** -->
	<eval n="delflag">0</eval>
	<rep><ts>$_cursor_y-eq3</ts>
		<rep><ts>$__name_type-eq0</ts>
			<rep><ts>$_cursor_x-eq13</ts>
				<eval n="delflag">1</eval>
			</rep>
		</rep>
		<rep><ts>$__name_type-eq1</ts>
			<rep><ts>$_cursor_x-eq16</ts>
				<eval n="delflag">1</eval>
			</rep>
		</rep>
		<rep><ts>$__name_type-eq2</ts>
			<rep><ts>$_cursor_x-eq16</ts>
				<eval n="delflag">1</eval>
			</rep>
		</rep>
	</rep>

	<repeat><times>$delflag-eq1</times>
		<actionRef l="name_decided_delete_sub_action"></actionRef>
	</repeat>

	<!-- *** 決定 *** -->
	<eval n="okflag">0</eval>
	<rep><ts>$_cursor_y-eq4</ts>
		<rep><ts>$__name_type-eq0</ts>
			<rep><ts>$_cursor_x-eq13</ts>
				<eval n="okflag">1</eval>
			</rep>
		</rep>
		<rep><ts>$__name_type-eq1</ts>
			<rep><ts>$_cursor_x-eq16</ts>
				<eval n="okflag">1</eval>
			</rep>
		</rep>
		<rep><ts>$__name_type-eq2</ts>
			<rep><ts>$_cursor_x-eq16</ts>
				<eval n="okflag">1</eval>
			</rep>
		</rep>
	</rep>
	<repeat><times>$okflag-eq1</times>
		<repeat><times>$__name_length-lt8</times>
			<eval name="k">0</eval>
			<repeat><times>8-$__name_length</times>
				<sysvar name="_arg0">7-$k</sysvar>
				<sysvar name="_arg1">32</sysvar>
				<system><command>setmyname</command></system>
				<evaladd name="k">1</evaladd>
			</repeat>
		</repeat>
	
		<actionRef l="circle_effect_create_action"><p>400-32</p><p>300</p></actionRef>
		<sound type="se">
			<track><file type="ogg">cursor_sel</file></track>
			<play><flag>0</flag><loop>0</loop></play>
		</sound>
		<w>10</w>

		<targetRevenge label="str_object"></targetRevenge>
		<targetRevenge label="str_object2"></targetRevenge>
		<targetRevenge label="str_object_name1"></targetRevenge>
		<targetRevenge label="str_object_name2"></targetRevenge>
		<targetRevenge label="str_object_name3"></targetRevenge>
		<targetRevenge label="str_object_name4"></targetRevenge>
		<targetRevenge label="str_object_name5"></targetRevenge>
		<targetRevenge label="str_object_name6"></targetRevenge>
		<targetRevenge label="str_object_name7"></targetRevenge>
		<targetRevenge label="str_object_name8"></targetRevenge>

		<targetRevenge label="title_bg_object3"></targetRevenge>
		
	
		<system><command>commitmyname</command></system>


		<rep><ts>$__initial_nameentry-eq1</ts>
			<targetRevenge l="name_back_object"></targetRevenge>
			<w>60</w>
			<actionRef label="top2"></actionRef>
		</rep>
		<rep><ts>$__initial_nameentry-eq0</ts>
			<actionRef label="record_select_top"></actionRef>
		</rep>

		
		<vanish></vanish>
	</repeat>
	
	<!-- 通常文字入力 -->
	<rep><ts>$delflag-eq0</ts>
		<rep><ts>$__name_type-eq0</ts>
			<actionRef l="name_decided_alphabet_sub_action"></actionRef>
		</rep>
		<rep><ts>$__name_type-eq1</ts>
			<actionRef l="name_decided_hiragana_sub_action"></actionRef>
		</rep>
		<rep><ts>$__name_type-eq2</ts>
			<actionRef l="name_decided_katakana_sub_action"></actionRef>
		</rep>

		<global name="name_table_x">$_cursor_x</global>
		<global name="name_table_y">$_cursor_y</global>

		<rep><ts>$__name_type-eq0</ts>
			<actionRef label="name_select_selectable_create_action"></actionRef>	
		</rep>
		<rep><ts>$__name_type-eq1</ts>
			<actionRef label="name_select_hiragana_selectable_create_action"></actionRef>
		</rep>
		<rep><ts>$__name_type-eq2</ts>
			<actionRef label="name_select_hiragana_selectable_create_action"></actionRef>
		</rep>
	</rep>

</decided>


<action l="name_decided_alphabet_sub_action">

	<repeat><times>$_cursor_y-eq0</times>
		<eval name="ascii">65+$_cursor_x</eval>
	</repeat>
	<repeat><times>$_cursor_y-eq1</times>
		<eval name="ascii">65+13+$_cursor_x</eval>
	</repeat>
	<repeat><times>$_cursor_y-eq2</times>
		<repeat><times>$_cursor_x-lt10</times>
			<eval name="ascii">48+$_cursor_x</eval>	
		</repeat>
		<repeat><times>1-($_cursor_x-lt10)</times>
			<eval name="ascii">32+$_cursor_x-10</eval>	
		</repeat>		
	</repeat>
	<repeat><times>$_cursor_y-eq3</times>
		<eval name="ascii">35+$_cursor_x</eval>	
	</repeat>
	<repeat><times>$_cursor_y-eq4</times>
		<repeat><times>$_cursor_x-lt7</times>
			<eval name="ascii">58+$_cursor_x</eval>	
		</repeat>
		<repeat><times>$_cursor_x-gt6</times>
			<eval name="ascii">91+$_cursor_x-7</eval>	
		</repeat>
	</repeat>

	<eval n="xbase">400</eval>
	<eval n="ybase">220-32</eval>

	<repeat><times>$ascii-lt127</times>
		<repeat><times>$__name_length-eq0</times>
			<createRef label="str_bigname_create1"><param>$xbase-16-32*3</param><param>$ybase</param><param>$ascii</param></createRef>
		</repeat>
		<repeat><times>$__name_length-eq1</times>
			<createRef label="str_bigname_create2"><param>$xbase-16-32*2</param><param>$ybase</param><param>$ascii</param></createRef>
		</repeat>
		<repeat><times>$__name_length-eq2</times>
			<createRef label="str_bigname_create3"><param>$xbase-16-32*1</param><param>$ybase</param><param>$ascii</param></createRef>
		</repeat>
		<repeat><times>$__name_length-eq3</times>
			<createRef label="str_bigname_create4"><param>$xbase-16-32*0</param><param>$ybase</param><param>$ascii</param></createRef>
		</repeat>
		<repeat><times>$__name_length-eq4</times>
			<createRef label="str_bigname_create5"><param>$xbase+16+32*0</param><param>$ybase</param><param>$ascii</param></createRef>
		</repeat>
		<repeat><times>$__name_length-eq5</times>
			<createRef label="str_bigname_create6"><param>$xbase+16+32*1</param><param>$ybase</param><param>$ascii</param></createRef>
		</repeat>
		<repeat><times>$__name_length-eq6</times>
			<createRef label="str_bigname_create7"><param>$xbase+16+32*2</param><param>$ybase</param><param>$ascii</param></createRef>
		</repeat>
		<repeat><times>$__name_length-eq7</times>
			<createRef label="str_bigname_create8"><param>$xbase+16+32*3</param><param>$ybase</param><param>$ascii</param></createRef>
		</repeat>

		<repeat><times>$__name_length-lt8</times>
			<sysvar name="_arg0">$__name_length</sysvar>
			<sysvar name="_arg1">$ascii</sysvar>
			<system><command>setmyname</command></system>

			<global name="name_length">$__name_length+1</global>
			<sound type="se">
				<track><file type="ogg">cursor_sel</file></track>
				<play><flag>0</flag><loop>0</loop></play>
			</sound>			
		</repeat>
	</repeat>

</action>

<action l="name_decided_delete_sub_action">
		<repeat><times>$__name_length-eq1</times>
			<targetRevenge label="str_object_name1"></targetRevenge>
		</repeat>
		<repeat><times>$__name_length-eq2</times>
			<targetRevenge label="str_object_name2"></targetRevenge>
		</repeat>
		<repeat><times>$__name_length-eq3</times>
			<targetRevenge label="str_object_name3"></targetRevenge>
		</repeat>
		<repeat><times>$__name_length-eq4</times>
			<targetRevenge label="str_object_name4"></targetRevenge>
		</repeat>
		<repeat><times>$__name_length-eq5</times>
			<targetRevenge label="str_object_name5"></targetRevenge>
		</repeat>
		<repeat><times>$__name_length-eq6</times>
			<targetRevenge label="str_object_name6"></targetRevenge>
		</repeat>
		<repeat><times>$__name_length-eq7</times>
			<targetRevenge label="str_object_name7"></targetRevenge>
		</repeat>
		<repeat><times>$__name_length-eq8</times>
			<targetRevenge label="str_object_name8"></targetRevenge>
		</repeat>

		<repeat><times>$__name_length-gt0</times>
			<sound type="se">
				<track><file type="ogg">cursor_can</file></track>
				<play><flag>0</flag><loop>0</loop></play>
			</sound>
			<global name="name_length">$__name_length-1</global>		
		</repeat>

<!--
		<global name="name_table_x">$_cursor_x</global>
		<global name="name_table_y">$_cursor_y</global>
-->

		<rep><ts>$__name_type-eq0</ts>
			<actionRef label="name_select_selectable_create_action"></actionRef>	
		</rep>
		<rep><ts>$__name_type-eq1</ts>
			<actionRef label="name_select_hiragana_selectable_create_action"></actionRef>
		</rep>
		<rep><ts>$__name_type-eq2</ts>
			<actionRef label="name_select_hiragana_selectable_create_action"></actionRef>
		</rep>

</action>


<action l="name_decided_hiragana_sub_action">

	<repeat><times>$_cursor_x-gt5</times>
		<eval n="imgx">$_cursor_y</eval>
		<eval n="imgy">15-$_cursor_x</eval>
	</repeat>

	<repeat><times>$_cursor_x-lt6</times>
		<eval n="imgx">$_cursor_y+5</eval>
		<eval n="imgy">5-$_cursor_x</eval>
	</repeat>

	<eval name="ascii">(15-$_cursor_x)*10+$_cursor_y+200</eval>

	<eval n="xbase">400</eval>
	<eval n="ybase">220-32</eval>

		<repeat><times>$__name_length-eq0</times>
			<createRef label="str_bigname_hiragana_create1"><param>$xbase-16-32*3</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq1</times>
			<createRef label="str_bigname_hiragana_create2"><param>$xbase-16-32*2</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq2</times>
			<createRef label="str_bigname_hiragana_create3"><param>$xbase-16-32*1</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq3</times>
			<createRef label="str_bigname_hiragana_create4"><param>$xbase-16-32*0</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq4</times>
			<createRef label="str_bigname_hiragana_create5"><param>$xbase+16+32*0</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq5</times>
			<createRef label="str_bigname_hiragana_create6"><param>$xbase+16+32*1</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq6</times>
			<createRef label="str_bigname_hiragana_create7"><param>$xbase+16+32*2</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq7</times>
			<createRef label="str_bigname_hiragana_create8"><param>$xbase+16+32*3</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>

		<repeat><times>$__name_length-lt8</times>
			<sysvar name="_arg0">$__name_length</sysvar>
			<sysvar name="_arg1">$ascii</sysvar>
			<system><command>setmyname</command></system>

			<global name="name_length">$__name_length+1</global>
			<sound type="se">
				<track><file type="ogg">cursor_sel</file></track>
				<play><flag>0</flag><loop>0</loop></play>
			</sound>			
		</repeat>

</action>


<action l="name_decided_katakana_sub_action">

	<repeat><times>$_cursor_x-gt5</times>
		<eval n="imgx">$_cursor_y</eval>
		<eval n="imgy">15-$_cursor_x</eval>
	</repeat>

	<repeat><times>$_cursor_x-lt6</times>
		<eval n="imgx">$_cursor_y+5</eval>
		<eval n="imgy">5-$_cursor_x</eval>
	</repeat>

	<eval name="ascii">(15-$_cursor_x)*10+$_cursor_y+400</eval>

	<eval n="xbase">400</eval>
	<eval n="ybase">220-32</eval>

		<repeat><times>$__name_length-eq0</times>
			<createRef label="str_bigname_katakana_create1"><param>$xbase-16-32*3</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq1</times>
			<createRef label="str_bigname_katakana_create2"><param>$xbase-16-32*2</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq2</times>
			<createRef label="str_bigname_katakana_create3"><param>$xbase-16-32*1</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq3</times>
			<createRef label="str_bigname_katakana_create4"><param>$xbase-16-32*0</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq4</times>
			<createRef label="str_bigname_katakana_create5"><param>$xbase+16+32*0</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq5</times>
			<createRef label="str_bigname_katakana_create6"><param>$xbase+16+32*1</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq6</times>
			<createRef label="str_bigname_katakana_create7"><param>$xbase+16+32*2</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>
		<repeat><times>$__name_length-eq7</times>
			<createRef label="str_bigname_katakana_create8"><param>$xbase+16+32*3</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</repeat>

		<repeat><times>$__name_length-lt8</times>
			<sysvar name="_arg0">$__name_length</sysvar>
			<sysvar name="_arg1">$ascii</sysvar>
			<system><command>setmyname</command></system>

			<global name="name_length">$__name_length+1</global>
			<sound type="se">
				<track><file type="ogg">cursor_sel</file></track>
				<play><flag>0</flag><loop>0</loop></play>
			</sound>			
		</repeat>

</action>


<unselected   label="name_cursor_unselected">
	<actionRef l="name_decided_delete_sub_action"></actionRef>	
</unselected>


<!--
<unselected   label="name_cursor_unselected">

		<targetRevenge label="str_object"></targetRevenge>
		<targetRevenge label="str_object2"></targetRevenge>
		<targetRevenge label="str_object_name1"></targetRevenge>
		<targetRevenge label="str_object_name2"></targetRevenge>
		<targetRevenge label="str_object_name3"></targetRevenge>
		<targetRevenge label="str_object_name4"></targetRevenge>
		<targetRevenge label="str_object_name5"></targetRevenge>
		<targetRevenge label="str_object_name6"></targetRevenge>
		<targetRevenge label="str_object_name7"></targetRevenge>
		<targetRevenge label="str_object_name8"></targetRevenge>
	
		<sound type="se">
			<track><file type="ogg">cursor_can</file></track>
			<play><flag>0</flag><loop>0</loop></play>
		</sound>
	
		<actionRef l="top2"></actionRef>

		<vanish></vanish>
</unselected>
-->


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

	<global name="name_table_x">$_cursor_x</global>
	<global name="name_table_y">$_cursor_y</global>

</selected>

<action	   label="name_cursor_action"></action>



<action label="name_select_myname_create_action">
	<eval name="mylength">$_mynamelength</eval>
	<eval name="i">0</eval>
	
	<eval n="xbase">400</eval>
	<eval n="ybase">220-32</eval>

	<repeat><times>$mylength-gt0</times>
		<sysvar name="_arg0">0</sysvar>
		<eval name="ascii">$_myname</eval>

		<rep><ts>$ascii-lt200</ts>
			<createRef label="str_bigname_create1"><param>$xbase-16-32*3</param><param>$ybase</param><param>$ascii</param></createRef>
		</rep>
		<rep><ts>($ascii-gt199)*($ascii-lt400)</ts>
			<eval n="imgx">($ascii-200)%10</eval>
			<eval n="imgy">(($ascii-200)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_hiragana_create1"><param>$xbase-16-32*3</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
		<rep><ts>($ascii-gt399)*($ascii-lt600)</ts>
			<eval n="imgx">($ascii-400)%10</eval>
			<eval n="imgy">(($ascii-400)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_katakana_create1"><param>$xbase-16-32*3</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
	</repeat>
	
	<repeat><times>$mylength-gt1</times>
		<sysvar name="_arg0">1</sysvar>
		<eval name="ascii">$_myname</eval>

		<rep><ts>$ascii-lt200</ts>
			<createRef label="str_bigname_create2"><param>$xbase-16-32*2</param><param>$ybase</param><param>$ascii</param></createRef>
		</rep>
		<rep><ts>($ascii-gt199)*($ascii-lt400)</ts>
			<eval n="imgx">($ascii-200)%10</eval>
			<eval n="imgy">(($ascii-200)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_hiragana_create2"><param>$xbase-16-32*2</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
		<rep><ts>($ascii-gt399)*($ascii-lt600)</ts>
			<eval n="imgx">($ascii-400)%10</eval>
			<eval n="imgy">(($ascii-400)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_katakana_create2"><param>$xbase-16-32*2</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
	</repeat>
	
	<repeat><times>$mylength-gt2</times>
		<sysvar name="_arg0">2</sysvar>
		<eval name="ascii">$_myname</eval>

		<rep><ts>$ascii-lt200</ts>
			<createRef label="str_bigname_create3"><param>$xbase-16-32*1</param><param>$ybase</param><param>$ascii</param></createRef>
		</rep>
		<rep><ts>($ascii-gt199)*($ascii-lt400)</ts>
			<eval n="imgx">($ascii-200)%10</eval>
			<eval n="imgy">(($ascii-200)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_hiragana_create3"><param>$xbase-16-32*1</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
		<rep><ts>($ascii-gt399)*($ascii-lt600)</ts>
			<eval n="imgx">($ascii-400)%10</eval>
			<eval n="imgy">(($ascii-400)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_katakana_create3"><param>$xbase-16-32*1</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
	</repeat>

	<repeat><times>$mylength-gt3</times>
		<sysvar name="_arg0">3</sysvar>
		<eval name="ascii">$_myname</eval>

		<rep><ts>$ascii-lt200</ts>
			<createRef label="str_bigname_create4"><param>$xbase-16-32*0</param><param>$ybase</param><param>$ascii</param></createRef>
		</rep>
		<rep><ts>($ascii-gt199)*($ascii-lt400)</ts>
			<eval n="imgx">($ascii-200)%10</eval>
			<eval n="imgy">(($ascii-200)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_hiragana_create4"><param>$xbase-16-32*0</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
		<rep><ts>($ascii-gt399)*($ascii-lt600)</ts>
			<eval n="imgx">($ascii-400)%10</eval>
			<eval n="imgy">(($ascii-400)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_katakana_create4"><param>$xbase-16-32*0</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
	</repeat>

	<repeat><times>$mylength-gt4</times>
		<sysvar name="_arg0">4</sysvar>
		<eval name="ascii">$_myname</eval>
		<rep><ts>$ascii-lt200</ts>
			<createRef label="str_bigname_create5"><param>$xbase+16+32*0</param><param>$ybase</param><param>$ascii</param></createRef>
		</rep>
		<rep><ts>($ascii-gt199)*($ascii-lt400)</ts>
			<eval n="imgx">($ascii-200)%10</eval>
			<eval n="imgy">(($ascii-200)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_hiragana_create5"><param>$xbase+16+32*0</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
		<rep><ts>($ascii-gt399)*($ascii-lt600)</ts>
			<eval n="imgx">($ascii-400)%10</eval>
			<eval n="imgy">(($ascii-400)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_katakana_create5"><param>$xbase+16+32*0</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
	</repeat>

	<repeat><times>$mylength-gt5</times>
		<sysvar name="_arg0">5</sysvar>
		<eval name="ascii">$_myname</eval>
		<rep><ts>$ascii-lt200</ts>
			<createRef label="str_bigname_create6"><param>$xbase+16+32*1</param><param>$ybase</param><param>$ascii</param></createRef>
		</rep>
		<rep><ts>($ascii-gt199)*($ascii-lt400)</ts>
			<eval n="imgx">($ascii-200)%10</eval>
			<eval n="imgy">(($ascii-200)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_hiragana_create6"><param>$xbase+16+32*1</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
		<rep><ts>($ascii-gt399)*($ascii-lt600)</ts>
			<eval n="imgx">($ascii-400)%10</eval>
			<eval n="imgy">(($ascii-400)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_katakana_create6"><param>$xbase+16+32*1</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
	</repeat>

	<repeat><times>$mylength-gt6</times>
		<sysvar name="_arg0">6</sysvar>
		<eval name="ascii">$_myname</eval>

		<rep><ts>$ascii-lt200</ts>
			<createRef label="str_bigname_create7"><param>$xbase+16+32*2</param><param>$ybase</param><param>$ascii</param></createRef>
		</rep>
		<rep><ts>($ascii-gt199)*($ascii-lt400)</ts>
			<eval n="imgx">($ascii-200)%10</eval>
			<eval n="imgy">(($ascii-200)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_hiragana_create7"><param>$xbase+16+32*2</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
		<rep><ts>($ascii-gt399)*($ascii-lt600)</ts>
			<eval n="imgx">($ascii-400)%10</eval>
			<eval n="imgy">(($ascii-400)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_katakana_create7"><param>$xbase+16+32*2</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
	</repeat>

	<repeat><times>$mylength-gt7</times>
		<sysvar name="_arg0">7</sysvar>
		<eval name="ascii">$_myname</eval>

		<rep><ts>$ascii-lt200</ts>
			<createRef label="str_bigname_create8"><param>$xbase+16+32*3</param><param>$ybase</param><param>$ascii</param></createRef>
		</rep>
		<rep><ts>($ascii-gt199)*($ascii-lt400)</ts>
			<eval n="imgx">($ascii-200)%10</eval>
			<eval n="imgy">(($ascii-200)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_hiragana_create8"><param>$xbase+16+32*3</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
		<rep><ts>($ascii-gt399)*($ascii-lt600)</ts>
			<eval n="imgx">($ascii-400)%10</eval>
			<eval n="imgy">(($ascii-400)/10)%20</eval>
			<rep><ts>$imgy-gt9</ts>
				<eval n="imgy">$imgy-10</eval>
				<eval n="imgx">$imgx+5</eval>
			</rep>

			<createRef label="str_bigname_katakana_create8"><param>$xbase+16+32*3</param><param>$ybase</param><p>$imgx</p><p>$imgy</p></createRef>
		</rep>
	</repeat>
	
</action>




<!-- ********************************************************************* -->
<selectable label="name_select_selectable_1">
	<decidedRef    label="name_select_selectable_1_decided"></decidedRef>
	<selectedRef   label="name_select_selectable_1_selected"></selectedRef>
	<unselectedRef label="name_select_selectable_1_unselected"></unselectedRef>
	<revengeRef	   label="name_select_selectable_1_revenge"></revengeRef>
	<actionRef	   label="name_select_selectable_1_action"></actionRef>
</selectable>

<decided    label="name_select_selectable_1_decided">
	<vanish></vanish>
</decided>

<selected   label="name_select_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="name_select_selectable_1_unselected">
	<changeColor>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
	</changeColor>
</unselected>

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

<action		label="name_select_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>34</width><height>34</height>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
	</img>	

	<setDrawLevel>
		<num>10</num>
	</setDrawLevel>
</action>


<!-- ********************************************************************* -->
<selectable label="name_select_selectable_2">
	<decidedRef    label="name_select_selectable_2_decided"></decidedRef>
	<selectedRef   label="name_select_selectable_2_selected"></selectedRef>
	<unselectedRef label="name_select_selectable_2_unselected"></unselectedRef>
	<revengeRef	   label="name_select_selectable_2_revenge"></revengeRef>
	<actionRef	   label="name_select_selectable_2_action"></actionRef>
</selectable>

<decided    label="name_select_selectable_2_decided">
	<vanish></vanish>
</decided>

<selected   label="name_select_selectable_2_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="name_select_selectable_2_unselected">
	<changeColor>
		<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
	</changeColor>
</unselected>

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

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

	<setDrawLevel>
		<num>10</num>
	</setDrawLevel>
</action>



<!-- *********************************************************************************************** -->
<create label="str_bigname_create1">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name1">
		<imgRef label="ryumin_str_img_24x24"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_create2">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name2">
		<imgRef label="ryumin_str_img_24x24"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_create3">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name3">
		<imgRef label="ryumin_str_img_24x24"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_create4">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name4">
		<imgRef label="ryumin_str_img_24x24"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_create5">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name5">
			<imgRef label="ryumin_str_img_24x24"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_create6">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name6">
			<imgRef label="ryumin_str_img_24x24"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_create7">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name7">
			<imgRef label="ryumin_str_img_24x24"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_create8">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name8">
			<imgRef label="ryumin_str_img_24x24"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>


<!-- *********************************************************************************************** -->
<create label="str_bigname_hiragana_create1">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name1">
		<imgRef label="hiragana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_hiragana_create2">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name2">
		<imgRef label="hiragana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_hiragana_create3">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name3">
		<imgRef label="hiragana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_hiragana_create4">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name4">
		<imgRef label="hiragana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_hiragana_create5">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name5">
		<imgRef label="hiragana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_hiragana_create6">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name6">
		<imgRef label="hiragana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_hiragana_create7">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name7">
		<imgRef label="hiragana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_hiragana_create8">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name8">
		<imgRef label="hiragana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<!-- *********************************************************************************************** -->
<create label="str_bigname_katakana_create1">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name1">
		<imgRef label="katakana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_katakana_create2">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name2">
		<imgRef label="katakana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_katakana_create3">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name3">
		<imgRef label="katakana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_katakana_create4">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name4">
		<imgRef label="katakana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_katakana_create5">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name5">
		<imgRef label="katakana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_katakana_create6">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name6">
		<imgRef label="katakana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_katakana_create7">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name7">
		<imgRef label="katakana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_bigname_katakana_create8">
	<direction type="absolute">0</direction><speed type="absolute">0</speed><cx>$1</cx><cy>$2</cy>
	<object label="str_object_name8">
		<imgRef label="katakana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<!-- *********************************************************************************************** -->
<action l="str_name_create_common_create_action">

	<rep><ts>$3-lt200</ts>
		<createRef label="str_name_create"><p>$1</p><p>$2</p><p>$3</p></createRef>
	</rep>
	<rep><ts>($3-gt199)*($3-lt400)</ts>
		<eval n="imgx">($3-200)%10</eval>
		<eval n="imgy">(($3-200)/10)%20</eval>
		<rep><ts>$imgy-gt9</ts>
			<eval n="imgy">$imgy-10</eval>
			<eval n="imgx">$imgx+5</eval>
		</rep>
		<createRef label="str_name_hiragana_create"><p>$1</p><p>$2</p><p>$imgx</p><p>$imgy</p></createRef>
	</rep>
	<rep><ts>($3-gt399)*($3-lt600)</ts>
		<eval n="imgx">($3-400)%10</eval>
		<eval n="imgy">(($3-400)/10)%20</eval>
		<rep><ts>$imgy-gt9</ts>
			<eval n="imgy">$imgy-10</eval>
			<eval n="imgx">$imgx+5</eval>
		</rep>
		<createRef label="str_name_katakana_create"><p>$1</p><p>$2</p><p>$imgx</p><p>$imgy</p></createRef>
	</rep>

</action>


<create label="str_name_create">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<imgRef label="ryumin_str_img_24x24"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_name_hiragana_create">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<imgRef label="hiragana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create label="str_name_katakana_create">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<imgRef label="katakana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create l="str_hiragana_create">
	<dir type="abs">0</dir><speed type="abs">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<imgRef label="hiragana_str_img"><p>$3</p><p>$4</p><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create l="str_katakana_create">
	<dir type="abs">0</dir><speed type="abs">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<imgRef label="katakana_str_img"><p>$3</p><p>$4</p><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create l="str_hiragana_special_create">
	<dir type="abs">0</dir><speed type="abs">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<imgRef label="hiragana_str_img"><p>$3</p><p>$4</p><p>$5</p><p>$6</p></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<create l="str_katakana_special_create">
	<dir type="abs">0</dir><speed type="abs">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<imgRef label="katakana_str_img"><p>$3</p><p>$4</p><p>$5</p><p>$6</p></imgRef>
		<setDrawLevel><num>26</num></setDrawLevel>
	</object>	
</create>

<!-- *********************************************************************************************** -->
<action l="str_pause_name_create_common_create_action">

	<rep><ts>$3-lt200</ts>
		<createRef label="str_pause_name_create"><p>$1</p><p>$2</p><p>$3</p></createRef>
	</rep>
	<rep><ts>($3-gt199)*($3-lt400)</ts>
		<eval n="imgx">($3-200)%10</eval>
		<eval n="imgy">(($3-200)/10)%20</eval>
		<rep><ts>$imgy-gt9</ts>
			<eval n="imgy">$imgy-10</eval>
			<eval n="imgx">$imgx+5</eval>
		</rep>
		<createRef label="str_pause_name_hiragana_create"><p>$1</p><p>$2</p><p>$imgx</p><p>$imgy</p></createRef>
	</rep>
	<rep><ts>($3-gt399)*($3-lt600)</ts>
		<eval n="imgx">($3-400)%10</eval>
		<eval n="imgy">(($3-400)/10)%20</eval>
		<rep><ts>$imgy-gt9</ts>
			<eval n="imgy">$imgy-10</eval>
			<eval n="imgx">$imgx+5</eval>
		</rep>
		<createRef label="str_pause_name_katakana_create"><p>$1</p><p>$2</p><p>$imgx</p><p>$imgy</p></createRef>
	</rep>

</action>


<create label="str_pause_name_create">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<pause>1</pause>
		<imgRef label="ryumin_str_img_24x24"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>37</num></setDrawLevel>
	</object>	
</create>

<create label="str_pause_name_hiragana_create">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<pause>1</pause>
		<imgRef label="hiragana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>37</num></setDrawLevel>
	</object>	
</create>

<create label="str_pause_name_katakana_create">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<pause>1</pause>
		<imgRef label="katakana_str_img"><param>$3</param><param>$4</param><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>37</num></setDrawLevel>
	</object>	
</create>

<create l="str_pause_hiragana_create">
	<dir type="abs">0</dir><speed type="abs">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<pause>1</pause>
		<imgRef label="hiragana_str_img"><p>$3</p><p>$4</p><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>37</num></setDrawLevel>
	</object>	
</create>

<create l="str_pause_katakana_create">
	<dir type="abs">0</dir><speed type="abs">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<pause>1</pause>
		<imgRef label="katakana_str_img"><p>$3</p><p>$4</p><p>1</p><p>1</p></imgRef>	
		<setDrawLevel><num>37</num></setDrawLevel>
	</object>	
</create>

<create l="str_pause_hiragana_special_create">
	<dir type="abs">0</dir><speed type="abs">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<pause>1</pause>
		<imgRef label="hiragana_str_img"><p>$3</p><p>$4</p><p>$5</p><p>$6</p></imgRef>	
		<setDrawLevel><num>37</num></setDrawLevel>
	</object>	
</create>

<create l="str_pause_katakana_special_create">
	<dir type="abs">0</dir><speed type="abs">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<pause>1</pause>
		<imgRef label="katakana_str_img"><p>$3</p><p>$4</p><p>$5</p><p>$6</p></imgRef>
		<setDrawLevel><num>37</num></setDrawLevel>
	</object>	
</create>


<img type="normal" l="hiragana_str_img">
	<file type="dds">hiragana</file>
	<left>$1*24</left><top>$2*24</top><right>($1+$3)*24</right><bottom>($2+$4)*24</bottom>
	<width>$3*24</width><height>$4*24</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img type="normal" l="katakana_str_img">
	<file type="dds">katakana</file>
	<left>$1*24</left><top>$2*24</top><right>($1+$3)*24</right><bottom>($2+$4)*24</bottom>
	<width>$3*24</width><height>$4*24</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>


</exbulletml>
