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

<action label="stage_start_text_action">

	<system><command>playermovedisable</command></system>
	<!-- プラクティスモードの場合は会話シーン無し -->
	<repeat><times>$_practice_mode-eq0</times>
		<create>
			<speed>0</speed><direction type="absolute">0</direction><cx>320</cx><cy>240</cy>
			<object>
				<actionRef label="stage_start_text_object_action"></actionRef>
			</object>
		</create>
	</repeat>
</action>


<action label="stage_start_text_object_action">
	<repeat><times>$_practice_mode-eq0</times>
		<sound type="bgm" label="bgm">
			<track><file type="ogg">26_talkscene1</file></track>
			<play><flag>1</flag><loop>44100*2*2*3</loop></play>
		</sound>	
	</repeat>
</action>


<!-- ********************************************************************* -->
<action label="stage_comm_text_action">
	<!-- プラクティスモードの場合は会話シーン無し -->
	<repeat><times>$_practice_mode-eq0</times>
		<actionRef label="stage_comm_text_main_action"></actionRef>
	</repeat>
</action>


<action label="stage_comm_text_main_action">
	<system><command>playermovedisable</command></system>
	<setLock><num>1</num></setLock>


	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>320</cx><cy>430</cy>
		<object>
			<actionRef label="stage_comm_text_setup_action"></actionRef>


			<global name="global_character_kaiwa">0</global>
			
<setString><string>01/27/2100 21:38</string></setString>
			<actionRef label="text_wait_action"></actionRef>
													
			<!-- キャラクター作成 -->
			<createRef label="stage_comm_character_1_create"><param>440</param><param>3</param></createRef>
			<!-- キャラクター作成 -->
			<createRef label="stage_comm_character_2_create"><param>540</param><param>2</param></createRef>
			<!-- キャラクター作成 -->
			<createRef label="stage_comm_character_4_create"><param>160</param><param>0</param></createRef>

			<global name="global_character_kaiwa">400</global>
<setString><string>It looks like you both were able to Drive In**without incident.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">103</global>
<setString><string>Yes, there weren't any problems.</string></setString>
			<actionRef label="text_wait_action"></actionRef>
			
			<global name="global_character_kaiwa">201</global>
<setString><string>By the way, what should we do now?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">400</global>
<setString><string>You're in Phantasy City right now. Because of**the wall around Genesis City, we can't send**you straight in. </string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">202</global>
<setString><string>Understood.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">400</global>
<setString><string>However, there are people hurt due to Drive**Out systems malfunctioning. Please do**whatever you can to help them.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">102</global>
<setString><string>I understand.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">201</global>
<setString><string>Hmmmm...?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">101</global>
<setString><string>Is something the matter, Maiha?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">207</global>
<setString><string>Huh? Oh, it's nothing.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">400</global>
<setString><string>Maiha, the number of worms and viruses is**continuing to increase. Don't be careless.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">202</global>
<setString><string>Yeeees.</string></setString>
			<actionRef label="text_wait_action"></actionRef>
			
<!--			<actionRef label="stage_comm_text_finish_action"></actionRef> -->
			<actionRef label="stage_comm_text_finish_action_playerlimit"></actionRef>
		</object>
	</create>
	
	<waitLock><num>1</num></waitLock>
</action>


<!-- ********************************************************************* -->
<action label="stage_boss_comm_text_action">
	<!-- プラクティスモードの場合は会話シーン無し -->
	<repeat><times>$_practice_mode-eq0</times>
		<actionRef label="stage_boss_comm_text_main_action"></actionRef>		
	</repeat>

	<!-- プラクティスの場合、ボスの出現だけここで行う -->
	<repeat><times>1-($_practice_mode-eq0)</times>
		<!-- ボス出現の画像のみ -->
		<actionRef label="stage2A_boss_appear"></actionRef>
		<!-- 少し待ってからじゃないと場所が正しくならない -->
		<wait>60</wait>
		<!-- 背景停止 -->
		<actionRef label="bg_stop_action"></actionRef>
		<system><command>playermovedisable</command></system>
		<setLock><num>2</num></setLock>
		<actionRef label="stage_comm_text_select3_create_action1"></actionRef>
		<waitLock><num>2</num></waitLock>
		<wait>20</wait>
		<system><command>playermoveenable</command></system>
		<wait>30</wait>
	</repeat>
	
