<?xml version="1.0" encoding="shift_jis"?>

<exbulletml>

<action label="score_action">
	<!-- *** 左サイドバー *** -->
	<actionRef label="stage_string_create_action"><p>50</p></actionRef>
	<actionRef label="stage_figure_create_action"><p>70</p></actionRef>

	<actionRef label="weapon_string_create_action"><p>100</p></actionRef>
	<actionRef label="weapon_figure_create_action"><p>120</p></actionRef>

	<actionRef label="difficulty_string_create_action"><p>150</p></actionRef>
	<actionRef label="difficulty_figure_create_action"><p>170</p></actionRef>
	<actionRef label="rank_figure_create_action"><p>170</p></actionRef>
	<actionRef label="rank_bar_create_action"><p>186</p></actionRef>

<!-- RANKdebug -->
<!--
	<actionRef label="rank_debugfigure_create_action"><p>290</p></actionRef>
-->

	<actionRef label="replay_string_create_action"><p>360</p></actionRef>
	<actionRef label="replay_figure_create_action"><p>380</p></actionRef>

	<actionRef label="fps_string_create_action"><p>410</p></actionRef>
	<actionRef label="fps_figure_create_action"><p>430</p></actionRef>

	<!-- *** 右サイドバー *** -->
	<actionRef label="hiscore_string_create_action"><p>50</p></actionRef>
	<actionRef label="hiscore_figure_create_action"><p>70</p></actionRef>

	<actionRef label="score_string_create_action"><p>100-5</p></actionRef>
	<actionRef label="score_figure_create_action"><p>120-5</p></actionRef>

	<actionRef label="buzz_string_create_action"><p>150-10</p></actionRef>
	<actionRef label="buzz_figure_create_action"><p>170-10</p></actionRef>

	<actionRef label="spirit_string_create_action"><p>200-20</p></actionRef>
	<actionRef label="spirit_bar_create_action"><p>220-20</p></actionRef>
	<actionRef label="spirit_figure_create_action"><p>224</p></actionRef>	
	<actionRef label="spirit_num_create_action"><p>243</p></actionRef>	

	<actionRef label="prate_string_create_action"><p>290+10</p></actionRef>
	<actionRef label="prate_bar_create_action"><p>310+10</p></actionRef>
	<actionRef label="prate_figure_create_action"><p>330+10</p></actionRef>	

	<actionRef label="twinsrate_string_create_action"><p>360</p></actionRef>
	<actionRef label="twinsrate_bar_create_action"><p>380</p></actionRef>	
	<actionRef label="twinsrate_figure_create_action"><p>400</p></actionRef>	
	<actionRef label="twinsrate_figure_create_action2"><p>400</p></actionRef>
	<actionRef label="twinsrate_bmp_create_action"><p>420-8</p></actionRef>

	<actionRef label="ring_image_create_action"><p>440</p></actionRef>
	<actionRef label="ring_figure_create_action"><p>440</p></actionRef>

<!--
	<actionRef label="rank_string_create_action"><p>410</p></actionRef>
	<actionRef label="rank_figure_create_action"><p>430</p></actionRef>
	<actionRef label="rank_debugfigure_create_action"><p>450</p></actionRef>
-->

	<!-- 侵食率 90%以上アクション -->
	<actionRef label="prate_90"></actionRef>

</action>



<!-- **************************************************************************** -->
<action label="stage_string_create_action">
	<createRef label="str_create_lower_big_red"><p>25+12*0</p><p>$1</p><p>83</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*1</p><p>$1</p><p>84</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*2</p><p>$1</p><p>65</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*3</p><p>$1</p><p>71</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*4</p><p>$1</p><p>69</p><p>28</p></createRef>
</action>

<action label="stage_figure_create_action">
	<repeat><times>$_stagenum-eq1</times>
		<createRef label="str_create_big_blue"><p>110</p><p>$1</p><p>65</p><p>28</p></createRef>
	</repeat>
	
	<repeat><times>$_stagenum-eq2</times>
		<repeat><times>$_stageflag-eq0</times>
			<createRef label="str_create_big_blue"><p>110</p><p>$1</p><p>66</p><p>28</p></createRef>
		</repeat>
		<repeat><times>$_stageflag-eq1</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>67</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>49</p><p>28</p></createRef>
		</repeat>
	</repeat>

	<repeat><times>$_stagenum-eq3</times>
		<repeat><times>$_stageflag-eq0</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>67</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>50</p><p>28</p></createRef>
		</repeat>
		<repeat><times>$_stageflag-eq1</times>
			<createRef label="str_create_big_blue"><p>110</p><p>$1</p><p>68</p><p>28</p></createRef>
		</repeat>
	</repeat>

	<repeat><times>$_stagenum-eq4</times>
		<repeat><times>$_stageflag-eq0</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>69</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>49</p><p>28</p></createRef>
		</repeat>
		<repeat><times>$_stageflag-eq1</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>69</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>50</p><p>28</p></createRef>
		</repeat>
		<repeat><times>$_stageflag-eq2</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>69</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>51</p><p>28</p></createRef>
		</repeat>
	</repeat>

	<repeat><times>$_stagenum-eq5</times>
		<repeat><times>$_stageflag-eq0</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>70</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>49</p><p>28</p></createRef>
		</repeat>
		<repeat><times>$_stageflag-eq1</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>70</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>50</p><p>28</p></createRef>
		</repeat>
		<repeat><times>$_stageflag-eq2</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>70</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>51</p><p>28</p></createRef>
		</repeat>
	</repeat>

	<repeat><times>$_stagenum-eq6</times>
		<repeat><times>$_stageflag-eq0</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>71</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>49</p><p>28</p></createRef>
		</repeat>
		<repeat><times>$_stageflag-eq1</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>71</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>50</p><p>28</p></createRef>
		</repeat>
		<repeat><times>$_stageflag-eq2</times>
			<createRef label="str_create_big_blue"><p>110-24*1</p><p>$1</p><p>71</p><p>28</p></createRef>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>51</p><p>28</p></createRef>
		</repeat>
	</repeat>

	<repeat><times>$_stagenum-eq7</times>
		<repeat><times>$_stageflag-eq0</times>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>72</p><p>28</p></createRef>
		</repeat>
		<repeat><times>$_stageflag-eq1</times>
			<createRef label="str_create_big_blue"><p>110-24*0</p><p>$1</p><p>73</p><p>28</p></createRef>
		</repeat>
	</repeat>



</action>

<action label="difficulty_string_create_action">
	<createRef label="str_create_lower_big_red"><p>25+12*0</p><p>$1</p><p>82</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*1</p><p>$1</p><p>65</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*2</p><p>$1</p><p>78</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*3</p><p>$1</p><p>75</p><p>28</p></createRef>
</action>

<action label="difficulty_figure_create_action">

	<createRef label="str_create_big_blue"><p>110-20*2</p><p>$1</p><p>47</p><p>28</p></createRef>
	<repeat><times>$_difficulty-eq0</times>
		<createRef label="str_create_big_blue"><p>110</p><p>$1</p><p>67</p><p>28</p></createRef>
	</repeat>
	<repeat><times>$_difficulty-eq1</times>
		<createRef label="str_create_big_blue"><p>110</p><p>$1</p><p>66</p><p>28</p></createRef>
	</repeat>
	<repeat><times>$_difficulty-eq2</times>
		<createRef label="str_create_big_blue"><p>110</p><p>$1</p><p>65</p><p>28</p></createRef>
	</repeat>

</action>

<action label="weapon_string_create_action">
	<createRef label="str_create_lower_big_red"><p>25+12*0</p><p>$1</p><p>79</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*1</p><p>$1</p><p>80</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*2</p><p>$1</p><p>84</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*3</p><p>$1</p><p>73</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*4</p><p>$1</p><p>79</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*5</p><p>$1</p><p>78</p><p>28</p></createRef>
</action>

