<?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>	
			
		<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="130001"></textBlock>

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

			<global name="global_character_kaiwa">0</global>
			<createRef label="stage_comm_character_1_create"><param>190</param><param>0</param></createRef>

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

			<global name="global_character_kaiwa">109</global>
<setString><string>That was close. I barely made the last train.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">107</global>
<setString><string>Hm? Is someone there?</string></setString>
			<actionRef label="text_wait_action"></actionRef>


			<global name="global_character_kaiwa">202</global>
			<createRef label="stage_comm_character_2_create"><param>450</param><param>2</param></createRef>

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

			<global name="global_character_kaiwa">104</global>
<setString><string>Hey, what are you doing lying there? Hey!?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">204</global>
<setString><string>...Huh?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">101</global>
<setString><string>Oh, you are awake.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Um, who are you...?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>I'm Asa Shizukuishi. Just call me Asa. I**really don't like my last name.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">207</global>
<setString><string>Huh? I'm... um...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">109</global>
<setString><string>Is that dagger laying over there yours?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">107</global>
<setString><string>Shizuka Tsugomori's carved on the handle. Is**that your name?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

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

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

			<global name="global_character_kaiwa">109</global>
<setString><string>(Does she have some reason...?)</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="130010"></textBlock>

				<global name="global_character_kaiwa">109</global>
<setString><string>Did you get drunk and pass out here?</string></setString>
				<actionRef label="text_wait_action"></actionRef>
	
				<global name="global_character_kaiwa">205</global>
<setString><string>No, um, that's not what happened...</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">101</global>
<setString><string>Ahaha. Just kidding. I know it wasn't that.</string></setString>
				<actionRef label="text_wait_action"></actionRef>
			</rep>

			<rep><ts>$__global_kaiwa_answer-eq1</ts>
				<textBlock l="130011"></textBlock>

				<global name="global_character_kaiwa">109</global>
<setString><string>That's an unusual hair color.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

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

				<global name="global_character_kaiwa">101</global>
<setString><string>It looks almost completely black. There**aren't almost any people with hair that dark**these days. Do you dye it?</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">101</global>
<setString><string>It's dyed, right?</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">209</global>
<setString><string>Ah, um... well...</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">205</global>
<setString><string>T-That's right. I do.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">100</global>
<setString><string>Hmmm.**It really does give you a different look in**that color.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">205</global>
<setString><string>R-Really?</string></setString>
				<actionRef label="text_wait_action"></actionRef>
			</rep>

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

				<global name="global_character_kaiwa">109</global>
<setString><string>That's an unusual dress.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

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

				<global name="global_character_kaiwa">101</global>
<setString><string>Yeah. It's like a priestess costumes of**something. You don't see clothes like that**around here much.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">100</global>
<setString><string>I read in a book once that they were worn**when people did rituals for worshipping God.</string></setString>
				<actionRef label="text_wait_action"></actionRef>

				<global name="global_character_kaiwa">203</global>
<setString><string>...It's not... for God.</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">200</global>
<setString><string>No, it's nothing.</string></setString>
				<actionRef label="text_wait_action"></actionRef>
			</rep>

			<textBlock l="130020"></textBlock>

			<global name="global_character_kaiwa">100</global>
<setString><string>Anyway, it's getting pretty late. I'd feel**bad leaving you alone out here. Let's go back**to my house for now.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">204</global>
<setString><string>Uh? Wait, but...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">101</global>
<setString><string>It's fine, it's fine. I'm not going to bite.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">0</global>
<setString><string>　</string></setString>
			<targetRevenge label="stage_comm_character_object_1"/>
			<targetRevenge label="stage_comm_character_object_2"/>
			<wait>60</wait>

			<global name="global_character_kaiwa">0</global>
<setString><string>One week later.**Crysta 3066, 13th of the Purple Moon, 06:22</string></setString>
			<actionRef label="text_wait_action"></actionRef>
			<wait>30</wait>

			<global name="global_character_kaiwa">109</global>
			<createRef label="stage_comm_character_1_create"><param>190</param><param>0</param></createRef>
			<createRef label="stage_comm_character_2_create"><param>450</param><param>7</param></createRef>

			<global name="global_character_kaiwa">207</global>
