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

<!--|****************************************************************************************|-->
<!--| 梨々香 ： 100:常、 101:笑、 102:苦、103:怒、104:驚、105:汗、106:真、107:疑、108:魔、109:考 |-->
<!--| 瑠璃香 ： 200:常、 201:笑、 202:苦、203:怒、204:驚、205:汗、206:真、207:疑、208:魔、209:考 |-->
<!--| 舞　   ： 300:苦1、301:苦2、302:軽症1、303:軽症2、304:重症|-->

<action label="stage_start_text_action">

	<!--|プラクティスモードでなくても移動不可とする|-->
	<system><command>playermovedisable</command></system>

	<!--|プラクティスモードの場合は会話シーン無し|-->
	<rep><ts>$_practice_mode-eq0</ts>
		<setLock><num>1</num></setLock>
		<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>
		<waitLock><num>1</num></waitLock>
	</rep>
		
</action>


<action label="stage_start_text_object_action">

	<sound type="bgm" label="bgm">
		<track><file type="ogg">03_talkscene1</file></track>
		<play><flag>1</flag><loop>44100*2*2*1</loop></play>
	</sound>	


	<global name="global_kaiwa_answer">1</global>
	
	<rep><ts>$__global_kaiwa_answer</ts>
		<actionRef label="fullsize_text_setup_action"></actionRef>

		<textBlock l="100000"></textBlock>

<setString><string>****</string></setString>
<addString><string>**************</string></addString>
<addString><string>         The magical world of Esteras        **</string></addString>

		<actionRef label="text_wait_action"></actionRef>	
<addString><string>****</string></addString>
<addString><string>A world of miracles thanks to a magical ore.****</string></addString>

		<actionRef label="text_wait_action"></actionRef>	
<setString><string>****</string></setString>
<addString><string>************</string></addString>
<addString><string>Using Crystal as a medium, magic can exist.</string></addString>

		<actionRef label="text_wait_action"></actionRef>	
<addString><string>****</string></addString>
<addString><string>They allow the user to control magic when**they are wearing precious gems like rubies**and diamonds.</string></addString>

		<actionRef label="text_wait_action"></actionRef>	
<setString><string>****</string></setString>
<addString><string>************</string></addString>
<addString><string>But there are two requirements to use**Crystal.</string></addString>
<addString><string>****</string></addString>

		<actionRef label="text_wait_action"></actionRef>	
<addString><string>First, one of their ancestors must be an**elemental.</string></addString>
<addString><string>****</string></addString>
		<actionRef label="text_wait_action"></actionRef>	
<addString><string>And second, they must use the same color**gemstone as their hair.</string></addString>
		<actionRef label="text_wait_action"></actionRef>	

<setString><string>****</string></setString>
<addString><string>************</string></addString>
<addString><string>However, it has been 3,000 years since the**discovery of Crystal. Almost everybody shares**the blood of elementals now.</string></addString>
<addString><string></string></addString>
		<actionRef label="text_wait_action"></actionRef>	
<addString><string>****</string></addString>
<addString><string>Almost everybody can use magic.</string></addString>

		<actionRef label="text_wait_action"></actionRef>	
<setString><string>****</string></setString>
<addString><string>************</string></addString>
<addString><string>If you look down on a city, you will see**people with dazzling hair colors wearing**sparkling gems.</string></addString>

		<actionRef label="text_wait_action"></actionRef>	
<addString><string>****</string></addString>
<addString><string>Magical sigils are inscribed everywhere.</string></addString>
<addString><string>****</string></addString>
		<actionRef label="text_wait_action"></actionRef>	
<addString><string>The world is prospering thanks to Crystal and**all are proud of what they have accomplished**with it.</string></addString>

		<actionRef label="text_wait_action"></actionRef>	
<setString><string>****</string></setString>
<addString><string>************</string></addString>
<addString><string>But in recent years, the amount of Crystal**being mined has been decreasing. At the same**time, production of Black Crystal has become**a problem.</string></addString>
		<actionRef label="text_wait_action"></actionRef>	

<setString><string>****</string></setString>
<addString><string>************</string></addString>
<addString><string>Black Crystal must never be touched.</string></addString>
<addString><string>****</string></addString>
		<actionRef label="text_wait_action"></actionRef>	
<addString><string>Nobody can use Black Crystal and even**approaching it causes them to lose control of**their magic.</string></addString>
<addString><string>****</string></addString>

		<actionRef label="text_wait_action"></actionRef>	
<setString><string>****</string></setString>
<addString><string>************</string></addString>
<addString><string>Over the past few months, Black Crystal has**begun to be found all over the city.</string></addString>
<addString><string>****</string></addString>
		<actionRef label="text_wait_action"></actionRef>	
<addString><string>Magical equipment malfunctions in its**presence, so many have been injured because**of it.</string></addString>

		<actionRef label="text_wait_action"></actionRef>	