</action>


<action label="stage_boss_comm_text_main_action">
	<system><command>playermovedisable</command></system>
	<setLock><num>1</num></setLock>
	<wait>30</wait>
	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>320</cx><cy>430</cy>
		<object>
			<actionRef label="stage_comm_text_setup_action"></actionRef>
			<!-- キャラクター作成 -->
			<createRef label="stage_comm_character_1_create"><param>440</param><param>3</param></createRef>
			<createRef label="stage_comm_character_2_create"><param>540</param><param>2</param></createRef>
			
			<global name="global_character_kaiwa">202</global>
<setString><string>Science has developed so far that it's**practically like magic. We've changed a lot**since the twentieth century.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">101</global>
<setString><string>Why are you suddenly bringing that up?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">207</global>
<setString><string>Doesn't it make you think?**It's an astounding thing to be able to**separate someone's soul and then bring it**into a virtual world.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">106</global>
<setString><string>You mean that they discovered the body and**soul can be split...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">202</global>
<setString><string>No, not that.</string></setString>
			<actionRef label="text_wait_action"></actionRef>
						
			<global name="global_character_kaiwa">107</global>
<setString><string>Huh?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">202</global>
<setString><string>The body commands the real world, and the**soul rules the virtual world of Ill-net. The**real world was made by God, so what does that**make humans who created Ill-net?</string></setString>
			<actionRef label="text_wait_action"></actionRef>
<setString><string>Has human science finally approached the**realm of God?</string></setString>
			<actionRef label="text_wait_action"></actionRef>
						
			<global name="global_character_kaiwa">100</global>
<setString><string>God...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">206</global>
<setString><string>Yeah. Whoever made this world is basically**like God. So how about that? What do you**think about the person who made Ill-net?</string></setString>
			<actionRef label="text_wait_action"></actionRef>
						
			<global name="global_character_kaiwa">103</global>
<setString><string>Um, wasn't it someone named Kouduki?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">202</global>
<setString><string>Yeah, yeah. Kouduki.**Because of our nanomachine body, we're able**to explore and interact with Ill-net a lot**more efficiently than normal people...</string></setString>
			<actionRef label="text_wait_action"></actionRef>
<setString><string>Inside of Ill-net, it's almost like we can**use magic that nobody else can.</string></setString>
			<actionRef label="text_wait_action"></actionRef>
														
			<global name="global_character_kaiwa">102</global>
<setString><string>It's not like you to say things like that.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">202</global>
<setString><string>I'm just grateful that Ill-net exists.**If it didn't, I wouldn't be able to talk to**you like this...</string></setString>
			<actionRef label="text_wait_action"></actionRef>
			
			<global name="global_character_kaiwa">105</global>
<setString><string>Maiha...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

	<!-- ボス出現の画像のみ -->
	<actionRef label="stage2A_boss_appear"></actionRef>
	<!-- 少し待ってからじゃないと場所が正しくならない -->
	<wait>60</wait>


			<createRef label="stage_comm_character_3_create"><param>160</param><param>3</param></createRef>

			<global name="global_character_kaiwa">303</global>
<setString><string>Stop right there, you two.</string></setString>
			<actionRef label="text_wait_action"></actionRef>
			
			<global name="global_character_kaiwa">207</global>
<setString><string>Huh? Us?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

	<!-- 背景停止 -->
	<actionRef label="bg_stop_action"></actionRef>
	
			<global name="global_character_kaiwa">100</global>
<setString><string>Yeah, looks like it. It's a security guard**AH.</string></setString>
			<actionRef label="text_wait_action"></actionRef>
						
			<global name="global_character_kaiwa">202</global>
