<?xml version="1.0" encoding="shift-jis"?>
<exbulletml>
<!-- *****ルート判定・双子判定 ******** -->
<action label="twins_judge_stage7">
	<!-- 6Bなら1 6Cなら2 -->
	<sysvar name="_arg0">49</sysvar><eval name="f49">$_gameflag</eval>			

	<!-- 6Bなら -->
	<repeat><times>$f49-eq1</times>

		<repeat><times>($_twinstype-eq1)</times>
			<sysvar name="_arg0">44</sysvar><eval name="f44">$_gameflag</eval>			
			<global name="twins_set">$f44</global>
		</repeat>
		<repeat><times>($_twinstype-eq2)</times>
			<sysvar name="_arg0">41</sysvar><eval name="f41">$_gameflag</eval>			
			<global name="twins_set">$f41</global>
		</repeat>
		<repeat><times>($_twinstype-eq3)</times>
			<sysvar name="_arg0">37</sysvar><eval name="f37">$_gameflag</eval>			
			<global name="twins_set">$f37</global>
		</repeat>

	</repeat>

	<!-- 6Cなら -->
	<repeat><times>$f49-eq2</times>

		<repeat><times>($_twinstype-eq1)</times>
			<sysvar name="_arg0">45</sysvar><eval name="f45">$_gameflag</eval>			
			<global name="twins_set">$f45</global>
		</repeat>
		<repeat><times>($_twinstype-eq2)</times>
			<sysvar name="_arg0">38</sysvar><eval name="f38">$_gameflag</eval>			
			<global name="twins_set">$f38</global>
		</repeat>
		<repeat><times>($_twinstype-eq3)</times>
			<global name="twins_set">1</global>
		</repeat>

	</repeat>
</action>



<!-- *****************仮演出*********************************************** -->
<action label="stage7_x_text_action">

	<setLock><num>1</num></setLock>
	<create>
		<speed>0</speed><direction type="absolute">0</direction><cx>320</cx><cy>240</cy>
		<object>
			<actionRef label="stage7_x_text_object_action"></actionRef>
		</object>
	</create>
	<waitLock><num>1</num></waitLock>
		
</action>

<action label="stage7_x_text_object_action">
	<actionRef label="stage7_title_action"></actionRef>
	<wait>60*6</wait>
	<wait>30</wait>

	<actionRef label="fullsize_text_setup_action2"></actionRef>
	<wait>60</wait>
	<repeat><times>$__twins_set-eq2</times>
<setString><string>********01/27/2100 06:43:32******It was a miracle that the Drive Out could be**started within the crumbling virtual city.******However, that miracle came at a price.******A final ordeal... **       88 Seconds of Twilight...</string></setString>
	</repeat>
	<repeat><times>$__twins_set-eq1</times>
<setString><string>********01/27/2100 06:43:32******It was a miracle that the Drive Out could be**started within the crumbling virtual city.******However, that miracle came at a price.******A final ordeal... **       88 Seconds of Twilight...</string></setString>
	</repeat>
	<repeat><times>$__twins_set-eq0</times>
		<repeat><times>1-($_twinstype-eq1)</times>	
<setString><string>********01/27/2100 06:43:32******It was a miracle that the Drive Out could be**started within the crumbling virtual city.******However, that miracle came at a price.******A final ordeal... **       88 Seconds of Twilight...</string></setString>
		</repeat>
		<repeat><times>$_twinstype-eq1</times>	
<setString><string>********01/27/2100 06:43:32******It was a miracle that the Drive Out could be**started within the crumbling virtual city.******However, that miracle came at a price.******A final ordeal... **       88 Seconds of Twilight...</string></setString>
		</repeat>
	</repeat>


	<wait>60*5</wait>
	<wait>60-30</wait>
	<actionRef label="fullsize_text_finish_action2"></actionRef>


<!--	<wait>60*13-30</wait> -->
</action>


<!-- *****************仮選択肢*********************************************** -->

<action label="stage_boss_comm_text_action_x">
	<system><command>playermovedisable</command></system>
	<repeat><times>$_practice_mode-eq0</times>

		<actionRef label="twins_judge_stage7"></actionRef>

		<repeat><times>($_twinstype-eq1)</times>
			<repeat><times>$__twins_set-eq0</times>
				<!-- プレイヤー固定 -->
				<sysvar name="_player_type">1</sysvar>
				<system><command>playerswitchdisable</command></system>
				<actionRef label="switch_disable_img_action"><param>1</param></actionRef>
			</repeat>
			<repeat><times>$__twins_set-eq1</times>
				<!-- プレイヤー固定 -->
				<sysvar name="_player_type">0</sysvar>
				<system><command>playerswitchdisable</command></system>
				<actionRef label="switch_disable_img_action"><param>0</param></actionRef>
			</repeat>
		</repeat>

		<repeat><times>$_twinstype-eq2</times>
			<repeat><times>$__twins_set-eq0</times>
				<!-- プレイヤー固定 -->
				<sysvar name="_player_type">0</sysvar>
				<system><command>playerswitchdisable</command></system>
				<actionRef label="switch_disable_img_action"><param>0</param></actionRef>
			</repeat>
			<repeat><times>($__twins_set-eq1)+($__twins_set-eq3)</times>
				<!-- プレイヤー固定 -->
				<sysvar name="_player_type">1</sysvar>
				<system><command>playerswitchdisable</command></system>
				<actionRef label="switch_disable_img_action"><param>1</param></actionRef>
			</repeat>
		</repeat>
		<repeat><times>($_twinstype-eq3)</times>
			<repeat><times>$__twins_set-eq0</times>
				<!-- プレイヤー固定 -->
				<sysvar name="_player_type">1</sysvar>
				<system><command>playerswitchdisable</command></system>
				<actionRef label="switch_disable_img_action"><param>1</param></actionRef>
			</repeat>
			<repeat><times>$__twins_set-eq1</times>
				<!-- プレイヤー固定 -->
				<sysvar name="_player_type">0</sysvar>
				<system><command>playerswitchdisable</command></system>
				<actionRef label="switch_disable_img_action"><param>0</param></actionRef>
			</repeat>
		</repeat>

	</repeat>
	<repeat><times>1-($_practice_mode-eq0)</times>
		<setLock><num>2</num></setLock>
		<actionRef label="stage_comm_text_select_x_create_action3"></actionRef>
		<waitLock><num>2</num></waitLock>
		<wait>20</wait>
		<wait>30</wait>
	</repeat>
