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

<exbulletml>


<!-- ********************************************************************* -->
<!-- *** Enemy Tension 敵画像用                                        *** -->
<create label="stage1_boss_et">
	<direction type="absolute">-90</direction>
	<speed type="absolute">12</speed>
	<cx>640+120</cx><cy>240</cy>

	<object>
		<img type="normal">
			<file type="dds">mai_bom</file>
			<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
			<width>400</width><height>400</height>
			<alpha>64</alpha><red>255</red><green>255</green><blue>255</blue>
		</img>
		<setDrawLevel><num>30</num></setDrawLevel>

		<action>
			<changeColor>
				<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>80</term>
			</changeColor>
			<wait>46</wait>
			<changeSpeed>
				<speed type="absolute">0.3</speed><term>10</term>
			</changeSpeed>
			<wait>90</wait>
			<changeColor>
				<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue><term>120</term>
			</changeColor>
			<wait>120</wait>
			<vanish/>	
		</action>
	</object>
</create>

<!-- ********************************************************************* -->
<!-- *** ボス名前用                                                    *** -->

<action label="boss_name">

	<!-- 中ボス -->
	<repeat><times>$1-eq0</times>
		<!-- mboss -->
		<createRef label="str_create_child_red_rot"><param>8+12*1</param><param>220+4+16</param><param>77</param><param>28</param></createRef>
		<wait>3</wait>
		<createRef label="str_create_lower_child_red_rot"><param>8+12*2</param><param>220+4+16</param><param>45</param><param>28</param></createRef>
		<wait>3</wait>
		<createRef label="str_create_child_red_rot"><param>8+12*3</param><param>220+4+16</param><param>66</param><param>28</param></createRef>
		<wait>3</wait>
		<createRef label="str_create_lower_child_red_rot"><param>8+12*4</param><param>220+4+16</param><param>79</param><param>28</param></createRef>
		<wait>3</wait>
		<createRef label="str_create_lower_child_red_rot"><param>8+12*5</param><param>220+4+16</param><param>83</param><param>28</param></createRef>
		<wait>3</wait>
		<createRef label="str_create_lower_child_red_rot"><param>8+12*6</param><param>220+4+16</param><param>83</param><param>28</param></createRef>
		<wait>3</wait>
		
		<!-- name -->
		<createRef label="str_create_child_blue_rot"><param>14+12*1</param><param>220+8+16*2</param><param>77</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*2</param><param>220+8+16*2</param><param>65</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*3</param><param>220+8+16*2</param><param>84</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*4</param><param>220+8+16*2</param><param>69</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*5</param><param>220+8+16*2</param><param>82</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*6</param><param>220+8+16*2</param><param>73</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*7</param><param>220+8+16*2</param><param>65</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*8</param><param>220+8+16*2</param><param>76</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*9</param><param>220+8+16*2</param><param>45</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_child_blue_rot"><param>14+12*1</param><param>220+8+16*3</param><param>66</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*2</param><param>220+8+16*3</param><param>76</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*3</param><param>220+8+16*3</param><param>85</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*4</param><param>220+8+16*3</param><param>69</param><param>28</param></createRef>
		<wait>2</wait>

	</repeat>

	<!-- ボス -->
	<repeat><times>$1-eq1</times>
		<!-- mboss -->
		<createRef label="str_create_child_red_rot"><param>8+12*1</param><param>220+4+16</param><param>66</param><param>28</param></createRef>
		<wait>3</wait>
		<createRef label="str_create_lower_child_red_rot"><param>8+12*2</param><param>220+4+16</param><param>79</param><param>28</param></createRef>
		<wait>3</wait>
		<createRef label="str_create_lower_child_red_rot"><param>8+12*3</param><param>220+4+16</param><param>83</param><param>28</param></createRef>
		<wait>3</wait>
		<createRef label="str_create_lower_child_red_rot"><param>8+12*4</param><param>220+4+16</param><param>83</param><param>28</param></createRef>
		<wait>3</wait>
		
		<!-- name -->
		<createRef label="str_create_child_blue_rot"><param>14+12*1</param><param>220+8+16*2</param><param>77</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*2</param><param>220+8+16*2</param><param>65</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*3</param><param>220+8+16*2</param><param>73</param><param>28</param></createRef>
		<wait>2</wait>

		<createRef label="str_create_child_blue_rot"><param>14+12*1</param><param>220+8+16*3</param><param>77</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*2</param><param>220+8+16*3</param><param>73</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*3</param><param>220+8+16*3</param><param>90</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*4</param><param>220+8+16*3</param><param>85</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*5</param><param>220+8+16*3</param><param>83</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*6</param><param>220+8+16*3</param><param>72</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*7</param><param>220+8+16*3</param><param>73</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*8</param><param>220+8+16*3</param><param>78</param><param>28</param></createRef>
		<wait>2</wait>
		<createRef label="str_create_lower_child_blue_rot"><param>14+12*9</param><param>220+8+16*3</param><param>65</param><param>28</param></createRef>
		<wait>2</wait>
	</repeat>