<setString><string>Still guarding even though Ill-net's like**this...</string></setString>
			<actionRef label="text_wait_action"></actionRef>
						
			<global name="global_character_kaiwa">302</global>
<setString><string>Present your ID. **The area ahead is off-limits right now.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">106</global>
<setString><string>We can't give you our ID.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">303</global>
<setString><string>What are you talking about?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">202</global>
<setString><string>We're not allowed to give our ID to an AH**that has been infected by a virus and taken**over.</string></setString>
			<actionRef label="text_wait_action"></actionRef>
			
			<global name="global_character_kaiwa">303</global>
<setString><string>...</string></setString>
			<actionRef label="text_wait_action"></actionRef>
			
			<global name="global_character_kaiwa">106</global>
<setString><string>You can't fool us. We scanned your program**instantly.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">300</global>
<setString><string>You two are identified as intruders.**You will be deleted.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">104</global>
<setString><string>Maiha, there are worms coming too.</string></setString>
			<actionRef label="text_wait_action"></actionRef>
			
			<setLock><num>2</num></setLock>
			<actionRef label="stage_comm_text_select1_create_action1"></actionRef>
			<waitLock><num>2</num></waitLock>

			<repeat><times>$__global_kaiwa_answer-eq0</times>
				<global name="global_character_kaiwa">200</global>
<setString><string>Tsubasa, you handle the worms!</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">107</global>
<setString><string>Ah, yeah. Got it.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">200</global>
<setString><string>Thanks. Okay, I'll handle you.</string></setString>
				<actionRef label="text_wait_action"></actionRef>
			</repeat>
			
			<repeat><times>$__global_kaiwa_answer-eq1</times>
				<global name="global_character_kaiwa">200</global>
<setString><string>Tsubasa, can you take care of her?</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">107</global>
<setString><string>Huh? Ah, yeah.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">200</global>
<setString><string>Okay, leave the worms to me!</string></setString>
				<actionRef label="text_wait_action"></actionRef>
			</repeat>
			
			<changeTargetVolume label="bgm">
				<num>-10000</num><term>30</term>
			</changeTargetVolume>
			<wait>30</wait>
			<targetVanish label="bgm"></targetVanish>

			<actionRef label="stage_comm_text_finish_action"></actionRef>
		</object>
	</create>
	
	<waitLock><num>1</num></waitLock>
</action>


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

<action label="stage_end_comm_text_action">
	<repeat><times>$_practice_mode-eq0</times>
		<actionRef label="stage_end_comm_text_main_action"></actionRef>		
	</repeat>
	<repeat><times>1-($_practice_mode-eq0)</times>
		<system><command>playerswitchenable</command></system>
		<targetRevenge label="switch_disable_img"></targetRevenge>	
	</repeat>

</action>


<action label="stage_end_comm_text_main_action">
	<system><command>playermovedisable</command></system>
	<system><command>playerswitchenable</command></system>
	<targetRevenge label="switch_disable_img"></targetRevenge>	

	<setLock><num>1</num></setLock>
<!--
	<changeTargetVolume label="bgm">
		<num>-10000</num><term>30</term>
	</changeTargetVolume>
	<wait>30</wait>
	
	<targetVanish label="bgm"></targetVanish>
	<sound type="bgm" label="bgm">
		<track><file type="ogg">26_talkscene1</file></track>
		<play><flag>1</flag><loop>44100*2*2*3</loop></play>
	</sound>	
