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

<exbulletml>

<action label="replay_select_mode_top">
	<actionRef label="replay_select_mode_selectable_create_action"></actionRef>
	<actionRef label="replay_select_mode_replay_str_create_action"></actionRef>
	<actionRef label="replay_select_mode_replay_str_create_action2"></actionRef>
</action>

<action label="replay_select_mode_selectable_create_action">
	<create>
		<x>0</x><y>0</y>
		<cursor>
			<decidedRef    label="replay_select_mode_cursor_decided"></decidedRef>
			<selectedRef   label="replay_select_mode_cursor_selected"></selectedRef>
			<unselectedRef label="replay_select_mode_cursor_unselected"></unselectedRef>
			<actionRef	   label="replay_select_mode_cursor_action"></actionRef>
		</cursor>
	</create>
	
	<create>
		<cx>320</cx><cy>240+40</cy><speed>0</speed><direction>0</direction>
		<x>0</x><y>0</y>
			<selectableRef label="replay_select_mode_selectable_1"></selectableRef>
	</create>		

	<create>
		<cx>320</cx><cy>240+60+40</cy><speed>0</speed><direction>0</direction>
		<x>0</x><y>1</y>
			<selectableRef label="replay_select_mode_selectable_2"></selectableRef>
	</create>			

	<create>
		<cx>320</cx><cy>240+120+40</cy><speed>0</speed><direction>0</direction>
		<x>0</x><y>2</y>
			<selectableRef label="replay_select_mode_selectable_3"></selectableRef>
	</create>			

	<rep><ts>$_isonline-eq0</ts>
		<disableTable>
			<x>0</x><y>2</y>
		</disableTable>
	</rep>

	
</action>

<action label="replay_select_mode_replay_str_create_action">
	<create>
		<speed>0</speed><direction>0</direction>
		<cx>320+10</cx><cy>240+40</cy>
		<object label="title_bg_object4">
			<img type="normal">
				<file type="dds">title_parts6</file>
				<left>36*6</left><top>36*11</top><right>36*13</right><bottom>36*12</bottom>
				<width>36*7</width><height>36</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>28</num></setDrawLevel>
		</object>
	</create>

	<create>
		<speed>0</speed><direction>0</direction>
		<cx>320+10</cx><cy>240+60+40</cy>
		<object label="title_bg_object4">
			<img type="normal">
				<file type="dds">title_parts6</file>
				<left>36*0</left><top>36*12</top><right>36*7</right><bottom>36*13</bottom>
				<width>36*7</width><height>36</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>28</num></setDrawLevel>
		</object>
	</create>

	<create>
		<speed>0</speed><direction>0</direction>
		<cx>320+10</cx><cy>240+120+40</cy>
		<object label="title_bg_object4">
			<img type="normal">
				<file type="dds">title_parts6</file>
				<left>36*7</left><top>36*12</top><right>36*14</right><bottom>36*13</bottom>
				<width>36*7</width><height>36</height>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
			</img>
			<setDrawLevel><num>28</num></setDrawLevel>
			<rep><ts>$_isonline-eq0</ts>
				<changeColor>
					<alpha>255</alpha><red>128</red><green>128</green><blue>128</blue><term>0</term>
				</changeColor>
			</rep>

		</object>
	</create>



</action>

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