</action>

<!-- ********************************************************************* -->
<!-- *** SECRET HINT                                                   *** -->
<a l="secret_hint">
	<createRef label="str_create_child_red_sh"><param>320-12*9</param><param>120</param><param>67</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320-12*8</param><param>120</param><param>82</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320-12*7</param><param>120</param><param>89</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320-12*6</param><param>120</param><param>83</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320-12*5</param><param>120</param><param>84</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320-12*4</param><param>120</param><param>65</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320-12*3</param><param>120</param><param>76</param><param>28</param></createRef>
	<w>1</w>
	<eval name="digi1">($1/1000)%10</eval>
	<eval name="digi2">($1/100)%10</eval>

	<repeat><times>$digi1-gt0</times>
		<createRef label="str_create_child_red_sh"><param>320+12*0</param><param>120</param><param>48+$digi1</param><param>28</param></createRef>
	</repeat>
	<createRef label="str_create_child_red_sh"><param>320+12*1</param><param>120</param><param>48+$digi2</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320+12*2</param><param>120</param><param>48</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320+12*3</param><param>120</param><param>48</param><param>28</param></createRef>
	<w>1</w>
	<createRef label="str_create_child_red_sh"><param>320+12*5</param><param>120</param><param>79</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320+12*6</param><param>120</param><param>86</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320+12*7</param><param>120</param><param>69</param><param>28</param></createRef>
	<createRef label="str_create_child_red_sh"><param>320+12*8</param><param>120</param><param>82</param><param>28</param></createRef>

</a>



<!-- ********************************************************************* -->
<!-- *** ボスリング                                                    *** -->

<create l="boss_ring">
	<speed>0</speed><dir type="abs">0</dir>
	<cx>$_self_cx-1</cx><cy>$_self_cy-1</cy>
	<child>1</child>
	<object>
		<repeat><times>$1-eq80</times>
			<imgRef l="ring_img_80"></imgRef>
		</repeat>
		<repeat><times>$1-eq90</times>
			<imgRef l="ring_img_90"></imgRef>
		</repeat>
		<repeat><times>$1-eq100</times>
			<imgRef l="ring_img_100"></imgRef>
		</repeat>
		<repeat><times>$1-eq110</times>
			<imgRef l="ring_img_110"></imgRef>
		</repeat>

		<setDrawLevel><num>21</num></setDrawLevel>
		<w>1</w>
		<a>
			<definedAction type="synctoparentx"></definedAction>
			<definedAction type="synctoparenty"></definedAction>

			<rotateImg>
				<direction>-2</direction><term>-1</term>
			</rotateImg>
		
			<rep><ts>-1</ts>
				<changeColor>
					<alpha>64</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>	
				</changeColor>
				<w>60</w>
				<changeColor>
					<alpha>192</alpha><red>255</red><green>255</green><blue>255</blue><term>60</term>	
				</changeColor>
				<w>60</w>
			</rep>

		</a>
	</object>