-->
	
	<!-- *** フラグ M5 *** -->
	<repeat><times>($_twinsrate-gt20)*($_twinsrate-lt80)</times>
		<setGameFlag>
			<num>5</num><flag>1</flag>
		</setGameFlag>		
	</repeat>
	<repeat><times>1-($_twinsrate-gt20)*($_twinsrate-lt80)</times>
		<setGameFlag>
			<num>5</num><flag>0</flag>
		</setGameFlag>		
	</repeat>
		
	<!-- *** フラグ M6 *** -->
	<repeat><times>($_prate-lt500000)</times>
		<setGameFlag>
			<num>6</num><flag>1</flag>
		</setGameFlag>		
	</repeat>
	<repeat><times>1-($_prate-lt500000)</times>
		<setGameFlag>
			<num>6</num><flag>0</flag>
		</setGameFlag>		
	</repeat>

	<!-- *** フラグ M7 *** -->
	<repeat><times>$_twinsrate-lt50</times>
		<setGameFlag>
			<num>7</num><flag>0</flag>
		</setGameFlag>
	</repeat>
	<repeat><times>1-($_twinsrate-lt50)</times>
		<setGameFlag>
			<num>7</num><flag>1</flag>
		</setGameFlag>
	</repeat>

	<!-- *** フラグ M8 *** -->
	<setGameFlag>
		<num>8</num><flag>0</flag>
	</setGameFlag>	

	<create>
		<speed>0</speed>
		<direction type="absolute">0</direction>
		<cx>320</cx><cy>430</cy>
		<object>
			<actionRef label="stage_comm_text_setup_action"></actionRef>
			<!-- キャラクター作成 -->
			<createRef label="stage_comm_character_1_create"><param>440</param><param>4</param></createRef>
			<createRef label="stage_comm_character_2_create"><param>540</param><param>0</param></createRef>

			<sysvar name="_arg0">6</sysvar>
			<eval name="localflag1">$_gameflag</eval>			
			<sysvar name="_arg0">7</sysvar>
			<eval name="localflag2">$_gameflag</eval>			
	
			<repeat><times>$localflag1-eq0</times>
				<createRef label="stage_comm_character_3_create"><param>160</param><param>1</param></createRef>
				<global name="global_character_kaiwa">301</global>
<setString><string>.........</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">104</global>
<setString><string>An AH turning her gun on humans...</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">200</global>
<setString><string>This is a really bad virus.</string></setString>
				<actionRef label="text_wait_action"></actionRef>
			
				<global name="global_character_kaiwa">101</global>
<setString><string>But it's programmed into the core of AHs to**not harm humans. Is it really so easy to just**rewrite that?</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">201</global>
<setString><string>Maybe... it's like when a human loses their**temper.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">105</global>
<setString><string>We should be careful from here on.</string></setString>
				<actionRef label="text_wait_action"></actionRef>
			</repeat>

			<repeat><times>(1-($localflag1-eq0))*($localflag2-eq0)</times>
				<createRef label="stage_comm_character_3_create"><param>160</param><param>1</param></createRef>
				<global name="global_character_kaiwa">301</global>
<setString><string>.........</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">200</global>
<setString><string>That was a little hard.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">104</global>
<setString><string>Yeah, I need to catch my breath.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">204</global>
<setString><string>Ah, Tsubasa. Are you okay?</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">104</global>
<setString><string>Yeah, I'm okay. I'm just a little tired.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">204</global>
<setString><string>We don't usually work so hard inside Ill-net.**Are we putting too much of a load on your**body?</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">107</global>
<setString><string>Huh? Of course not...</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">204</global>
<setString><string>I knew it. Carrying my soul is hard on you**physically.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">103</global>
<setString><string>I'm okay, really.**I just didn't get much sleep, okay?**Are you ready to go?</string></setString>
				<actionRef label="text_wait_action"></actionRef>
				
				<global name="global_character_kaiwa">204</global>
<setString><string>...</string></setString>
				<actionRef label="text_wait_action"></actionRef>
			</repeat>

			<repeat><times>(1-($localflag1-eq0))*(1-($localflag2-eq0))</times>
				<createRef label="stage_comm_character_3_create"><param>160</param><param>4</param></createRef>
				<global name="global_character_kaiwa">304</global>
<setString><string>.........</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">104</global>
<setString><string>That guard was rough. I'm a little tired.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">200</global>
<setString><string>Yeah, it took a while.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">104</global>
<setString><string>I know, right? Are you okay, Maiha?**You look a little pale.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">202</global>
<setString><string>Huh? I'm fine.**I'm just a little tired.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">105</global>
<setString><string>Okay, but this is the first time we've really**worked hard in Ill-net. I'm a little worried.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">206</global>
<setString><string>Geez. You're such a worrywart.**I'm fine. I'll be right there with you.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">103</global>
<setString><string>Yeah. You're right.</string></setString>
				<actionRef label="text_wait_action"></actionRef>
			</repeat>

			<actionRef label="stage_stageend_comm_text_finish_action"></actionRef>
		</object>
	</create>
	
	<waitLock><num>1</num></waitLock>