<action label="replay_select_mode_replay_str_create_action2">


	<eval name="i">0</eval>
	<eval name="repnum">$__replaynumber</eval>
	
	<eval name="ybase">140</eval>
	<eval name="height">30</eval>

		
	<createRef label="str_create_lower_big_cream"><param>40+12*0</param><param>$ybase+$i*$height</param><param>78</param><param>28</param></createRef>
	<createRef label="str_create_lower_big_cream"><param>40+12*1</param><param>$ybase+$i*$height</param><param>79</param><param>28</param></createRef>
	<createRef label="str_create_lower_big_cream"><param>40+12*2-4</param><param>$ybase+$i*$height</param><param>46</param><param>28</param></createRef>
		
		
	<repeat><times>$repnum-gt999</times>
		<createRef label="str_create_lower_big_cream"><param>40+12*3</param><param>$ybase+$i*$height</param><param>48+(($repnum/1000)%10)</param><param>28</param></createRef>	
	</repeat>
	<repeat><times>$repnum-gt99</times>
		<createRef label="str_create_lower_big_cream"><param>40+12*4</param><param>$ybase+$i*$height</param><param>48+(($repnum/100)%10)</param><param>28</param></createRef>	
	</repeat>
	<repeat><times>$repnum-gt9</times>
		<createRef label="str_create_lower_big_cream"><param>40+12*5</param><param>$ybase+$i*$height</param><param>48+(($repnum/10)%10)</param><param>28</param></createRef>	
	</repeat>
	<createRef label="str_create_lower_big_cream"><param>40+12*6</param><param>$ybase+$i*$height</param><param>48+($repnum%10)</param><param>28</param></createRef>	
		
		
	<sysvar name="_arg0">$repnum</sysvar>
	<eval name="validreplay">$_valid_replay</eval>
	<repeat><times>1-$validreplay</times>
		<disableTable>
			<x>0</x><y>$i</y>
		</disableTable>
	</repeat>
	<repeat><times>$validreplay</times>
		<enableTable>
			<x>0</x><y>$i</y>			
		</enableTable>
		

		<eval name="k">0</eval>
		<repeat><times>8</times>
			<sysvar name="_arg0">$repnum</sysvar>
			<sysvar name="_arg1">$k</sysvar>		
			<createRef label="str_name_create_red"><param>160+12*$k</param><param>$ybase+$i*$height</param><param>$_replay_name</param></createRef>
			<evaladd name="k">1</evaladd>
		</repeat>	


		<repeat><times>$_replay_difficulty-eq0</times>
			<createRef label="str_create_big_blue"><param>160+12*10</param><param>$ybase+$i*$height</param><param>67</param><param>28</param></createRef>
		</repeat>

		<repeat><times>$_replay_difficulty-eq1</times>
			<createRef label="str_create_big_blue"><param>160+12*10</param><param>$ybase+$i*$height</param><param>66</param><param>28</param></createRef>
		</repeat>

		<repeat><times>$_replay_difficulty-eq2</times>
			<createRef label="str_create_big_blue"><param>160+12*10</param><param>$ybase+$i*$height</param><param>65</param><param>28</param></createRef>
		</repeat>
		
		<repeat><times>$_replay_difficulty-eq3</times>
			<createRef label="str_create_big_blue"><param>160+12*10</param><param>$ybase+$i*$height</param><param>83</param><param>28</param></createRef>
		</repeat>

		<repeat><times>$_replay_twins-eq0</times>
			<create>
				<speed>0</speed><direction type="absolute">0</direction>
				<cx>400</cx><cy>$ybase+$i*$height</cy>
				<object label="str_object">
					<img type="normal">
						<file type="dds">title_parts6</file>
						<left>36*6</left><top>36*8+22</top><right>36*10</right><bottom>36*8+22+18</bottom>
						<width>36*4</width><height>18</height>
						<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
					</img>
					<setDrawLevel><num>28</num></setDrawLevel>
				</object>
			</create>
		</repeat>
		<repeat><times>$_replay_twins-eq1</times>
			<create>
				<speed>0</speed><direction type="absolute">0</direction>
				<cx>400</cx><cy>$ybase+$i*$height</cy>
				<object label="str_object">
					<img type="normal">
						<file type="dds">title_parts6</file>
						<left>36*10</left><top>36*8+22</top><right>36*14</right><bottom>36*8+22+18</bottom>
						<width>36*4</width><height>18</height>
						<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
					</img>
					<setDrawLevel><num>28</num></setDrawLevel>
				</object>
			</create>
		</repeat>
		<repeat><times>$_replay_twins-eq2</times>
			<create>
				<speed>0</speed><direction type="absolute">0</direction>
				<cx>400</cx><cy>$ybase+$i*$height</cy>
				<object label="str_object">
					<img type="normal">
						<file type="dds">title_parts6</file>
						<left>36*6</left><top>36*8+27+22</top><right>36*10</right><bottom>36*8+27+22+18</bottom>
						<width>36*4</width><height>18</height>
						<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
					</img>
					<setDrawLevel><num>28</num></setDrawLevel>
				</object>
			</create>
		</repeat>

		<eval name="scorefig">$_replay_score_figure</eval>			
		<eval name="j">0</eval>
			
		<repeat><times>$scorefig</times>
			<sysvar name="_arg1">$j</sysvar>
			<eval name="localscore">$_replay_score_numfignum</eval>
			<createRef label="str_create_lower_big_cream"><param>600-12*$j</param><param>$ybase+$i*$height</param><param>48+($localscore)</param><param>28</param></createRef>
			<evaladd name="j">1</evaladd>
		</repeat>
	</repeat>
					
	<eval name="ybase">200</eval>
	<eval name="height">30</eval>

	<eval name="localstage">$__replay_stage_table_y+1</eval>

	<eval name="i">$localstage-1</eval>
				
	<sysvar name="_arg0">$repnum</sysvar>
	<repeat><times>$_replay_difficulty-lt3</times>		
		<repeat><times>1</times>
			<createRef label="str_create_lower_big_cream"><param>160+12*0</param><param>$ybase+0*$height</param><param>67</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*1</param><param>$ybase+0*$height</param><param>72</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*2</param><param>$ybase+0*$height</param><param>65</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*3</param><param>$ybase+0*$height</param><param>80</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*4</param><param>$ybase+0*$height</param><param>84</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*5</param><param>$ybase+0*$height</param><param>69</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*6</param><param>$ybase+0*$height</param><param>82</param><param>28</param></createRef>
		
			<sysvar name="_arg0">$i+1</sysvar>
			<eval name="stagenum">$i+1</eval>

		<createRef label="str_create_lower_big_cream"><param>160+12*8</param><param>$ybase+0*$height</param><param>49+$i</param><param>28</param></createRef>

		<repeat><times>$stagenum-eq1</times>
			<repeat><times>$_replay_eachstage-eq1</times>
				<createRef label="str_create_big_green"><param>160+12*11</param><param>$ybase+$i*$height</param><param>65</param><param>28</param></createRef>
			</repeat>
		</repeat>

		<repeat><times>$stagenum-eq2</times>
			<repeat><times>$_replay_eachstage-eq1</times>
				<createRef label="str_create_big_green"><param>160+12*11</param><param>$ybase+0*$height</param><param>66</param><param>28</param></createRef>		
			</repeat>	
			<repeat><times>$_replay_eachstage-eq2</times>
				<createRef label="str_create_big_green"><param>160+12*11</param><param>$ybase+0*$height</param><param>67</param><param>28</param></createRef>		
				<createRef label="str_create_big_green"><param>160+12*13</param><param>$ybase+0*$height</param><param>49</param><param>28</param></createRef>		
			</repeat>	
		</repeat>

		<repeat><times>$stagenum-eq3</times>
			<repeat><times>$_replay_eachstage-eq1</times>
				<createRef label="str_create_big_green"><param>160+12*11</param><param>$ybase+0*$height</param><param>67</param><param>28</param></createRef>		
				<createRef label="str_create_big_green"><param>160+12*13</param><param>$ybase+0*$height</param><param>50</param><param>28</param></createRef>		
			</repeat>	
			<repeat><times>$_replay_eachstage-eq2</times>
				<createRef label="str_create_big_green"><param>160+12*11</param><param>$ybase+0*$height</param><param>68</param><param>28</param></createRef>		
			</repeat>	
		</repeat>

		<repeat><times>($stagenum-gt3)*($stagenum-lt7)</times>
		</repeat>
		
			<sysvar name="_arg0">$stagenum</sysvar>		
			<eval name="scorefig">$_replay_stagescore_figure</eval>
		
			<eval name="j">0</eval>
			<repeat><times>$scorefig</times>
				<sysvar name="_arg0">$stagenum</sysvar>		
				<sysvar name="_arg1">$j</sysvar>
				<eval name="localscore">$_replay_stagescore_numfignum</eval>
			
				<createRef label="str_create_lower_big_cream"><param>480-12*$j</param><param>$ybase+0*$height</param><param>48+$localscore</param><param>28</param></createRef>
				<evaladd name="j">1</evaladd>
			</repeat>
			<evaladd name="i">1</evaladd>
		</repeat>
	</repeat>

	<sysvar name="_arg0">$repnum</sysvar>
	<repeat><times>$_replay_difficulty-eq3</times>
		<eval name="i">0</eval>
		<repeat><times>1</times>
			<createRef label="str_create_lower_big_cream"><param>160+12*0</param><param>$ybase+0*$height</param><param>67</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*1</param><param>$ybase+0*$height</param><param>72</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*2</param><param>$ybase+0*$height</param><param>65</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*3</param><param>$ybase+0*$height</param><param>80</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*4</param><param>$ybase+0*$height</param><param>84</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*5</param><param>$ybase+0*$height</param><param>69</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*6</param><param>$ybase+0*$height</param><param>82</param><param>28</param></createRef>
		
			<sysvar name="_arg0">9</sysvar>
			<eval name="stagenum">9</eval>

			<createRef label="str_create_lower_big_cream"><param>160+12*8</param><param>$ybase+0*$height</param><param>69</param><param>28</param></createRef>
			<createRef label="str_create_lower_big_cream"><param>160+12*9</param><param>$ybase+0*$height</param><param>88</param><param>28</param></createRef>

			<sysvar name="_arg0">$stagenum</sysvar>		
			<eval name="scorefig">$_replay_stagescore_figure</eval>
		
			<eval name="j">0</eval>
			<repeat><times>$scorefig</times>
				<sysvar name="_arg0">$stagenum</sysvar>		
				<sysvar name="_arg1">$j</sysvar>
				<eval name="localscore">$_replay_stagescore_numfignum</eval>
			
				<createRef label="str_create_lower_big_cream"><param>480-12*$j</param><param>$ybase+0*$height</param><param>48+$localscore</param><param>28</param></createRef>
				<evaladd name="j">1</evaladd>
			</repeat>
			<evaladd name="i">1</evaladd>
		</repeat>	
	</repeat>