<action label="weapon_figure_create_action">

	<repeat><times>$_weapontype-eq0</times>
		<createRef label="str_create_lower_big_blue"><p>115-12*5</p><p>$1</p><p>65</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*4</p><p>$1</p><p>84</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*3</p><p>$1</p><p>84</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*2</p><p>$1</p><p>65</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*1</p><p>$1</p><p>67</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*0</p><p>$1</p><p>75</p><p>28</p></createRef>
	</repeat>

	<repeat><times>$_weapontype-eq1</times>
		<createRef label="str_create_lower_big_blue"><p>115-12*6</p><p>$1</p><p>66</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*5</p><p>$1</p><p>65</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*4</p><p>$1</p><p>76</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*3</p><p>$1</p><p>65</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*2</p><p>$1</p><p>78</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*1</p><p>$1</p><p>67</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*0</p><p>$1</p><p>69</p><p>28</p></createRef>
	</repeat>

	<repeat><times>$_weapontype-eq2</times>
		<createRef label="str_create_lower_big_blue"><p>115-12*6</p><p>$1</p><p>68</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*5</p><p>$1</p><p>69</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*4</p><p>$1</p><p>70</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*3</p><p>$1</p><p>69</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*2</p><p>$1</p><p>78</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*1</p><p>$1</p><p>67</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_blue"><p>115-12*0</p><p>$1</p><p>69</p><p>28</p></createRef>
	</repeat>



</action>


<action label="replay_string_create_action">
	<repeat><times>$_replay_mode-eq1</times>
		<createRef label="str_create_lower_big_red"><p>25+12*0</p><p>$1</p><p>82</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_red"><p>25+12*1</p><p>$1</p><p>69</p><p>28</p></createRef>
		<createRef label="str_create_lower_big_red"><p>25+12*2</p><p>$1</p><p>80</p><p>28</p></createRef>	
		<createRef label="str_create_lower_big_red"><p>25+12*3</p><p>$1</p><p>76</p><p>28</p></createRef>	
		<createRef label="str_create_lower_big_red"><p>25+12*4</p><p>$1</p><p>65</p><p>28</p></createRef>	
		<createRef label="str_create_lower_big_red"><p>25+12*5</p><p>$1</p><p>89</p><p>28</p></createRef>	

		<createRef label="str_create_lower_big_red"><p>25+12*0</p><p>$1+20</p><p>83</p><p>28</p></createRef>	
		<createRef label="str_create_lower_big_red"><p>25+12*1</p><p>$1+20</p><p>80</p><p>28</p></createRef>	
		<createRef label="str_create_lower_big_red"><p>25+12*2</p><p>$1+20</p><p>69</p><p>28</p></createRef>	
		<createRef label="str_create_lower_big_red"><p>25+12*3</p><p>$1+20</p><p>69</p><p>28</p></createRef>	
		<createRef label="str_create_lower_big_red"><p>25+12*4</p><p>$1+20</p><p>68</p><p>28</p></createRef>	

		<createRef label="str_create_lower_big_red"><p>25+12*6</p><p>$1+20</p><p>108</p><p>28</p></createRef>	

	</repeat>
</action>

<action label="fps_string_create_action">
	<createRef label="str_create_lower_big_red"><p>25+12*0</p><p>$1</p><p>70</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*1</p><p>$1</p><p>80</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>25+12*2</p><p>$1</p><p>83</p><p>28</p></createRef>	
</action>


<action label="hiscore_string_create_action">
	<createRef label="str_create_lower_big_red"><p>525+12*0</p><p>$1</p><p>72</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*1</p><p>$1</p><p>73</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*2</p><p>$1</p><p>83</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*3</p><p>$1</p><p>67</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*4</p><p>$1</p><p>79</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*5</p><p>$1</p><p>82</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*6</p><p>$1</p><p>69</p><p>28</p></createRef>
</action>

<action label="score_string_create_action">
	<createRef label="str_create_lower_big_red"><p>525+12*0</p><p>$1</p><p>83</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*1</p><p>$1</p><p>67</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*2</p><p>$1</p><p>79</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*3</p><p>$1</p><p>82</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*4</p><p>$1</p><p>69</p><p>28</p></createRef>
</action>

<action label="buzz_string_create_action">
	<createRef label="str_create_lower_big_red"><p>525+12*0</p><p>$1</p><p>66</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*1</p><p>$1</p><p>85</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*2</p><p>$1</p><p>90</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*3</p><p>$1</p><p>90</p><p>28</p></createRef>
</action>

<action label="spirit_string_create_action">
	<createRef label="str_create_lower_big_red"><p>525+12*0</p><p>$1</p><p>83</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*1</p><p>$1</p><p>80</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*2</p><p>$1</p><p>73</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*3</p><p>$1</p><p>82</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*4</p><p>$1</p><p>73</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*5</p><p>$1</p><p>84</p><p>28</p></createRef>
</action>

<action label="prate_string_create_action">
	<createRef label="str_create_lower_big_red"><p>525+12*0</p><p>$1</p><p>80</p><p>28</p></createRef>
	<createRef label="str_create_red"><p>525+12*1</p><p>$1</p><p>45</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*2</p><p>$1</p><p>82</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*3</p><p>$1</p><p>65</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*4</p><p>$1</p><p>84</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*5</p><p>$1</p><p>69</p><p>28</p></createRef>
</action>

<action label="twinsrate_string_create_action">
	<createRef label="str_create_lower_big_red"><p>525+12*0</p><p>$1</p><p>84</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*1</p><p>$1</p><p>87</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*2</p><p>$1</p><p>73</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*3</p><p>$1</p><p>78</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*4</p><p>$1</p><p>83</p><p>28</p></createRef>
</action>

<action label="rank_string_create_action">
	<createRef label="str_create_lower_big_red"><p>525+12*0</p><p>$1</p><p>82</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*1</p><p>$1</p><p>65</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*2</p><p>$1</p><p>78</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*3</p><p>$1</p><p>75</p><p>28</p></createRef>
</action>

<action label="ring_image_create_action">
	<createRef label="str_create_lower_big_red"><p>525+12*0</p><p>$1</p><p>82</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*1</p><p>$1</p><p>73</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*2</p><p>$1</p><p>78</p><p>28</p></createRef>
	<createRef label="str_create_lower_big_red"><p>525+12*3</p><p>$1</p><p>71</p><p>28</p></createRef>
</action>

<create label="str_create_red_ring">
	<direction type="absolute">0</direction>
	<speed type="absolute">0.3</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<child>1</child>
		<imgRef label="str_img_red"><param>($3-32)%10</param><param>(($3-32)/10)%255</param></imgRef>	
		<setDrawLevel><num>$4</num></setDrawLevel>
		<action>
			<wait>60</wait>
			<changeColor>
				<alpha>32</alpha><red>255</red><green>255</green><blue>255</blue><term>90</term>
			</changeColor>
			<wait>90</wait>
			<vanish/>
		</action>
	</object>	
</create>


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

<action label="replay_figure_create_action">
	<repeat><times>$_replay_mode-eq1</times>
		<createRef label="replay_figure_create_1"><p>115</p><p>$1</p><p>0</p></createRef>
	</repeat>
</action>
	
<create label="replay_figure_create_1">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="replay_figure_action_1"><p>$3</p></actionRef>
	</object>
</create>

<action label="replay_figure_action_1">
	<eval name="myreplayspeed">0</eval>
	
	<repeat><times>-1</times>
		<repeat><times>1-($_replayspeed-eq$myreplayspeed)</times>
			<eval name="myreplayspeed">$_replayspeed</eval>					
			<imgRef label="str_digit_img"><p>$myreplayspeed</p><p>1</p><p>20</p></imgRef>
			<setDrawLevel><num>28</num></setDrawLevel>				
		</repeat>
		<wait>1</wait>
	</repeat>
</action>

<!-- ********************************************************************* -->
<action label="hiscore_figure_create_action">
	<createRef label="hiscore_figure_create_1"><p>615</p><p>$1</p><p>0</p></createRef>

	<eval name="i">1</eval>	
	<repeat><times>8</times><action>
		<createRef label="hiscore_figure_create"><p>615-11*$i</p><p>$1</p><p>$i</p></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>
</action>

<create label="hiscore_figure_create">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="hiscore_figure_action"><p>$3</p></actionRef>
	</object>
</create>
	
<create label="hiscore_figure_create_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="hiscore_figure_action_1"><p>$3</p></actionRef>
	</object>
</create>