</action>





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

<create label="stage_comm_text_textbox_text_create">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>320</cx><cy>352</cy>
	<child>1</child>
	<object>
		<imgString>
			<width>512</width><height>32</height>
		</imgString>
		<setDrawLevel><num>34</num></setDrawLevel>
		
		<setFontSize>
			<height>22</height>
		</setFontSize>
			
		<setStringWait>
			<term>0</term>
		</setStringWait>

		<eval name="localnum">-1</eval>
		<repeat><times>-1</times>
			<eval name="kaiwa_character_num">($__global_character_kaiwa/100)%10</eval>
			
			<repeat><times>1-($localnum-eq$kaiwa_character_num)</times>
				<eval name="localnum">$kaiwa_character_num</eval>
				<repeat><times>$kaiwa_character_num-eq0</times>
<setString><string>  </string></setString>
				</repeat>
				<repeat><times>$kaiwa_character_num-eq1</times>
<setString><string>Tsubasa</string></setString>
				</repeat>
				<repeat><times>$kaiwa_character_num-eq2</times>
<setString><string>Maiha</string></setString>
				</repeat>
				<repeat><times>$kaiwa_character_num-eq3</times>
<setString><string>Sherry</string></setString>
				</repeat>
				<repeat><times>$kaiwa_character_num-eq4</times>
<setString><string>Support Staff</string></setString>
				</repeat>
			</repeat>
			<wait>1</wait>
		</repeat>
	</object>
</create>


<!-- ********************************************************************* -->
<create label="stage_comm_character_1_create">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>280</cy>
	<child>1</child>
	<object>
		<repeat><times>$2-eq0</times>
			<imgRef label="stage_comm_character_1_img_1"></imgRef>
		</repeat>
		<repeat><times>$2-eq1</times>
			<imgRef label="stage_comm_character_1_img_2"></imgRef>
		</repeat>
		<repeat><times>$2-eq2</times>
			<imgRef label="stage_comm_character_1_img_3"></imgRef>
		</repeat>
		<repeat><times>$2-eq3</times>
			<imgRef label="stage_comm_character_1_img_4"></imgRef>
		</repeat>
		<repeat><times>$2-eq4</times>
			<imgRef label="stage_comm_character_1_img_5"></imgRef>
		</repeat>
		<repeat><times>$2-eq5</times>
			<imgRef label="stage_comm_character_1_img_6"></imgRef>
		</repeat>
		<repeat><times>$2-eq6</times>
			<imgRef label="stage_comm_character_1_img_7"></imgRef>
		</repeat>
		<repeat><times>$2-eq7</times>
			<imgRef label="stage_comm_character_1_img_8"></imgRef>
		</repeat>
		<repeat><times>$2-eq8</times>
			<imgRef label="stage_comm_character_1_img_9"></imgRef>
		</repeat>
		<setDrawLevel><num>31</num></setDrawLevel>
		<eval name="my_character1">100+$2</eval>

		<repeat><times>1-($my_character1-eq$__global_character_kaiwa)</times>
			<repeat><times>($__global_character_kaiwa-lt100)+($__global_character_kaiwa-gt199)</times>
				<changeColor>
					<alpha>255</alpha><red>128</red><green>128</green><blue>128</blue><term>1</term>
				</changeColor>
				<setDrawLevel><num>30</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
		</repeat>

		<repeat><times>-1</times>
		   <repeat><times>1-($my_character1-eq$__global_character_kaiwa)</times>
			<repeat><times>($__global_character_kaiwa-lt100)+($__global_character_kaiwa-gt199)</times>
				<changeColor>
					<alpha>255</alpha><red>128</red><green>128</green><blue>128</blue><term>5</term>
				</changeColor>
				<setDrawLevel><num>30</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
				<wait>4</wait>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq100</times>
				<imgRef label="stage_comm_character_1_img_1"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq101</times>
				<imgRef label="stage_comm_character_1_img_2"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq102</times>
				<imgRef label="stage_comm_character_1_img_3"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq103</times>
				<imgRef label="stage_comm_character_1_img_4"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq104</times>
				<imgRef label="stage_comm_character_1_img_5"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq105</times>
				<imgRef label="stage_comm_character_1_img_6"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq106</times>
				<imgRef label="stage_comm_character_1_img_7"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq107</times>
				<imgRef label="stage_comm_character_1_img_8"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq108</times>
				<imgRef label="stage_comm_character_1_img_9"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
		   </repeat>
		<wait>1</wait>
		</repeat>
	</object>
