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

<exbulletml>

<!-- ******************************************************************************* -->
<!-- ***** STAGE 1 봶똧                                                        ***** -->
<!-- ******************************************************************************* -->

<action label="bg_boss_begin_action">
</action>

<action label="bg_boss_end_action">
</action>

<action l="bg_midboss_begin_action">
</action>


<action l="bg_midboss_end_action">
</action>

<action l="bg_stage_end_action">
</action>

<action label="bg_stop_action">
	<create>
		<speed>0</speed><direction type="absolute">0</direction><cx>0</cx><cy>0</cy>
		<object>
			<w>320</w>
			<repeat><times>60</times>
				<setMeshAccel>
					<worldvx>0</worldvx><worldvy>0</worldvy><worldvz>0.004</worldvz>
				</setMeshAccel>
				<wait>1</wait>
			</repeat>
<!--
			<repeat><times>10</times>
				<setMeshVelocity>
					<worldvx>0</worldvx><worldvy>0</worldvy><worldvz>0</worldvz>
				</setMeshVelocity>
				<wait>10</wait>
			</repeat>
-->
			<vanish></vanish>
		</object>
	</create>

	<global name="bg_stop_flag">1</global>
</action>

<action label="bg_create_action">
  <global n="blur_alpha">0</global>
	<global n="hdr_bloom">0.3</global>
	<global n="hdr_star">0.95</global>
	<global n="hdr_dark">0.60</global>

	<global n="global_bg_flag">0</global>
	<global n="bg_stop_flag">0</global>
	<actionRef label="stagestart_blackbg_create_action"></actionRef>
	<system><command>effectmeshdisable</command></system>
	<system><command>fulldrawoff</command></system>

	<setLight type="ambient"><alpha>0</alpha><red>100</red><green>100</green><blue>100</blue><flag>0</flag></setLight>
	<setLight type="directional"><alpha>0</alpha><red>255</red><green>200</green><blue>200</blue><x>0.3</x><y>-1</y><z>-1</z><num>0</num></setLight>

	<setBumpVector><worldx>1</worldx><worldy>1</worldy><worldz>1</worldz></setBumpVector>

	<setEye><worldx>0</worldx><worldy>20</worldy><worldz>0</worldz></setEye>
	<setLookAt><worldx>0</worldx><worldy>-15</worldy><worldz>30</worldz></setLookAt>
	<setUpVec><worldx>-0.1</worldx><worldy>0</worldy><worldz>1</worldz></setUpVec>

	<plainShadowPoint><worldx>0</worldx><worldy>-100+0.01</worldy><worldz>0</worldz></plainShadowPoint>

	<setFog>
		<alpha>0</alpha><red>255</red><green>200</green><blue>150</blue>
		<worldminz>10</worldminz><worldmaxz>340</worldmaxz>
	</setFog>		
	<system><command>enablefog</command></system>

</action>

<action label="bg_start_action">
	<setBgColor><alpha>255</alpha><red>0</red><green>0</green><blue>0</blue></setBgColor>
	<targetRevenge label="stagestart_blackbg_object"></targetRevenge>

 	<create>
		<direction type="absolute">0</direction><speed type="absolute">0</speed>
		<cx>400</cx><cy>300</cy>
		<object>
			<aRef l="bg_action_1"></aRef>
		</object>
	</create>

 	<create>
		<direction type="absolute">0</direction><speed type="absolute">0</speed>
		<cx>400</cx><cy>300</cy>
		<object>
			<aRef l="bg_action_2"></aRef>
		</object>
	</create>

	<create>
		<direction type="absolute">0</direction><speed type="absolute">0</speed>
		<cx>400</cx><cy>300</cy>
		<object>
			<aRef l="bg_action_3"></aRef>
		</object>
	</create>

	<create>
		<direction type="absolute">0</direction><speed type="absolute">0</speed>
		<cx>400</cx><cy>300</cy>
		<object>
			<aRef l="bg_action_4"></aRef>
		</object>
	</create>

	<create>
		<direction type="absolute">0</direction><speed type="absolute">0</speed>
		<cx>400</cx><cy>300</cy>
		<object>
			<aRef l="bg_action_5"></aRef>
		</object>
	</create>

	<create>
		<direction type="absolute">0</direction><speed type="absolute">0</speed>
		<cx>400</cx><cy>300</cy>
		<object>
			<aRef l="bg_action_6"></aRef>
		</object>
	</create>

	<create>
		<direction type="absolute">0</direction><speed type="absolute">0</speed>
		<cx>400</cx><cy>300</cy>
		<object>
			<aRef l="bg_action_ray"></aRef>
		</object>
	</create>