</action>

<!-- ********************************************************************************* -->
<decided    label="replay_select_mode_cursor_decided">	
</decided>

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

<unselected   label="replay_select_mode_cursor_unselected">
	<targetRevenge label="title_bg_object4"></targetRevenge>
	<targetRevenge label="str_object"></targetRevenge>	
	<targetRevenge label="str_object_online_rank"></targetRevenge>


	<sound type="se">
		<track><file type="ogg">cursor_can</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>
	<actionRef label="replay_select_top"></actionRef>
	<vanish></vanish>
</unselected>

<action	   label="replay_select_mode_cursor_action"></action>


<!-- *************************************************************************** -->
<selectable label="replay_select_mode_selectable_1">
	<decidedRef    label="replay_select_mode_selectable_1_decided"></decidedRef>
	<selectedRef   label="replay_select_mode_selectable_1_selected"></selectedRef>
	<unselectedRef label="replay_select_mode_selectable_1_unselected"></unselectedRef>
	<revengeRef	   label="replay_select_mode_selectable_1_revenge"></revengeRef>
	<actionRef	   label="replay_select_mode_selectable_1_action"></actionRef>
</selectable>

<decided    label="replay_select_mode_selectable_1_decided">
	<sound type="se">
		<track><file type="ogg">cursor_sel</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>	
	<wait>10</wait>
		
	<actionRef label="common_scenetrans_stage_async_action"></actionRef>
	<changeTargetVolume label="bgm">
		<num>-10000</num><term>60</term>
	</changeTargetVolume>

	<create>
		<speed>0</speed><direction>0</direction>
		<cx>320</cx><cy>240</cy>
		<object>
			<img type="normal">
				<file type="dds">rectwhite</file>
				<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
				<width>640</width><height>480</height>
				<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<changeColor>
				<alpha>255</alpha><red>0</red><green>0</green><blue>0</blue><term>30</term>			
			</changeColor>
		</object>
	</create>
	
	<wait>30</wait>
	<system><command>readreplayon</command></system>

	<actionRef label="common_scenetrans_stage_action"></actionRef>