<setString><string>****</string></setString>
<addString><string>**************</string></addString>
<addString><string>In this world of peace of prosperity, a dimly**shining black light is becoming a shadow**encompassing everything it touches.</string></addString>
		<actionRef label="text_wait_action"></actionRef>	

		<textBlock l="0"></textBlock>
			
		<actionRef label="fullsize_text_finish_action_stageA"></actionRef>
	</rep>

</action>



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


<action label="stage_comm_text_main_action">
	<system><command>playermovedisable</command></system>
	<setLock><num>1</num></setLock>
	<sound type="bgm" label="bgm">
		<track><file type="ogg">12_talkscene2_loop</file></track>
		<play><flag>1</flag><loop>44100*2*2*7</loop></play>
	</sound>	

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

			<global name="global_character_kaiwa">0</global>
<setString><string>Crysta 3066, 13th Day of the Purple Moon,**06:22</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">0</global>
			<createRef label="stage_comm_character_2_create"><param>170</param><param>0</param></createRef>
			<createRef label="stage_comm_character_1_create"><param>470</param><param>0</param></createRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>Ruri, this looks like the right way, right?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">201</global>
<setString><string>Huh? Really?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">101</global>
<setString><string>Yeah, the stone's shining brightest this way.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Ah, it is. This is, um, kinda northeast,**right? Where's the map, Riri?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">109</global>
<setString><string>Huh? I thought you had it.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">105</global>
<setString><string>.........!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>???</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">105</global>
<setString><string>W-Well... We'll figure it out, right? Right?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">204</global>
<setString><string>Huh? What? What do you mean?**You don't have the map?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>I-It'll be okay.**See? We just need to follow whichever way the**stone's shining.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Yeah, but...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">109</global>
<setString><string>This Crystal was left to us by our parents.**It wouldn't take us anywhere bad.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>...Yeah.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<textBlock l="0"></textBlock>

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


<!--|*********************************************************************|-->
<action label="stage_boss_comm_text_action">

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

	<!--|プラクティスの場合、ボスの出現だけここで行う|-->
	<rep><ts>1-($_practice_mode-eq0)</ts>
		<system><command>playermovedisable</command></system>
		<actionRef label="bg_stop_action"></actionRef>
		<actionRef label="stage_main_boss_action"></actionRef>
		<wait>60</wait>
		<actionRef label="stage_comm_nontext_finish_action"/>
	</rep>
	
</action>


<action label="stage_boss_comm_text_main_action">
	<system><command>playermovedisable</command></system>
	<setLock><num>1</num></setLock>
	<wait>10</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>
			
			<global name="global_character_kaiwa">107</global>
			<createRef label="stage_comm_character_2_create"><param>170</param><param>7</param></createRef>
			<createRef label="stage_comm_character_1_create"><param>470</param><param>5</param></createRef>

			<textBlock l="120002"></textBlock>

			<global name="global_character_kaiwa">109</global>
<setString><string>It's getting weirdly foggy.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">205</global>
<setString><string>I knew we shouldn't have done this without a**map and compass. We're lost now, aren't we?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>No, that's not it.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">209</global>
<setString><string>It's not?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">106</global>
<setString><string>I sense magic in this fog.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">204</global>
<setString><string>Ah, you're right. But I don't feel any sign**of an attack coming.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">109</global>
<setString><string>It seems like the fog's just being spread.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Let me try a little scouting magic.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>Yeah, please.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">208</global>
<setString><string>Ars Ai Majal Zi Sercheino**...Oh light of shining gold, gather in mine**hand and come to my aid.</string></setString>
			<createRef l="talkscene_magic"><p>1</p><p>170</p></createRef>
			<sound type="se" label="se">
				<track><file type="ogg">blue_light</file></track>
				<play><flag>0</flag><loop>0</loop></play>
			</sound>	
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">109</global>
<setString><string>(We have the same Crystal and the same blood,**but she's much better at support magic than**me. Maybe it's our personalities.)</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<targetRevenge l="talkscene_magic_object"></targetRevenge>

			<global name="global_character_kaiwa">206</global>
<setString><string>!? Riri. There's someone nearby!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">106</global>
<setString><string>Huh!?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<targetRevenge l="stage_comm_character_object_2"></targetRevenge>
			<targetRevenge l="stage_comm_character_object_1"></targetRevenge>
<setString><string>　</string></setString>

			<!--|ボス登場|-->
			<actionRef label="stage_main_boss_action"></actionRef>
			<actionRef label="bg_stop_action"></actionRef>
			<wait>60</wait>


			<createRef label="stage_comm_character_3_create"><param>140</param><param>0</param></createRef>

			<global name="global_character_kaiwa">301</global>
<setString><string>Huff... huff...ah...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<createRef label="stage_comm_character_2_create"><param>410</param><param>4</param></createRef>
			<createRef label="stage_comm_character_1_create"><param>510</param><param>4</param></createRef>

			<global name="global_character_kaiwa">204</global>