</action>


<!-- ***** 뭤뽋 ***** -->
<a l="bg_action_1">

	<eval n="i">0</eval>
	<rep><ts>6</ts>
		<createRef l="bg_action_1_1_create"><p>-2+10</p><p>-40</p><p>240-$i*40</p></createRef>
		<evaladd n="i">1</evaladd>
	</rep>

	<rep><ts>-1*($__global_bg_flag-eq0)</ts>
			<w>80</w>
			<createRef l="bg_action_1_1_create"><p>-2+10</p><p>-40</p><p>240</p></createRef>
	</rep>

	<create>
		<cx>400</cx><cy>300</cy><speed>0</speed>
		<object>
			<w>300</w>
			<changeEyeSpeed><worldx>0</worldx><worldy>-0.2</worldy><worldz>0.2</worldz><term>180</term></changeEyeSpeed>
			<changeLookAtSpeed><worldx>0</worldx><worldy>-0.2</worldy><worldz>0.2</worldz><term>180</term></changeLookAtSpeed>
			<w>180</w>
			<changeEyeSpeed><worldx>0</worldx><worldy>0.0</worldy><worldz>0.0</worldz><term>180</term></changeEyeSpeed>
			<changeLookAtSpeed><worldx>0</worldx><worldy>0.0</worldy><worldz>0.0</worldz><term>180</term></changeLookAtSpeed>
		</object>
	</create>

	<create>
		<cx>400</cx><cy>300</cy><speed>0</speed>
		<object>
			<w>300</w>
			<changeFog>
				<alpha>0</alpha><red>255*0.7</red><green>200*0.7</green><blue>150*0.7</blue>
				<worldminz>40</worldminz><worldmaxz>340</worldmaxz><term>180</term>
			</changeFog>		
		</object>
	</create>

	<create>
		<cx>400</cx><cy>300</cy><speed>0</speed>
		<object>
			<w>300</w>
			<eval n="i">0</eval>
			<rep><ts>160</ts>
				<global n="hdr_bloom">0.3+0.0025*$i</global>
				<global n="hdr_star">1.0-0.0005*$i</global>
				<global n="hdr_dark">0.50+0.001*$i</global>
				<evaladd n="i">1</evaladd>
				<w>1</w>
			</rep>
		</object>
	</create>

	<createRef l="bg_action_1_2_create"><p>-10-60</p><p>-100</p><p>340-40</p></createRef>
	<createRef l="bg_action_1_2_create"><p>-10</p><p>-100</p><p>340-40</p></createRef>
	<createRef l="bg_action_1_2_create"><p>-10+60</p><p>-100</p><p>340-40</p></createRef>

	<rep><ts>-1*($__global_bg_flag-eq1)</ts>
		<createRef l="bg_action_1_2_create"><p>-10-60</p><p>-100</p><p>340</p></createRef>
		<createRef l="bg_action_1_2_create"><p>-10</p><p>-100</p><p>340</p></createRef>
		<createRef l="bg_action_1_2_create"><p>-10+60</p><p>-100</p><p>340</p></createRef>
		<w>80</w>
	</rep>


	<rep><ts>-1*($__global_bg_flag-eq2)</ts>
	
		<createRef l="bg_action_1_2_create"><p>-10-60</p><p>-100</p><p>340</p></createRef>
		<createRef l="bg_action_1_2_create"><p>-10</p><p>-100</p><p>340</p></createRef>
		<createRef l="bg_action_1_2_create"><p>-10+60</p><p>-100</p><p>340</p></createRef>

		<rep><ts>80</ts>
			<rep><ts>$__bg_stop_flag-eq1</ts>
				<createRef l="bg_action_1_2_create"><p>-10-60</p><p>-100</p><p>340</p></createRef>
				<createRef l="bg_action_1_2_create"><p>-10</p><p>-100</p><p>340</p></createRef>
				<createRef l="bg_action_1_2_create"><p>-10+60</p><p>-100</p><p>340</p></createRef>
				<w>80</w>
				<createRef l="bg_action_1_2_create"><p>-10-60</p><p>-100</p><p>340</p></createRef>
				<createRef l="bg_action_1_2_create"><p>-10</p><p>-100</p><p>340</p></createRef>
				<createRef l="bg_action_1_2_create"><p>-10+60</p><p>-100</p><p>340</p></createRef>
				<w>80</w>

				<rep><ts>-1</ts>
					<w>999</w>
				</rep>
			</rep>
			<w>1</w>
		</rep>

	</rep>