<action label="hiscore_figure_action">

	<eval name="myscore">0</eval>	
	<repeat><times>-1</times><action>
			<repeat><times>1-($_hiscore2-eq$myscore)</times><action>	
			<repeat><times>$_hiscore2_figure-gt$1</times><action>
				<eval name="myscore">$_hiscore2</eval>	
				<sysvar name="_arg0">$1</sysvar>
				<eval name="localscore">$_hiscore2_numfignum</eval>				
				<imgRef label="str_digit_img"><p>$localscore</p><p>1</p><p>20</p></imgRef>			
				<setDrawLevel><num>28</num></setDrawLevel>				
			</action></repeat>
			<repeat><times>1-($_hiscore2_figure-gt$1)</times><action>
				<eval name="myscore">$_hiscore2</eval>	
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>				
			</action></repeat>								
		</action></repeat>		
		<wait>1</wait>

	</action></repeat>
</action>

<action label="hiscore_figure_action_1">
	<eval name="myfigure">1</eval>
	<repeat><times>$1</times><action>
		<eval name="myfigure">$myfigure*10</eval>
	</action></repeat>
	
	<imgRef label="str_digit_img"><p>$_hiscore2</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>
	
	<eval name="myscore">0</eval>	
	<repeat><times>-1</times><action>

		<repeat><times>1-($_hiscore2-eq$myscore)</times><action>	
			<repeat><times>$_hiscore2_figure-gt$1</times><action>
				<eval name="myscore">$_hiscore2</eval>					
				<sysvar name="_arg0">$1</sysvar>
				<eval name="localscore">$_hiscore2_numfignum</eval>
				<imgRef label="str_digit_img"><p>$localscore</p><p>1</p><p>20</p></imgRef>			
			</action></repeat>
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

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

<action label="score_figure_create_action">
	<createRef label="score_figure_create_1"><p>615</p><p>$1</p><p>0</p></createRef>

	<eval name="i">1</eval>	
	<repeat><times>8</times><action>
		<createRef label="score_figure_create"><p>615-11*$i</p><p>$1</p><p>$i</p></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>
</action>

<create label="score_figure_create">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="score_figure_action"><p>$3</p></actionRef>
	</object>
</create>
	
<create label="score_figure_create_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="score_figure_action_1"><p>$3</p></actionRef>
	</object>
</create>

<action label="score_figure_action">

	<eval name="myscore">0</eval>	
	<repeat><times>-1</times><action>
	
		<repeat><times>1-($_score-eq$myscore)</times><action>	
			<repeat><times>$_score_figure-gt$1</times><action>
				<eval name="myscore">$_score</eval>	
				<sysvar name="_arg0">$1</sysvar>
				<eval name="localscore">$_score_numfignum</eval>				
				<imgRef label="str_digit_img"><p>$localscore</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
				<setDrawLevel><num>28</num></setDrawLevel>				
			</action></repeat>
			<repeat><times>1-($_score_figure-gt$1)</times><action>
				<eval name="myscore">$_score</eval>	
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>				
			</action></repeat>								
		</action></repeat>		
		<wait>1</wait>
	</action></repeat>
</action>

<action label="score_figure_action_1">
	<eval name="myfigure">1</eval>
	<repeat><times>$1</times><action>
		<eval name="myfigure">$myfigure*10</eval>
	</action></repeat>
	
	<imgRef label="str_digit_img"><p>$_score</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>
	
	<eval name="myscore">0</eval>	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_score-eq$myscore)</times><action>	
			<repeat><times>$_score_figure-gt$1</times><action>
				<eval name="myscore">$_score</eval>					
				<sysvar name="_arg0">$1</sysvar>
				<eval name="localscore">$_score_numfignum</eval>
				<imgRef label="str_digit_img"><p>$localscore</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
			</action></repeat>
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

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

<action label="buzz_figure_create_action">
	<createRef label="buzz_figure_create_1"><p>615</p><p>$1</p><p>0</p></createRef>

	<eval name="i">1</eval>	
	<repeat><times>4</times><action>
		<createRef label="buzz_figure_create"><p>615-11*$i</p><p>$1</p><p>$i</p></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>
</action>

<create label="buzz_figure_create">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="buzz_figure_action"><p>$3</p></actionRef>
	</object>
</create>
	
<create label="buzz_figure_create_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="buzz_figure_action_1"><p>$3</p></actionRef>
	</object>
</create>

<action label="buzz_figure_action">
	<eval name="myfigure">1</eval>
	<repeat><times>$1</times><action>
		<eval name="myfigure">$myfigure*10</eval>
	</action></repeat>
	
	<eval name="mybuzz">0</eval>	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_buzz-eq$mybuzz)</times><action>	
			<repeat><times>$_buzz_figure-gt$1</times><action>
				<eval name="mybuzz">$_buzz</eval>					
				<eval name="localbuzz">($_buzz/$myfigure)%10</eval>
				<imgRef label="str_digit_img"><p>$localbuzz</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
				<setDrawLevel><num>28</num></setDrawLevel>
			</action></repeat>
			<repeat><times>1-($_buzz_figure-gt$1)</times><action>
				<eval name="mybuzz">$_buzz</eval>					
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>				
			</action></repeat>			
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

<action label="buzz_figure_action_1">
	<eval name="myfigure">1</eval>
	<repeat><times>$1</times><action>
		<eval name="myfigure">$myfigure*10</eval>
	</action></repeat>
	
	<imgRef label="str_digit_img"><p>$_buzz</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>
	
	<eval name="mybuzz">0</eval>	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_buzz-eq$mybuzz)</times>
		<action>	
			<repeat><times>$_buzz_figure-gt$1</times><action>
				<eval name="mybuzz">$_buzz</eval>					
				<eval name="localbuzz">($_buzz/$myfigure)%10</eval>
				<imgRef label="str_digit_img"><p>$localbuzz</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
			</action></repeat>
		</action>
		</repeat>
		<wait>1</wait>
	</action></repeat>
</action>

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

<action label="spirit_figure_create_action">
	<createRef label="spirit_figure_create_1"><p>615</p><p>$1</p><p>0</p></createRef>

	<eval name="i">1</eval>	
	<repeat><times>4</times><action>
		<createRef label="spirit_figure_create"><p>615-20*$i</p><p>$1</p><p>$i</p></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>

	<!--
	<eval name="i">5</eval>	
	<repeat><times>2</times><action>
		<createRef label="spirit_figure_create"><p>620+12-6-12*$i</p><p>$1</p><p>$i</p></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>
	-->
</action>

<create label="spirit_figure_create">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="spirit_figure_action"><p>$3</p></actionRef>
	</object>
</create>
	
<create label="spirit_figure_create_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="spirit_figure_action_1"><p>$3</p></actionRef>
	</object>
</create>

<action label="spirit_figure_action">
	<eval name="myspirit">-1</eval>
	<eval name="myfig">$1</eval>
	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_spirit-eq$myspirit)</times><action>
		
			<repeat><times>$_spirit_figure-gt$myfig</times><action>
				<eval name="myspirit">$_spirit</eval>	
				<sysvar name="_arg0">$myfig</sysvar>				
				<eval name="localspirit">$_spirit_numfignum</eval>				
				<imgRef label="str_digit_big_img"><p>$localspirit</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
				<setDrawLevel><num>28</num></setDrawLevel>
			</action></repeat>
			
			<repeat><times>1-($_spirit_figure-gt$myfig)</times><action>
				<eval name="myspirit">$_spirit</eval>	
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>
			</action></repeat>
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

<action label="spirit_figure_action_1">
	<imgRef label="str_digit_big_img"><p>$_spirit</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>
	<eval name="myfig">$1</eval>
	
	<eval name="myspirit">-1</eval>	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_spirit-eq$myspirit)</times><action>	
			<eval name="myspirit">$_spirit</eval>	
			<sysvar name="_arg0">$myfig</sysvar>				
			<eval name="localspirit">$_spirit_numfignum</eval>				
			<imgRef label="str_digit_big_img"><p>$localspirit</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

<action label="spirit_bar_create_action">

	<createRef label="spirit_bar_create_1">
		<p>500+24</p><p>$1</p><p>0</p><p>2</p>
	</createRef>

	<eval name="i">0</eval>
	<repeat><times>10</times>
		<createRef label="spirit_bar_create_1">
			<p>500+32+$i*8</p><p>$1</p><p>2</p><p>2</p>
		</createRef>
		<evaladd name="i">1</evaladd>
	</repeat>

	<createRef label="spirit_bar_create_1">
		<p>500+32+9*8+4+2</p><p>$1</p><p>2</p><p>2</p>
	</createRef>

	<createRef label="spirit_bar_create_1">
		<p>500+32+9*8+4+8+2</p><p>$1</p><p>1</p><p>2</p>
	</createRef>

	<createRef label="spirit_bar_create_2">
		<p>500+8+50</p><p>$1</p>
	</createRef>