<setString><string>Um! Excuse me. You're covered in sweat. Are**you okay?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">300</global>
<setString><string>Huh? People? **Don't! Stay away from me!!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">104</global>
<setString><string>Huh!?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">301</global>
<setString><string>I touched Black Crystal that had fallen next**to the road...**I lost control of my magic...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<textBlock l="0"></textBlock>

			<setLock><num>2</num></setLock>
			<actionRef label="stage_comm_text_select1_create_action1"></actionRef>
			<waitLock><num>2</num></waitLock>

			<rep><ts>$__global_kaiwa_answer-eq0</ts>

				<textBlock l="120020"></textBlock>

				<global name="global_character_kaiwa">200</global>
<setString><string>Let me cast a healing spell.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">103</global>
<setString><string>Ruri! You can't!</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">204</global>
<setString><string>Why not?</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">106</global>
<setString><string>If you cast healing magic on someone who's**lost control because of Black Crystal, you'll**get hurt really bad from their berserk magic!</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">205</global>
<setString><string>...Ah, that's right.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">106</global>
<setString><string>First we need to counteract her magic so that**she doesn't do any more harm to anything**around her.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">200</global>
<setString><string>Yeah, got it. I'll do my best.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

			</rep>

			<rep><ts>$__global_kaiwa_answer-eq1</ts>

				<textBlock l="120021"></textBlock>

				<global name="global_character_kaiwa">205</global>
<setString><string>C-Can we run away!?</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">105</global>
<setString><string>I wish we could too, but... that joke's in**really bad taste right now.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">205</global>
<setString><string>Ahaha...</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">106</global>
<setString><string>We need to counteract her magic so that she**doesn't do any more harm to anything around**her.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

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

			</rep>

			<rep><ts>$__global_kaiwa_answer-eq2</ts>
				<textBlock l="120022"></textBlock>

				<global name="global_character_kaiwa">200</global>
<setString><string>Can we counter her magic?</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">109</global>
<setString><string>I'm fine with fighting her, but it can be**hard to deal with berserk magic.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">200</global>
<setString><string>B-But I don't want to hurt her.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">109</global>
<setString><string>Geez, you're hopeless, Ruri. Okay, we'll go**with your plan, even if it could be a little**rough.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">201</global>
<setString><string>It'll be okay. You're here, Riri.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">106</global>
<setString><string>That's the spirit.**Well, I'm sure we'll manage.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">201</global>
<setString><string>Okay, let's go!</string></setString>
				<actionRef label="text_wait_action"></actionRef>

			</rep>

			<textBlock l="0"></textBlock>

			<actionRef label="stage_comm_text_finish_action"></actionRef>

		</object>
	</create>
	
	<waitLock><num>1</num></waitLock>
</action>


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

<action label="stage_end_comm_text_action">
	<rep><ts>$_practice_mode-eq0</ts>
		<actionRef label="stage_end_comm_text_main_action"></actionRef>		
	</rep>
</action>