</create>

<img type="add" l="ring_img_80">
	<file type="dds">blue_ring_80</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>256</width><height>256</height>
	<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
</img>
<img type="add" l="ring_img_90">
	<file type="dds">blue_ring_90</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>256</width><height>256</height>
	<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
</img>
<img type="add" l="ring_img_100">
	<file type="dds">blue_ring_100</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>256</width><height>256</height>
	<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
</img>
<img type="add" l="ring_img_110">
	<file type="dds">blue_ring_110</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>256</width><height>256</height>
	<alpha>0</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<!-- ********************************************************************* -->
<!-- *** 演出用魔法陣                                                    *** -->

<create l="talkscene_magic">
	<speed>0</speed><dir type="abs">0</dir>
	<cx>$2</cx><cy>240</cy>
	<child>1</child>
	<object l="talkscene_magic_object">
		<repeat><times>$1-eq0</times>
			<imgRef l="magic_img_r"></imgRef>
		</repeat>
		<repeat><times>$1-eq1</times>
			<imgRef l="magic_img_y"></imgRef>
		</repeat>
		<repeat><times>$1-eq2</times>
			<imgRef l="magic_img_g"></imgRef>
		</repeat>
		<setDrawLevel><num>32</num></setDrawLevel>
		<revengeRef l="talkscene_magic_revenge"/>
		<w>1</w>
		<a>

			<rotateImg>
				<direction>2</direction><term>-1</term>
			</rotateImg>
			<changeImgSize>
				<width>256</width><height>256</height><tm>45</tm>
			</changeImgSize>
		

		</a>
	</object>
</create>

<img type="normal" l="magic_img_r">
	<file type="dds">magic_attack_r</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>16</width><height>16</height>
	<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img type="normal" l="magic_img_y">
	<file type="dds">magic_attack_y</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>16</width><height>16</height>
	<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<img type="normal" l="magic_img_g">
	<file type="dds">magic_attack_g2</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>16</width><height>16</height>
	<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<revenge l="talkscene_magic_revenge">
	<changeImgSize>
		<width>16</width><height>16</height><tm>30</tm>
	</changeImgSize>
	<w>30</w>
	<vanish/>
</revenge>


<create l="talkscene_magic2">
	<speed>0</speed><dir type="abs">0</dir>
	<cx>$1</cx><cy>260</cy>
	<child>1</child>
	<object l="talkscene_magic_object2">
		<imgRef l="magic_img_g2"></imgRef>
		<revengeRef l="talkscene_magic_revenge2"/>

		<setDrawLevel><num>32</num></setDrawLevel>
		<w>1</w>
		<a>

			<rotateImg>
				<direction>-2</direction><term>-1</term>
			</rotateImg>		

		</a>
	</object>
</create>

<img type="normal" l="magic_img_g2">
	<file type="dds">magic_def</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>256*1.25</width><height>256*1.25</height>
	<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue>
</img>

<revenge l="talkscene_magic_revenge2">
	<changeImgSize>
		<width>16</width><height>16</height><tm>30</tm>
	</changeImgSize>
	<w>30</w>
	<vanish/>
</revenge>


<action label="flash">
	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>320</cx><cy>240</cy>
		<object label="flash_white">
<!--			<child>1</child> -->
			<img type="normal">
				<file type="bmp">rectwhite</file>
				<left>0</left><top>0</top><right>8</right><bottom>8</bottom>
				<width>640</width><height>480</height>
				<alpha>$1</alpha><red>$2</red><green>$3</green><blue>$4</blue>
			</img>
			<setDrawLevel><num>32</num></setDrawLevel>

			<wait>30</wait>
			<vanish/>
		</object>
	</create>
	<wait>20</wait>
</action>

</exbulletml>