</a>

<create l="bg_action_1_1_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_1_1_obj"><p>$1</p><p>$2</p><p>$3</p></objectRef>
</create>

<object l="bg_action_1_1_obj">
	<objShapeMeshRef l="ground_mesh_1"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p></objShapeMeshRef>
	<setMeshTexture><file type="dds">natural08n</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">natural08</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshDrawState><num>3</num><worldz>0</worldz></setMeshDrawState>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>


<objShapeMesh label="ground_mesh_1" type="board">
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-2000.0</worldminx><worldminy>-2000.0</worldminy><worldminz>-20.0</worldminz>
	<worldmaxx>2000.0</worldmaxx><worldmaxy>2000.0</worldmaxy><worldmaxz>2000.0</worldmaxz>
	<rotatex>0.0</rotatex><rotatey>0.0</rotatey><rotatez>0.0</rotatez>
	<rotatevx>0.0</rotatevx><rotatevy>0.0</rotatevy><rotatevz>0.0</rotatevz>
	<width>30.0</width><height>40.0</height><x>1</x><y>1</y>
	<flag>0</flag>
</objShapeMesh>


<create l="bg_action_1_2_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_1_2_obj"><p>$1</p><p>$2</p><p>$3</p></objectRef>
</create>

<object l="bg_action_1_2_obj">
	<objShapeMeshRef l="ground_mesh_2"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p></objShapeMeshRef>
	<setMeshTexture><file type="dds">stage2_water</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">metl10Ln2</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshTexture><file type="dds">specular_sky3</file><num>0</num><stage>2</stage></setMeshTexture>
	<setMeshDrawState><num>5</num><worldz>0</worldz></setMeshDrawState>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>


<objShapeMesh label="ground_mesh_2" type="board">
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-2000.0</worldminx><worldminy>-2000.0</worldminy><worldminz>-20.0</worldminz>
	<worldmaxx>2000.0</worldmaxx><worldmaxy>2000.0</worldmaxy><worldmaxz>2000.0</worldmaxz>
	<rotatex>0.0</rotatex><rotatey>0.0</rotatey><rotatez>0.0</rotatez>
	<rotatevx>0.0</rotatevx><rotatevy>0.0</rotatevy><rotatevz>0.0</rotatevz>
	<width>60.0</width><height>40.0</height><x>1</x><y>1</y>
	<flag>0</flag>
</objShapeMesh>



<!-- ***** 랹 ***** -->
<a l="bg_action_2">

	<eval n="i">0</eval>
	<rep><ts>12</ts>
		<createRef l="bg_action_2_create"><p>14</p><p>-40</p><p>240-$i*20</p></createRef>
		<evaladd n="i">1</evaladd>
	</rep>


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

		<rep><ts>$__global_bg_flag-eq0</ts>
			<createRef l="bg_action_2_create"><p>14</p><p>-40</p><p>240</p></createRef>
			<w>40</w>
		</rep>

		<rep><ts>1-($__global_bg_flag-eq0)</ts>
			<createRef l="bg_action_2_2_create"><p>14</p><p>-40</p><p>240</p></createRef>
			<rep><ts>-1</ts>
				<w>360</w>
			</rep>
	</rep>

	</rep>