<action label="stage_end_comm_text_main_action">
	<system><command>playermovedisable</command></system>
	<setLock><num>1</num></setLock>
	
	<!--|ボス後フラグ設定|-->

	<!--|フラグ M2|-->
	<rep><ts>($_twinsrate-lt80)*($_twinsrate-gt20)</ts>
		<setGameFlag><num>2</num><flag>1</flag></setGameFlag>
	</rep>
	<rep><ts>1-($_twinsrate-lt80)*($_twinsrate-gt20)</ts>
		<setGameFlag><num>2</num><flag>0</flag></setGameFlag>
	</rep>

	<!--|フラグ M3|-->
	<rep><ts>$_prate-lt500000</ts>
		<setGameFlag><num>3</num><flag>1</flag></setGameFlag>
	</rep>
	<rep><ts>1-($_prate-lt500000)</ts>
		<setGameFlag><num>3</num><flag>0</flag></setGameFlag>
	</rep>

	<!--|フラグ M4|-->
	<!--|0梨々香: 1:瑠璃香|-->
	<rep><ts>$_twinsrate-gt50</ts>
		<setGameFlag><num>4</num><flag>0</flag></setGameFlag>
	</rep>
	<rep><ts>1-($_twinsrate-gt50)</ts>
		<setGameFlag><num>4</num><flag>1</flag></setGameFlag>
	</rep>



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

			<sysvar name="_arg0">2</sysvar><eval name="f2">$_gameflag</eval>			
			<sysvar name="_arg0">3</sysvar><eval name="f3">$_gameflag</eval>			
			<sysvar name="_arg0">4</sysvar><eval name="f4">$_gameflag</eval>			

			<eval n="ringdiff1">0</eval><eval n="ringdiff2">0</eval><eval n="ringdiff3">0</eval>
			<rep><ts>$f2-eq0</ts><evaladd n="ringdiff1">-2</evaladd></rep>
			<rep><ts>$f3-eq0</ts><evaladd n="ringdiff2">-1</evaladd></rep>
			<repeat><times>$_prate-lt$__lowpratebonus</times><evaladd n="ringdiff3">1</evaladd></repeat>
			<eval n="tmpring">$_ring+$ringdiff1+$ringdiff2+$ringdiff3</eval>

			<rep><ts>$tmpring-gt1</ts><setGameFlag><num>5</num><flag>1</flag></setGameFlag></rep>
			<rep><ts>1-($tmpring-gt1)</ts><setGameFlag><num>5</num><flag>0</flag></setGameFlag></rep>
			<sysvar name="_arg0">5</sysvar><eval name="f5">$_gameflag</eval>			


			<rep><ts>1-($f5-eq0)</ts>

				<rep><ts>($f2-eq1)*($f3-eq1)</ts>
					<rep><ts>$f4-eq0</ts>
						<actionRef l="stage_end_comm_text_sub_action_1"></actionRef>
					</rep>
					<rep><ts>1-($f4-eq0)</ts>
						<actionRef l="stage_end_comm_text_sub_action_2"></actionRef>
					</rep>
				</rep>

				<rep><ts>1-($f2-eq1)*($f3-eq1)</ts>
					<rep><ts>$f4-eq0</ts>
						<setGameFlag><num>7</num><flag>1</flag></setGameFlag>	
						<actionRef l="stage_end_comm_text_sub_action_3"></actionRef>
					</rep>
					<rep><ts>1-($f4-eq0)</ts>
						<setGameFlag><num>7</num><flag>2</flag></setGameFlag>	
						<actionRef l="stage_end_comm_text_sub_action_4"></actionRef>
					</rep>
				</rep>

			</rep>
			<rep><ts>$f5-eq0</ts>
					<rep><ts>$f4-eq0</ts>
						<setGameFlag><num>7</num><flag>1</flag></setGameFlag>	
						<actionRef l="stage_end_comm_text_sub_action_3"></actionRef>
					</rep>
					<rep><ts>1-($f4-eq0)</ts>
						<setGameFlag><num>7</num><flag>2</flag></setGameFlag>	
						<actionRef l="stage_end_comm_text_sub_action_4"></actionRef>
					</rep>
			</rep>
	
			<actionRef label="stage_stageend_comm_text_finish_action"></actionRef>

		</object>
	</create>
	
	<waitLock><num>1</num></waitLock>
</action>


<action l="stage_end_comm_text_sub_action_1">
			<createRef label="stage_comm_character_2_create"><param>410</param><param>0</param></createRef>
			<createRef label="stage_comm_character_1_create"><param>510</param><param>0</param></createRef>
			<createRef label="stage_comm_character_3_create"><param>140</param><param>2</param></createRef>

			<textBlock l="120100"></textBlock>

			<global name="global_character_kaiwa">106</global>
<setString><string>Are you okay? Hang in there!</string></setString>
			<actionRef label="text_wait_action"></actionRef>
													
			<global name="global_character_kaiwa">302</global>
<setString><string>Oww... Yes, I think so...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">201</global>
<setString><string>You don't look very hurt. Thank goodness.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">302</global>
<setString><string>U-Um... Thank you...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>There's no need to thank us.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>That's right. You had it the worst.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">303</global>
<setString><string>N-No... I'm sorry...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>Those Black Crystal rocks are appearing all**over the city lately. Everybody's got to be**careful.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Riri, there's a crowd.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">109</global>
<setString><string>Okay, I'll go call an emergency team. We**can't really treat you properly.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>All right.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Um, can you walk?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">303</global>
<setString><string>Yes... but I don't know for...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>Get her shoulder, Ruri. I'll take this side.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Yeah, okay.**Come on, let's go.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">303</global>
<setString><string>Yes...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<textBlock l="0"></textBlock>

</action>

<action l="stage_end_comm_text_sub_action_2">
			<createRef label="stage_comm_character_2_create"><param>410</param><param>6</param></createRef>
			<createRef label="stage_comm_character_1_create"><param>510</param><param>6</param></createRef>
			<createRef label="stage_comm_character_3_create"><param>140</param><param>2</param></createRef>

			<textBlock l="120200"></textBlock>

			<global name="global_character_kaiwa">206</global>
<setString><string>U-Um... Uh... Are you okay?</string></setString>
			<actionRef label="text_wait_action"></actionRef>
													
			<global name="global_character_kaiwa">302</global>
<setString><string>Yes... I think my... runaway magic's...**subsiding...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">101</global>
<setString><string>You're still conscious too. Thank goodness.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">201</global>
<setString><string>Yeah, I'm glad.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>There's a crowd gathering. I'll explain what**happened.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Ah, I'll come with you.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>Ruri, you take care of her.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<targetRevenge label="stage_comm_character_object_1"/>

			<global name="global_character_kaiwa">209</global>