</decided>

<selected   label="replay_select_mode_selectable_1_selected">
	<repeat><times>-1</times>
		<changeColor>
			<alpha>64</alpha><red>200</red><green>200</green><blue>32</blue><term>1</term>
		</changeColor>
		<wait>1</wait>
		<changeColor>
			<alpha>128</alpha><red>200</red><green>200</green><blue>32</blue><term>1</term>
		</changeColor>
		<wait>1</wait>
	</repeat>

	
</selected>
<unselected label="replay_select_mode_selectable_1_unselected">
	<changeColor>
		<alpha>0</alpha><red>200</red><green>200</green><blue>32</blue><term>1</term>
	</changeColor>
</unselected>

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

<action		label="replay_select_mode_selectable_1_action">
	<img type="add">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>250</width><height>32</height>
		<alpha>0</alpha><red>200</red><green>200</green><blue>32</blue>
	</img>	

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

<!-- *************************************************************************** -->
<selectable label="replay_select_mode_selectable_2">
	<decidedRef    label="replay_select_mode_selectable_2_decided"></decidedRef>
	<selectedRef   label="replay_select_mode_selectable_2_selected"></selectedRef>
	<unselectedRef label="replay_select_mode_selectable_2_unselected"></unselectedRef>
	<revengeRef	   label="replay_select_mode_selectable_2_revenge"></revengeRef>
	<actionRef	   label="replay_select_mode_selectable_2_action"></actionRef>