</a>


<create l="bg_action_2_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_2_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_2_obj">
	<objMeshRef l="objmesh_2"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p></objMeshRef>
	<setMeshTexture><file type="dds">stage2bg_wall_1n</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">stage2bg_wall_1</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshDrawState><num>3</num><worldz>0</worldz></setMeshDrawState>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>



<objMesh label="objmesh_2">
	<file>stage2_wall_1_r</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-40.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>0</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>0</flag>
</objMesh>

<create l="bg_action_2_2_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_2_2_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_2_2_obj">
	<objMeshRef l="objmesh_2_2"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p></objMeshRef>
	<setMeshTexture><file type="dds">stage2bg_wall_1n</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">stage2bg_wall_1</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshDrawState><num>3</num><worldz>0</worldz></setMeshDrawState>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>



<objMesh label="objmesh_2_2">
	<file>stage2_wall_1_2_r</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-40.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>0</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>0</flag>
</objMesh>



<!-- ***** 뽜 ***** -->
<a l="bg_action_3">


	<eval n="i">0</eval>
	<rep><ts>6</ts>
		<createRef l="bg_action_3_create"><p>10</p><p>-10</p><p>240-$i*10</p></createRef>
		<evaladd n="i">1</evaladd>
		<createRef l="bg_action_3_create"><p>15</p><p>-8</p><p>240-$i*10</p></createRef>
		<evaladd n="i">1</evaladd>

		<createRef l="bg_action_3_create"><p>10-1</p><p>-10-1</p><p>240-$i*10</p></createRef>
		<evaladd n="i">1</evaladd>
		<createRef l="bg_action_3_create"><p>15-1</p><p>-8-1</p><p>240-$i*10</p></createRef>
		<evaladd n="i">1</evaladd>
	</rep>

	<rep><ts>-1</ts>
		<createRef l="bg_action_3_create"><p>10</p><p>-10</p><p>240</p></createRef>
		<actionRef l="bg_action_break"></actionRef>
		<w>10</w>

		<createRef l="bg_action_3_create"><p>15</p><p>-8</p><p>240</p></createRef>
		<actionRef l="bg_action_break"></actionRef>
		<w>10</w>

		<createRef l="bg_action_3_create"><p>10-1</p><p>-10-1</p><p>240</p></createRef>
		<actionRef l="bg_action_break"></actionRef>
		<w>10</w>

		<createRef l="bg_action_3_create"><p>15-1</p><p>-8-1</p><p>240</p></createRef>
		<actionRef l="bg_action_break"></actionRef>
		<w>10</w>
	</rep>

</a>

<action l="bg_action_break">
	<rep><ts>1-($__global_bg_flag-eq0)</ts>
		<rep><ts>-1</ts>
			<w>360</w>
		</rep>
	</rep>

</action>


<create l="bg_action_3_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_3_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_3_obj">
	<objMeshRef l="objmesh_3"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p></objMeshRef>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>


<objMesh label="objmesh_3">
	<file>stage2_tree_1</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-40.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>-$_rand*60</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>16</flag>
</objMesh>


<!-- ***** 둚 ***** -->
<a l="bg_action_4">

	<eval n="i">0</eval>
	<rep><ts>12</ts>
		<createRef l="bg_action_4_create"><p>-7</p><p>-40</p><p>240-$i*20</p></createRef>
		<evaladd n="i">1</evaladd>
	</rep>


	<rep><ts>-1</ts>
		<rep><ts>$__global_bg_flag-eq0</ts>
			<createRef l="bg_action_4_create"><p>-7</p><p>-40</p><p>240</p></createRef>
		</rep>

		<rep><ts>$__global_bg_flag-eq1</ts>
			<createRef l="bg_action_4_create"><p>-7</p><p>-40</p><p>240</p></createRef>
			<w>40</w>
			<createRef l="bg_action_4_create"><p>-7</p><p>-40</p><p>240</p></createRef>
			<createRef l="bg_action_1_1_create"><p>-2+10</p><p>-40</p><p>240</p></createRef>
			<w>40</w>
			<createRef l="bg_action_4_2_create"><p>-7</p><p>-40</p><p>240</p></createRef>
			<rep><ts>-1</ts>
				<w>360</w>
			</rep>
		</rep>
		<w>40</w>
	</rep>