<setString><string>Ah, yeah, you're right.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">303</global>
<setString><string>U-Um... I'm sorry...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>We should be apologizing to you. I'm sorry we**attacked you to suppress your magic.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">302</global>
<setString><string>No... If you hadn't... I might not have**recovered...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">303</global>
<setString><string>And... I was the one who touched the Black**Crystal... It was my fault...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">206</global>
<setString><string>Black Crystal...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">303</global>
<setString><string>Um... Is something the matter...?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>...Ah, sorry. I was just remembering**something similar.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<createRef label="stage_comm_character_1_create"><param>510</param><param>0</param></createRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>Ruri, the emergency team is coming. Bring her**over here.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Yeah, okay.**Um, can you stand up?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">300</global>
<setString><string>I'm... okay...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>I'll help you. Let's go.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<textBlock l="0"></textBlock>

</action>

<action l="stage_end_comm_text_sub_action_3">
			<createRef label="stage_comm_character_2_create"><param>410</param><param>6</param></createRef>
			<createRef label="stage_comm_character_1_create"><param>510</param><param>6</param></createRef>
			<createRef label="stage_comm_character_3_create"><param>140</param><param>2</param></createRef>

			<textBlock l="120300"></textBlock>
													
			<global name="global_character_kaiwa">304</global>
<setString><string>Nnh...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">102</global>
<setString><string>U-Um... Hang in there!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">202</global>
<setString><string>U-Um...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">304</global>
<setString><string>Huff...ah...ah...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">106</global>
<setString><string>Ruri! Call an emergency team!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">204</global>
<setString><string>Ah, yeah! You're right!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<targetRevenge label="stage_comm_character_object_2"/>

			<global name="global_character_kaiwa">301</global>
<setString><string>Oww...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">103</global>
<setString><string>(What do I do? What do I do...?)</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">103</global>
<setString><string>(Neither of us can use any kind of high level**healing magic...)</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

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

<!--			<soundtrack><file type="ogg">blue_light</file></soundtrack>|-->

			<sound type="se" label="se">
				<track><file type="ogg">blue_light</file></track>
				<play><flag>0</flag><loop>0</loop></play>
			</sound>	
			<createRef label="blue_light_create"><param>510</param><param>300</param></createRef>
			<wait>30</wait>

			<global name="global_character_kaiwa">105</global>
<setString><string>Huh!? Our keepsake...!?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">105</global>
<setString><string>Its... shining...!?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<targetRevenge label="blue_light_object"/>

			<global name="global_character_kaiwa">301</global>