</action>

<create label="spirit_bar_create_1">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<imgRef label="substr16_8_img">
			<p>$3</p><p>$4</p>
		</imgRef>
		<setDrawLevel><num>29</num></setDrawLevel>
	</object>
</create>

<create label="spirit_bar_create_2">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>

		<eval name="barwidth">($_spirit/20000)*102</eval>

		<img type="normal">
			<file type="dds">substr16</file>
			<left>16*2</left><top>16</top><right>16*4</right><bottom>32</bottom>
			<width>$barwidth</width><height>16</height>
			<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>28</num></setDrawLevel>
		<setPosition type="absolute">
			<x>500+20</x><y>220-8</y>
		</setPosition>
		<eval name="myspirit">-1</eval>	
		<wait>1</wait>


		<changeColor>
			<alpha>220</alpha><red>255</red><green>255</green><blue>255</blue><term>10</term>
		</changeColor>
		<repeat><times>-1</times>
			<repeat><times>1-($myspirit-eq$_spirit)</times>

				<eval name="barwidth">($_spirit/20000)*102</eval>

				<eval name="color">($_spirit-lt$_automagic_spirit)*1</eval>
				<setImgUV>
					<left>32</left><top>16*$color</top><right>64</right><bottom>16*($color+1)</bottom>	
				</setImgUV>

				<changeImgSize>
					<width>$barwidth</width><height>16</height><term>10</term>
				</changeImgSize>

				<repeat><times>10</times>
					<setPosition type="absolute">
						<x>500+20</x><y>220-8-20</y>
					</setPosition>
					<wait>1</wait>
				</repeat>			
				<setPosition type="absolute">
					<x>500+20</x><y>220-8-20</y>
				</setPosition>
				<eval name="myspirit">$_spirit</eval>	
			</repeat>
			<wait>1</wait>
		</repeat>

	</object>
</create>


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

<action label="ring_figure_create_action">
	<createRef label="ring_figure_create_1"><p>615</p><p>$1</p><p>0</p></createRef>

	<createRef label="ring_figure_create"><p>615-19</p><p>$1</p><p>1</p></createRef>
</action>

<create label="ring_figure_create">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="ring_figure_action"><p>$3</p></actionRef>
	</object>
</create>
	
<create label="ring_figure_create_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="ring_figure_action_1"><p>$3</p></actionRef>
	</object>
</create>

<action label="ring_figure_action">
	<eval name="myfigure">1</eval>
	<repeat><times>$1</times><action>
		<eval name="myfigure">$myfigure*10</eval>
	</action></repeat>
	
	<eval name="myring">0</eval>	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_ring-eq$myring)</times><action>
			<repeat><times>$_ring_figure-gt$1</times><action>
				<eval name="myring">$_ring</eval>					
				<eval name="localring">($_ring/$myfigure)%10</eval>
				<imgRef label="str_digit_big_img"><p>$localring</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
				<setDrawLevel><num>28</num></setDrawLevel>
			</action></repeat>
			<repeat><times>1-($_ring_figure-gt$1)</times><action>
				<eval name="myring">$_ring</eval>					
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>				
			</action></repeat>			
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

<action label="ring_figure_action_1">
	<eval name="myfigure">1</eval>
	<repeat><times>$1</times><action>
		<eval name="myfigure">$myfigure*10</eval>
	</action></repeat>
	
	<imgRef label="str_digit_big_img"><p>$_ring</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>
	
	<eval name="myring">0</eval>	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_ring-eq$myring)</times>
		<action>	
			<repeat><times>$_ring_figure-gt$1</times><action>
				<eval name="myring">$_ring</eval>					
				<eval name="localring">($_ring/$myfigure)%10</eval>
				<imgRef label="str_digit_big_img"><p>$localring</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
			</action></repeat>
		</action>
		</repeat>
		<wait>1</wait>
	</action></repeat>
</action>


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

	<createRef label="str_create_lower_green_12"><p>525+12*0-2</p><p>$1</p><p>77</p><p>28</p></createRef>
	<createRef label="str_create_lower_green_12"><p>525+12*1-3</p><p>$1</p><p>65</p><p>28</p></createRef>
	<createRef label="str_create_lower_green_12"><p>525+12*2-4</p><p>$1</p><p>71</p><p>28</p></createRef>
	<createRef label="str_create_lower_green_12"><p>525+12*3-5</p><p>$1</p><p>73</p><p>28</p></createRef>
	<createRef label="str_create_lower_green_12"><p>525+12*4-6</p><p>$1</p><p>67</p><p>28</p></createRef>

	<createRef label="str_create_lower_green_12"><p>525+12*0-2</p><p>$1+16</p><p>65</p><p>28</p></createRef>
	<createRef label="str_create_lower_green_12"><p>525+12*1-3</p><p>$1+16</p><p>85</p><p>28</p></createRef>
	<createRef label="str_create_lower_green_12"><p>525+12*2-4</p><p>$1+16</p><p>84</p><p>28</p></createRef>
	<createRef label="str_create_lower_green_12"><p>525+12*3-5</p><p>$1+16</p><p>79</p><p>28</p></createRef>

	<eval name="i">0</eval>

	<createRef label="magic_figure_create_1"><p>525+12*7+6</p><p>$1</p></createRef>
	<repeat><times>3-($_twinsmagic_spirit-lt1000)</times>
		<createRef label="magic_figure_create"><p>525+12*7+6-(11*($i+1))</p><p>$1</p><p>$i</p></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>

	<eval name="i">0</eval>

	<createRef label="auto_figure_create_1"><p>525+12*7+6</p><p>$1+16</p></createRef>

	<repeat><times>3</times>
		<createRef label="auto_figure_create"><p>525+12*7+6-(11*($i+1))</p><p>$1+16</p><p>$i</p></createRef>
		<evaladd name="i">1</evaladd>
	</repeat>

<!--	<createRef label="auto_figure_create"><p>525+12*6+6</p><p>$1+12</p></createRef>-->

</action>	

<create label="magic_figure_create_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="magic_figure_action_1"></actionRef>
	</object>
</create>

<action label="magic_figure_action_1">
	<imgRef label="str_digit_img"><p>0</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>

	<eval name="mymagic">-1</eval>	

	<repeat><times>-1</times><action>
		<eval name="num_magic">($_twinsmagic_spirit)%10</eval>				
		<repeat><times>1-($num_magic-eq$mymagic)</times><action>	
			<eval name="mymagic">$num_magic</eval>	
			<imgRef label="str_digit_img"><p>$mymagic</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
			<setDrawLevel><num>28</num></setDrawLevel>
		</action></repeat>
		<wait>2</wait>
	</action></repeat>
</action>

<create label="magic_figure_create">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="magic_figure_action"><p>$3</p></actionRef>
	</object>
</create>

<action label="magic_figure_action">
	<imgRef label="str_digit_img"><p>0</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>

	<eval name="mymagic">-1</eval>	
	<eval name="deg">10</eval>
	<repeat><times>$1</times>
		<eval name="deg">10*$deg</eval>
	</repeat>

	<repeat><times>-1</times><action>
		<eval name="num_magic">($_twinsmagic_spirit/$deg)%10</eval>				
		<repeat><times>1-($num_magic-eq$mymagic)</times><action>	
			<eval name="mymagic">$num_magic</eval>	
			<imgRef label="str_digit_img"><p>$mymagic</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
			<setDrawLevel><num>28</num></setDrawLevel>
		</action></repeat>
		<wait>2</wait>
	</action></repeat>
</action>

<create label="auto_figure_create_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="auto_figure_action_1"></actionRef>
	</object>
</create>

<action label="auto_figure_action_1">
	<imgRef label="str_digit_img"><p>0</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>

	<eval name="myauto">-1</eval>	

	<repeat><times>-1</times><action>
		<eval name="num_auto">($_automagic_spirit%10)</eval>				
		<repeat><times>1-($num_auto-eq$myauto)</times><action>	
			<eval name="myauto">$num_auto</eval>	
			<imgRef label="str_digit_img"><p>$myauto</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
			<setDrawLevel><num>28</num></setDrawLevel>
		</action></repeat>
		<wait>2</wait>
	</action></repeat>