</a>


<create l="bg_action_4_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_4_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_4_obj">
	<objMeshRef l="objmesh_4"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p></objMeshRef>
	<setMeshTexture><file type="dds">stage2bg_wall_2n</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">stage2bg_wall_2</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshDrawState><num>3</num><worldz>0</worldz></setMeshDrawState>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>



<objMesh label="objmesh_4">
	<file>stage2_wall_2_r</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-40.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>0</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>0</flag>
</objMesh>



<create l="bg_action_4_2_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_4_2_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_4_2_obj">
	<objMeshRef l="objmesh_4_2"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p></objMeshRef>
	<setMeshTexture><file type="dds">stage2bg_wall_2n</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">stage2bg_wall_2</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshDrawState><num>3</num><worldz>0</worldz></setMeshDrawState>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>



<objMesh label="objmesh_4_2">
	<file>stage2_wall_2_2B_r</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-40.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>0</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>0</flag>
</objMesh>

<!-- ***** 둚뵿뫮뫀 ***** -->
<a l="bg_action_5">

	<eval n="i">0</eval>
	<rep><ts>16</ts>
		<createRef l="bg_action_5_create"><p>-58</p><p>-40</p><p>320-$i*20</p><p>0</p></createRef>
		<evaladd n="i">1</evaladd>
	</rep>


	<rep><ts>-1*($__global_bg_flag-eq0)</ts>
		<createRef l="bg_action_5_create"><p>-58</p><p>-40</p><p>320</p><p>0</p></createRef>
		<w>40</w>
	</rep>

	<rep><ts>5</ts>
		<createRef l="bg_action_5_create"><p>-58</p><p>-40</p><p>320</p><p>0</p></createRef>
		<w>40</w>
	</rep>

</a>


<create l="bg_action_5_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_5_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_5_obj">
	<objMeshRef l="objmesh_5"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p><p>$4</p></objMeshRef>
	<setMeshTexture><file type="dds">stage2bg_wall_3n</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">stage2bg_wall_3</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshDrawState><num>3</num><worldz>0</worldz></setMeshDrawState>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>



<objMesh label="objmesh_5">
	<file>stage2_wall_3_r</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>0.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>$5</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>0</flag>
</objMesh>