<setString><string>Where... am I...?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>Huh!? Ah! You're awake!?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">301</global>
<setString><string>Ah... Yes...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">101</global>
<setString><string>Thank goodness. I'll call an emergency team.**Just stay still.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">301</global>
<setString><string>U-Um... Thank you...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">109</global>
<setString><string>(What just happened...?**Our keepsake is blue. We shouldn't be able to**use it...)</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<textBlock l="0"></textBlock>

</action>

<action l="stage_end_comm_text_sub_action_4">
			<createRef label="stage_comm_character_2_create"><param>410</param><param>6</param></createRef>
			<createRef label="stage_comm_character_1_create"><param>510</param><param>6</param></createRef>
			<createRef label="stage_comm_character_3_create"><param>140</param><param>2</param></createRef>

			<textBlock l="120400"></textBlock>
													
			<global name="global_character_kaiwa">304</global>
<setString><string>Nnh...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">102</global>
<setString><string>U-Um... Hang in there!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">202</global>
<setString><string>U-Um...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">304</global>
<setString><string>Huff...ah...ah...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">106</global>
<setString><string>I'll call an emergency team!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<targetRevenge label="stage_comm_character_object_1"/>

			<global name="global_character_kaiwa">204</global>
<setString><string>Ah! Riri...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">209</global>
<setString><string>(Isn't there anything I can do...?)</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">209</global>
<setString><string>(I can't use any high level healing magic...)</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

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

<!--			<soundtrack><file type="ogg">blue_light</file></soundtrack>|-->

			<sound type="se" label="se">
				<track><file type="ogg">blue_light</file></track>
				<play><flag>0</flag><loop>0</loop></play>
			</sound>	

			<createRef label="blue_light_create"><param>410</param><param>300</param></createRef>
			<wait>30</wait>

			<global name="global_character_kaiwa">204</global>
<setString><string>What? Our keepsake...!?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">204</global>
<setString><string>It's shining...!?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<targetRevenge label="blue_light_object"/>

			<global name="global_character_kaiwa">301</global>
<setString><string>Where... am I...?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Huh!? You're awake!?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">301</global>
<setString><string>Ah... Yes...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">201</global>
<setString><string>Um, thank goodness. I'm really glad you're**okay.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">301</global>
<setString><string>U-Um... Thank you...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">209</global>
<setString><string>(But our keepsake is made of blue Crystal. We**should't be able to use it. What**happened...?)</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<textBlock l="0"></textBlock>

</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>
		<revengeRef label="stage_comm_text_finish_revenge"></revengeRef>

		<imgString>
			<width>512</width><height>32</height>
		</imgString>
		<setDrawLevel><num>34</num></setDrawLevel>
		
		<setFontSize>
			<height>22</height>
		</setFontSize>
			
		<setStringWait>
			<term>0</term>
		</setStringWait>

		<actionRef label="stage_comm_text_shadow_setup_action"><p>512</p><p>32</p></actionRef>

		<eval name="localnum">-1</eval>
		<rep><ts>-1</ts>
			<eval name="kaiwa_character_num">($__global_character_kaiwa/100)%10</eval>
			
			<rep><ts>1-($localnum-eq$kaiwa_character_num)</ts>
				<eval name="localnum">$kaiwa_character_num</eval>
				<rep><ts>$kaiwa_character_num-eq0</ts>
<setString><string>　　　　</string></setString>
				</rep>
				<rep><ts>$kaiwa_character_num-eq1</ts>
<setString><string>Ririka Mikahashi</string></setString>
				</rep>
				<rep><ts>$kaiwa_character_num-eq2</ts>
<setString><string>Rurika Mikahashi</string></setString>
				</rep>
				<rep><ts>$kaiwa_character_num-eq3</ts>
<setString><string>Mai Mizushina</string></setString>
				</rep>
			</rep>
			<wait>1</wait>
		</rep>
	</object>
</create>

<!--| 梨々香 ： 100:常、 101:笑、 102:苦、103:怒、104:驚、105:汗、106:真、107:疑、108:魔、109:考 |-->
<!--|*********************************************************************|-->
<create label="stage_comm_character_1_create">
	<speed>0</speed><direction type="absolute">0</direction>
	<cx>$1</cx><cy>240</cy><child>1</child>
	<object l="stage_comm_character_object_1">
		<createSurface>
			<width>1024</width><height>512</height>
		</createSurface>
		<clearSurface></clearSurface>
		<setDrawLevel><num>31</num></setDrawLevel>

		<rep><ts>$2-eq0</ts><loadSurface><file type="dds">ririka_normal</file></loadSurface></rep>
		<rep><ts>$2-eq1</ts><loadSurface><file type="dds">ririka_laugh</file></loadSurface></rep>
		<rep><ts>$2-eq2</ts><loadSurface><file type="dds">ririka_pain</file></loadSurface></rep>
		<rep><ts>$2-eq3</ts><loadSurface><file type="dds">ririka_angry</file></loadSurface></rep>
		<rep><ts>$2-eq4</ts><loadSurface><file type="dds">ririka_surprise</file></loadSurface></rep>
		<rep><ts>$2-eq5</ts><loadSurface><file type="dds">ririka_ase</file></loadSurface></rep>
		<rep><ts>$2-eq6</ts><loadSurface><file type="dds">ririka_serious</file></loadSurface></rep>
		<rep><ts>$2-eq7</ts><loadSurface><file type="dds">ririka_doubt</file></loadSurface></rep>
		<rep><ts>$2-eq8</ts><loadSurface><file type="dds">ririka_up</file></loadSurface></rep>
		<rep><ts>$2-eq9</ts><loadSurface><file type="dds">ririka_think</file></loadSurface></rep>

		<eval name="my_character1">100+$2</eval>
		<rep><ts>1-($my_character1-eq$__global_character_kaiwa)</ts>
			<rep><ts>($__global_character_kaiwa-lt100)+($__global_character_kaiwa-gt199)</ts>
				<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>
			</rep>
		</rep>


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

			<rep><ts>1-($my_character1-eq$__global_character_kaiwa)</ts>

				<eval n="f">($__global_character_kaiwa-lt100)+($__global_character_kaiwa-gt199)</eval>

				<rep><ts>1-($f-eq0)</ts>
					<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>
				</rep>

				<rep><ts>($f-eq0)</ts>
					<setDrawLevel><num>31</num></setDrawLevel>
					<eval name="my_character1">$__global_character_kaiwa</eval>


					<changeColor><alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>0</term></changeColor>

					<rep><ts>$__global_character_kaiwa-eq100</ts>
						<loadSurface><file type="dds">ririka_normal</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq101</ts>
						<loadSurface><file type="dds">ririka_laugh</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq102</ts>
						<loadSurface><file type="dds">ririka_pain</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq103</ts>
						<loadSurface><file type="dds">ririka_angry</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq104</ts>
						<loadSurface><file type="dds">ririka_surprise</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq105</ts>
						<loadSurface><file type="dds">ririka_ase</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq106</ts>
						<loadSurface><file type="dds">ririka_serious</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq107</ts>
						<loadSurface><file type="dds">ririka_doubt</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq108</ts>
						<loadSurface><file type="dds">ririka_up</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq109</ts>
						<loadSurface><file type="dds">ririka_think</file></loadSurface>
					</rep>


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

	</object>
</create>

<!--| 瑠璃香 ： 200:常、 201:笑、 202:苦、203:怒、204:驚、205:汗、206:真、207:疑、208:魔、209:考 |-->
<!--|*********************************************************************|-->
<create label="stage_comm_character_2_create">
	<speed>0</speed><direction type="absolute">0</direction>
	<cx>$1</cx><cy>240</cy>
	<child>1</child>

	<object l="stage_comm_character_object_2">
		<createSurface>
			<width>1024</width><height>512</height>
		</createSurface>
		<clearSurface></clearSurface>
		<setDrawLevel><num>31</num></setDrawLevel>

		<rep><ts>$2-eq0</ts><loadSurface><file type="dds">rurika_normal</file></loadSurface></rep>
		<rep><ts>$2-eq1</ts><loadSurface><file type="dds">rurika_laugh</file></loadSurface></rep>
		<rep><ts>$2-eq2</ts><loadSurface><file type="dds">rurika_pain</file></loadSurface></rep>
		<rep><ts>$2-eq3</ts><loadSurface><file type="dds">rurika_angry</file></loadSurface></rep>
		<rep><ts>$2-eq4</ts><loadSurface><file type="dds">rurika_surprise</file></loadSurface></rep>
		<rep><ts>$2-eq5</ts><loadSurface><file type="dds">rurika_ase</file></loadSurface></rep>
		<rep><ts>$2-eq6</ts><loadSurface><file type="dds">rurika_serious</file></loadSurface></rep>
		<rep><ts>$2-eq7</ts><loadSurface><file type="dds">rurika_doubt</file></loadSurface></rep>
		<rep><ts>$2-eq8</ts><loadSurface><file type="dds">rurika_up</file></loadSurface></rep>
		<rep><ts>$2-eq9</ts><loadSurface><file type="dds">rurika_think</file></loadSurface></rep>

		<eval name="my_character1">200+$2</eval>
		<rep><ts>1-($my_character1-eq$__global_character_kaiwa)</ts>
			<rep><ts>($__global_character_kaiwa-lt200)+($__global_character_kaiwa-gt299)</ts>
				<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>
			</rep>
		</rep>


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

			<rep><ts>1-($my_character1-eq$__global_character_kaiwa)</ts>

				<eval n="f">($__global_character_kaiwa-lt200)+($__global_character_kaiwa-gt299)</eval>

				<rep><ts>1-($f-eq0)</ts>
					<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>
				</rep>

				<rep><ts>($f-eq0)</ts>
					<setDrawLevel><num>31</num></setDrawLevel>
					<eval name="my_character1">$__global_character_kaiwa</eval>

					<changeColor><alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>0</term></changeColor>

					<rep><ts>$__global_character_kaiwa-eq200</ts>
						<loadSurface><file type="dds">rurika_normal</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq201</ts>
						<loadSurface><file type="dds">rurika_laugh</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq202</ts>
						<loadSurface><file type="dds">rurika_pain</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq203</ts>
						<loadSurface><file type="dds">rurika_angry</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq204</ts>
						<loadSurface><file type="dds">rurika_surprise</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq205</ts>
						<loadSurface><file type="dds">rurika_ase</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq206</ts>
						<loadSurface><file type="dds">rurika_serious</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq207</ts>
						<loadSurface><file type="dds">rurika_doubt</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq208</ts>
						<loadSurface><file type="dds">rurika_up</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq209</ts>
						<loadSurface><file type="dds">rurika_think</file></loadSurface>
					</rep>
				</rep>
			</rep>
			
			<wait>1</wait>
		</rep>

	</object>

</create>

<!--| 舞　 ： 300:苦1、301:苦2、302:軽症1、303:軽症2、304:重症|-->
<!--|*********************************************************************|-->
<create label="stage_comm_character_3_create">
	<speed>0</speed><direction type="absolute">0</direction>
	<cx>$1</cx><cy>240</cy>
	<child>1</child>

	<object l="stage_comm_character_object_3">
		<createSurface>
			<width>1024</width><height>512</height>
		</createSurface>
		<clearSurface></clearSurface>
		<setDrawLevel><num>31</num></setDrawLevel>
		

		<rep><ts>$2-eq0</ts><loadSurface><file type="dds">mai_pain1</file></loadSurface></rep>
		<rep><ts>$2-eq1</ts><loadSurface><file type="dds">mai_pain2</file></loadSurface></rep>
		<rep><ts>$2-eq2</ts><loadSurface><file type="dds">mai_ill1</file></loadSurface></rep>
		<rep><ts>$2-eq3</ts><loadSurface><file type="dds">mai_ill2</file></loadSurface></rep>
		<rep><ts>$2-eq4</ts><loadSurface><file type="dds">mai_ill3</file></loadSurface></rep>

		<rep><ts>1-($my_character1-eq$__global_character_kaiwa)</ts>
			<rep><ts>($__global_character_kaiwa-lt300)+($__global_character_kaiwa-gt399)</ts>
				<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>
			</rep>
		</rep>


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

			<rep><ts>1-($my_character1-eq$__global_character_kaiwa)</ts>

				<eval n="f">($__global_character_kaiwa-lt300)+($__global_character_kaiwa-gt399)</eval>

				<rep><ts>1-($f-eq0)</ts>
					<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>
				</rep>

				<rep><ts>($f-eq0)</ts>
					<setDrawLevel><num>31</num></setDrawLevel>
					<eval name="my_character1">$__global_character_kaiwa</eval>

					<changeColor><alpha>255</alpha><red>255</red><green>255</green><blue>255</blue><term>0</term></changeColor>

					<rep><ts>$__global_character_kaiwa-eq300</ts>
						<loadSurface><file type="dds">mai_pain1</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq301</ts>
						<loadSurface><file type="dds">mai_pain2</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq302</ts>
						<loadSurface><file type="dds">mai_ill1</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq303</ts>
						<loadSurface><file type="dds">mai_ill2</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq304</ts>
						<loadSurface><file type="dds">mai_ill3</file></loadSurface>
					</rep>
				</rep>
			</rep>
			
			<wait>1</wait>
		</rep>

	</object>

</create>


<!--|*******青い光**************************************************************|-->
<create label="blue_light_create">
	<speed>0</speed><direction type="absolute">0</direction>
	<cx>$1</cx><cy>$2</cy>
	<child>1</child>
	<object l="blue_light_object">
		<img type="add">
			<file type="dds">blue_light</file>
			<left>0</left><top>0</top><right>256</right><bottom>256</bottom>
			<width>10</width><height>10</height>
			<alpha>64</alpha><red>100</red><green>100</green><blue>100</blue>
		</img>
		<setDrawLevel><num>32</num></setDrawLevel>
		<rotateImg><direction>1</direction><term>-1</term></rotateImg>
	
		<action>
			<changeImgSize>
				<width>326</width><height>326</height><term>90</term>
			</changeImgSize>
			<repeat><times>-1</times>
				<changeColor>
					<alpha>255</alpha><red>200</red><green>200</green><blue>200</blue><term>10</term>
				</changeColor>
				<wait>10</wait>
				<changeColor>
					<alpha>200</alpha><red>50</red><green>50</green><blue>200</blue><term>10</term>
				</changeColor>
				<wait>10</wait>
			</repeat>
		</action>

	</object>
</create>


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

<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>3</param></actionRef>
<setString><string>Rurika decision.****  Use healing magic.****  R-Run away!?****  Counteract her berserk magic.</string></setString>
		</object>
	</create>
	<!--|*** フラグ K1 ***|-->
	<actionRef label="stage_comm_text_selectmark_create_action_3"><p>1</p><p>2</p><p>0</p><p>3</p></actionRef>

	<actionRef label="stage_comm_text_selectable_create_action1"><param>3</param></actionRef>
</action>

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

<decided    label="stage_comm_select_1_selectable_1_decided">
	<global name="global_kaiwa_answer">0</global>

	<!--|*** フラグ M1 ***|-->
	<setGameFlag><num>1</num><flag>1</flag></setGameFlag>	
	<createRef label="ring_img_create"><p>2</p><p>$_self_cx-20</p><p>$_self_cy-10</p></createRef>

	<targetRevenge label="selectbox_object"></targetRevenge>	
	<targetRevenge label="selectmark_object"></targetRevenge>

	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>

<decided    label="stage_comm_select_1_selectable_2_decided">
	<global name="global_kaiwa_answer">1</global>

	<!--|*** フラグ M1 ***|-->
	<setGameFlag><num>1</num><flag>2</flag></setGameFlag>	
	<createRef label="ring_img_create"><p>0</p><p>$_self_cx-20</p><p>$_self_cy-10</p></createRef>

	<targetRevenge label="selectbox_object"></targetRevenge>
	<targetRevenge label="selectmark_object"></targetRevenge>

	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>

<decided    label="stage_comm_select_1_selectable_3_decided">
	<global name="global_kaiwa_answer">2</global>

	<!--|*** フラグ M1 ***|-->
	<setGameFlag><num>1</num><flag>3</flag></setGameFlag>	
	<createRef label="ring_img_create"><p>3</p><p>$_self_cx-20</p><p>$_self_cy-10</p></createRef>

	<targetRevenge label="selectbox_object"></targetRevenge>
	<targetRevenge label="selectmark_object"></targetRevenge>

	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>



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

<action label="stage_comm_text_select2_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>Read the prologue?****  Read it.****  Skip it.</string></setString>
		</object>
	</create>
	<actionRef label="stage_comm_text_selectable_create_action2"><param>2</param></actionRef>
</action>

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

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

	<targetRevenge label="selectbox_object"></targetRevenge>	
	<releaseLock><num>2</num></releaseLock>
	<vanish></vanish>
</decided>
<decided    label="stage_comm_select_2_selectable_2_decided">
	<!--|*** 回答をグローバル変数に保存 ***|-->
	<global name="global_kaiwa_answer">0</global>

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

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




</exbulletml>