<setString><string>Um, Asa. Are you going to follow me no matter**what?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>Didn't I already tell you that?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">202</global>
<setString><string>I'm really thankful for what you've done for**me over the past week, but this is going to**be very dangerous.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">106</global>
<setString><string>Then tell me why you have to go to the Relic**Ruins.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">106</global>
<setString><string>Why do you have to go the Relic Ruins, which**are off limits, might I add.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">207</global>
<setString><string>I can't just talk...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">204</global>
<addString><string>Ah!!</string></addString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">107</global>
<setString><string>What's the matter?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">104</global>
<setString><string>Whoa. Those are magic weapons. Are they**coming toward us!?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">104</global>
<setString><string>Hey! Don't space out!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">106</global>
<setString><string>Whatever, let's get out of here.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">206</global>
<setString><string>R-Right.</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">100</global>
			<createRef label="stage_comm_character_1_create"><param>190</param><param>0</param></createRef>
			<createRef label="stage_comm_character_2_create"><param>450</param><param>0</param></createRef>

			<textBlock l="130100"></textBlock>

			<global name="global_character_kaiwa">100</global>
<setString><string>Whew. Finally a moment to relax?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">100</global>
<setString><string>Hey, Shizuka. Are you okay?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">206</global>
<addString><string>Ah, I'm sorry. I'm fine.</string></addString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">105</global>
<setString><string>Still spacing out...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">100</global>
<setString><string>I don't really care. I tagged along on my**own.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Maybe so, but the Relic Ruins are quite far**away. If I went by myself...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">105</global>
<setString><string>You know, I told you not to make that face.**You're not that kind of girl. And weren't you**saying how pretty it is around there anyway?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">209</global>
<setString><string>Yes, well, that is true, but...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">101</global>
<setString><string>Besides, it sounds interesting.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">205</global>
<setString><string>Huh? Ahahaha...**You're exactly the same person I thought you**were the moment we met.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>I get told that I'm easy to read a lot.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">107</global>
<setString><string>What's the matter?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">206</global>
<setString><string>Asa, over there.</string></setString>
			<actionRef label="text_wait_action"></actionRef>


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


			<!--|ボス登場|-->
			<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">300</global>
<setString><string>Huff... huff...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">104</global>

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


<setString><string>H-Hey. What's the matter?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">206</global>
<setString><string>Asa, don't. I can feel the power of the Evil**Stones.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">107</global>
<setString><string>Evil?? What's are you talking about?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>The Black Crystals.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">200</global>
<setString><string>She's lost control of her magic, although it**doesn't look too bad...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">300</global>
<setString><string>Don't! I can't hold my power...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">106</global>
<setString><string>Hey. Don't try to hold it down. Let your**magic out. We'll attack it and counterbalance**it.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">103</global>
<setString><string>Just. Do. It!!**It'll only get more dangerous if you let it**build up!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">106</global>
<setString><string>Shizuka! I could use a hand here!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>U-Understood. I'll do what I can.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">106</global>
<setString><string>All right.**Anyway, just smack her magic until it begins**to subside!</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<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>
	
	<!--|ボス後フラグ設定|-->

	<!--|フラグ A2|-->
	<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>

	<!--|フラグ A3|-->
	<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>

	<!--|フラグ A4|-->
	<!--|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>
						<actionRef l="stage_end_comm_text_sub_action_3"></actionRef>
					</rep>
					<rep><ts>1-($f4-eq0)</ts>
						<actionRef l="stage_end_comm_text_sub_action_3"></actionRef>
					</rep>
				</rep>

			</rep>
			<rep><ts>$f5-eq0</ts>
					<rep><ts>$f4-eq0</ts>
						<actionRef l="stage_end_comm_text_sub_action_3"></actionRef>
					</rep>
					<rep><ts>1-($f4-eq0)</ts>
						<actionRef l="stage_end_comm_text_sub_action_3"></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_1_create"><param>410</param><param>6</param></createRef>
			<createRef label="stage_comm_character_2_create"><param>510</param><param>6</param></createRef>
			<createRef label="stage_comm_character_3_create"><param>140</param><param>2</param></createRef>

			<textBlock l="130200"></textBlock>

			<global name="global_character_kaiwa">106</global>
<setString><string>Hey, are you okay?</string></setString>
			<actionRef label="text_wait_action"></actionRef>
													
			<global name="global_character_kaiwa">302</global>
<setString><string>Owww... Yes... It looks like my... runaway**magic's subsiding...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">101</global>
<setString><string>Thank goodness for that. Are you hurt?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">302</global>
<setString><string>No... I'm happy... nothing bad happened...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">107</global>
<setString><string>What's the matter, Shizuka?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>Um, did you touch the Black Crystal?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">303</global>
<setString><string>Yes... The one over there... I didn't notice**that it was there...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">209</global>
<setString><string>I see...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

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

			<global name="global_character_kaiwa">101</global>