<!-- ***** 벞쁇뮳멄 ***** -->
<a l="bg_action_6">


	<rep><ts>4</ts>
		<rep><ts>-1*($__global_bg_flag-eq0)</ts>
			<w>1</w>
		</rep>
		<createRef l="bg_action_6_1_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>

		<createRef l="bg_action_6_1_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<w>80</w>
	</rep>

	<rep><ts>-1*($__global_bg_flag-eq1)</ts>
		<createRef l="bg_action_6_1_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>

		<createRef l="bg_action_6_1_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<w>80</w>
	</rep>


	<!-- ********************************************************************************* -->
	<rep><ts>2</ts>

		<createRef l="bg_action_6_3_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_4_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_1_create"><p>-45</p><p>-80</p><p>337</p><p>-90</p></createRef>
		<createRef l="bg_action_6_2_create"><p>-45</p><p>-80</p><p>337</p><p>-90</p></createRef>
		<createRef l="bg_action_6_1_create"><p>-45-20</p><p>-80</p><p>337</p><p>-90</p></createRef>
		<createRef l="bg_action_6_2_create"><p>-45-20</p><p>-80</p><p>337</p><p>-90</p></createRef>

		<createRef l="bg_action_6_1_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>	
		<w>80</w>

		<createRef l="bg_action_6_3_create"><p>10</p><p>-80</p><p>320</p><p>-180</p></createRef>
		<createRef l="bg_action_6_4_create"><p>10</p><p>-80</p><p>320</p><p>-180</p></createRef>
		<createRef l="bg_action_6_1_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>
		<w>80</w>

		<createRef l="bg_action_6_1_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_1_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>	
		<w>80</w>

		<createRef l="bg_action_6_1_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_3_create"><p>7</p><p>-75</p><p>335</p><p>-90</p></createRef>
		<createRef l="bg_action_6_4_create"><p>7</p><p>-75</p><p>335</p><p>-90</p></createRef>
		<createRef l="bg_action_6_1_create"><p>45</p><p>-75</p><p>335</p><p>-90</p></createRef>
		<createRef l="bg_action_6_2_create"><p>45</p><p>-75</p><p>335</p><p>-90</p></createRef>
		<w>80</w>

		<createRef l="bg_action_6_1_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>

		<createRef l="bg_action_6_3_create"><p>-27</p><p>-75</p><p>305</p><p>90</p></createRef>
		<createRef l="bg_action_6_4_create"><p>-27</p><p>-75</p><p>305</p><p>90</p></createRef>
		<createRef l="bg_action_6_1_create"><p>-27-35</p><p>-75</p><p>305</p><p>-90</p></createRef>
		<createRef l="bg_action_6_2_create"><p>-27-35</p><p>-75</p><p>305</p><p>-90</p></createRef>
		<w>80</w>

	</rep>

	<createRef l="bg_action_6_1_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
	<createRef l="bg_action_6_2_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
	<createRef l="bg_action_6_1_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>
	<createRef l="bg_action_6_2_create"><p>-10</p><p>-75</p><p>320</p><p>0</p></createRef>
	<w>80</w>

	<createRef l="bg_action_6_1_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
	<createRef l="bg_action_6_2_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
	<createRef l="bg_action_6_3_create"><p>7</p><p>-75</p><p>335</p><p>-90</p></createRef>
	<createRef l="bg_action_6_4_create"><p>7</p><p>-75</p><p>335</p><p>-90</p></createRef>
	<createRef l="bg_action_6_1_create"><p>45</p><p>-75</p><p>335</p><p>-90</p></createRef>
	<createRef l="bg_action_6_2_create"><p>45</p><p>-75</p><p>335</p><p>-90</p></createRef>
	<w>80</w>

	<!-- ********************************************************************************* -->
	<rep><ts>-1*($__global_bg_flag-eq2)*($__bg_stop_flag-eq0)</ts>
		<createRef l="bg_action_6_1_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<createRef l="bg_action_6_2_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
		<w>80</w>
	</rep>


	<createRef l="bg_action_6_5_create"><p>10</p><p>-80</p><p>280</p><p>0</p></createRef>
	<createRef l="bg_action_6_6_create"><p>0</p><p>0</p><p>279</p><p>-90</p></createRef>

	<createRef l="bg_action_6_1_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>
	<createRef l="bg_action_6_2_create"><p>10</p><p>-80</p><p>320</p><p>0</p></createRef>

	<create>
		<cx>400</cx><cy>300</cy><speed>0</speed>
		<object>
			<w>120</w>
			<changeFog>
				<alpha>0</alpha><red>255*0.5</red><green>200*0.5</green><blue>150*0.5</blue>
				<worldminz>40</worldminz><worldmaxz>340</worldmaxz><term>120</term>
			</changeFog>		

		</object>
	</create>

	<w>60</w>

	<changeEyeSpeed><worldx>0</worldx><worldy>0.4</worldy><worldz>0</worldz><term>180</term></changeEyeSpeed>
	<changeLookAtSpeed><worldx>0</worldx><worldy>0</worldy><worldz>0</worldz><term>180</term></changeLookAtSpeed>
	<changeUpVecSpeed><worldx>-0.0003</worldx><worldy>0</worldy><worldz>0</worldz><term>180</term></changeUpVecSpeed>

	<w>180</w>
	<changeEyeSpeed><worldx>0</worldx><worldy>0.0</worldy><worldz>0.0</worldz><term>180</term></changeEyeSpeed>
	<changeLookAtSpeed><worldx>0</worldx><worldy>0.0</worldy><worldz>0.0</worldz><term>180</term></changeLookAtSpeed>
	<changeUpVecSpeed><worldx>0</worldx><worldy>0</worldy><worldz>0</worldz><term>180</term></changeUpVecSpeed>