</action>

<create label="auto_figure_create">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="auto_figure_action"><p>$3</p></actionRef>
	</object>
</create>

<action label="auto_figure_action">
	<imgRef label="str_digit_img"><p>0</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>

	<eval name="myauto">-1</eval>	
	<eval name="deg">10</eval>
	<repeat><times>$1</times>
		<eval name="deg">10*$deg</eval>
	</repeat>

	<repeat><times>-1</times><action>
		<eval name="num_auto">($_automagic_spirit/$deg)%10</eval>				
		<repeat><times>1-($num_auto-eq$myauto)</times><action>	
			<eval name="myauto">$num_auto</eval>	
			<imgRef label="str_digit_img"><p>$myauto</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
			<setDrawLevel><num>28</num></setDrawLevel>
		</action></repeat>
		<wait>2</wait>
	</action></repeat>
</action>


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

<action label="prate_figure_create_action">
	<createRef label="str_create_blue"><param>615</param><param>$1</param><param>37</param><param>28</param></createRef>

<!-- ２桁表示 -->

	<createRef label="prate_figure_create_1"><param>615-11*1</param><param>$1</param><param>2</param></createRef>
	<createRef label="prate_figure_create_1"><param>615-11*2</param><param>$1</param><param>3</param></createRef>

	<createRef label="str_create_blue"><param>615-11*3</param><param>$1</param><param>46</param><param>28</param></createRef>
	<createRef label="prate_figure_create_1"><param>615-6-11*3</param><param>$1</param><param>4</param></createRef>


	<eval name="i">5</eval>	
	<repeat><times>2</times><action>
		<createRef label="prate_figure_create"><param>615+12-6-11*$i</param><param>$1</param><param>$i</param></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>


<!-- 全桁表示の場合 debug -->
<!--
	<createRef label="prate_figure_create_1"><param>615-12*1</param><param>$1</param><param>0</param></createRef>
	<eval name="i">1</eval>	
	<repeat><times>3</times><action>
		<createRef label="prate_figure_create_1"><param>615-12-12*$i</param><param>$1</param><param>$i</param></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>
	<createRef label="str_create_blue"><param>615-12*5</param><param>$1</param><param>46</param><param>28</param></createRef>
	<createRef label="prate_figure_create_1"><param>615-6-12*5</param><param>$1</param><param>4</param></createRef>
	<eval name="i">5</eval>	
	<repeat><times>2</times><action>
		<createRef label="prate_figure_create"><param>615-12-6-12*$i</param><param>$1</param><param>$i</param></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>
-->
</action>

<create label="prate_figure_create">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="prate_figure_action"><param>$3</param></actionRef>
	</object>
</create>
	
<create label="prate_figure_create_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="prate_figure_action_1"><param>$3</param></actionRef>
	</object>
</create>

<action label="prate_figure_action">
	<eval name="myprate">-1</eval>
	<eval name="myfig">$1</eval>
	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_prate-eq$myprate)</times><action>
		
			<repeat><times>$_prate_figure-gt$myfig</times><action>
				<eval name="myprate">$_prate</eval>	
				<sysvar name="_arg0">$myfig</sysvar>				
				<eval name="localprate">$_prate_numfignum</eval>				
				<imgRef label="str_digit_img"><param>$localprate</param><param>1</param><param>20</param></imgRef><wait>1</wait>			
				<setDrawLevel><num>28</num></setDrawLevel>
			</action></repeat>
			
			<repeat><times>1-($_prate_figure-gt$myfig)</times><action>
				<eval name="myprate">$_prate</eval>	
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>
			</action></repeat>
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

<action label="prate_figure_action_1">
	<imgRef label="str_digit_img"><param>$_prate</param><param>1</param><param>16</param></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>
	<eval name="myfig">$1</eval>
	
	<eval name="myprate">-1</eval>	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_prate-eq$myprate)</times><action>	
			<eval name="myprate">$_prate</eval>	
			<sysvar name="_arg0">$myfig</sysvar>				
			<eval name="localprate">$_prate_numfignum</eval>				
			<imgRef label="str_digit_img"><param>$localprate</param><param>1</param><param>20</param></imgRef><wait>1</wait>			
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

<action label="prate_bar_create_action">

	<createRef label="prate_bar_create_1">
		<p>500+24</p><p>$1</p><p>0</p><p>1</p>
	</createRef>

	<eval name="i">0</eval>
	<repeat><times>10</times>
		<createRef label="prate_bar_create_1">
			<p>500+32+$i*8</p><p>$1</p><p>2</p><p>1</p>
		</createRef>
		<evaladd name="i">1</evaladd>
	</repeat>

	<createRef label="prate_bar_create_1">
		<p>500+32+9*8+4+2</p><p>$1</p><p>2</p><p>1</p>
	</createRef>

	<createRef label="prate_bar_create_1">
		<p>500+32+9*8+4+8+2</p><p>$1</p><p>1</p><p>1</p>
	</createRef>

	<createRef label="prate_bar_create_2">
		<p>500+8+50</p><p>$1</p>
	</createRef>

</action>

<create label="prate_bar_create_1">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<imgRef label="substr16_8_img">
			<p>$3</p><p>$4</p>
		</imgRef>
		<setDrawLevel><num>29</num></setDrawLevel>
	</object>
</create>

<create label="prate_bar_create_2">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>

		<eval name="barwidth">($_prate/1000000)*102</eval>

		<img type="normal">
			<file type="dds">substr16</file>
			<left>16*2</left><top>16</top><right>16*4</right><bottom>32</bottom>
			<width>$barwidth</width><height>16</height>
			<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>28</num></setDrawLevel>
		<setPosition type="absolute">
			<x>500+20</x><y>$2-8</y>
		</setPosition>
		
		<eval name="myprate">-1</eval>
		<w>1</w>

		<changeColor>
			<alpha>220</alpha><red>255</red><green>255</green><blue>255</blue><term>10</term>
		</changeColor>
		<repeat><times>-1</times>
			<repeat><times>1-($myprate-eq$_prate)</times>

				<eval name="barwidth">($_prate/1000000)*102</eval>

				<eval name="color">($_prate-lt300000)*3+($_prate-gt650000)*2+($_prate-gt800000)*(-1)</eval>
				<setImgUV>
					<left>32</left><top>16*$color</top><right>64</right><bottom>16*($color+1)</bottom>	
				</setImgUV>
				<eval name="myprate">$_prate</eval>	

				<changeImgSize>
					<width>$barwidth</width><height>16</height><term>10</term>
				</changeImgSize>

				<repeat><times>10</times>
					<setPosition type="absolute">
						<x>500+20</x><y>$2-8</y>
					</setPosition>
					<wait>1</wait>
				</repeat>			
				<setPosition type="absolute">
					<x>500+20</x><y>$2-8</y>
				</setPosition>
			</repeat>
			<wait>1</wait>
		</repeat>

	</object>
</create>

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

<action label="twinsrate_figure_create_action">
	<createRef label="str_create_blue"><p>618</p><p>$1</p><p>37</p><p>28</p></createRef>

	<createRef label="twinsrate_figure_create_1"><p>618-12</p><p>$1</p><p>0</p></createRef>

	<eval name="i">1</eval>	
	<repeat><times>8</times><action>
		<createRef label="twinsrate_figure_create"><p>618-12-12*$i</p><p>$1</p><p>$i</p></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>
</action>

<action label="twinsrate_figure_create_action2">
	<createRef label="str_create_blue"><p>556</p><p>$1</p><p>37</p><p>28</p></createRef>

	<createRef label="twinsrate_figure_create_1_2"><p>556-12</p><p>$1</p><p>0</p></createRef>

	<eval name="i">1</eval>	
	<repeat><times>8</times><action>
		<createRef label="twinsrate_figure_create_2"><p>556-12-12*$i</p><p>$1</p><p>$i</p></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>
</action>

<action label="twinsrate_bmp_create_action">

	<repeat><times>$_twinstype-eq1</times>
		<createRef label="twins_1_1_bmp"><p>556-12</p><p>$1</p></createRef>
		<createRef label="twins_1_2_bmp"><p>618-12</p><p>$1</p></createRef>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<createRef label="twins_2_1_bmp"><p>556-12</p><p>$1</p></createRef>
		<createRef label="twins_2_2_bmp"><p>618-12</p><p>$1</p></createRef>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<createRef label="twins_3_1_bmp"><p>556-12</p><p>$1</p></createRef>
		<createRef label="twins_3_2_bmp"><p>618-12</p><p>$1</p></createRef>
	</repeat>