</create>


<img label="stage_comm_character_1_img_1" type="normal">
	<file type="dds">tubasa_angry</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>

<img label="stage_comm_character_1_img_2" type="normal">
	<file type="dds">tubasa_hatena</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>

<img label="stage_comm_character_1_img_3" type="normal">
	<file type="dds">tubasa_nikori</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_1_img_4" type="normal">
	<file type="dds">tubasa_normal</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_1_img_5" type="normal">
	<file type="dds">tubasa_pain</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_1_img_6" type="normal">
	<file type="dds">tubasa_sad</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_1_img_7" type="normal">
	<file type="dds">tubasa_serious</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_1_img_8" type="normal">
	<file type="dds">tubasa_surprise</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_1_img_9" type="normal">
	<file type="dds">tubasa_tear</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>

<!-- ********************************************************************* -->
<create label="stage_comm_character_2_create">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>280</cy>
	<child>1</child>
	<object>
		<repeat><times>$2-eq0</times>
			<imgRef label="stage_comm_character_2_img_1"></imgRef>
		</repeat>
		<repeat><times>$2-eq1</times>
			<imgRef label="stage_comm_character_2_img_2"></imgRef>
		</repeat>
		<repeat><times>$2-eq2</times>
			<imgRef label="stage_comm_character_2_img_3"></imgRef>
		</repeat>
		<repeat><times>$2-eq3</times>
			<imgRef label="stage_comm_character_2_img_4"></imgRef>
		</repeat>
		<repeat><times>$2-eq4</times>
			<imgRef label="stage_comm_character_2_img_5"></imgRef>
		</repeat>
		<repeat><times>$2-eq5</times>
			<imgRef label="stage_comm_character_2_img_6"></imgRef>
		</repeat>
		<repeat><times>$2-eq6</times>
			<imgRef label="stage_comm_character_2_img_7"></imgRef>
		</repeat>
		<repeat><times>$2-eq7</times>
			<imgRef label="stage_comm_character_2_img_8"></imgRef>
		</repeat>
		<setDrawLevel><num>31</num></setDrawLevel>
		<eval name="my_character1">200+$2</eval>

		<repeat><times>1-($my_character1-eq$__global_character_kaiwa)</times>
			<repeat><times>($__global_character_kaiwa-lt200)+($__global_character_kaiwa-gt299)</times>
				<changeColor>
					<alpha>255</alpha><red>128</red><green>128</green><blue>128</blue><term>1</term>
				</changeColor>
				<setDrawLevel><num>30</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
		</repeat>

		<repeat><times>-1</times>
		   <repeat><times>1-($my_character1-eq$__global_character_kaiwa)</times>
			<repeat><times>($__global_character_kaiwa-lt200)+($__global_character_kaiwa-gt299)</times>
				<changeColor>
					<alpha>255</alpha><red>128</red><green>128</green><blue>128</blue><term>5</term>
				</changeColor>
				<setDrawLevel><num>30</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
				<wait>4</wait>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq200</times>
				<imgRef label="stage_comm_character_2_img_1"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq201</times>
				<imgRef label="stage_comm_character_2_img_2"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq202</times>
				<imgRef label="stage_comm_character_2_img_3"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq203</times>
				<imgRef label="stage_comm_character_2_img_4"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq204</times>
				<imgRef label="stage_comm_character_2_img_5"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq205</times>
				<imgRef label="stage_comm_character_2_img_6"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq206</times>
				<imgRef label="stage_comm_character_2_img_7"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq207</times>
				<imgRef label="stage_comm_character_2_img_8"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
		   </repeat>
		<wait>1</wait>
		</repeat>
	</object>