</action>

<action label="stage_comm_text_select_x_create_action3">
	<repeat><times>$_twinstype-eq1</times>
		<create>
			<speed>0</speed>
			<direction type="absolute">0</direction>
			<cx>320</cx><cy>160</cy>
			<object label="selectbox_object">
				<actionRef label="stage_comm_text_select1_setup_action"><param>2</param></actionRef>
<setString><string>Stage 7****Sakura escapes by herself.****Shinya escapes by himself.</string></setString>
			</object>
		</create>
		<actionRef label="stage_comm_text_selectable_create_action1"><param>2</param></actionRef>
	</repeat>
	<repeat><times>$_twinstype-eq2</times>
		<create>
			<speed>0</speed>
			<direction type="absolute">0</direction>
			<cx>320</cx><cy>160</cy>
			<object label="selectbox_object">
				<actionRef label="stage_comm_text_select1_setup_action"><param>3</param></actionRef>
<setString><string>Stage 7****Mayuu escapes by herself.****Yuuri escapes by herself.****Both escape together.</string></setString>
			</object>
		</create>
		<actionRef label="stage_comm_text_selectable_create_action2"><param>3</param></actionRef>
	</repeat>
	<repeat><times>$_twinstype-eq3</times>
		<create>
			<speed>0</speed>
			<direction type="absolute">0</direction>
			<cx>320</cx><cy>160</cy>
			<object label="selectbox_object">
				<actionRef label="stage_comm_text_select1_setup_action"><param>2</param></actionRef>
<setString><string>Stage 7****Maiha escapes by herself.****Tsubasa escapes by herself.</string></setString>
			</object>
		</create>
		<actionRef label="stage_comm_text_selectable_create_action3"><param>2</param></actionRef>
	</repeat>
</action>

<!-- ***** 各選択肢ごとのアクション ******************************************** -->
<decided    label="stage_comm_select_1_selectable_1_decided">

	<!-- プレイヤー固定 -->
	<sysvar name="_player_type">0</sysvar>
	<system><command>playerswitchdisable</command></system>
	<actionRef label="switch_disable_img_action"><param>0</param></actionRef>


	<global name="twins_set">1</global>

	<targetRevenge label="selectbox_object"></targetRevenge>	
	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>
<decided    label="stage_comm_select_1_selectable_2_decided">

	<!-- プレイヤー固定 -->
	<sysvar name="_player_type">1</sysvar>
	<system><command>playerswitchdisable</command></system>
	<actionRef label="switch_disable_img_action"><param>1</param></actionRef>

	<global name="twins_set">0</global>

	<targetRevenge label="selectbox_object"></targetRevenge>
	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>

<!-- 西條 -->
<decided    label="stage_comm_select_2_selectable_1_decided">

	<!-- プレイヤー固定 -->
	<sysvar name="_player_type">0</sysvar>
	<system><command>playerswitchdisable</command></system>
	<actionRef label="switch_disable_img_action"><param>0</param></actionRef>


	<global name="twins_set">0</global>

	<targetRevenge label="selectbox_object"></targetRevenge>	
	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>
<decided    label="stage_comm_select_2_selectable_2_decided">

	<!-- プレイヤー固定 -->
	<sysvar name="_player_type">1</sysvar>
	<system><command>playerswitchdisable</command></system>
	<actionRef label="switch_disable_img_action"><param>1</param></actionRef>

	<global name="twins_set">1</global>

	<targetRevenge label="selectbox_object"></targetRevenge>
	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>
<decided    label="stage_comm_select_2_selectable_3_decided">

	<global name="twins_set">2</global>
	<targetRevenge label="selectbox_object"></targetRevenge>
	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>

<!-- ホシミ -->
<decided    label="stage_comm_select_3_selectable_1_decided">

	<!-- プレイヤー固定 -->
	<sysvar name="_player_type">0</sysvar>
	<system><command>playerswitchdisable</command></system>
	<actionRef label="switch_disable_img_action"><param>0</param></actionRef>


	<global name="twins_set">1</global>

	<targetRevenge label="selectbox_object"></targetRevenge>	
	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>
<decided    label="stage_comm_select_3_selectable_2_decided">

	<!-- プレイヤー固定 -->
	<sysvar name="_player_type">1</sysvar>
	<system><command>playerswitchdisable</command></system>
	<actionRef label="switch_disable_img_action"><param>1</param></actionRef>

	<global name="twins_set">0</global>

	<targetRevenge label="selectbox_object"></targetRevenge>
	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>



</exbulletml>