</selectable>

<decided    label="replay_select_mode_selectable_2_decided">
	<sound type="se">
		<track><file type="ogg">cursor_sel</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>	
	<wait>10</wait>

	<sysvar name="restartstage">$_nextstage</sysvar>

		
	<actionRef label="common_scenetrans_stage_async_action"></actionRef>
	<changeTargetVolume label="bgm">
		<num>-10000</num><term>60</term>
	</changeTargetVolume>

	<create>
		<speed>0</speed><direction>0</direction>
		<cx>320</cx><cy>240</cy>
		<object>
			<img type="normal">
				<file type="dds">rectwhite</file>
				<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
				<width>640</width><height>480</height>
				<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue>
			</img>
			<setDrawLevel><num>30</num></setDrawLevel>
			<changeColor>
				<alpha>255</alpha><red>0</red><green>0</green><blue>0</blue><term>30</term>			
			</changeColor>
		</object>
	</create>

	<system><command>restartreplayon</command></system>
	
	<wait>30</wait>
	<actionRef label="common_scenetrans_stage_action"></actionRef>
</decided>

<selected   label="replay_select_mode_selectable_2_selected">
	<repeat><times>-1</times>
		<changeColor>
			<alpha>64</alpha><red>200</red><green>200</green><blue>32</blue><term>1</term>
		</changeColor>
		<wait>1</wait>
		<changeColor>
			<alpha>128</alpha><red>200</red><green>200</green><blue>32</blue><term>1</term>
		</changeColor>
		<wait>1</wait>
	</repeat>

	
</selected>
<unselected label="replay_select_mode_selectable_2_unselected">
	<changeColor>
		<alpha>0</alpha><red>200</red><green>200</green><blue>32</blue><term>1</term>
	</changeColor>
</unselected>

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

<action		label="replay_select_mode_selectable_2_action">
	<img type="add">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>250</width><height>32</height>
		<alpha>0</alpha><red>200</red><green>200</green><blue>32</blue>
	</img>	

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


<!-- *************************************************************************** -->
<selectable label="replay_select_mode_selectable_3">
	<decidedRef    label="replay_select_mode_selectable_3_decided"></decidedRef>
	<selectedRef   label="replay_select_mode_selectable_3_selected"></selectedRef>
	<unselectedRef label="replay_select_mode_selectable_3_unselected"></unselectedRef>
	<revengeRef	   label="replay_select_mode_selectable_3_revenge"></revengeRef>
	<actionRef	   label="replay_select_mode_selectable_3_action"></actionRef>
</selectable>

<decided    label="replay_select_mode_selectable_3_decided">
	<sound type="se">
		<track><file type="ogg">cursor_sel</file></track>
		<play><flag>0</flag><loop>0</loop></play>
	</sound>	
	<wait>10</wait>

	<targetRevenge label="title_bg_object4"></targetRevenge>

	<actionRef label="replay_upload_top"></actionRef>
	<vanish></vanish>
</decided>

<selected   label="replay_select_mode_selectable_3_selected">
	<repeat><times>-1</times>
		<changeColor>
			<alpha>64</alpha><red>200</red><green>200</green><blue>32</blue><term>1</term>
		</changeColor>
		<wait>1</wait>
		<changeColor>
			<alpha>128</alpha><red>200</red><green>200</green><blue>32</blue><term>1</term>
		</changeColor>
		<wait>1</wait>
	</repeat>
</selected>
<unselected label="replay_select_mode_selectable_3_unselected">
	<changeColor>
		<alpha>0</alpha><red>200</red><green>200</green><blue>32</blue><term>1</term>
	</changeColor>
</unselected>

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

<action		label="replay_select_mode_selectable_3_action">
	<img type="add">
		<file type="dds">rectwhite</file>
		<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
		<width>250</width><height>32</height>
		<alpha>0</alpha><red>200</red><green>200</green><blue>32</blue>
	</img>	

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

</exbulletml>