</a>


<create l="bg_action_6_1_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_6_1_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_6_1_obj">
	<objMeshRef l="objmesh_6_1"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p><p>$4</p></objMeshRef>
	<setMeshTexture><file type="dds">metl10L</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">metl10Ln</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshTexture><file type="dds">water3</file><num>0</num><stage>2</stage></setMeshTexture>
	<setMeshDrawState><num>5</num><worldz>0</worldz></setMeshDrawState>

	<plainShadowPoint><worldx>0</worldx><worldy>-100+0.01</worldy><worldz>0</worldz></plainShadowPoint>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>

<objMesh label="objmesh_6_1">
	<file>stage2_road_1</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-40.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>$5</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>32</flag>
</objMesh>

<create l="bg_action_6_2_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_6_2_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_6_2_obj">
	<objMeshRef l="objmesh_6_2"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p><p>$4</p></objMeshRef>
	<setMeshTexture><file type="dds">streets16</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">streets16n</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshTexture><file type="dds">water</file><num>0</num><stage>2</stage></setMeshTexture>
	<setMeshDrawState><num>5</num><worldz>0</worldz></setMeshDrawState>
	<plainShadowPoint><worldx>0</worldx><worldy>-100+0.01</worldy><worldz>0</worldz></plainShadowPoint>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>

<objMesh label="objmesh_6_2">
	<file>stage2_road_1_2</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-40.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>$5</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>32</flag>
</objMesh>



<create l="bg_action_6_3_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_6_3_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_6_3_obj">
	<objMeshRef l="objmesh_6_3"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p><p>$4</p></objMeshRef>
	<setMeshTexture><file type="dds">metl10L</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">metl10Ln</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshTexture><file type="dds">water</file><num>0</num><stage>2</stage></setMeshTexture>
	<setMeshDrawState><num>5</num><worldz>0</worldz></setMeshDrawState>
	<plainShadowPoint><worldx>0</worldx><worldy>-100+0.01</worldy><worldz>0</worldz></plainShadowPoint>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>

<objMesh label="objmesh_6_3">
	<file>stage2_road_2_r</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-40.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>$5</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>32</flag>
</objMesh>





<create l="bg_action_6_4_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_6_4_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_6_4_obj">
	<objMeshRef l="objmesh_6_4"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p><p>$4</p></objMeshRef>
	<setMeshTexture><file type="dds">streets16</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">streets16n</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshTexture><file type="dds">water</file><num>0</num><stage>2</stage></setMeshTexture>
	<setMeshDrawState><num>5</num><worldz>0</worldz></setMeshDrawState>
	<plainShadowPoint><worldx>0</worldx><worldy>-100+0.01</worldy><worldz>0</worldz></plainShadowPoint>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>

<objMesh label="objmesh_6_4">
	<file>stage2_road_2_2_r</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-40.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>$5</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>32</flag>
</objMesh>



<create l="bg_action_6_5_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_6_5_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_6_5_obj">
	<objMeshRef l="objmesh_6_5"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p><p>$4</p></objMeshRef>
	<setMeshTexture><file type="dds">industrial11</file><num>0</num><stage>0</stage></setMeshTexture>
	<setMeshTexture><file type="dds">industrial11n</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshTexture><file type="dds">water</file><num>0</num><stage>2</stage></setMeshTexture>
	<setMeshDrawState><num>5</num><worldz>0</worldz></setMeshDrawState>
	<plainShadowPoint><worldx>0</worldx><worldy>-100+0.01</worldy><worldz>0</worldz></plainShadowPoint>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>

<objMesh label="objmesh_6_5">
	<file>stage2_tunnel</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-40.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>$5</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>0</flag>
</objMesh>


<create l="bg_action_6_6_create">
	<dir type="abs">0</dir><speed type="abs">0</speed><cx>400</cx><cy>300</cy>
	<objectRef l="bg_action_6_6_obj"><p>$1</p><p>$2</p><p>$3</p><p>$4</p></objectRef>
</create>