<setString><string>Be careful now, okay? You look like you have**a lot of elemental blood in you.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>You should go to a hospital just in case.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

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

			<global name="global_character_kaiwa">100</global>
<setString><string>Shall we get going, Shizuka?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">204</global>
<setString><string>...Ah, yes. Let's.</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_1_create"><param>410</param><param>6</param></createRef>
			<createRef label="stage_comm_character_2_create"><param>510</param><param>6</param></createRef>
			<createRef label="stage_comm_character_3_create"><param>140</param><param>2</param></createRef>

			<textBlock l="130201"></textBlock>

			<global name="global_character_kaiwa">206</global>
<setString><string>Um, are you hurt...?</string></setString>
			<actionRef label="text_wait_action"></actionRef>
													
			<global name="global_character_kaiwa">302</global>
<setString><string>Owww... No... It looks like my... runaway**magic's subsiding...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">101</global>
<setString><string>If you can talk clearly, then it sounds like**you're okay.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">206</global>
<setString><string>Did you touch the Black Crystal?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">100</global>
<setString><string>That reminds me. Didn't you say you felt the**power of it earlier?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">106</global>
<setString><string>How could you tell?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">200</global>
<setString><string>It's hard for me to explain, but I can feel**them. It's not a good feeling.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

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

			<global name="global_character_kaiwa">101</global>
<setString><string>Hm? Ah, yeah.**You should go to a hospital just in case.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

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

			<global name="global_character_kaiwa">100</global>
<setString><string>Shall we get going, Shizuka?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">204</global>
<setString><string>...Ah, yes. Let's.</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_1_create"><param>410</param><param>6</param></createRef>
			<createRef label="stage_comm_character_2_create"><param>510</param><param>6</param></createRef>
			<createRef label="stage_comm_character_3_create"><param>140</param><param>2</param></createRef>

			<textBlock l="130202"></textBlock>

			<global name="global_character_kaiwa">106</global>
<setString><string>Hey! Hang in there!</string></setString>
			<actionRef label="text_wait_action"></actionRef>
													
			<global name="global_character_kaiwa">304</global>
<setString><string>Nnh...Huff... huff...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">106</global>
<setString><string>Tch... Her runaway magic sucked up too much**of her strength. I'm not sure I can do**anything with my crappy healing magic...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">209</global>
<setString><string>Um, Asa...**Would you like me to heal her?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">104</global>
<setString><string>What!? You can?**By all means. Please treat her. I'll go call**an ambulance.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<targetRevenge label="stage_comm_character_object_1"/>

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

			<global name="global_character_kaiwa">208</global>
<setString><string>Land. Sky. Sun. Waves. **Echo in silence, holy sound. **Cleansing winds, bless her with the miracle**of healing.</string></setString>
			<w>15</w>
			<createRef l="talkscene_magic"><p>2</p><p>480</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">208</global>
<setString><string>...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

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

			<global name="global_character_kaiwa">201</global>
<setString><string>Are you feeling okay?</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">200</global>
<setString><string>Please sit here calmly until Asa comes back.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<global name="global_character_kaiwa">301</global>
<setString><string>Thank you... very much...</string></setString>
			<actionRef label="text_wait_action"></actionRef>

			<createRef label="stage_comm_character_1_create"><param>410</param><param>6</param></createRef>

			<global name="global_character_kaiwa">100</global>
<setString><string>Oh, you're awake? Thank goodness.**I told those people to call an ambulance.</string></setString>
			<actionRef label="text_wait_action"></actionRef>

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

			<global name="global_character_kaiwa">106</global>
<setString><string>Well, that's that.**Here, lean on my shoulder. I'll help you over**there.</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>

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

</action>

<action l="stage_end_comm_text_sub_action_4">
</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>Asa Shizukuishi</string></setString>
				</rep>
				<rep><ts>$kaiwa_character_num-eq2</ts>
					<rep><ts>$__global_character_nameswitch-eq0</ts>
<setString><string>Shizuka Tsugomori</string></setString>
					</rep>
					<rep><ts>1-($__global_character_nameswitch-eq0)</ts>