</action>

<create label="twins_1_1_bmp">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<img type="normal">
			<file type="dds">narumi_dot_sample</file>
			<left>64</left><top>0</top><right>64*2</right><bottom>64</bottom>
			<width>24</width><height>24</height>
			<alpha>224</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>28</num></setDrawLevel>
	</object>

</create>

<create label="twins_1_2_bmp">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<img type="normal">
			<file type="dds">narumi_dot_sample</file>
			<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
			<width>24</width><height>24</height>
			<alpha>224</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>28</num></setDrawLevel>
	</object>

</create>

<create label="twins_2_1_bmp">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<img type="normal">
			<file type="dds">ririka_dot_sample</file>
			<left>64</left><top>0</top><right>64*2</right><bottom>64</bottom>
			<width>24</width><height>24</height>
			<alpha>224</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>28</num></setDrawLevel>
	</object>

</create>

<create label="twins_2_2_bmp">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<img type="normal">
			<file type="dds">ririka_dot_sample</file>
			<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
			<width>24</width><height>24</height>
			<alpha>224</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>28</num></setDrawLevel>
	</object>

</create>

<create label="twins_3_1_bmp">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<img type="normal">
			<file type="dds">shizuka_dot_sample</file>
			<left>0</left><top>0</top><right>64</right><bottom>64</bottom>
			<width>24</width><height>24</height>
			<alpha>224</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>28</num></setDrawLevel>
	</object>

</create>

<create label="twins_3_2_bmp">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<img type="normal">
			<file type="dds">shizuka_dot_sample</file>
			<left>64</left><top>0</top><right>64*2</right><bottom>64</bottom>
			<width>24</width><height>24</height>
			<alpha>224</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>28</num></setDrawLevel>
	</object>

</create>


<create label="twinsrate_figure_create">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="twinsrate_figure_action"><p>$3</p></actionRef>
	</object>
</create>
	
<create label="twinsrate_figure_create_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="twinsrate_figure_action_1"><p>$3</p></actionRef>
	</object>
</create>

<create label="twinsrate_figure_create_2">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="twinsrate_figure_action_2"><p>$3</p></actionRef>
	</object>
</create>
	
<create label="twinsrate_figure_create_1_2">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="twinsrate_figure_action_1_2"><p>$3</p></actionRef>
	</object>
</create>


<action label="twinsrate_figure_action">
	<eval name="myfigure">1</eval>
	<repeat><times>$1</times><action>
		<eval name="myfigure">$myfigure*10</eval>
	</action></repeat>
	
	<eval name="mytwinsrate">2</eval>	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_twinsrate-eq$mytwinsrate)</times><action>	
			<repeat><times>$_twinsrate_figure-gt$1</times><action>
				<eval name="mytwinsrate">$_twinsrate</eval>	
				<wait>($_twinsrate_figure-$1)*4</wait>
				
				<eval name="localtwinsrate">($_twinsrate/$myfigure)%10</eval>
				<imgRef label="str_digit_img"><p>$localtwinsrate</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
				<setDrawLevel><num>28</num></setDrawLevel>
			</action></repeat>
			
			<repeat><times>1-($_twinsrate_figure-gt$1)</times><action>
				<eval name="mytwinsrate">$_twinsrate</eval>	
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>
			</action></repeat>
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

<action label="twinsrate_figure_action_1">
	<eval name="myfigure">1</eval>
	<repeat><times>$1</times><action>
		<eval name="myfigure">$myfigure*10</eval>
	</action></repeat>
	
	<imgRef label="str_digit_img"><p>$_twinsrate</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>
	
	<eval name="mytwinsrate">2</eval>	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_twinsrate-eq$mytwinsrate)</times><action>	
			<repeat><times>$_twinsrate_figure-gt$1</times><action>
				<eval name="mytwinsrate">$_twinsrate</eval>	
				<wait>($_twinsrate_figure-$1)*4</wait>
				
				<eval name="localtwinsrate">($_twinsrate/$myfigure)%10</eval>
				<imgRef label="str_digit_img"><p>$localtwinsrate</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
			</action></repeat>
			<repeat><times>1-($_twinsrate_figure-gt$1)</times><action>
				<eval name="mytwinsrate">$_twinsrate</eval>	
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>
			</action></repeat>
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>


<action label="twinsrate_figure_action_2">
	<eval name="myfigure">1</eval>
	<repeat><times>$1</times><action>
		<eval name="myfigure">$myfigure*10</eval>
	</action></repeat>
	
	<eval name="mytwinsrate">2</eval>

	<repeat><times>-1</times><action>
		<eval name="localfigure">((100-$_twinsrate)-lt10)*(-1)+2+((100-$_twinsrate)-eq100)</eval>
		<repeat><times>1-((100-$_twinsrate)-eq$mytwinsrate)</times><action>	
			<repeat><times>$localfigure-gt$1</times><action>
				<eval name="mytwinsrate">(100-$_twinsrate)</eval>	
				<wait>($localfigure-$1)*4</wait>
				
				<eval name="localtwinsrate">((100-$_twinsrate)/$myfigure)%10</eval>
				<imgRef label="str_digit_img"><p>$localtwinsrate</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
				<setDrawLevel><num>28</num></setDrawLevel>
			</action></repeat>
			
			<repeat><times>1-($localfigure-gt$1)</times><action>
				<eval name="mytwinsrate">(100-$_twinsrate)</eval>	
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>
			</action></repeat>
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

<action label="twinsrate_figure_action_1_2">
	<eval name="myfigure">1</eval>
	<repeat><times>$1</times><action>
		<eval name="myfigure">$myfigure*10</eval>
	</action></repeat>
	
	<imgRef label="str_digit_img"><p>(100-$_twinsrate)</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>
	
	<eval name="mytwinsrate">2</eval>	

	<repeat><times>-1</times><action>
		<eval name="localfigure">((100-$_twinsrate)-lt10)*(-1)+2+((100-$_twinsrate)-eq100)</eval>
		<repeat><times>1-((100-$_twinsrate)-eq$mytwinsrate)</times><action>	
			<repeat><times>$localfigure-gt$1</times><action>
				<eval name="mytwinsrate">(100-$_twinsrate)</eval>	
				<wait>($localfigure-$1)*4</wait>
				
				<eval name="localtwinsrate">((100-$_twinsrate)/$myfigure)%10</eval>
				<imgRef label="str_digit_img"><p>$localtwinsrate</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
			</action></repeat>
			<repeat><times>1-($localfigure-gt$1)</times><action>
				<eval name="mytwinsrate">(100-$_twinsrate)</eval>	
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>
			</action></repeat>
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>


<action label="twinsrate_bar_create_action">
	<createRef label="twinsrate_bar_create_1">
		<p>500+24</p><p>$1</p><p>0</p><p>0</p>
	</createRef>

	<eval name="i">0</eval>
	<repeat><times>10</times>
		<createRef label="twinsrate_bar_create_1">
			<p>500+32+$i*8</p><p>$1</p><p>2</p><p>0</p>
		</createRef>
		<evaladd name="i">1</evaladd>
	</repeat>

	<createRef label="twinsrate_bar_create_1">
		<p>500+32+9*8+4+2</p><p>$1</p><p>2</p><p>0</p>
	</createRef>

	<createRef label="twinsrate_bar_create_1">
		<p>500+32+9*8+4+8+2</p><p>$1</p><p>1</p><p>0</p>
	</createRef>

	<createRef label="twinsrate_bar_create_2">
		<p>500+8+50</p><p>$1</p>
	</createRef>

	<createRef label="twinsrate_bar_create_3">
		<p>524+47</p><p>$1</p>
	</createRef>

</action>

<create label="twinsrate_bar_create_1">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<imgRef label="substr16_8_img">
			<p>$3</p><p>$4</p>
		</imgRef>
		<setDrawLevel><num>29</num></setDrawLevel>
	</object>
</create>