<object l="bg_action_6_6_obj">
	<objMeshRef l="objmesh_6_6"><p>$1</p><p>$2</p><p>$3</p><p>-0.5</p><p>$4</p></objMeshRef>
	<setMeshTexture><file type="dds">stage2bg_wall_4</file><num>0</num><stage>1</stage></setMeshTexture>
	<setMeshDrawState><num>3</num><worldz>0</worldz></setMeshDrawState>
	<definedAction type="synctomesh"></definedAction>
	<setZ><z>0.95</z></setZ>
</object>

<objMesh label="objmesh_6_6">
	<file>stage2_wall_4</file>
	<worldx>$1</worldx><worldy>$2</worldy><worldz>$3</worldz>
	<worldvx>0.0</worldvx><worldvy>0.0</worldvy><worldvz>$4</worldvz>
	<worldminx>-200.0</worldminx><worldminy>-200.0</worldminy><worldminz>-1000.0</worldminz>
	<worldmaxx>200.0</worldmaxx><worldmaxy>200.0</worldmaxy><worldmaxz>1200.0</worldmaxz>
	<rotatex>0</rotatex><rotatey>$5</rotatey><rotatez>0</rotatez>
	<rotatevx>0</rotatevx><rotatevy>0</rotatevy><rotatevz>0</rotatevz>
	<flag>0</flag>
</objMesh>




<!-- ***** 뚹 ***** -->
<a l="bg_action_ray">
	<createRef l="bg_action_ray_create"><p>800-120</p><p>-30</p></createRef>
	<createRef l="bg_action_ray_create"><p>800-120</p><p>0</p></createRef>
	<createRef l="bg_action_ray_create"><p>800-140</p><p>120</p></createRef>
	<createRef l="bg_action_ray_create"><p>800-130</p><p>300</p></createRef>
	<createRef l="bg_action_ray_create"><p>800-130</p><p>500</p></createRef>


</a>

<create l="bg_action_ray_create">
	<dir type="abs">-90-65</dir><speed type="abs">0</speed><cx>$1</cx><cy>$2</cy>
	<objectRef l="bg_action_ray_obj"></objectRef>
</create>


<object l="bg_action_ray_obj">
	<img type="add">
		<file type="dds">stage2bg_ray</file>
		<left>0</left><top>0</top><right>128</right><bottom>128</bottom>
		<width>200</width><height>256</height>
		<alpha>255</alpha><red>255</red><green>255</green><blue>200</blue>
	</img>
	<setDrawLevel><num>0</num></setDrawLevel>
	<imgDirection type="sync">0</imgDirection>
	<rep><ts>-1</ts>
		<eval n="mywait">$_rand*120+120</eval>
		<changeColor>
			<alpha>128</alpha><red>255</red><green>255</green><blue>255</blue><term>$mywait</term>
		</changeColor>
		<w>$mywait</w>
		<changeColor>
			<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>$mywait</term>
		</changeColor>
		<w>$mywait</w>
		
	</rep>
</object>


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

<action l="bg_stop_wait_check_action">
	<rep><ts>$1/5</ts>
		<wait>5</wait>
		<rep><ts>$__bg_stop_flag-eq1</ts><exit></exit></rep>
	</rep>
</action>


<action label="stagestart_blackbg_create_action">
	<create>
		<direction type="absolute">0</direction>
		<speed type="absolute">0</speed>
		<cx>400</cx><cy>300</cy>
		<object label="stagestart_blackbg_object">
			<revengeRef label="stagestart_blackbg_revenge"></revengeRef>
			<img type="normal">
				<file type="dds">rectwhite</file>
				<left>0</left><top>0</top><right>32</right><bottom>32</bottom>
				<width>500</width><height>600</height>
				<alpha>255</alpha><red>0</red><green>0</green><blue>0</blue>
			</img>
			<setDrawLevel><num>24</num></setDrawLevel>
		</object>
	</create>
</action>

<revenge label="stagestart_blackbg_revenge">
	<wait>2</wait>
	<changeColor>
		<alpha>0</alpha><red>0</red><green>0</green><blue>0</blue><term>120</term>			
	</changeColor>
	<wait>120</wait>
	<vanish></vanish>
</revenge>

</exbulletml>