</create>


<img label="stage_comm_character_2_img_1" type="normal">
	<file type="dds">maiha_angry</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>

<img label="stage_comm_character_2_img_2" type="normal">
	<file type="dds">maiha_hatena</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>

<img label="stage_comm_character_2_img_3" type="normal">
	<file type="dds">maiha_normal</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_2_img_4" type="normal">
	<file type="dds">maiha_pain</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_2_img_5" type="normal">
	<file type="dds">maiha_sad</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_2_img_6" type="normal">
	<file type="dds">maiha_serious</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_2_img_7" type="normal">
	<file type="dds">maiha_smile</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>
<img label="stage_comm_character_2_img_8" type="normal">
	<file type="dds">maiha_surprise</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>

<!-- ********************************************************************* -->
<create label="stage_comm_character_3_create">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>280</cy>
	<child>1</child>
	<object>
		<setDrawLevel><num>31</num></setDrawLevel>

		<repeat><times>$2-eq0</times>
			<imgRef label="stage_comm_character_3_img_1"></imgRef>
		</repeat>
		<repeat><times>$2-eq1</times>
			<imgRef label="stage_comm_character_3_img_2"></imgRef>
		</repeat>
		<repeat><times>$2-eq2</times>
			<imgRef label="stage_comm_character_3_img_3"></imgRef>
		</repeat>
		<repeat><times>$2-eq3</times>
			<imgRef label="stage_comm_character_3_img_4"></imgRef>
		</repeat>
		<repeat><times>$2-eq4</times>
			<imgRef label="stage_comm_character_3_img_5"></imgRef>
		</repeat>

		<eval name="my_character1">300+$2</eval>

		<repeat><times>1-($my_character1-eq$__global_character_kaiwa)</times>
			<repeat><times>($__global_character_kaiwa-lt300)+($__global_character_kaiwa-gt399)</times>
				<changeColor>
					<alpha>255</alpha><red>128</red><green>128</green><blue>128</blue><term>1</term>
				</changeColor>
				<setDrawLevel><num>30</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
		</repeat>

		<repeat><times>-1</times>
		   <repeat><times>1-($my_character1-eq$__global_character_kaiwa)</times>
			<repeat><times>1-($__global_character_kaiwa-gt299)*($__global_character_kaiwa-lt400)</times>
				<changeColor>
					<alpha>255</alpha><red>128</red><green>128</green><blue>128</blue><term>5</term>
				</changeColor>
				<setDrawLevel><num>30</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
				<wait>4</wait>
			</repeat>
			
			<repeat><times>$__global_character_kaiwa-eq300</times>
				<imgRef label="stage_comm_character_3_img_1"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq301</times>
				<imgRef label="stage_comm_character_3_img_2"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq302</times>
				<imgRef label="stage_comm_character_3_img_3"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq303</times>
				<imgRef label="stage_comm_character_3_img_4"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq304</times>
				<imgRef label="stage_comm_character_3_img_5"></imgRef>
				<setDrawLevel><num>31</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
		   </repeat>
		<wait>1</wait>
		</repeat>
	</object>
</create>
<img label="stage_comm_character_3_img_1" type="normal">
	<file type="dds">sherry_blank_a</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>3</flag>
</img>
<img label="stage_comm_character_3_img_2" type="normal">
	<file type="dds">sherry_break_a</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>3</flag>
</img>
<img label="stage_comm_character_3_img_3" type="normal">
	<file type="dds">sherry_normal_a</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>3</flag>
</img>
<img label="stage_comm_character_3_img_4" type="normal">
	<file type="dds">sherry_serious_a</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>3</flag>