<create label="twinsrate_bar_create_2">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>

		<img type="normal">
			<file type="dds">substr16</file>
			<left>16*2</left><top>0</top><right>16*4</right><bottom>16</bottom>
			<width>50</width><height>16</height>
			<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>28</num></setDrawLevel>
		<eval name="bar_position">$_twinsrate/100</eval>
		<setPosition type="center">
			<x>524+22+50*$bar_position</x><y>$2</y>
		</setPosition>
		<wait>1</wait>
		

		<eval name="mytwinsrate">$_twinsrate</eval>
		<changeColor>
			<alpha>220</alpha><red>255</red><green>255</green><blue>255</blue><term>10</term>
		</changeColor>

		<repeat><times>-1</times>
			<repeat><times>1-($mytwinsrate-eq$_twinsrate)</times>
				<eval name="bar_position">$_twinsrate/100</eval>
				<setPosition type="center">
					<x>524+22+50*$bar_position</x><y>$2</y>
				</setPosition>
				<wait>1</wait>
				<eval name="mytwinsrate">$_twinsrate</eval>	
			</repeat>
			<wait>1</wait>
		</repeat>

	</object>
</create>

<create label="twinsrate_bar_create_3">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<imgRef label="substr16_1_img">
			<p>$3</p><p>$4</p>
		</imgRef>
		<setDrawLevel><num>29</num></setDrawLevel>
	</object>
</create>

<!-- ********************************************************************* -->
<action label="rank_figure_create_action">
	<actionRef label="calc_rank_action_init"></actionRef>
	<createRef label="rank_figure_create0"><p>110-20*3</p><p>$1</p></createRef>
	<createRef label="rank_figure_create"><p>110-20*4</p><p>$1</p></createRef>
	<createRef label="rank_figure_create2"><p>110-20*3</p><p>$1</p></createRef>
</action>

<create label="rank_figure_create0">
	<speed>0</speed><dir>0</dir>
	<cx>$1</cx><cy>$2</cy>
	<object label="rank_figure_object">
		<actionRef label="rank_figure_action0"></actionRef>
	</object>
</create>
<create label="rank_figure_create">
	<speed>0</speed><dir>0</dir>
	<cx>$1</cx><cy>$2</cy>
	<object label="rank_figure_object">
		<actionRef label="rank_figure_action"></actionRef>
	</object>
</create>
<create label="rank_figure_create2">
	<speed>0</speed><dir>0</dir>
	<cx>$1</cx><cy>$2</cy>
	<object label="rank_figure_object">
		<actionRef label="rank_figure_action2"></actionRef>
	</object>
</create>

<action label="rank_figure_action0">

	<eval name="localstr">83</eval>

	<eval name="localstr1">($localstr-32)%10</eval>
	<eval name="localstr2">(($localstr-32)/10)%255</eval>
	<imgRef label="str_img_big_blue"><p>$localstr1</p><p>$localstr2</p></imgRef>
	<setDrawLevel><num>29</num></setDrawLevel>

	<rep><ts>-1</ts>
<!--
		<setImgUV>
			<left>$localstr1*24</left><top>$localstr2*24</top><right>$localstr1*24+24</right><bottom>$localstr2*24+24</bottom>
		</setImgUV>
-->
		<changeColor>
			<alpha>(255*($__grank-eq5))</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
		</changeColor>

		<wait>1</wait>
	</rep>
</action>

<action label="rank_figure_action">

	<rep><ts>$__grank-eq0</ts><eval name="localstr">68</eval></rep>		
	<rep><ts>$__grank-eq1</ts><eval name="localstr">67</eval></rep>		
	<rep><ts>$__grank-eq2</ts><eval name="localstr">66</eval></rep>		
	<rep><ts>$__grank-eq3</ts><eval name="localstr">65</eval></rep>		
	<rep><ts>$__grank-eq4</ts><eval name="localstr">83</eval></rep>		
	<rep><ts>$__grank-eq5</ts><eval name="localstr">83</eval></rep>		

	<eval name="localstr1">($localstr-32)%10</eval>
	<eval name="localstr2">(($localstr-32)/10)%255</eval>
	<imgRef label="str_img_big_blue"><p>$localstr1</p><p>$localstr2</p></imgRef>
	<setDrawLevel><num>29</num></setDrawLevel>

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

		<actionRef label="calc_rank_action"></actionRef>
		<rep><ts>$__grank-eq0</ts><eval name="localstr">68</eval></rep>		
		<rep><ts>$__grank-eq1</ts><eval name="localstr">67</eval></rep>		
		<rep><ts>$__grank-eq2</ts><eval name="localstr">66</eval></rep>		
		<rep><ts>$__grank-eq3</ts><eval name="localstr">65</eval></rep>		
		<rep><ts>$__grank-eq4</ts><eval name="localstr">83</eval></rep>		
		<rep><ts>$__grank-eq5</ts><eval name="localstr">83</eval></rep>		

		<eval name="localstr1">($localstr-32)%10</eval>
		<eval name="localstr2">(($localstr-32)/10)%255</eval>

		<setImgUV>
			<left>$localstr1*24</left><top>$localstr2*24</top><right>$localstr1*24+24</right><bottom>$localstr2*24+24</bottom>
		</setImgUV>

		<wait>1</wait>
	</rep>
</action>

<action label="rank_figure_action2">

	<eval name="localstr">43</eval>
	<eval name="localstr1">($localstr-32)%10</eval>
	<eval name="localstr2">(($localstr-32)/10)%255</eval>
	<imgRef label="str_img_blue"><p>$localstr1</p><p>$localstr2</p></imgRef>
	<setDrawLevel><num>29</num></setDrawLevel>

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

		<eval name="localstr1">($localstr-32)%10</eval>
		<eval name="localstr2">(($localstr-32)/10)%255</eval>
		<setImgUV>
			<left>$localstr1*24</left><top>$localstr2*24</top><right>$localstr1*24+24</right><bottom>$localstr2*24+24</bottom>
		</setImgUV>
-->
		<changeColor>
			<alpha>(255*$__grank2)</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
		</changeColor>

		<wait>1</wait>
	</rep>
</action>



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

<action label="rank_bar_create_action">

	<createRef label="rank_bar_create_1">
		<p>0+24</p><p>$1</p><p>0</p><p>2</p>
	</createRef>

	<eval name="i">0</eval>
	<repeat><times>10</times>
		<createRef label="rank_bar_create_1">
			<p>0+32+$i*8</p><p>$1</p><p>2</p><p>2</p>
		</createRef>
		<evaladd name="i">1</evaladd>
	</repeat>

	<createRef label="rank_bar_create_1">
		<p>0+32+9*8+4+2</p><p>$1</p><p>2</p><p>2</p>
	</createRef>

	<createRef label="rank_bar_create_1">
		<p>0+32+9*8+4+8+2</p><p>$1</p><p>1</p><p>2</p>
	</createRef>

	<createRef label="rank_bar_create_2">
		<p>0+8+50</p><p>$1</p>
	</createRef>

</action>

<create label="rank_bar_create_1">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<imgRef label="substr8_8_img">
			<p>$3</p><p>$4</p>
		</imgRef>
		<setDrawLevel><num>29</num></setDrawLevel>
	</object>
</create>

<create label="rank_bar_create_2">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<!-- rank値10万以下はゼロ扱い、90万以上は、満タン扱い -->

		<eval name="base">((1-($_rank-lt100000))*($_rank-lt900000))*($_rank-100000*($__grank-eq0))+(1-($_rank-lt900000))*99999</eval>
		<eval name="barwidth">(($base%100000)/100000)*102</eval>

		<img type="normal">
			<file type="dds">substr16</file>
			<left>16*2</left><top>0</top><right>16*4</right><bottom>16</bottom>
			<width>$barwidth</width><height>6</height>
			<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>28</num></setDrawLevel>
		<setPosition type="absolute">
			<x>0+20</x><y>$2-3</y>
		</setPosition>
		<eval name="myrank">-1</eval>
		<wait>1</wait>


		<changeColor>
			<alpha>220</alpha><red>255</red><green>255</green><blue>255</blue><term>10</term>
		</changeColor>
		<repeat><times>-1</times>
			<repeat><times>1-($myrank-eq$_rank)</times>
				<eval name="base">((1-($_rank-lt100000))*($_rank-lt900000))*($_rank-100000*($__grank-eq0))+(1-($_rank-lt900000))*99999</eval>
				<eval name="barwidth">(($base%100000)/100000)*102</eval>

				<repeat><times>($_rank-lt$myrank)*($barwidth-gt$mybarwidth)</times>
					<changeImgSize>
						<width>102</width><height>6</height><term>1</term>
					</changeImgSize>
				</repeat>
				<eval name="myrank">$_rank</eval>	
				<w>1</w>

				<changeImgSize>
					<width>$barwidth</width><height>6</height><term>10</term>
				</changeImgSize>
				<repeat><times>10</times>
					<setPosition type="absolute">
						<x>0+20</x><y>$2-3</y>
					</setPosition>
					<wait>1</wait>
				</repeat>			
				<setPosition type="absolute">
					<x>0+20</x><y>$2-3</y>
				</setPosition>
				<eval name="mybarwidth">$barwidth</eval>	
			</repeat>

			<wait>1</wait>
		</repeat>

	</object>
