Plot 0
	name <END: Vs.Character>

	% The PC may be able to face NPC, and hopefully stop him
	% once and for all. This is the "default" ending... nothing
	% special at all.

	Element1 <Prefab>
	Element2 <Grab 3>

	% Variables
	% V-1 = Initialization Counter
	% V1 = Time Limit

	Cleanup <if= V1 0 V= 1 ComTime V+ 1 86400 News 6>

	start <if= V-1 2 else GoCheckBegin if# V1 0 if= V2 0 else GoCheckTime Victory Goto GoCheckTime>
	GoCheckTime <ifG ComTime V1 AdvancePlot 0>

	GoCheckBegin <if= V-1 0 else GoCheckBombs ifScene .scenedesc V= -1 1 E= 2 SceneID AirRaidSiren Print 2 Print 1 Print 2 History 5>
	.scenedesc <Town Target>
	GoCheckBombs <if= V-1 1 if= SceneID 1 Print 3 News 4 V= -1 2 LoadD .shelter SeekGate -1 PassVar 2 1 PassVar 101 E1 Memo 7>
	.shelter <TS_XRAN_SCENE_Shelter.txt>

	% Every five minutes during the opening scene, drop a bomb.
	5Min <if= V-1 1 Bomb>

	Msg1 <**** MECHA ATTACK IN PROGRESS *** PROCEED TO SHELTER ****>
	Msg2 <***ALERT*** ALL CITIZENS EVACUATE IMMEDIATELY ***ALERT***>
	Msg3 <You flee the city... You take cover in a civil defense shelter.>
	Msg4 <Faction \NARRATIVE 2 has decladed war on Federated Territories; \ELEMENT 2 has already fallen.>
	Msg5 <You were in \ELEMENT 2 when it was captured by \NARRATIVE 2 .>
	Msg6 <With their leader dead, the \NARRATIVE 2 mecha force has been driven from \ELEMENT 2 . Peace will now return to our world.>
	Msg7 <\NARRATIVE 2 has captured \ELEMENT 2 . You can go up to recover your mecha, or down to sneak into City Hall.>

sub
	Persona 1
	greeting <EndChat ifPersona E1 else GoDead Say 1 AddChat 1>

	GoDead <Say 2 History 3 DeleteFaction E2 Exit 1 SeekGate E2 EndStory>

	result1 <EndChat Say 4 AddChat 2>
	result2 <EndChat Say 5>

	Msg1 <How did you get in here!? You have opposed \NARRATIVE 2 for long enough... You will not be leaving here alive.>
	Msg2 <I die... How could I fail?>
	Msg3 <You defeated \ELEMENT 1 , and saved the Federated Territories.>
	Msg4 <Isn't it clear to you yet that \NARRATIVE 2 is the destined ruler of the Federated Territories? You have stood in our way long enough.>
	Msg5 <Our mecha forces are invincible. \ELEMENT 2 is ours, and soon the other cities will fall as well. It is far too late to stop us.>

	Prompt1 <What do you think you're doing!?>
	Prompt2 <I will stop you!>

end
inv
	NPC Soldier
	EquipChar 45000

end