</img>
<img label="stage_comm_character_3_img_5" type="normal">
	<file type="dds">sherry_sleep_a</file>
	<left>0</left><top>0</top><right>512</right><bottom>512</bottom>
	<width>400</width><height>400</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>3</flag>
</img>
<!-- ********************************************************************* -->
<create label="stage_comm_character_4_create">
	<speed>0</speed>
	<direction type="absolute">0</direction>
	<cx>$1</cx><cy>280</cy>
	<child>1</child>
	<object label="soundonly_img">
		<setDrawLevel><num>31</num></setDrawLevel>

		<imgRef label="stage_comm_character_4_img_1"></imgRef>
		<eval name="my_character1">400</eval>

		<repeat><times>1-($my_character1-eq$__global_character_kaiwa)</times>
			<repeat><times>($__global_character_kaiwa-lt400)+($__global_character_kaiwa-gt499)</times>
				<changeColor>
					<alpha>255</alpha><red>128</red><green>128</green><blue>128</blue><term>1</term>
				</changeColor>
				<setDrawLevel><num>30</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
			</repeat>
		</repeat>

		<repeat><times>-1</times>
		   <repeat><times>1-($my_character1-eq$__global_character_kaiwa)</times>
			<repeat><times>1-($__global_character_kaiwa-eq400)</times>
				<changeColor>
					<alpha>255</alpha><red>128</red><green>128</green><blue>128</blue><term>5</term>
				</changeColor>
				<setDrawLevel><num>30</num></setDrawLevel>
				<eval name="my_character1">$__global_character_kaiwa</eval>
				<wait>4</wait>
			</repeat>
			<repeat><times>$__global_character_kaiwa-eq400</times>
				<changeColor>
					<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>5</term>
				</changeColor>
				<eval name="my_character1">$__global_character_kaiwa</eval>
				<setDrawLevel><num>31</num></setDrawLevel>
				<wait>4</wait>
			</repeat>
		   </repeat>
		<wait>1</wait>
		</repeat>
	</object>
</create>

<img label="stage_comm_character_4_img_1" type="normal">
	<file type="dds">soundonly</file>
	<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
	<width>200</width><height>200</height>
	<alpha>255</alpha><red>255</red><green>255</green><blue>255</blue>
	<flag>1</flag>
</img>



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

<action label="stage_comm_text_select1_create_action1">
	<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>Guard ahead, worms behind...****Tsuabasa fights the guard****Tsubasa fights the worms</string></setString>
		</object>
	</create>
	<actionRef label="stage_comm_text_selectable_create_action1"><param>2</param></actionRef>
</action>

<!-- ***** 各選択肢ごとのアクション ******************************************** -->

<decided    label="stage_comm_select_1_selectable_1_decided">
	<!-- *** 回答をグローバル変数に保存 *** -->
	<global name="global_kaiwa_answer">1</global>

	<!-- *** フラグ M4 *** -->
	<setGameFlag>
		<num>4</num><flag>1</flag>
	</setGameFlag>	

	<!-- プレイヤー固定 -->
	<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">
	<!-- *** 回答をグローバル変数に保存 *** -->
	<global name="global_kaiwa_answer">0</global>

	<!-- *** フラグ M4 *** -->
	<setGameFlag>
		<num>4</num><flag>0</flag>
	</setGameFlag>	

	<!-- プレイヤー固定 -->
	<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_1_selectable_3_decided">
	<targetRevenge label="selectbox_object"></targetRevenge>
	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>


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

<action label="stage_comm_text_select3_create_action1">
	<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>Boss Battle****Tsubasa fights alone****Maiha fights alone</string></setString>
		</object>
	</create>
	<actionRef label="stage_comm_text_selectable_create_action3"><param>2</param></actionRef>
</action>

<!-- ***** 各選択肢ごとのアクション ******************************************** -->

<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>
<decided    label="stage_comm_select_3_selectable_3_decided">
	<targetRevenge label="selectbox_object"></targetRevenge>
	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>




</exbulletml>