</create>


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

<action label="rank_debugfigure_create_action">
	<createRef label="rank_debugfigure_create_1"><p>110</p><p>$1</p><p>0</p></createRef>

	<eval name="i">1</eval>	
	<repeat><times>6</times><action>
		<createRef label="rank_debugfigure_create"><p>110-11*$i</p><p>$1</p><p>$i</p></createRef>
		<evaladd name="i">1</evaladd>
	</action></repeat>
</action>

<create label="rank_debugfigure_create">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="rank_debugfigure_action"><p>$3</p></actionRef>
	</object>
</create>
	
<create label="rank_debugfigure_create_1">
	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	
	<object>
		<actionRef label="rank_debugfigure_action_1"><p>$3</p></actionRef>
	</object>
</create>

<action label="rank_debugfigure_action">
	<eval name="myrank">-1</eval>
	<eval name="myfig">$1</eval>
	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_rank-eq$myrank)</times><action>
		
			<repeat><times>$_rank_figure-gt$myfig</times><action>
				<eval name="myrank">$_rank</eval>	
				<sysvar name="_arg0">$myfig</sysvar>				
				<eval name="localrank">$_rank_numfignum</eval>				
				<imgRef label="str_digit_img"><p>$localrank</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
				<setDrawLevel><num>28</num></setDrawLevel>
			</action></repeat>
			
			<repeat><times>1-($_rank_figure-gt$myfig)</times><action>
				<eval name="myrank">$_rank</eval>	
				<changeColor>
					<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>1</term>
				</changeColor>
			</action></repeat>
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>

<action label="rank_debugfigure_action_1">
	<imgRef label="str_digit_img"><p>$_spirit</p><p>1</p><p>16</p></imgRef><wait>1</wait>			
	<setDrawLevel><num>28</num></setDrawLevel>
	<eval name="myfig">$1</eval>
	
	<eval name="myrank">-1</eval>	
	<repeat><times>-1</times><action>
		<repeat><times>1-($_rank-eq$myrank)</times><action>	
			<eval name="myrank">$_rank</eval>	
			<sysvar name="_arg0">$myfig</sysvar>				
			<eval name="localrank">$_rank_numfignum</eval>				
			<imgRef label="str_digit_img"><p>$localrank</p><p>1</p><p>20</p></imgRef><wait>1</wait>			
		</action></repeat>
		<wait>1</wait>
	</action></repeat>
</action>


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

<action label="fps_figure_create_action">
	<createRef label="fps_figure_create_1"><p>115</p><p>$1</p><p>0</p></createRef>
	<createRef label="fps_figure_create_2"><p>115-12*1</p><p>$1</p><p>1</p></createRef>
	<createRef label="fps_figure_create_3"><p>115-12*2</p><p>$1</p><p>2</p></createRef>
</action>
	
<create label="fps_figure_create_1">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<actionRef label="fps_figure_action_1"><p>$3</p></actionRef>
	</object>
</create>
<create label="fps_figure_create_2">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<actionRef label="fps_figure_action_2"><p>$3</p></actionRef>
	</object>
</create>
<create label="fps_figure_create_3">
	<direction type="absolute">0</direction><speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object>
		<actionRef label="fps_figure_action_3"><p>$3</p></actionRef>
	</object>
</create>

<action label="fps_figure_action_1">	
	<imgRef label="str_digit_img"><p>$_fps%10</p><p>1</p><p>16</p></imgRef>			
	<setDrawLevel><num>28</num></setDrawLevel>
	
	<repeat><times>-1</times><action>
		<imgRef label="str_digit_img"><p>$_fps%10</p><p>1</p><p>16</p></imgRef>
		<repeat><times>$_fps-lt10</times>
			<changeColor>
				<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
			</changeColor>
		</repeat>
		<repeat><times>$_fps-lt10</times>
			<changeColor>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
			</changeColor>
		</repeat>		
		<wait>1</wait>
	</action></repeat>
</action>

<action label="fps_figure_action_2">	
	<imgRef label="str_digit_img"><p>($_fps/10)%10</p><p>1</p><p>16</p></imgRef>
	<setDrawLevel><num>28</num></setDrawLevel>
	
	<repeat><times>-1</times><action>
		<imgRef label="str_digit_img"><p>($_fps/10)%10</p><p>1</p><p>16</p></imgRef>
		<repeat><times>$_fps-lt10</times>
			<changeColor>
				<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
			</changeColor>
		</repeat>
		<repeat><times>$_fps-gt9</times>
			<changeColor>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
			</changeColor>
		</repeat>
		<wait>1</wait>
	</action></repeat>
</action>

<action label="fps_figure_action_3">
	<imgRef label="str_digit_img"><p>($_fps/100)%10</p><p>1</p><p>16</p></imgRef>
	<setDrawLevel><num>28</num></setDrawLevel>
	
	<repeat><times>-1</times><action>
		<imgRef label="str_digit_img"><p>($_fps/100)%10</p><p>1</p><p>16</p></imgRef>
		<repeat><times>$_fps-lt100</times>
			<changeColor>
				<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
			</changeColor>
		</repeat>
		<repeat><times>$_fps-gt99</times>
			<changeColor>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>1</term>
			</changeColor>
		</repeat>
		<wait>1</wait>
	</action></repeat>
</action>
<!-- ********************************************************************* -->

<!-- ********************************************************************* -->
<!-- prate チェック -->
<action label="prate_90">

	<createRef label="spirit_alarm"><p>570</p><p>240</p></createRef>
	<createRef label="spirit_alarm"><p>70</p><p>240</p></createRef>

</action>

<create label="spirit_alarm">

	<direction type="absolute">0</direction>
	<speed type="absolute">0</speed>
	<cx>$1</cx><cy>$2</cy>
	<object label="str_object">
		<imgRef label="alarm_red"></imgRef>	
		<setDrawLevel><num>26</num></setDrawLevel>

		<action>
			<repeat><times>-1</times>
				<repeat><times>(1-$__prate_check)*($_prate-gt900000)</times>
					<sound label="spirit_alarm" type="se">
						<track><file type="ogg">alarm</file></track>
						<play><flag>0</flag><loop>0</loop></play>
					</sound>

					<changeColor>
						<alpha>140</alpha><red>255</red><green>0</green><blue>0</blue><term>30</term>
					</changeColor>
					<wait>30</wait>
					<changeColor>
						<alpha>0</alpha><red>255</red><green>0</green><blue>0</blue><term>30</term>
					</changeColor>
				</repeat>
				<wait>30</wait>
			</repeat>
		</action>

	</object>	
</create>

<img type="normal" label="substr16_8_img">
	<file type="dds">substr16</file>
	<left>$1*8</left><top>$2*16</top><right>$1*8+8</right><bottom>$2*16+16</bottom>
	<width>8</width><height>16</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img type="normal" label="substr8_8_img">
	<file type="dds">substr16</file>
	<left>$1*8</left><top>$2*16</top><right>$1*8+8</right><bottom>$2*16+16</bottom>
	<width>8</width><height>8</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img type="normal" label="substr16_1_img">
	<file type="dds">substr16</file>
	<left>0</left><top>0</top><right>1</right><bottom>16</bottom>
	<width>1</width><height>16</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img type="normal" label="alarm_red">
	<file type="dds">rectwhite</file>
	<left>0</left><top>0</top><right>14</right><bottom>48</bottom>
	<width>140</width><height>480</height>
	<alpha>0</alpha><red>255</red><green>0</green><blue>0</blue>
</img>

</exbulletml>