<setString><string>？？？</string></setString>
					</rep>
				</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-16</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">asa_normal</file></loadSurface></rep>
		<rep><ts>$2-eq1</ts><loadSurface><file type="dds">asa_laugh</file></loadSurface></rep>
		<rep><ts>$2-eq2</ts><loadSurface><file type="dds">asa_pain</file></loadSurface></rep>
		<rep><ts>$2-eq3</ts><loadSurface><file type="dds">asa_angry</file></loadSurface></rep>
		<rep><ts>$2-eq4</ts><loadSurface><file type="dds">asa_surprise</file></loadSurface></rep>
		<rep><ts>$2-eq5</ts><loadSurface><file type="dds">asa_ase</file></loadSurface></rep>
		<rep><ts>$2-eq6</ts><loadSurface><file type="dds">asa_serious</file></loadSurface></rep>
		<rep><ts>$2-eq7</ts><loadSurface><file type="dds">asa_doubt</file></loadSurface></rep>
		<rep><ts>$2-eq8</ts><loadSurface><file type="dds">asa_up</file></loadSurface></rep>
		<rep><ts>$2-eq9</ts><loadSurface><file type="dds">asa_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">asa_normal</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq101</ts>
						<loadSurface><file type="dds">asa_laugh</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq102</ts>
						<loadSurface><file type="dds">asa_pain</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq103</ts>
						<loadSurface><file type="dds">asa_angry</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq104</ts>
						<loadSurface><file type="dds">asa_surprise</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq105</ts>
						<loadSurface><file type="dds">asa_ase</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq106</ts>
						<loadSurface><file type="dds">asa_serious</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq107</ts>
						<loadSurface><file type="dds">asa_doubt</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq108</ts>
						<loadSurface><file type="dds">asa_up</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq109</ts>
						<loadSurface><file type="dds">asa_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-16</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">shizuka_normal</file></loadSurface></rep>
		<rep><ts>$2-eq1</ts><loadSurface><file type="dds">shizuka_laugh</file></loadSurface></rep>
		<rep><ts>$2-eq2</ts><loadSurface><file type="dds">shizuka_pain</file></loadSurface></rep>
		<rep><ts>$2-eq3</ts><loadSurface><file type="dds">shizuka_angry</file></loadSurface></rep>
		<rep><ts>$2-eq4</ts><loadSurface><file type="dds">shizuka_surprise</file></loadSurface></rep>
		<rep><ts>$2-eq5</ts><loadSurface><file type="dds">shizuka_ase</file></loadSurface></rep>
		<rep><ts>$2-eq6</ts><loadSurface><file type="dds">shizuka_serious</file></loadSurface></rep>
		<rep><ts>$2-eq7</ts><loadSurface><file type="dds">shizuka_doubt</file></loadSurface></rep>
		<rep><ts>$2-eq8</ts><loadSurface><file type="dds">shizuka_up</file></loadSurface></rep>
		<rep><ts>$2-eq9</ts><loadSurface><file type="dds">shizuka_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">shizuka_normal</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq201</ts>
						<loadSurface><file type="dds">shizuka_laugh</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq202</ts>
						<loadSurface><file type="dds">shizuka_pain</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq203</ts>
						<loadSurface><file type="dds">shizuka_angry</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq204</ts>
						<loadSurface><file type="dds">shizuka_surprise</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq205</ts>
						<loadSurface><file type="dds">shizuka_ase</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq206</ts>
						<loadSurface><file type="dds">shizuka_serious</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq207</ts>
						<loadSurface><file type="dds">shizuka_doubt</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq208</ts>
						<loadSurface><file type="dds">shizuka_up</file></loadSurface>
					</rep>
					<rep><ts>$__global_character_kaiwa-eq209</ts>
						<loadSurface><file type="dds">shizuka_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>
<!--
		<loadSurface><file type="dds">mai_stand_sample</file></loadSurface>

-->		<eval name="my_character1">300+$2</eval>
		<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>
<!--
					<loadSurface><file type="dds">mai_stand_sample</file></loadSurface>
-->
					<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>
<!--|*********************************************************************|-->

<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>Asa's question.****  Are you drunk?****  Is that your real hair color?****  Where are those clothes from?</string></setString>
		</object>
	</create>

	<!--|*** フラグ A1 ***|-->
	<actionRef label="stage_comm_text_selectmark_create_action_3"><p>1</p><p>0</p><p>3</p><p>2</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>

	<!--|*** フラグ A1 ***|-->
	<setGameFlag><num>1</num><flag>1</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_2_decided">
	<global name="global_kaiwa_answer">1</global>

	<!--|*** フラグ A1 ***|-->
	<setGameFlag><num>1</num><flag>2</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>

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

	<!--|*** フラグ A1 ***|-->
	<setGameFlag><num>1</num><flag>3</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>



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

<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>
