<?xml version="1.0"?>
<Story>
<!--INITIAL ENVIRONMENT SETUP-->

<!-- Preliminary Setup  -->
	<Event Name="Underworld_Campaign_Begin">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>0</Event_Param1>
	</Event>

	<!-- Do not modify this tech level without consulting campaign designers -->
	<Event Name="Set_Begining_Empire_Tech">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_TECH_LEVEL</Reward_Type>
		<Reward_Param1>Empire</Reward_Param1>
		<Reward_Param2>2</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<!-- Do not modify this tech level without consulting campaign designers -->
	<Event Name="Set_Begining_Rebel_Tech">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_TECH_LEVEL</Reward_Type>
		<Reward_Param1>Rebel</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<!-- Do not modify this tech level without consulting campaign designers -->
	<Event Name="Set_Begining_Underworld_Tech">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_TECH_LEVEL</Reward_Type>
		<Reward_Param1>Underworld</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<!-- Set all Mission Victory Flags -->
	<Event Name="Prevent_Campaign_Victory_Triggering">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_VICTORY</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_01_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_01_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_01A_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_01A_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_02_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_02_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_03_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_03_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_04_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_04_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_06_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_06_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_07_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_07_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_08_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_08_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_09_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_09_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_11_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_11_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Mission_12_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Underworld_Mission_12_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Underworld_Disable_Victory">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_VICTORY</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<!-- Disable all buildable objects that will be released via story mode -->
	<Event Name="Lock_Droid_Works">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>U_Ground_Droid_Works</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Factory">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>U_Ground_Vehicle_Factory</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Cloak_Transport">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>F9TZ_Cloaking_Transport_Company</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_MAL">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>MAL_Rocket_Vehicle_Company</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Pulse_Tank">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>MZ8_Pulse_Cannon_Tank_Company</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Canderous_Tank">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Canderous_Assault_Tank_Company</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Gauntlet">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Gauntlet_Heavy_Fighter_Company</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Mandalorian_Warrior">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Mandalorian_Warrior_Company</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Subjugator"><!-- This unit is not available in the Story Campaign -->
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Malevolence</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Valiance"><!-- This unit is not available in the Story Campaign -->
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Super_Carrier</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Lucrehulk"><!-- This unit is not available in the Story Campaign -->
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Lucrehulk_Battleship</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Kedalbe">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Kedalbe_Battleship</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Krayt">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Krayt_Class_Destroyer</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Vengeance">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Vengeance_Frigate</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Pellaeon"><!-- This unit is not available in the Story Campaign -->
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Pelleaon_Star_Destroyer</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Orion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Orion_Dreadnaught</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Munificent">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Munificent_Frigate</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Recusant">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Recusant_Destroyer</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Crusader">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Crusader_Gunship</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_AA_Fighter">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>UEAW_Aggressor_Squadron</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_X3">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Prowler-B_Squadron</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_AMF"><!-- This structure is not available in the Story Campaign -->
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Underworld_Mineral_Extractor_GC</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="Lock_Defense_Station"><!-- This structure is not available in the Story Campaign -->
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_UNIT</Reward_Type>
		<Reward_Param1>Underworld_Defense_Station_GC</Reward_Param1>
		<Prereq>Underworld_Campaign_Begin</Prereq>
	</Event>

	<Event Name="All_Required_Units_Locked">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>
			Lock_Droid_Works,
			Lock_Factory,
			Lock_Cloak_Transport,
			Lock_MAL,
			Lock_Pulse_Tank,
			Lock_Canderous_Tank,
			Lock_Gauntlet,
			Lock_Mandalorian_Warrior,
			Lock_Subjugator,
			Lock_Valiance,
			Lock_Lucrehulk,
			Lock_Kedalbe,
			Lock_Krayt,
			Lock_Vengeance,
			Lock_Pellaeon,
			Lock_Orion,
			Lock_Munificent,
			Lock_Recusant,
			Lock_Crusader,
			Lock_AA_Fighter,
			Lock_X3,
			Lock_AMF,
			Lock_Defense_Station
		</Prereq>
	</Event>

	<Event Name="Initial_Setup_Complete">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>
			Set_Begining_Empire_Tech,
			Set_Begining_Rebel_Tech,
			Set_Begining_Underworld_Tech,
			Underworld_Mission_01_Flag_Set,
			Underworld_Mission_01A_Flag_Set,
			Underworld_Mission_02_Flag_Set,
			Underworld_Mission_03_Flag_Set,
			Underworld_Mission_04_Flag_Set,
			Underworld_Mission_06_Flag_Set,
			Underworld_Mission_07_Flag_Set,
			Underworld_Mission_08_Flag_Set,
			Underworld_Mission_09_Flag_Set,
			Underworld_Mission_11_Flag_Set,
			Underworld_Mission_12_Flag_Set,
			Underworld_Disable_Victory,
			All_Required_Units_Locked
		</Prereq>
	</Event>

	<!-- Triggers to manually skip to later acts -->
	<Event Name="JumpA2">
		<Event_Type>STORY_TRIGGER</Event_Type>
	</Event>
	<Event Name="JumpA3">
		<Event_Type>STORY_TRIGGER</Event_Type>
	</Event>

<!--UNDERWORLD CAMPAIGN ACT ONE-->

<!-- Underworld ACT I Planet Reveals -->
	<Event Name="Underworld_ActI_Reveal_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Honoghr_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Initial_Setup_Complete</Prereq>
	</Event>

	<Event Name="Underworld_ActI_Reveal_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Kessel</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Initial_Setup_Complete</Prereq>
	</Event>

	<Event Name="Underworld_ActI_Reveal_03">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Ryloth</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Initial_Setup_Complete</Prereq>
	</Event>

	<Event Name="Underworld_ActI_Reveal_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Shola</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Initial_Setup_Complete</Prereq>
	</Event>

	<Event Name="Underworld_ActI_Reveal_05">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>NalHutta_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Initial_Setup_Complete</Prereq>
	</Event>

	<Event Name="OK_To_Begin_Underworld_ActI">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>
			Underworld_ActI_Reveal_01,
			Underworld_ActI_Reveal_02,
			Underworld_ActI_Reveal_03,
			Underworld_ActI_Reveal_04,
			Underworld_ActI_Reveal_05
		</Prereq>
	</Event>

<!-- Lock out Corruption for all planets in Act I until the tutorials are presented -->
	<Event Name="Lock_Corruption_Honoghr">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Honoghr_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Corruption_Kessel">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Kessel</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Corruption_NalHutta">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>NalHutta_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Corruption_The_Maw">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>The_Maw</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Corruption_Shola">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Shola</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Corruption_Hypori">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Hypori</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

<!-- Lock out Sabotage for all planets in Act I until the tutorials are presented -->
	<Event Name="Lock_Sabotage_Kamino">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Kamino</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Sabotage_Honoghr">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Honoghr_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Sabotage_Kessel">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Kessel</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Sabotage_The_Maw">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>The_Maw</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Sabotage_NalHutta">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>NalHutta_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Sabotage_Saleucami">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Sabotage_Shola">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Shola</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Sabotage_Yavin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Yavin</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Sabotage_Kuat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Lock_Sabotage_Carida">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Carida</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<!-- Lock autoresolve for sandbox maps used in missions -->
	<Event Name="Lock_Autoresolve_Saleucami">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_AUTORESOLVE</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<!-- Lock invasion on Saleucami and Honoghr so they can't be taken before mission -->
	<Event Name="Mission_Lock_Saleucami_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Mission_Lock_Honoghr_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Honoghr_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Mission_Lock_Kuat_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

<!-- Lock Mandalore until Piracy Mission -->
	<Event Name="Mission_Lock_Mandalore">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Mandalore_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<Event Name="Mission_Lock_Mandalore_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Mandalore_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<!-- Give player buzz droids since they are unlocked in tutorial/prolog -->
	<Event Name="Unlock_Buzz_Droids_From_Black_Market">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>GIVE_BLACK_MARKET</Reward_Type>
		<Reward_Param1>Buzz_Droid_Tech</Reward_Param1>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

	<!-- Lock Shola until after corruption mission -->
	<Event Name="Mission_Lock_Shola_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Shola</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
	</Event>

<!--MISSION 01: A CRIMELORD UNLEASED-->
	<Event Name="Underworld_ActI_M01_Load">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LINK_TACTICAL</Reward_Type>
		<Reward_Param1>Kessel</Reward_Param1>
		<Reward_Param2>LAND</Reward_Param2>
		<Reward_Param3>Underworld</Reward_Param3>
		<Reward_Param4>UM01_A_Crimelord_Unleashed.TED</Reward_Param4>
		<Reward_Param5>Empire</Reward_Param5>
		<Reward_Param6/>
		<Reward_Param7>Story_Plots_Underworld_M01_LAND.xml</Reward_Param7>
		<Reward_Param8>0</Reward_Param8>
		<Reward_Param9>0</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Reward_Param11>1</Reward_Param11>
		<Reward_Param12>RETREAT_PLAYER</Reward_Param12> <!-- Without this the land forces on Kessel will head to the Maw after M01 -->
		<Reward_Param13>0</Reward_Param13>
		<Prereq>OK_To_Begin_Underworld_ActI</Prereq>
		<Branch>BRANCH_UA01M01</Branch>
	</Event>

	<Event Name="M01_Player_Closes_Mission_End_Screen">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_ActI_M01_Load</Prereq>
		<Branch>BRANCH_UA01M01</Branch>
	</Event>

	<Event Name="Underworld_Set_Starting_Cash">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>CREDITS</Reward_Type>
		<Reward_Param1>10000</Reward_Param1>
		<Prereq>M01_Player_Closes_Mission_End_Screen</Prereq>
	</Event>

	<Event Name="Underworld_ActI_M01_Completed">
		<Event_Type>STORY_FLAG</Event_Type>
		<Event_Param1>Underworld_Mission_01_Win</Event_Param1>
		<Event_Param2>1</Event_Param2>
		<Event_Param3>GREATER_THAN_EQUAL_TO</Event_Param3>
		<Prereq>M01_Player_Closes_Mission_End_Screen</Prereq>
	</Event>

	<Event Name="Jump_Camera_to_Ryloth">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>POSITION_CAMERA</Reward_Type>
		<Reward_Param1>Ryloth</Reward_Param1>
		<Reward_Param2>0,0,0</Reward_Param2>
		<Prereq>Underworld_ActI_M01_Completed</Prereq>
	</Event>

	<Event Name="Force_Select_Ryloth">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SELECT_PLANET</Reward_Type>
		<Reward_Param1>Ryloth</Reward_Param1>
		<Prereq>Jump_Camera_to_Ryloth</Prereq>
	</Event>

<!--CORRUPTION TUTORIAL-->

	<!-- Corruption Tutorial Dialog -->

	<!--"My stay in prison has not done wonders for the organization.
		Jabba will find out about my escape soon enough - what do we have left?"-->
	<Event Name="Corruption_Tutorial_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>3</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_01</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>M01_Player_Closes_Mission_End_Screen</Prereq>
		<Branch>ACTJUMPING</Branch>
	</Event>

	<!--"We have some speeders, though they are sadly out-dated.  Many of
		the men are still loyal, but many deserted when you were arrested.
		What are your orders?"-->
	<Event Name="Corruption_Tutorial_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_02</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corruption_Tutorial_Dialog_00</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_01</Prereq>
	</Event>

	<!--"I need to spread my influence across more systems. Once we have credits coming
		in, I can start rebuilding my powerbase."-->
	<Event Name="Corruption_Tutorial_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_03</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corruption_Tutorial_Dialog_01</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_02</Prereq>
	</Event>

	<!-- "Then we need saboteurs." -->
	<Event Name="Corruption_Tutorial_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_04</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corruption_Tutorial_Dialog_02</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_03</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_04a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_04</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_03</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_04b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Corruption_Tutorial_Dialog_04a</Prereq>
	</Event>

	<!--TASK: Build a saboteur-->
	<Event Name="Underworld_Corruption_Tutorial_Task_Text_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G01_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Corruption_Tutorial_Dialog_04b</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Build_Defiler_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_00</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>13</Story_Chapter>
		<Story_Tag>Dialog_Build_Defiler</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Force_Select_Ryloth_Again">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SELECT_PLANET</Reward_Type>
		<Reward_Param1>Ryloth</Reward_Param1>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_00</Prereq>
	</Event>

	<Event Name="Force_a_Click_To_Land_Tab">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FORCE_CLICK_GUI</Reward_Type>
		<Reward_Param1>b_planet_tab</Reward_Param1>
		<Prereq>Force_Select_Ryloth_Again</Prereq>
	</Event>

	<Event Name="Flash_Saboteur_Button">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>1</Event_Param1>
		<Reward_Type>FLASH_PRODUCTION_CHOICE</Reward_Type>
		<Reward_Param1>Underworld_Saboteur_Team</Reward_Param1>
		<Prereq>Force_a_Click_To_Land_Tab</Prereq>
	</Event>

	<Event Name="Remove_Saboteur_Flash">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Flash_Saboteur_Button</Prereq>
	</Event>

	<Event Name="Build_a_Saboteur_00">
		<Event_Type>STORY_CONSTRUCT</Event_Type>
		<Event_Param1>Underworld_Saboteur_Team</Event_Param1>
		<Event_Param2>1</Event_Param2>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_00</Prereq>
		<Branch>ACTJUMPING</Branch>
	</Event>

	<Event Name="Underworld_Corruption_Tutorial_Task_Remove_Text_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G01_05</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Build_a_Saboteur_00</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Build_Defiler_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_Build_Defiler</Reward_Param1>
		<Prereq>Build_a_Saboteur_00</Prereq>
	</Event>

	<!-- "What's the plan boss?" -->
	<Event Name="Corruption_Tutorial_Dialog_05">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_06</Reward_Param1>
		<Reward_Param2>4</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_06</Reward_Param8>
		<Reward_Param9>Saboteur_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Corruption_Tutorial_Task_Remove_Text_00</Prereq>
	</Event>

	<!--Tyber Zann: There's an Imperial colony on Honoghr - it's out of
		the way and shouldn't attract undue attention if we kill some of
		the very rich and very important people and subvert the Imperial
		officials.-->
	<Event Name="Corruption_Tutorial_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_07</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corruption_Tutorial_Dialog_05</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_06</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_06b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_07</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_06</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_06c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Corruption_Tutorial_Dialog_06b</Prereq>
	</Event>

	<!-- TASK: Drag your new Saboteur unit to Honoghr and drop him in the 'Corrupt Planet'
	context-sensitive slot.-->
	<Event Name="Underworld_Corruption_Tutorial_Task_Text_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G01_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Corruption_Tutorial_Dialog_06c</Prereq>
	</Event>

	<Event Name="Flash_Honoghr_for_Saboteur">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Honoghr_Story</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Corruption_Tutorial_Dialog_06c</Prereq>
	</Event>

	<Event Name="Unlock_Corruption_Honoghr">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Honoghr_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_01</Prereq>
	</Event>

	<Event Name="Turn_off_Corruption_Exit_Voice_Honoghr">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_GALACTIC_CORRUPTION_HOLOGRAM</Reward_Type>
		<Reward_Param1>Honoghr_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_01</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Corrupt_Honoghr_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_01</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>14</Story_Chapter>
		<Story_Tag>Dialog_Corrupt_Honoghr</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Defiler_Opens_Corruption_Window_On_Honoghr">
		<Event_Type>STORY_OPEN_CORRUPTION</Event_Type>
		<Event_Param1>Honoghr_Story</Event_Param1>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_01</Prereq>
	</Event>

	<Event Name="Underworld_Corruption_Tutorial_Task_Text_01_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G01_08</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Defiler_Opens_Corruption_Window_On_Honoghr</Prereq>
	</Event>

	<!--Tyber Zann: I know we could set up a Raketeering organization
		there, but I believe we'll need to try a little intimidation first.-->
	<Event Name="Corruption_Honghr_Dialog_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_28</Reward_Param1>
		<Reward_Param2>6</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_28</Reward_Param8>
		<Prereq>Defiler_Opens_Corruption_Window_On_Honoghr</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_09a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>6</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_28</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Honghr_Dialog_00</Prereq>
	</Event>

	<!--TASK: Choose the INTIMIDATION mission from the corruption menu.-->
	<Event Name="Underworld_Corruption_Tutorial_Task_Text_05">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G01_29</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Defiler_Opens_Corruption_Window_On_Honoghr</Prereq>
	</Event>

	<Event Name="Corrupt_Honoghr_M01A">
		<Event_Type>STORY_CORRUPTION_CHANGED</Event_Type>
		<Event_Param1>Honoghr_Story</Event_Param1>
		<Event_Param2>INTIMIDATION</Event_Param2>
		<Prereq>Defiler_Opens_Corruption_Window_On_Honoghr</Prereq>
	</Event>

	<Event Name="Remove_Intimidate_Text">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G01_29</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corrupt_Honoghr_M01A</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Corrupt_Honoghr_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_Corrupt_Honoghr</Reward_Param1>
		<Prereq>Corrupt_Honoghr_M01A</Prereq>
	</Event>

	<Event Name="Mission_Unlock_Honoghr_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Honoghr_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Corrupt_Honoghr_M01A</Prereq>
	</Event>

	<Event Name="Corruption_Tut_Player_Closes_Mission_End_Screen">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Defiler_Opens_Corruption_Window_On_Honoghr</Prereq>
	</Event>

	<!--"Tyber Zann: Successful on Honoghr, word will spread to other systems
		that the Zann Consortium is not one a group to ignore.  For example,
		Shola should now be ripe for a racketeering operation.  See to it.-->
	<Event Name="Corruption_Tutorial_Dialog_20">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_09</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corrupt_Honoghr_M01A Corruption_Tut_Player_Closes_Mission_End_Screen</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_20a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_09</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_20</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_20b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Corruption_Tutorial_Dialog_20a</Prereq>
	</Event>

	<Event Name="Turn_on_Corruption_Exit_Voice_Honoghr">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_GALACTIC_CORRUPTION_HOLOGRAM</Reward_Type>
		<Reward_Param1>Honoghr_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Corruption_Tutorial_Dialog_20b</Prereq>
	</Event>

	<Event Name="Remove_Extra_Flash">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Corruption_Tutorial_Dialog_20</Prereq>
	</Event>

	<!--TASK: Use a Defiler to set up a Racketeering operation on Shola.-->
	<Event Name="Underworld_Corruption_Tutorial_Task_Text_20">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G01_22</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Corruption_Tutorial_Dialog_20b</Prereq>
	</Event>

	<Event Name="Flash_Shola_for_Saboteur_Tut">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Shola</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_20</Prereq>
	</Event>

	<Event Name="Unlock_Corruption_Shola">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Shola</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_20</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Turn_off_Corruption_Exit_Voice_Shola">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_GALACTIC_CORRUPTION_HOLOGRAM</Reward_Type>
		<Reward_Param1>Shola</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_20</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Corrupt_Shola_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_20</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>15</Story_Chapter>
		<Story_Tag>Dialog_Corrupt_Shola</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Defiler_Opens_Corruption_Window_On_Shola">
		<Event_Type>STORY_OPEN_CORRUPTION</Event_Type>
		<Event_Param1>Shola</Event_Param1>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_20</Prereq>
	</Event>

	<Event Name="Underworld_Corruption_Tutorial_Task_Text_20_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G01_22</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Defiler_Opens_Corruption_Window_On_Shola</Prereq>
	</Event>

	<Event Name="Corrupt_Shola_For_Tut">
		<Event_Type>STORY_CORRUPTION_CHANGED</Event_Type>
		<Event_Param1>Shola</Event_Param1>
		<Event_Param2>RACKETEERING</Event_Param2>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_20</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Corrupt_Shola_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_Corrupt_Shola</Reward_Param1>
		<Prereq>Corrupt_Shola_For_Tut</Prereq>
	</Event>

	<Event Name="Mission_Unlock_Shola_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Shola</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Corrupt_Shola_For_Tut</Prereq>
	</Event>

	<Event Name="Turn_off_Corruption_Exit_Voice_Mandalore">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_GALACTIC_CORRUPTION_HOLOGRAM</Reward_Type>
		<Reward_Param1>Mandalore_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Corrupt_Shola_For_Tut</Prereq>
	</Event>

	<!--Tyber Zann: Excellent!  I can see the credits start to flow already.
		It's always comforting to me to know that everyone has their price.
		Speaking of which, I want you to hire some pirates to raid Mandal
		Hypernautics' supply shipments.-->
	<Event Name="Corruption_Tutorial_Dialog_10">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_16</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_16</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corrupt_Shola_For_Tut</Prereq>
	</Event>

	<!--Urai Fen: Why Mandal Hypernautics?-->
	<Event Name="Corruption_Tutorial_Dialog_11">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_16</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_17</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_17</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corruption_Tutorial_Dialog_10</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_11a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_16</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_11</Prereq>
	</Event>

	<!--Tyber Zann: I need that company brutalized and softened up. They're
		a small part of a much larger effort. You can't make a delicious
		drogoton without breaking a few latal shells. -->
	<Event Name="Corruption_Tutorial_Dialog_12">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_17</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_18</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_18</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corruption_Tutorial_Dialog_11</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_12a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_17</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_12</Prereq>
	</Event>

	<!--Urai Fen: And how will raiding their supply shipments gain you ships?-->
	<Event Name="Corruption_Tutorial_Dialog_13">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_18</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_19</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_19</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corruption_Tutorial_Dialog_12</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_13a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_18</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_13</Prereq>
	</Event>

	<!--Tyber Zann: Urai I'm surprised at you. At my order you've sliced
		enough sons and daughters and captured enough wives of corporate
		officers to know that a little softening needs to be done before
		orders are obeyed. -->
	<Event Name="Corruption_Tutorial_Dialog_14">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_19</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_20</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G01_20</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corruption_Tutorial_Dialog_13</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_14a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_19</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_14</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_14b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G01_20</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G01_20</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Tutorial_Dialog_14</Prereq>
	</Event>

	<Event Name="Corruption_Tutorial_Dialog_14c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Corruption_Tutorial_Dialog_14b</Prereq>
	</Event>

	<!-- Unlock corruption on all remaining ActI planets -->
	<Event Name="Unlock_Corruption_Kamino">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Kamino</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Corruption_Tutorial_Dialog_14c</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Unlock_Corruption_Kessel">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Kessel</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Corruption_Tutorial_Dialog_14c</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Unlock_Corruption_NalHutta">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>NalHutta_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Corruption_Tutorial_Dialog_14c</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Reveal_Mandalore_For_Pirate_Corruption">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Mandalore_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Corruption_Tutorial_Dialog_14c</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<!--TASK: Corrupt Mandalore using PIRACY.-->
	<Event Name="Underworld_Corruption_Tutorial_Task_Text_50">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G01_30</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Corruption_Tutorial_Dialog_14c</Prereq>
	</Event>

	<Event Name="Flash_Mandalore_for_Saboteur_Tut">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Mandalore_Story</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_50</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Corrupt_Mandalore_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_50</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>16</Story_Chapter>
		<Story_Tag>Dialog_Corrupt_Mandalore</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Defiler_Opens_Corruption_Window_On_Mandalore">
		<Event_Type>STORY_OPEN_CORRUPTION</Event_Type>
		<Event_Param1>Mandalore_Story</Event_Param1>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_50</Prereq>
	</Event>

	<Event Name="Underworld_Corruption_Tutorial_Task_Text_50_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G01_30</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Defiler_Opens_Corruption_Window_On_Mandalore</Prereq>
	</Event>

	<Event Name="Remove_Flash_Around_Mandalore_for_Corruption">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Defiler_Opens_Corruption_Window_On_Mandalore</Prereq>
	</Event>

	<Event Name="Corrupt_Mandalore_For_Tut">
		<Event_Type>STORY_CORRUPTION_CHANGED</Event_Type>
		<Event_Param1>Mandalore_Story</Event_Param1>
		<Event_Param2>PIRACY</Event_Param2>
		<Prereq>Underworld_Corruption_Tutorial_Task_Text_50</Prereq>
	</Event>

	<Event Name="Mission_Unlock_Mandalore">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Mandalore_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Corrupt_Mandalore_For_Tut</Prereq>
	</Event>

	<Event Name="Mission_Unlock_Mandalore_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Mandalore_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Corrupt_Mandalore_For_Tut</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Corrupt_Mandalore_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_Corrupt_Mandalore</Reward_Param1>
		<Prereq>Corrupt_Mandalore_For_Tut</Prereq>
	</Event>

	<!--Tyber Zann: I've successfully defeated the Mandalorian Chieftan. The
		continuing raids will soon bring them to their knees.-->
	<Event Name="Corruption_Mandalore_End_Speech_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_MANDALORE_STORY_PIR_VICTORY_COR34_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>MANDALORE_STORY_PIR_VICTORY_COR34_06</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corrupt_Mandalore_For_Tut</Prereq>
	</Event>

	<Event Name="Corruption_Mandalore_End_Speech_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>MANDALORE_STORY_PIR_VICTORY_COR34_06</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_MANDALORE_STORY_PIR_VICTORY_COR34_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Corruption_Mandalore_End_Speech_00</Prereq>
	</Event>

	<Event Name="Corruption_Mandalore_End_Speech_00b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Corruption_Mandalore_End_Speech_00a</Prereq>
	</Event>

<!-- SoaFE Unit -->
	<Event Name="Unlock_Mandalorian_Warrior">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Mandalorian_Warrior_Company</Reward_Param1>
		<Prereq>Corruption_Mandalore_End_Speech_00b</Prereq>
	</Event>

<!--SANDBOX INTERLUDE I-->

	<!--Urai Fen: After your escape, I took the liberty of recovering
		the artifact from its hiding place.-->
	<Event Name="Sandbox_Interlude_Dialog_01">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G02_01</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corruption_Mandalore_End_Speech_00b</Prereq>
	</Event>

	<Event Name="Sandbox_Interlude_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_14</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Sandbox_Interlude_Dialog_01</Prereq>
	</Event>

	<Event Name="Turn_on_Corruption_Exit_Voice_Mandalore">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_GALACTIC_CORRUPTION_HOLOGRAM</Reward_Type>
		<Reward_Param1>Mandalore_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Sandbox_Interlude_Dialog_01</Prereq>
	</Event>

	<!--Tyber Zann: Jabba gave up half his criminal empire to buy that ancient
		puzzle. He expected to double his wealth with the artifact's sale to the Empire.-->
	<Event Name="Sandbox_Interlude_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G02_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G02_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Sandbox_Interlude_Dialog_01</Prereq>
	</Event>

	<Event Name="Sandbox_Interlude_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Sandbox_Interlude_Dialog_02</Prereq>
	</Event>

	<!--Urai Fen: Even at twice Jabba's wealth the Empire was paying far
		too little. -->
	<Event Name="Sandbox_Interlude_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G02_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G02_03</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Sandbox_Interlude_Dialog_02</Prereq>
	</Event>

	<Event Name="Sandbox_Interlude_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Sandbox_Interlude_Dialog_03</Prereq>
	</Event>

	<!--Tyber Zann: So you found out what it is?-->
	<Event Name="Sandbox_Interlude_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G02_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G02_04</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Sandbox_Interlude_Dialog_03</Prereq>
	</Event>

	<Event Name="Sandbox_Interlude_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Sandbox_Interlude_Dialog_04</Prereq>
	</Event>

	<!--Urai Fen: No, but I did gain some information.  The artifact
		dates from at least as far back as the Sith Wars, making it
		around four thousand years old.-->
	<Event Name="Sandbox_Interlude_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G02_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G02_05</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Sandbox_Interlude_Dialog_04</Prereq>
	</Event>

	<Event Name="Sandbox_Interlude_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Sandbox_Interlude_Dialog_05</Prereq>
	</Event>

	<!--Tyber Zann: Do you know who made it?-->
	<Event Name="Sandbox_Interlude_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G02_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G02_06</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Sandbox_Interlude_Dialog_05</Prereq>
	</Event>

	<Event Name="Sandbox_Interlude_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Sandbox_Interlude_Dialog_06</Prereq>
	</Event>

	<!--Urai Fen: Based on the design, it's likely a Sith artifact. I believe it
		is a data storage device of some kind, but it also seems to have other properties.-->
	<Event Name="Sandbox_Interlude_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G02_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G02_07</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Sandbox_Interlude_Dialog_06</Prereq>
	</Event>

	<Event Name="Sandbox_Interlude_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Sandbox_Interlude_Dialog_07</Prereq>
	</Event>

	<!--Tyber Zann: Hmm…Interesting.  If we could unlock it, we might find something
		useful. I want you to keep digging, but don't let it interfere with our rebuilding.
		I want Jabba and everyone else to know the Consortium is back.-->
	<Event Name="Sandbox_Interlude_Dialog_08">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G02_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G02_08</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Sandbox_Interlude_Dialog_07</Prereq>
	</Event>

	<Event Name="Sandbox_Interlude_Dialog_08a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Sandbox_Interlude_Dialog_08</Prereq>
	</Event>

	<Event Name="Sandbox_Interlude_Dialog_08b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G02_08</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G02_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Sandbox_Interlude_Dialog_08</Prereq>
	</Event>

	<Event Name="Sandbox_Interlude_Dialog_08c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Sandbox_Interlude_Dialog_08b</Prereq>
	</Event>

<!--MISSION 02: REMNANTS OF THE DEATH STAR-->

	<!--While I was in prison, one of my cell mates mentioned that
		the Emperor had a vast collection of treasure that he kept
		all over the galaxy in heavily protected vaults.-->
	<Event Name="Underworld_A02M02_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>5</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G03_01</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Sandbox_Interlude_Dialog_08c</Prereq>
	</Event>

	<!--"And did this cell mate know where these vaults were?
		It sounds like a children's story."-->
	<Event Name="Underworld_A02M02_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G03_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G03_02</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M02_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_A02M02_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M02_Dialog_01</Prereq>
	</Event>

	<!--"Maybe, but he seemed to truly believe it even after I convinced
		him that lying to me was a bad idea, pity he fell down that mineshaft.
		He didn't know where the vaults were, but I believe the story enough to
		check it out. Luckily, the Rebels have provided us with an opportunity
		to learn something."-->
	<Event Name="Underworld_A02M02_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G03_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G03_03</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M02_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_A02M02_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M02_Dialog_02</Prereq>
	</Event>

	<!--"Did they? How?"-->
	<Event Name="Underworld_A02M02_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G03_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G03_04</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M02_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_A02M02_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M02_Dialog_03</Prereq>
	</Event>

	<!--"They destroyed the Emperor's latest toy - the Death Star - over
		Yavin 4. Most Imperial battlestations carry data pods that are
		ejected during emergencies. Hopefully someone thought to follow
		protocol before it blew up."-->
	<Event Name="Underworld_A02M02_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G03_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G03_05</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M02_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_A02M02_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M02_Dialog_04</Prereq>
	</Event>

	<!--"And if the Rebels are still in the vicinity?"-->
	<Event Name="Underworld_A02M02_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G03_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G03_06</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M02_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_A02M02_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M02_Dialog_05</Prereq>
	</Event>

	<!--"It's almost guaranteed. They haven't had time to evacuate an entire
		base, assuming they even have somewhere else to go. And the Empire hasn't
		had time yet to send a fleet to retaliate. We won't have much time - get
		the ships ready."-->
	<Event Name="Underworld_A02M02_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G03_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G03_07</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M02_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_A02M02_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M02_Dialog_06</Prereq>
	</Event>

	<!--There are a few planets between us and Yavin that the
		Consortium doesn't control; what do you want done with them?-->
	<Event Name="Underworld_A02M02_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G03_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G03_11</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M02_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_A02M02_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M02_Dialog_07</Prereq>
	</Event>

	<!--"Anything you want Urai - corrupt them, conquer them, be
		creative. Just remember that Yavin is the goal, and we are on a schedule."-->
	<Event Name="Underworld_A02M02_Dialog_08">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G03_11</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_12</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G03_12</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M02_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_A02M02_Dialog_08a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M02_Dialog_08</Prereq>
	</Event>

	<Event Name="Underworld_A02M02_Dialog_08b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G03_12</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G03_12</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M02_Dialog_08</Prereq>
	</Event>

	<Event Name="Underworld_A02M02_Dialog_08c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A02M02_Dialog_08b</Prereq>
	</Event>

	<!-- Story Dialog for Mission 02 -->
	<Event Name="Sandbox_Mission_Two_Story_Dialog_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_A02M02_Dialog_08c</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>1</Story_Chapter>
		<Story_Tag>Dialog_U_Mission_02</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Underworld_Reveal_Yavin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Yavin</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_A02M02_Dialog_08c</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Underworld_Reveal_Kamino">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Kamino</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Branch>A01_Mission_02</Branch>
		<Prereq>Underworld_Reveal_Yavin</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Underworld_Reveal_TheMaw">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>The_Maw</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Branch>A01_Mission_02</Branch>
		<Prereq>Underworld_Reveal_Yavin</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Flash_Yavin_for_Mission_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Yavin</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Underworld_Reveal_Yavin</Prereq>
		<Branch>A01_Mission_02</Branch>
		<Branch>ACTJUMPING</Branch>
	</Event>

	<Event Name="Mission_Lock_Yavin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Yavin</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Reveal_Yavin</Prereq>
	</Event>

	<Event Name="Fleet_to_Yavin_Bounced_Without_Tyber">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Yavin</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_BOUNCE</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M02_BOUNCE</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="Fleet_to_Yavin_Bounced_Without_Tyber_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M02_BOUNCE</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_BOUNCE</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Fleet_to_Yavin_Bounced_Without_Tyber</Prereq>
	</Event>

	<Event Name="Fleet_to_Yavin_Bounced_Without_Tyber_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Fleet_to_Yavin_Bounced_Without_Tyber_Speech_Done</Prereq>
	</Event>

	<Event Name="Underworld_ActI_M02_Start">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>Yavin</Event_Param1>
		<Event_Param3>Tyber_Zann_Team_No_Peacebringer</Event_Param3>
		<Event_Param6>0</Event_Param6>
		<Reward_Type>LINK_TACTICAL</Reward_Type>
		<Reward_Param1>Yavin</Reward_Param1>
		<Reward_Param2>SPACE</Reward_Param2>
		<Reward_Param3>Underworld</Reward_Param3>
		<Reward_Param4>UM02_Remnants_Of_The_Death_Star.TED</Reward_Param4>
		<Reward_Param5>Rebel</Reward_Param5>
		<Reward_Param6/>
		<Reward_Param7>Story_Plots_Underworld_M02_SPACE.xml</Reward_Param7>
		<Reward_Param8>1</Reward_Param8>
		<Reward_Param9>0</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Reward_Param11>0</Reward_Param11>
		<Reward_Param12>RETREAT_PLAYER</Reward_Param12>
		<Reward_Param13>0</Reward_Param13>
		<Reward_Param14>0</Reward_Param14>
		<Prereq>Flash_Yavin_for_Mission_02</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<Event Name="Mission_Two_Remove_Yavin_Flash">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_ActI_M02_Start</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<!-- MISSION TWO FAILURE EVENTS -->

	<!-- Detect mission 2 being lost.  Display text telling the player to try again -->
	<Event Name="Underworld_ActI_Mission_Two_Failed">
		<Event_Type>STORY_MISSION_LOST</Event_Type>
		<Event_Param1>Story_Plots_Underworld_M02_SPACE.xml</Event_Param1>
		<Prereq>Underworld_ActI_M02_Start</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<!-- Wait until the battle summary dialog is closed -->
	<Event Name="Underworld_ActI_Mission_Two_Failed_01">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_ActI_Mission_Two_Failed</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<Event Name="A01M02_Failed_Respawn_Tyber">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FORCE_RESPAWN</Reward_Type>
		<Reward_Param1>Tyber_Zann_Team_No_Peacebringer</Reward_Param1>
		<Prereq>Underworld_ActI_Mission_Two_Failed</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<Event Name="A01M02_Failed_Lock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>1</Reward_Param1>
		<Prereq>Underworld_ActI_Mission_Two_Failed_01</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<!--That didn't go exactly as planned. I'll have to try again.-->
	<Event Name="Underworld_M02_Failed_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M02_FAIL</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_ActI_Mission_Two_Failed_01</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<Event Name="Underworld_Mission_Two_Failed_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M02_FAIL</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Underworld_M02_Failed_Dialog_00</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<Event Name="Underworld_Mission_Two_Failed_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Mission_Two_Failed_Remove_Text</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<Event Name="A01M02_Failed_Unlock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Underworld_Mission_Two_Failed_Stop_Movie</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<!-- Re-enable mission 2. Force it to trigger -->
	<Event Name="Underworld_ActI_Mission_Two_Failed_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESET_BRANCH</Reward_Type>
		<Reward_Param1>A01_Mission_02</Reward_Param1>
		<Reward_Param2/>
		<Prereq>Underworld_Mission_Two_Failed_Stop_Movie</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<Event Name="Underworld_Mission_Two_Completed">
		<Event_Type>STORY_FLAG</Event_Type>
		<Event_Param1>Underworld_Mission_02_Win</Event_Param1>
		<Event_Param2>1</Event_Param2>
		<Event_Param3>GREATER_THAN_EQUAL_TO</Event_Param3>
	</Event>

	<Event Name="UP_M02_End_Screen">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_Mission_Two_Completed</Prereq>
		<Branch>A01_Mission_02</Branch>
	</Event>

	<Event Name="Mission_Unlock_Yavin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Yavin</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Mission_Two_Completed</Prereq>
	</Event>

	<Event Name="Mission_Two_Story_Dialog_Completed">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_U_Mission_02</Reward_Param1>
		<Prereq>Underworld_Mission_Two_Completed</Prereq>
	</Event>

	<!--"Well would you look at that. I love it when I'm right."-->
	<Event Name="Underworld_Post_M02_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_01</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>UP_M02_End_Screen</Prereq>
		<Branch>ACTJUMPING</Branch>
	</Event>

	<!--"What have you found?"-->
	<Event Name="Underworld_Post_M02_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_02</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_M02_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_01</Prereq>
	</Event>

	<!--"There are records of transmissions between the Emperor and others on the
		Death Star like Tarkin and Vader.  Based on this, I think the vaults
		are very real.  And there are some bonuses.  The techs on the Death
		Star were working on plans for new ships - I'm sure I can make use of
		them.  And then there's this - construction schedules for the Emperor's
		new flagship."-->
	<Event Name="Underworld_Post_M02_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_03</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_M02_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_02</Prereq>
	</Event>

	<!--"My, that's a monster."-->
	<Event Name="Underworld_Post_M02_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_04</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_M02_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_03</Prereq>
	</Event>

	<!--"Indeed it is.  But according to this, the Emperor has visited it
		on many occasions recently.  And if he was there, then it will have
		a link to his private files."-->
	<Event Name="Underworld_Post_M02_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_05</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_M02_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_04</Prereq>
	</Event>

	<!--"And if we can get in, we can get the vault locations."-->
	<Event Name="Underworld_Post_M02_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_06</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_M02_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_05</Prereq>
	</Event>

	<!--"Yes.  And knowing the Emperor, I could use the wealth in those
		vaults to build a criminal empire that makes the Black Sun look
		like a swoop gang."-->
	<Event Name="Underworld_Post_M02_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_07</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_M02_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_06</Prereq>
	</Event>

	<!--"But first you need to get on board, then find a way to get
		into the Emperor's private files."-->
	<Event Name="Underworld_Post_M02_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_08</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_M02_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_07</Prereq>
	</Event>

	<!--"One thing at a time.  First, I need to verify that the ship is
		actually there, and then find a way to get onboard."-->
	<Event Name="Underworld_Post_M02_Dialog_08">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_08</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_09</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_M02_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_08a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_08</Prereq>
	</Event>

	<!--"You could try the black market on Kuat."-->
	<Event Name="Underworld_Post_M02_Dialog_09">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_09</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_10</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_10</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_M02_Dialog_08</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_09a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_09</Prereq>
	</Event>

	<!--"Yes, someone there might know something.  And I've been
		meaning to pick up some new tech for our soldiers."-->
	<Event Name="Underworld_Post_M02_Dialog_10">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_10</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G04_11</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_M02_Dialog_09</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_10a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_10</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_10</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_11a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G04_11</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G04_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_M02_Dialog_10</Prereq>
	</Event>

	<Event Name="Underworld_Post_M02_Dialog_11b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Post_M02_Dialog_11a</Prereq>
	</Event>

<!--BLACK MARKET TUTORIAL-->
	<Event Name="Black_Market_Tut_Reveal_Kuat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Post_M02_Dialog_11b</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Flash_Kuat_for_BM_Tutorial">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Black_Market_Tut_Reveal_Kuat</Prereq>
	</Event>

	<Event Name="Mission_Lock_Kuat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Black_Market_Tut_Reveal_Kuat</Prereq>
	</Event>

	<Event Name="Turn_off_Corruption_Exit_Voice_Kuat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_GALACTIC_CORRUPTION_HOLOGRAM</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Black_Market_Tut_Reveal_Kuat</Prereq>
	</Event>

	<!--TASK: Use a Defiler to establish a Black Market on Kuat-->
	<Event Name="Underworld_Black_Market_Tutorial_Task_Text_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G05_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Black_Market_Tut_Reveal_Kuat</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Corrupt_Kuat_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Black_Market_Tutorial_Task_Text_00</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>17</Story_Chapter>
		<Story_Tag>Dialog_Corrupt_Kuat</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Defiler_Opens_Window_On_Kuat">
		<Event_Type>STORY_OPEN_CORRUPTION</Event_Type>
		<Event_Param1>Kuat</Event_Param1>
		<Prereq>Black_Market_Tut_Reveal_Kuat</Prereq>
	</Event>

	<Event Name="Mission_Two_Remove_Kuat_Flash">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Defiler_Opens_Window_On_Kuat</Prereq>
	</Event>

	<Event Name="Corrupt_Kuat_for_BM_Tut">
		<Event_Type>STORY_CORRUPTION_CHANGED</Event_Type>
		<Event_Param1>Kuat</Event_Param1>
		<Event_Param2>BLACK_MARKET</Event_Param2>
		<Prereq>Black_Market_Tut_Reveal_Kuat</Prereq>
	</Event>

	<Event Name="Remove_BM_Tut_Corrupt_Text">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G05_01</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Corrupt_Kuat_for_BM_Tut</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Corrupt_Kuat_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_Corrupt_Kuat</Reward_Param1>
		<Prereq>Corrupt_Kuat_for_BM_Tut</Prereq>
	</Event>

	<!--"Tyber Zann: Excellent.  Now that our defilers have the market set up,
		I can buy what I need, and maybe find out something about that flagship."-->
	<Event Name="Underworld_BM_Kuat_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G05_14</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G05_14</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corrupt_Kuat_for_BM_Tut</Prereq>
	</Event>

	<Event Name="Underworld_BM_Kuat_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G05_14</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G05_14</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_BM_Kuat_00</Prereq>
	</Event>

	<Event Name="Underworld_BM_Kuat_00b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_BM_Kuat_00a</Prereq>
	</Event>

	<!--TASK: Drag Tyber Zann to the BUY slot on Kuat-->
	<Event Name="Underworld_Black_Market_Tutorial_Task_Text_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G05_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Underworld_BM_Kuat_00b</Prereq>
	</Event>

	<Event Name="Turn_on_Corruption_Exit_Voice_Kuat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_GALACTIC_CORRUPTION_HOLOGRAM</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Black_Market_Tutorial_Task_Text_01</Prereq>
	</Event>

	<Event Name="Flash_Kuat_for_BM_Again">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Underworld_Black_Market_Tutorial_Task_Text_01</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Buy_Disruptors_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Black_Market_Tutorial_Task_Text_01</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>18</Story_Chapter>
		<Story_Tag>Dialog_Buy_Disruptors</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Tyber_Enters_Kuat_Space_Tut">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>KUAT</Event_Param1>
		<Event_Param3>Tyber_Zann_Team_No_Peacebringer</Event_Param3>
		<Event_Param6>1</Event_Param6>
		<Prereq>Underworld_Black_Market_Tutorial_Task_Text_01</Prereq>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="Tyber_Enters_Black_Market">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>open_black_market_menu</Event_Param1>
		<Prereq>Tyber_Enters_Kuat_Space_Tut</Prereq>
	</Event>

	<Event Name="Underworld_Black_Market_Tutorial_Task_Remove_Text_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G05_02</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Tyber_Enters_Black_Market</Prereq>
	</Event>

	<Event Name="Mission_Remove_Kuat_Flash_Again">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Tyber_Enters_Black_Market</Prereq>
	</Event>

	<!--"Disruptors, eh?  How nice.  Disintegrates durasteel, wood,
		flesh, just about anything, no questions asked.  Just the thing
		for removing troublesome obstacles.  Have to be careful though - they
		can't pentrate shields."-->
	<Event Name="Underworld_Black_Market_Tutorial_Dialog_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G05_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G05_03</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Black_Market_Tutorial_Task_Remove_Text_01</Prereq>
	</Event>

	<Event Name="Underworld_Black_Market_Tutorial_Dialog_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G05_03</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G05_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Black_Market_Tutorial_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_Black_Market_Tutorial_Dialog_00b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Black_Market_Tutorial_Dialog_00a</Prereq>
	</Event>

	<!--TASK: Purchase Disruptor Technology-->
	<Event Name="Underworld_Black_Market_Tutorial_Task_Text_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G05_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Underworld_Black_Market_Tutorial_Dialog_00</Prereq>
	</Event>

	<Event Name="Buy_Disruptor_Tech">
		<Event_Type>STORY_BUY_BLACK_MARKET</Event_Type>
		<Event_Param1>Disruptor_Tech</Event_Param1>
		<Prereq>Tyber_Enters_Black_Market</Prereq>
	</Event>

	<Event Name="Underworld_Black_Market_Tutorial_Task_Remove_Text_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G05_04</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Buy_Disruptor_Tech</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Buy_Disruptors_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_Buy_Disruptors</Reward_Param1>
		<Prereq>Buy_Disruptor_Tech</Prereq>
	</Event>

	<!--"Remind me to check the black market on Rebel-controlled worlds - sometimes they
		find things the Empire doesn't have.  In any case, there is no way we are getting
		onto that ship.  Wonderful name it has - the Eclipse.  It certainly blocked out
		my view of the shipyards."-->
	<Event Name="Underworld_Post_BMT_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>3</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G05_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G05_11</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Buy_Disruptor_Tech</Prereq>
		<Branch>ACTJUMPING</Branch>
	</Event>

	<!--"Security is too tight?"-->
	<Event Name="Underworld_Post_BMT_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G05_11</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G05_12</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G05_12</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_BMT_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_Post_BMT_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G05_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_BMT_Dialog_01</Prereq>
	</Event>

	<!--"They have an entire armada of ships guarding that thing - casually
		flying in and asking to visit is out.  Still, there must be another way.
		I'll have to think on it a while."-->
	<Event Name="Underworld_Post_BMT_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G05_12</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G05_13</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G05_13</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Post_BMT_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_Post_BMT_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G05_12</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_BMT_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_Post_BMT_Dialog_03a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G05_13</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G05_13</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Post_BMT_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_Post_BMT_Dialog_03b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Post_BMT_Dialog_03a</Prereq>
	</Event>

	<Event Name="Disable_Mission_Kuat_Lockout">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>Fleet_to_Kuat_Bounced_M12</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Post_BMT_Dialog_00</Prereq>
	</Event>

	<Event Name="General_Kuat_Fleet_Bounce">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Kuat</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_M12_BOUNCE_GEN</Reward_Param1>
		<Reward_Param2>5</Reward_Param2>
		<Reward_Param8>UW_ACT03_G21_07</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="General_Kuat_Fleet_Bounce_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G21_07</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_M12_BOUNCE_GEN</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>General_Kuat_Fleet_Bounce</Prereq>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="General_Kuat_Fleet_Bounce_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>General_Kuat_Fleet_Bounce_Speech_Done</Prereq>
		<Perpetual>True</Perpetual>
	</Event>

	<!-- Added these blocks so that Kuat BM could be accessed by all heroes -->
	<Event Name="Urai_Enters_Kuat_Space_BM">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>KUAT</Event_Param1>
		<Event_Param3>Urai_Fen_Team</Event_Param3>
		<Event_Param6>1</Event_Param6>
		<Prereq>Underworld_Post_BMT_Dialog_00</Prereq>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="Silri_Enters_Kuat_Space_BM">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>KUAT</Event_Param1>
		<Event_Param3>Silri_Team</Event_Param3>
		<Event_Param6>1</Event_Param6>
		<Prereq>Underworld_Post_BMT_Dialog_00</Prereq>
		<Perpetual>True</Perpetual>
	</Event>

<!--MISSION 03: COMMUNICATIONS BREAKDOWN-->

	<Event Name="Force_Zoom_Out_For_Event">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>ZOOM_OUT</Reward_Type>
		<Prereq>Underworld_Post_BMT_Dialog_03b</Prereq>
	</Event>

	<Event Name="Jump_Camera_to_Ryloth_For_Event">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>POSITION_CAMERA</Reward_Type>
		<Reward_Param1>Ryloth</Reward_Param1>
		<Reward_Param2>0,0,0</Reward_Param2>
		<Prereq>Force_Zoom_Out_For_Event</Prereq>
	</Event>

	<Event Name="Underworld_A01M03_Destroy_Structure">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SABOTAGE_STRUCTURE</Reward_Type>
		<Reward_Param1>Ryloth</Reward_Param1>
		<Reward_Param2>U_Ground_Barracks</Reward_Param2>
		<Prereq>Jump_Camera_to_Ryloth_For_Event</Prereq>
	</Event>

	<!--"Sir, one of our barracks on Ryloth just got hit.  Looks like Hutt sabotage."-->
	<Event Name="Underworld_A01M03_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G06_01</Reward_Param8>
		<Reward_Param9>Underworld_soldier_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M03_Destroy_Structure</Prereq>
		<Branch>ACTJUMPING</Branch>
	</Event>

	<!--"I expected nothing less from that slug.  Well then, if he wants to play,
		we'll accommodate him."-->
	<Event Name="Underworld_A01M03_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G06_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G06_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M03_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_A01M03_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M03_Dialog_01</Prereq>
	</Event>

	<!--"(translated) Good Tyber, I look forward to playing with you.  I also
		look forward to crushing your business into the ground.  You will learn
		that stealing from me is a deadly mistake."-->
	<Event Name="Underworld_A01M03_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G06_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>ALIEN_SPEECH</Reward_Param7>
		<Reward_Param8>UW_ACT01_G06_03</Reward_Param8>
		<Reward_Param9>Jabba_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M03_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_A01M03_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M03_Dialog_02</Prereq>
	</Event>

	<!--"Jabba!  How's the desert planet treating you?  Dried up and died yet?
		No?  Too bad.  Now get out of my comm system. (to soldier) How did he
		find us here?"-->
	<Event Name="Underworld_A01M03_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G06_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G06_04</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M03_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_A01M03_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M03_Dialog_03</Prereq>
	</Event>

	<!--"We traced the signal to Saleucami.  It looks like Jabba maintains a small
		comm outpost there."-->
	<Event Name="Underworld_A01M03_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G06_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G06_05</Reward_Param8>
		<Reward_Param9>Underworld_soldier_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M03_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_A01M03_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M03_Dialog_04</Prereq>
	</Event>

	<!--"Tyber Zann: Well then, if he can use it to break in on us, we can use
		it to break into his communications.  I think we'll give Jabba some of
		his own medicine and soften up Saleucami before landing - I think some
		sabotage is in order."-->
	<Event Name="Underworld_A01M03_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G06_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G06_06</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M03_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_A01M03_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M03_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_A01M03_Dialog_05b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G06_06</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M03_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_A01M03_Dialog_05c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A01M03_Dialog_05b</Prereq>
	</Event>

	<Event Name="Reveal_Saleucami_for_Mission">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_A01M03_Dialog_05c</Prereq>
	</Event>

	<Event Name="Turn_off_Corruption_Exit_Voice_Saleucami">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_GALACTIC_CORRUPTION_HOLOGRAM</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Reveal_Saleucami_for_Mission</Prereq>
	</Event>

	<!-- TASK: In order to perform sabotage, you must first corrupt the planet.
		Corrupt Saleucami however you wish.-->
	<Event Name="Underworld_Task_Message_Saleucami_Corrupt">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G06_13</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Reveal_Saleucami_for_Mission</Prereq>
	</Event>

	<Event Name="Flash_Saleucami_Sabo_Tut_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Underworld_Task_Message_Saleucami_Corrupt</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Corrupt_Saleucami_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Task_Message_Saleucami_Corrupt</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>19</Story_Chapter>
		<Story_Tag>Dialog_Corrupt_Saleucami</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Defiler_Opens_Corruption_Window_On_Saleucami">
		<Event_Type>STORY_OPEN_CORRUPTION</Event_Type>
		<Event_Param1>Saleucami</Event_Param1>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_Task_Message_Saleucami_Corrupt</Prereq>
	</Event>

	<Event Name="Remove_Task_Saleucami_Corrupt">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G06_13</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Defiler_Opens_Corruption_Window_On_Saleucami</Prereq>
	</Event>

	<Event Name="Remove_Saboteur_Flash_from_Saleucami_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Defiler_Opens_Corruption_Window_On_Saleucami</Prereq>
	</Event>

	<Event Name="Corrupt_Saleucami_Intimidation">
		<Event_Type>STORY_CORRUPTION_CHANGED</Event_Type>
		<Event_Param1>Saleucami</Event_Param1>
		<Event_Param2>INTIMIDATION</Event_Param2>
		<Prereq>Underworld_Task_Message_Saleucami_Corrupt</Prereq>
	</Event>

	<Event Name="Corrupt_Saleucami_Racketeering">
		<Event_Type>STORY_CORRUPTION_CHANGED</Event_Type>
		<Event_Param1>Saleucami</Event_Param1>
		<Event_Param2>RACKETEERING</Event_Param2>
		<Prereq>Underworld_Task_Message_Saleucami_Corrupt</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Corrupt_Saleucami_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_Corrupt_Saleucami</Reward_Param1>
		<Prereq>Corrupt_Saleucami_Intimidation</Prereq>
		<Prereq>Corrupt_Saleucami_Racketeering</Prereq>
	</Event>

	<!--"Tyber Zann: Well done.  And now for the best part - blowing up Jabba's
		property.  Let's see what he has down on Saleucami first."-->
	<Event Name="Underworld_Sabotage_Response_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_10</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G06_10</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Corrupt_Saleucami_Intimidation</Prereq>
		<Prereq>Corrupt_Saleucami_Racketeering</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Response_00b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G06_10</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_10</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabotage_Response_00</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Response_00c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Sabotage_Response_00b</Prereq>
	</Event>

	<!-- TASK: Build a Saboteur and drag it to the SABOTAGE context-sensitive slot on Saleucami.-->
	<Event Name="Underworld_Sabotage_Tutorial_ActI_Task_Text_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G06_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Underworld_Sabotage_Response_00c</Prereq>
	</Event>

	<Event Name="Flash_Saleucami_Sabo_Tut_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Underworld_Sabotage_Tutorial_ActI_Task_Text_01</Prereq>
	</Event>

	<Event Name="Unock_Sabotage_Saleucami">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Sabotage_Tutorial_ActI_Task_Text_01</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Sabotage_Saleucami_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Sabotage_Tutorial_ActI_Task_Text_01</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>20</Story_Chapter>
		<Story_Tag>Dialog_Sabotage_Saleucami</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Saboteur_Opens_Sabotage_Menu_ActI">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>open_galactic_sabotage_menu</Event_Param1>
		<Prereq>Underworld_Sabotage_Tutorial_ActI_Task_Text_01</Prereq>
	</Event>

	<Event Name="Remove_Sabo_Tut_Text_ActI_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G06_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Saboteur_Opens_Sabotage_Menu_ActI</Prereq>
	</Event>

	<Event Name="Remove_Saboteur_Flash_from_Saleucami">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Saboteur_Opens_Sabotage_Menu_ActI</Prereq>
	</Event>

	<Event Name="Turn_on_Corruption_Exit_Voice_Saleucami">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_GALACTIC_CORRUPTION_HOLOGRAM</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Saboteur_Opens_Sabotage_Menu_ActI</Prereq>
	</Event>

	<!--"The shield generator is a prime target - take it out."-->
	<Event Name="Underworld_Sabo_Tut_ActI_Dialog_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G06_08</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Saboteur_Opens_Sabotage_Menu_ActI</Prereq>
	</Event>

	<Event Name="Underworld_Sabo_Tut_ActI_Dialog_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G06_08</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_Sabo_Tut_ActI_Dialog_00b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_00a</Prereq>
	</Event>

	<!-- TASK: Destroy the shield generator on Saleucami-->
	<Event Name="Underworld_Sabotage_Tutorial_Task_Text_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G06_12</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Saboteur_Opens_Sabotage_Menu_ActI</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_ActI_Task_Completed">
		<Event_Type>STORY_GALACTIC_SABOTAGE</Event_Type>
		<Event_Param1>Hutt_Ground_Base_Shield</Event_Param1>
		<Prereq>Saboteur_Opens_Sabotage_Menu_ActI </Prereq>
	</Event>

	<Event Name="Remove_Sabo_Tut_ActI_Text_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G06_12</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabotage_Tutorial_ActI_Task_Completed</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Sabotage_Saleucami_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_Sabotage_Saleucami</Reward_Param1>
		<Prereq>Underworld_Sabotage_Tutorial_ActI_Task_Completed</Prereq>
	</Event>

	<!--"That should soften up the defenses.  I want that planet in my pocket!"-->
	<Event Name="Underworld_Sabo_Tut_ActI_Dialog_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G06_09</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Sabotage_Tutorial_ActI_Task_Completed</Prereq>
	</Event>

	<Event Name="Underworld_Sabo_Tut_ActI_Dialog_01a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G06_09</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G06_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_Sabo_Tut_ActI_Dialog_01b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01a</Prereq>
	</Event>

	<Event Name="Mission_Unlock_Saleucami_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01b</Prereq>
	</Event>

	<Event Name="Disable_General_Saleucami_Bounce">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>General_Saleucami_Bounce</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01b</Prereq>
	</Event>

	<!-- Unlock Sabotage on all Act I planets -->
	<Event Name="Unlock_Sabotage_Kamino">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Kamino</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Unlock_Sabotage_Honoghr">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Honoghr_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Unlock_Sabotage_Kessel">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Kessel</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Unlock_Sabotage_The_Maw">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>The_Maw</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Unlock_Sabotage_NalHutta">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>NalHutta_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Unlock_Sabotage_Shola">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Shola</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Unlock_Sabotage_Yavin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Yavin</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Unlock_Sabotage_Kuat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<!-- Story Dialog for Mission Three -->
	<Event Name="Underworld_A01M03_Story_Dialog_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Sabo_Tut_ActI_Dialog_01b</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>2</Story_Chapter>
		<Story_Tag>Mission_03_Dialog</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<!--TASK: Take control of Saleucami without destroying the
		Communications Station.  Deploy Urai Fen on Saleucami to
		begin the mission.-->
	<Event Name="Mission_Three_Mission_Task_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G06_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Underworld_A01M03_Story_Dialog_Add</Prereq>
	</Event>

	<Event Name="Flash_Saleucami_for_Mission_03">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Mission_Three_Mission_Task_00</Prereq>
	</Event>

	<Event Name="Underworld_ActI_M03_Start">
		<Event_Type>STORY_DEPLOY</Event_Type>
		<Event_Param1>Urai_Fen</Event_Param1>
		<Event_Param2>Saleucami</Event_Param2>
		<Reward_Type>LINK_TACTICAL</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>LAND</Reward_Param2>
		<Reward_Param3>Underworld</Reward_Param3>
		<Reward_Param4>UM03_Communications_Breakdown.ted</Reward_Param4>
		<Reward_Param5>Hutts</Reward_Param5>
		<Reward_Param6/>
		<Reward_Param7>Story_Plots_Underworld_M03_Land.XML</Reward_Param7>
		<Reward_Param8>1</Reward_Param8>
		<Reward_Param9>0</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Reward_Param11>0</Reward_Param11>
		<Reward_Param12>DESTROY_AI</Reward_Param12>
		<Reward_Param13>0</Reward_Param13>
		<Prereq>Flash_Saleucami_for_Mission_03</Prereq>
		<Branch>A01_Mission_03</Branch>
	</Event>

	<Event Name="Remove_Saleucami_Flash">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_ActI_M03_Start</Prereq>
	</Event>

	<Event Name="Remove_Mission_Three_Mission_Task_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G06_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_ActI_M03_Start</Prereq>
	</Event>

	<!-- MISSION THREE FAILURE EVENTS -->

	<!-- Detect mission 3 being lost.  Display text telling the player to try again -->
	<Event Name="Underworld_A01M03_Failed">
		<Event_Type>STORY_MISSION_LOST</Event_Type>
		<Event_Param1>Story_Plots_Underworld_M03_Land.XML</Event_Param1>
		<Prereq>Underworld_ActI_M03_Start</Prereq>
		<Branch>A01_Mission_03</Branch>
	</Event>

	<!-- Wait until the battle summary dialog is closed -->
	<Event Name="Underworld_A01M03_Failed_01">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_A01M03_Failed</Prereq>
		<Branch>A01_Mission_03</Branch>
	</Event>

	<Event Name="A01M03_Failed_Lock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>1</Reward_Param1>
		<Prereq>Underworld_A01M03_Failed_01</Prereq>
		<Branch>A01_Mission_03</Branch>
	</Event>

	<!--That didn't go exactly as planned.  I'll have to try again.-->
	<Event Name="Underworld_A01M03_Failed_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M02_FAIL</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M03_Failed_01</Prereq>
		<Branch>A01_Mission_03</Branch>
	</Event>

	<Event Name="Underworld_A01M03_Failed_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M02_FAIL</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Underworld_A01M03_Failed_Dialog_00</Prereq>
		<Branch>A01_Mission_03</Branch>
	</Event>

	<Event Name="Underworld_A01M03_Failed_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A01M03_Failed_Remove_Text</Prereq>
		<Branch>A01_Mission_03</Branch>
	</Event>

	<!--Force Respawn Urai Fen -->
	<Event Name="Underworld_A01M03_Failed_Respawn_Urai">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FORCE_RESPAWN</Reward_Type>
		<Reward_Param1>Urai_Fen_Team</Reward_Param1>
		<Prereq>Underworld_A01M03_Failed_Stop_Movie</Prereq>
		<Branch>A01_Mission_03</Branch>
	</Event>

	<Event Name="A01M03_Failed_Unlock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Underworld_A01M03_Failed_Respawn_Urai</Prereq>
		<Branch>A01_Mission_03</Branch>
	</Event>

	<!-- Re-enable mission 3 -->
	<Event Name="Underworld_A01M03_Failed_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESET_BRANCH</Reward_Type>
		<Reward_Param1>A01_Mission_03</Reward_Param1>
		<Reward_Param2/>
		<Prereq>A01M03_Failed_Unlock_Player</Prereq>
		<Branch>A01_Mission_03</Branch>
	</Event>

	<Event Name="Underworld_Mission_03_Completed">
		<Event_Type>STORY_FLAG</Event_Type>
		<Event_Param1>Underworld_Mission_03_Win</Event_Param1>
		<Event_Param2>1</Event_Param2>
		<Event_Param3>GREATER_THAN_EQUAL_TO</Event_Param3>
	</Event>
	
	<Event Name="Underworld_A01M03_Story_Dialog_Completed">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Mission_03_Dialog</Reward_Param1>
		<Prereq>Underworld_Mission_03_Completed</Prereq>
	</Event>

	<Event Name="Mission_Unlock_Saleucami">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Mission_03_Completed</Prereq>
	</Event>

	<Event Name="Unlock_Autoresolve_Saleucami">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_AUTORESOLVE</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Mission_03_Completed</Prereq>
	</Event>

	<Event Name="Give_Saleucami_to_Underworld">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>PLANET_FACTION</Reward_Type>
		<Reward_Param1>Saleucami</Reward_Param1>
		<Reward_Param2>Underworld</Reward_Param2>
		<Prereq>Underworld_Mission_03_Completed</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

<!--MISSION 04: VISIONS OF THE PAST-->

	<!--"It seems Jabba has been digging up the past."-->
	<Event Name="Underworld_A01M04_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G07_01</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Give_Saleucami_to_Underworld</Prereq>
		<Branch>ACTJUMPING</Branch>
	</Event>

	<!--"How so?"-->
	<Event Name="Underworld_A01M04_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G07_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G07_02</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M04_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_A01M04_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M04_Dialog_01</Prereq>
	</Event>

	<!--"I pulled this off of his comm net once we gained control of Saleucami.
		Evidently he's found an old battle droid factory on Hypori that wasn't
		destroyed when the Republic raided it during the Clone Wars."-->
	<Event Name="Underworld_A01M04_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G07_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G07_03</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M04_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_A01M04_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M04_Dialog_02</Prereq>
	</Event>

	<!--"You mean its still functional?"-->
	<Event Name="Underworld_A01M04_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G07_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G07_04</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M04_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_A01M04_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M04_Dialog_03</Prereq>
	</Event>

	<!--"Looks that way from the data, though Jabba's been too scared so far to
		check it out personally.  I think we'll save him the trouble.  If we can
		get control of it before he does, it gives us a huge advantage and a lot
		of firepower."-->
	<Event Name="Underworld_A01M04_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G07_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G07_05</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M04_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_A01M04_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M04_Dialog_04</Prereq>
	</Event>

	<!--"It could be a trap."-->
	<Event Name="Underworld_A01M04_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G07_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G07_06</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M04_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_A01M04_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M04_Dialog_05</Prereq>
	</Event>

	<!--"Jabba's not that smart.  Still, it pays to be cautious.  You go on
		ahead and do some scouting, I'll bring the backup."-->
	<Event Name="Underworld_A01M04_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G07_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_G07_07</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A01M04_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_A01M04_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M04_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_A01M04_Dialog_07a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_G07_07</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_G07_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A01M04_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_A01M04_Dialog_07b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A01M04_Dialog_07a</Prereq>
	</Event>

	<!-- Despawn Urai until after Mission 4 -->
	<Event Name="Despawn_Urai_A01M04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REMOVE_UNIT</Reward_Type>
		<Reward_Param1>Urai_Fen</Reward_Param1> <!--Despawn the unit, not the team -->
		<Reward_Param2>1</Reward_Param2> <!-- Remove all instances of this type -->
		<Prereq>Underworld_A01M04_Dialog_07b</Prereq>
	</Event>

	<!-- Story Dialog for Mission Four -->
	<Event Name="Underworld_A01M04_Story_Dialog_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_A01M04_Dialog_07b</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>3</Story_Chapter>
		<Story_Tag>Mission_04_Dialog</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Underworld_Reveal_Tatooine"><!--SoaFE: Need this planet to get to Hypori-->
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Tatooine</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_A01M04_Story_Dialog_Add</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Underworld_Reveal_Hypori">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Hypori</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_A01M04_Story_Dialog_Add</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Flash_Hypori_for_Mission_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Hypori</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Underworld_Reveal_Hypori</Prereq>
		<Branch>ACTJUMPING</Branch>
	</Event>

	<!-- TASK: Put together a ground force along with Tyber Zann and deploy Tyber on Hypori-->
	<Event Name="Mission_Four_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G07_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Underworld_A01M04_Story_Dialog_Add</Prereq>
	</Event>

	<Event Name="Underworld_ActI_M04_Start">
		<Event_Type>STORY_DEPLOY</Event_Type>
		<Event_Param1>Tyber_Zann_Passenger</Event_Param1>
		<Event_Param2>Hypori</Event_Param2>
		<Reward_Type>LINK_TACTICAL</Reward_Type>
		<Reward_Param1>Hypori</Reward_Param1>
		<Reward_Param2>LAND</Reward_Param2>
		<Reward_Param3>Underworld</Reward_Param3>
		<Reward_Param4>UM04_Visions_Of_The_Past.ted</Reward_Param4>
		<Reward_Param5>Pirates</Reward_Param5>
		<Reward_Param6/>
		<Reward_Param7>Story_Plots_Underworld_M04_LAND.xml</Reward_Param7>
		<Reward_Param8>1</Reward_Param8>
		<Reward_Param9>0</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Reward_Param11>0</Reward_Param11>
		<Reward_Param13>0</Reward_Param13>
		<Prereq>Underworld_Reveal_Hypori</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<Event Name="Remove_Hypori_Flash">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_ActI_M04_Start</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<Event Name="Remove_Mission_Four_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT01_G07_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_ActI_M04_Start</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<!-- MISSION FOUR FAILURE EVENTS -->

	<!-- Detect mission 4 being lost.  Display text telling the player to try again -->
	<Event Name="Underworld_ActI_Mission_Four_Failed">
		<Event_Type>STORY_MISSION_LOST</Event_Type>
		<Event_Param1>Story_Plots_Underworld_M04_LAND.xml</Event_Param1>
		<Prereq>Underworld_ActI_M04_Start</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<!-- Wait until the battle summary dialog is closed -->
	<Event Name="Underworld_ActI_Mission_Four_Failed_01">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_ActI_Mission_Four_Failed</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<Event Name="A01M04_Failed_Respawn_Tyber">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FORCE_RESPAWN</Reward_Type>
		<Reward_Param1>Tyber_Zann_Team_No_Peacebringer</Reward_Param1>
		<Prereq>Underworld_ActI_Mission_Four_Failed</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<Event Name="A01M04_Failed_Lock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>1</Reward_Param1>
		<Prereq>Underworld_ActI_Mission_Four_Failed_01</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<!--That didn't go exactly as planned.  I'll have to try again.-->
	<Event Name="Underworld_M04_Failed_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M02_FAIL</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_ActI_Mission_Four_Failed_01</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<Event Name="Underworld_M04_Failed_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M02_FAIL</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Underworld_M04_Failed_Dialog_00</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<Event Name="Underworld_M04_Failed_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_M04_Failed_Remove_Text</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<Event Name="A01M04_Failed_Unlock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Underworld_M04_Failed_Stop_Movie</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<!-- Re-enable mission 2.  Force it to trigger -->
	<Event Name="Underworld_ActI_M04_Failed_Restart">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESET_BRANCH</Reward_Type>
		<Reward_Param1>A01_Mission_04</Reward_Param1>
		<Reward_Param2>Underworld_ActI_M04_Start</Reward_Param2>
		<Prereq>A01M04_Failed_Unlock_Player</Prereq>
		<Branch>A01_Mission_04</Branch>
	</Event>

	<Event Name="Underworld_Mission_Four_Completed">
		<Event_Type>STORY_FLAG</Event_Type>
		<Event_Param1>Underworld_Mission_04_Win</Event_Param1>
		<Event_Param2>1</Event_Param2>
		<Event_Param3>GREATER_THAN_EQUAL_TO</Event_Param3>
	</Event>

	<Event Name="Underworld_A01M04_Story_Dialog_Completed">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Mission_04_Dialog</Reward_Param1>
		<Prereq>Underworld_Mission_Four_Completed</Prereq>
	</Event>

	<Event Name="Give_Hypori_to_Underworld">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>PLANET_FACTION</Reward_Type>
		<Reward_Param1>Hypori</Reward_Param1>
		<Reward_Param2>Underworld</Reward_Param2>
		<Prereq>Underworld_Mission_Four_Completed</Prereq>
	</Event>

	<Event Name="Spawn_Urai_on_Hypori">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SPAWN_HERO</Reward_Type>
		<Reward_Param1>Urai_Fen_Team</Reward_Param1>
		<Reward_Param2>Hypori</Reward_Param2>
		<Prereq>Give_Hypori_to_Underworld</Prereq>
	</Event>

	<Event Name="Give_Player_Free_Droids_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>UNIQUE_UNIT</Reward_Type>
		<Reward_Param1>Destroyer_Droid_Company</Reward_Param1>
		<Reward_Param2>Hypori</Reward_Param2>
		<Prereq>Give_Hypori_to_Underworld</Prereq>
	</Event>

	<Event Name="Give_Player_Free_Droids_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>UNIQUE_UNIT</Reward_Type>
		<Reward_Param1>Destroyer_Droid_Company</Reward_Param1>
		<Reward_Param2>Hypori</Reward_Param2>
		<Prereq>Give_Hypori_to_Underworld</Prereq>
	</Event>

	<Event Name="Unlock_Droid_Works">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>U_Ground_Droid_Works</Reward_Param1>
		<Prereq>Give_Hypori_to_Underworld</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="UM04_Spawn_Bossk">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SPAWN_HERO</Reward_Type>
		<Reward_Param1>Bossk_Team</Reward_Param1>
		<Reward_Param2>Hypori</Reward_Param2>
		<Prereq>Give_Hypori_to_Underworld</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Unlock_Corruption_Hypori">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Hypori</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Give_Hypori_to_Underworld</Prereq>
	</Event>

	<!--END OF ACT I-->
	<Event Name="End_Of_ActI_Text_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Give_Hypori_to_Underworld</Prereq>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

<!--BEGIN UNDERWORLD ACT TWO-->

<!-- Underworld ACT II Planet Reveals -->
	<Event Name="Underworld_ActII_Reveal_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Bonadan</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Felucia</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Hoth</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_03">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Mustafar</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Muunilinst</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_05">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Utapau</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_06">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Tatooine</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_07">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Kamino</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_08">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Lok</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_09">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Naboo</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_10">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Ilum</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_11">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Eriadu</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_12">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Dagobah</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_13">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>AlzocIII</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActII_Reveal_14">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Telos</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActI_Text_00</Prereq>
	</Event>

	<Event Name="ActII_Planets_Unlocked">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>
			Underworld_ActII_Reveal_00,
			Underworld_ActII_Reveal_01,
			Underworld_ActII_Reveal_02,
			Underworld_ActII_Reveal_03,
			Underworld_ActII_Reveal_04,
			Underworld_ActII_Reveal_05,
			Underworld_ActII_Reveal_06,
			Underworld_ActII_Reveal_07,
			Underworld_ActII_Reveal_08,
			Underworld_ActII_Reveal_09,
			Underworld_ActII_Reveal_10,
			Underworld_ActII_Reveal_11,
			Underworld_ActII_Reveal_12,
			Underworld_ActII_Reveal_13,
			Underworld_ActII_Reveal_14
		</Prereq>
	</Event>

	<!-- Unlock units available in Act II -->
	<Event Name="Unlock_Munificent">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Munificent_Frigate</Reward_Param1>
		<Prereq>ActII_Planets_Unlocked</Prereq>
	</Event>

	<Event Name="Unlock_Recusant">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Recusant_Destroyer</Reward_Param1>
		<Prereq>ActII_Planets_Unlocked</Prereq>
	</Event>

	<Event Name="Unlock_X3">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Prowler-B_Squadron</Reward_Param1>
		<Prereq>ActII_Planets_Unlocked</Prereq>
	</Event>

	<Event Name="Unlock_Cloaking_Transport">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>F9TZ_Cloaking_Transport_Company</Reward_Param1>
		<Prereq>ActII_Planets_Unlocked</Prereq>
	</Event>

	<Event Name="Unlock_MAL">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>MAL_Rocket_Vehicle_Company</Reward_Param1>
		<Prereq>ActII_Planets_Unlocked</Prereq>
	</Event>

	<Event Name="Unlock_Pulse_Tank">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>MZ8_Pulse_Cannon_Tank_Company</Reward_Param1>
		<Prereq>ActII_Planets_Unlocked</Prereq>
	</Event>

	<Event Name="Unlock_Vehicle_Factory">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>U_Ground_Vehicle_Factory</Reward_Param1>
		<Prereq>ActII_Planets_Unlocked</Prereq>
	</Event>

	<Event Name="All_ActII_Units_Unlocked">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>
			Unlock_Munificent,
			Unlock_Recusant,
			Unlock_X3,
			Unlock_Cloaking_Transport,
			Unlock_MAL,
			Unlock_Pulse_Tank,
			Unlock_Vehicle_Factory
		</Prereq>
	</Event>

	<!-- Do not modify this tech level without consulting campaign designers -->
	<Event Name="Set_Act02_Empire_Tech">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_TECH_LEVEL</Reward_Type>
		<Reward_Param1>Empire</Reward_Param1>
		<Reward_Param2>3</Reward_Param2>
		<Prereq>All_ActII_Units_Unlocked</Prereq>
	</Event>

	<!-- Do not modify this tech level without consulting campaign designers -->
	<Event Name="Set_Act02_Rebel_Tech">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_TECH_LEVEL</Reward_Type>
		<Reward_Param1>Rebel</Reward_Param1>
		<Reward_Param2>2</Reward_Param2>
		<Prereq>All_ActII_Units_Unlocked</Prereq>
	</Event>

	<Event Name="Set_Act02_Rebel_Remove_Corruption_AI">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SWITCH_CONTROL</Reward_Type>
		<Reward_Param1>Rebel</Reward_Param1>
		<Reward_Param2>AI_Player_UnderworldStoryOpponent</Reward_Param2>
		<Prereq>All_ActII_Units_Unlocked</Prereq>
	</Event>

	<Event Name="Set_Act02_Empire_Remove_Corruption_AI">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SWITCH_CONTROL</Reward_Type>
		<Reward_Param1>Empire</Reward_Param1>
		<Reward_Param2>AI_Player_UnderworldStoryOpponent</Reward_Param2>
		<Prereq>All_ActII_Units_Unlocked</Prereq>
	</Event>

	<Event Name="OK_To_Begin_Underworld_ActII">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>
			ActII_Planets_Unlocked,
			All_ActII_Units_Unlocked,
			Set_Act02_Empire_Tech,
			Set_Act02_Rebel_Tech,
			Set_Act02_Rebel_Remove_Corruption_AI,
			Set_Act02_Empire_Remove_Corruption_AI
		</Prereq>
	</Event>

	<!-- HINT: Prices have changed in the black market.  Visit Imperial and
		Rebel worlds to see what's available-->
	<Event Name="Hint_about_BM_Advancement_ActII">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M04_62</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M04_62</Reward_Param8>
		<Reward_Param9/>
		<Reward_Param10/>
		<Prereq>OK_To_Begin_Underworld_ActII</Prereq>
	</Event>

	<Event Name="Hint_about_BM_Advancement_ActII_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M04_62</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M04_62</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Hint_about_BM_Advancement_ActII</Prereq>
	</Event>

	<!-- ACT02 INTRODUCTION DIALOG -->

	<!--"Urai Fen: I am worried we are doing too many tasks at the same time. Your plans are
		quite complex and could blow up in our faces. It is also very possible that your
		Defilers could turn on us just as well as the targets we send them against. "-->
	<Event Name="Underworld_Act02_Intro_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_01</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Hint_about_BM_Advancement_ActII_Done</Prereq>
	</Event>

	<!--"Tyber Zann: My plan has never changed! The artifact is merely a tool to
		obtain my primary goal. I'll grow my consortium and seek revenge on Jabba
		and the Empire. The way to grow my organization is through the corruption
		of worlds. Anyone who tries to stop me will be crushed under my boot."-->
	<Event Name="Underworld_Act02_Intro_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_01</Prereq>
	</Event>

	<!--"Tyber Zann: However, you may be right about the Defilers. I've seen the
		reports on their conditioning at our secret satellite base above Ryloth.
		I can add loyalty brain washing to the drug conditioning and death disciplines
		we're already making them go through. Urai, thank you for your council, that's
		why you are my second in command. Now get back to focusing in on my plan."-->
	<Event Name="Underworld_Act02_Intro_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_03</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_02</Prereq>
	</Event>

	<!--"Urai Fen: Any luck finding a way past the blockade at Kuat?"-->
	<Event Name="Underworld_Act02_Intro_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_04</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_03</Prereq>
	</Event>

	<!--"Tyber Zann: The Empire forces are not going to stop me, but they sure
		can slow me down. No.  I know the Eclipse is the back door I need, but right
		now there's no way we're getting through.  Though maybe..."-->
	<Event Name="Underworld_Act02_Intro_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_05</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_04</Prereq>
	</Event>

	<!--"Urai Fen: I hope you have an idea. I am all out of thoughts on this one. "-->
	<Event Name="Underworld_Act02_Intro_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_06</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_05</Prereq>
	</Event>

	<!--"Tyber Zann: Maybe.  You said that artifact was a Sith creation?"-->
	<Event Name="Underworld_Act02_Intro_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_07</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_06</Prereq>
	</Event>

	<!--"Urai Fen: Yes.  A data storage device, perhaps more."-->
	<Event Name="Underworld_Act02_Intro_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_08</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_07</Prereq>
	</Event>

	<!--"Tyber Zann: What do we need to open it?"-->
	<Event Name="Underworld_Act02_Intro_Dialog_08">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_08</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_09</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_08a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_08</Prereq>
	</Event>

	<!--"Urai Fen: Well the obvious would be a Sith Lord.  Of course, the
		only Sith Lord I know of is Darth Vader, and I don't think he would
		be cooperative.  Other than that, we would need someone who could
		manipulate the dark side of the Force."-->
	<Event Name="Underworld_Act02_Intro_Dialog_09">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_09</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_10</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_10</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_08</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_09a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_09</Prereq>
	</Event>

	<!--"Tyber Zann: Right.  I need you to track someone down that can open
		the thing and tell us what's inside.  We may be able to use the thing
		to bargain past the blockade, but I need to know what I'm dealing with."-->
	<Event Name="Underworld_Act02_Intro_Dialog_10">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_10</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G08_11</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_09</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_10a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_10</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_10</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_10b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G08_11</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G08_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act02_Intro_Dialog_10</Prereq>
	</Event>

	<Event Name="Underworld_Act02_Intro_Dialog_10c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Act02_Intro_Dialog_10b</Prereq>
	</Event>

	<!-- MANDALORE INTERLUDE DIALOG -->

	<!--"It seems that you've caught your prey Tyber.  The pirates you sent to
		Mandalore report that Mandal Hypernautics is trying to buy them off
		by providing them with ships."-->
	<Event Name="Underworld_Mandalore_Interlude_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G09_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G09_01</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act02_Intro_Dialog_10c</Prereq>
	</Event>

	<!--"Excellent!  Tell the pirates to cut a deal - we'll cease hostilties in exchange
		for ships - at a suitable discount of course."-->
	<Event Name="Underworld_Mandalore_Interlude_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G09_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G09_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G09_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_A02M05_Intro_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G09_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_01</Prereq>
	</Event>

	<!--"I will see that it is done.  Also, the pirate captain sent over one of the
		ships - I am curious as to why he didn't keep it for himself."-->
	<Event Name="Underworld_Mandalore_Interlude_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G09_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G09_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G09_09</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Interlude_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G09_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_02</Prereq>
	</Event>

	<!--"That should be obvious Urai - fear.  My reputation is beginning to spread
		through the galaxy, and the captain knows well what would happen if he tried
		to steal from me."-->
	<Event Name="Underworld_Mandalore_Interlude_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G09_09</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G09_10</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G09_10</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Interlude_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G09_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Interlude_Dialog_03b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G09_10</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G09_10</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Interlude_Dialog_03c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_03b</Prereq>
	</Event>

	<!-- BONUS: The Crusader-class Gunship has been unlocked and is available for production.-->
	<Event Name="Mandalore_Interlude_Crusader_Message">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G09_18</Reward_Param1>
		<Reward_Param2>5</Reward_Param2>
		<Reward_Param7>Hint</Reward_Param7>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_03c</Prereq>
	</Event>

	<Event Name="Unlock_Crusader">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Crusader_Gunship</Reward_Param1>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_03c</Prereq>
	</Event>

	<Event Name="Give_Free_Crusader">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>UNIQUE_UNIT</Reward_Type>
		<Reward_Param1>Crusader_Gunship</Reward_Param1>
		<Reward_Param2>Ryloth</Reward_Param2>
		<Prereq>Underworld_Mandalore_Interlude_Dialog_03c</Prereq>
	</Event>

<!--MISSION 06: A DARK ALLY-->

	<!--"I think I have located a potential source of dark side Force users
		for you.  There is, however, a complication."-->
	<Event Name="Underworld_Sabotage_Tutorial_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>5</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G10_01</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Mandalore_Interlude_Crusader_Message</Prereq>
	</Event>

	<!--"There always is.  What's the problem?"-->
	<Event Name="Underworld_Sabotage_Tutorial_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G10_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G10_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_01</Prereq>
	</Event>

	<!--"The planet's name is Dathomir.  It seems the planet holds many Force
		users of great power.  However, the Emperor found it first - he's blockaded
		the planet and placed a nightcloak generator system in orbit."-->
	<Event Name="Underworld_Sabotage_Tutorial_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G10_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G10_03</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_02</Prereq>
	</Event>

	<!--"I see.  Taking a fleet there would be suicide.  But perhaps we can
		sneak past the defenses and land light."-->
	<Event Name="Underworld_Sabotage_Tutorial_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G10_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G10_04</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_03</Prereq>
	</Event>

	<!--"Maybe, but the sensors on the planet are very good.  It's not likely
		we will go undetected unless we can knock out the sensor web."-->
	<Event Name="Underworld_Sabotage_Tutorial_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G10_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G10_05</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_04</Prereq>
	</Event>

	<!--"Alright.  Send for some defilers.  Have them sabotage the sensor system,
		and then we'll take a shuttle down ourselves."-->
	<Event Name="Underworld_Sabotage_Tutorial_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G10_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G10_06</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_Dialog_06a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G10_06</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_05a</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_Dialog_06b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_06a</Prereq>
	</Event>

	<!--TASK: Sabotage the Orbital Sensor Array on Dathomir-->
	<Event Name="Underworld_Sabotage_Tutorial_Task_Text_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G10_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_06b</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Sabotage_Dathomir_Add">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Sabotage_Tutorial_Task_Text_00</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>21</Story_Chapter>
		<Story_Tag>Dialog_Sabotage_Dathomir</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Reveal_Dathomir_For_Mission">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Dathomir</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_06b</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Mission_Lock_Dathomir">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Dathomir</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Reveal_Dathomir_For_Mission</Prereq>
	</Event>

	<!-- Prevent an invasion just in case the player attempts to attack with a defiler -->
	<Event Name="Mission_Lock_Dathomir_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Dathomir</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Reveal_Dathomir_For_Mission</Prereq>
	</Event>

	<Event Name="Flash_Dathomir_Sabo_Tut">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Dathomir</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Reveal_Dathomir_For_Mission</Prereq>
	</Event>

	<!-- Bounce message pre-sabotage -->
	<Event Name="M06_Fleet_Bounced_Before_Dathomir_Sabotage">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Dathomir</Event_Param1>
		<Reward_Param5>1</Reward_Param5>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_M06_SAB_BOUNCE</Reward_Param1>
		<Reward_Param2>5</Reward_Param2>
		<Reward_Param8>UW_ACT02_M06_SAB_BOUNCE</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
		<Branch>PRE_MISSION_06_SABO</Branch>
	</Event>

	<Event Name="M06_Fleet_Bounced_Before_Dathomir_Sabotage_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_M06_SAB_BOUNCE</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_BOUNCE</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>M06_Fleet_Bounced_Before_Dathomir_Sabotage</Prereq>
		<Perpetual>True</Perpetual>
		<Branch>PRE_MISSION_06_SABO</Branch>
	</Event>

	<Event Name="M06_Fleet_Bounced_Before_Dathomir_Sabotage_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>M06_Fleet_Bounced_Before_Dathomir_Sabotage_Speech_Done</Prereq>
		<Perpetual>True</Perpetual>
		<Branch>PRE_MISSION_06_SABO</Branch>
	</Event>

	<Event Name="Saboteur_Gets_To_Dathomir">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>Dathomir</Event_Param1>
		<Event_Param3>Underworld_Saboteur_Team</Event_Param3>
		<Event_Param6>1</Event_Param6>
		<Prereq>Underworld_Sabotage_Tutorial_Task_Text_00</Prereq>
	</Event>

	<Event Name="Remove_Saboteur_Flash_from_Dathomir">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Saboteur_Gets_To_Dathomir</Prereq>
	</Event>

	<Event Name="Saboteur_Opens_Sabotage_Menu">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>open_galactic_sabotage_menu</Event_Param1>
		<Prereq>Saboteur_Gets_To_Dathomir</Prereq>
	</Event>

	<Event Name="Remove_Sabo_Tut_Text_05">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G10_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Saboteur_Opens_Sabotage_Menu</Prereq>
	</Event>

	<!-- TASK: Destroy the Orbital Sensor Array on Dathomir-->
	<Event Name="Underworld_Sabotage_Tutorial_A02_Task_Text_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G10_10</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Saboteur_Opens_Sabotage_Menu</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_Task_Completed">
		<Event_Type>STORY_GALACTIC_SABOTAGE</Event_Type>
		<Event_Param1>Empire_Orbital_Long_Range_Scanner</Event_Param1>
		<Prereq>Saboteur_Gets_To_Dathomir Saboteur_Opens_Sabotage_Menu</Prereq>
	</Event>

	<Event Name="Remove_Sabo_Tut_Text_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G10_10</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabotage_Tutorial_Task_Completed</Prereq>
	</Event>

	<Event Name="Holocron_Hint_Sabotage_Dathomir_Remove">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_Sabotage_Dathomir</Reward_Param1>
		<Prereq>Underworld_Sabotage_Tutorial_Task_Completed</Prereq>
	</Event>

	<Event Name="Disable_Pre_Sabo_Bounce">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_BRANCH</Reward_Type>
		<Reward_Param1>PRE_MISSION_06_SABO</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Sabotage_Tutorial_Task_Completed</Prereq>
	</Event>

	<!--"The way is clear.  Let's go Urai."-->
	<Event Name="Underworld_Sabotage_Tutorial_Dialog_07">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_12</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G10_12</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Remove_Sabo_Tut_Text_01</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_Dialog_08a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G10_12</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_12</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_Sabotage_Tutorial_Dialog_08b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_08a</Prereq>
	</Event>

	<!-- Story Dialog for Mission 6 -->
	<Event Name="A02M06_Story_Dialog_Begin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_08b</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>5</Story_Chapter>
		<Story_Tag>Act_02_Mission_06_Goal</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<Event Name="Flash_Dathomir_M06">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Dathomir</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Underworld_Sabotage_Tutorial_Dialog_08b</Prereq>
	</Event>

	<!--TASK: Take Tyber Zann and Urai Fen to Dathomir to begin the mission.-->
	<Event Name="Mission_Six_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G10_13</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>A02M06_Story_Dialog_Begin</Prereq>
	</Event>

	<Event Name="Mission_Lock_Dathomir_Again">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Dathomir</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Sabotage_Tutorial_Task_Completed</Prereq>
	</Event>

	<!-- The planet restriction and scripted mission should now be sufficient to prevent us invading -->
	<Event Name="Mission_Unlock_Dathomir_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Dathomir</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>A02M06_Story_Dialog_Begin</Prereq>
	</Event>

	<Event Name="M06_Fleet_Bounced_Without_Tyber">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Dathomir</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_17</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G10_17</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="M06_Fleet_Bounced_Without_Tyber_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G10_17</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G10_17</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>M06_Fleet_Bounced_Without_Tyber</Prereq>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="M06_Fleet_Bounced_Without_Tyber_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>M06_Fleet_Bounced_Without_Tyber_Speech_Done</Prereq>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="Underworld_ActII_M06_Start">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>Dathomir</Event_Param1>
		<Event_Param3>Tyber_Zann_Team_No_Peacebringer Urai_Fen_Team</Event_Param3>
		<Event_Param6>1</Event_Param6>
		<Reward_Type>LINK_TACTICAL</Reward_Type>
		<Reward_Param1>Dathomir</Reward_Param1>
		<Reward_Param2>LAND</Reward_Param2>
		<Reward_Param3>Underworld</Reward_Param3>
		<Reward_Param4>UM06_Dark_Ally.TED</Reward_Param4>
		<Reward_Param5>Empire</Reward_Param5>
		<Reward_Param6/>
		<Reward_Param7>Story_Plots_Underworld_M06_LAND.xml</Reward_Param7>
		<Reward_Param8>1</Reward_Param8>
		<Reward_Param9>0</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Reward_Param11>0</Reward_Param11>
		<Reward_Param12>RETREAT_PLAYER</Reward_Param12>
		<Reward_Param13>0</Reward_Param13>
		<Prereq>A02M06_Story_Dialog_Begin</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<Event Name="Remove_Saboteur_Flash_from_Dathomir_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_ActII_M06_Start</Prereq>
	</Event>

	<Event Name="Remove_Mission_Six_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G10_13</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_ActII_M06_Start</Prereq>
	</Event>

	<!-- MISSION SIX FAILURE EVENTS -->

	<!-- Detect mission 6 being lost.  Display text telling the player to try again -->
	<Event Name="Underworld_ActII_Mission_Six_Failed">
		<Event_Type>STORY_MISSION_LOST</Event_Type>
		<Event_Param1>Story_Plots_Underworld_M06_LAND.xml</Event_Param1>
		<Prereq>Underworld_ActII_M06_Start</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<!-- Kill Tyber and Urai to reflect mission failure -->
	<Event Name="Underworld_ActII_Mission_Six_Failed_Kill_Tyber">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DESTROY_OBJECT</Reward_Type>
		<Reward_Param1>Tyber_Zann_Passenger</Reward_Param1>
		<Prereq>Underworld_ActII_Mission_Six_Failed</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<Event Name="Underworld_ActII_Mission_Six_Failed_Kill_Urai">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DESTROY_OBJECT</Reward_Type>
		<Reward_Param1>Urai_Fen</Reward_Param1>
		<Prereq>Underworld_ActII_Mission_Six_Failed</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<!-- Wait until the battle summary dialog is closed -->
	<Event Name="Underworld_ActII_Mission_Six_Failed_01">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_ActII_Mission_Six_Failed</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<Event Name="A02M06_Failed_Lock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>1</Reward_Param1>
		<Prereq>Underworld_ActII_Mission_Six_Failed_01</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<!--That didn't go exactly as planned.  I'll have to try again.-->
	<Event Name="Underworld_M06_Failed_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M02_FAIL</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_ActII_Mission_Six_Failed_01</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<Event Name="Underworld_Mission_Six_Failed_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M02_FAIL</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Underworld_M06_Failed_Dialog_00</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<Event Name="Underworld_Mission_Six_Failed_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Mission_Six_Failed_Remove_Text</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<Event Name="A02M06_Failed_Unlock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Underworld_Mission_Six_Failed_Stop_Movie</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<!-- Re-enable mission 6.  Force it to trigger -->
	<Event Name="Underworld_ActII_Mission_Six_Failed_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESET_BRANCH</Reward_Type>
		<Reward_Param1>BRANCH_UA02M06</Reward_Param1>
		<Reward_Param2/>
		<Prereq>A02M06_Failed_Unlock_Player</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<Event Name="Underworld_Mission_Six_Completed">
		<Event_Type>STORY_FLAG</Event_Type>
		<Event_Param1>Underworld_Mission_06_Win</Event_Param1>
		<Event_Param2>1</Event_Param2>
		<Event_Param3>GREATER_THAN_EQUAL_TO</Event_Param3>
	</Event>

	<Event Name="Move_Mission_06_Story_to_Completed">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Act_02_Mission_06_Goal</Reward_Param1>
		<Prereq>Underworld_Mission_Six_Completed</Prereq>
	</Event>

	<Event Name="M06_Player_Closes_Mission_End_Screen">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_ActII_M06_Start</Prereq>
		<Branch>BRANCH_UA02M06</Branch>
	</Event>

	<Event Name="Mission_Unlock_Dathomir">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Dathomir</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Mission_Six_Completed</Prereq>
	</Event>

	<Event Name="UM06_Spawn_Silri">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SPAWN_HERO</Reward_Type>
		<Reward_Param1>Silri_Team</Reward_Param1>
		<Reward_Param2>Ryloth</Reward_Param2>
		<Prereq>Underworld_Mission_Six_Completed</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

<!--SANBOX INTERLUDE: THRAWN SAYS HI-->

	<!--"Tyber, you have an incoming transmission on your private channel."-->
	<Event Name="Underworld_Thrawn_Interlude_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G11_01</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mission_Six_Completed M06_Player_Closes_Mission_End_Screen</Prereq>
	</Event>

	<!--"What?  Who is this and how did you find me?"-->
	<Event Name="Underworld_Thrawn_Interlude_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G11_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G11_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_Thrawn_Interlude_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_01</Prereq>
	</Event>

	<!--"It was easy enough - you own Jabba's comm node on Saleucami;
		tapping into it to reach you was trivial."-->
	<Event Name="Underworld_Thrawn_Interlude_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G11_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G11_03</Reward_Param8>
		<Reward_Param9>Thrawn_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_Thrawn_Interlude_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_02</Prereq>
	</Event>

	<!--"Oh it's you.  Is that an Admiral's uniform?  Moving up again.
		With the way the Empire treats non-humans, I'm surprised you're
		not commanding a garbage scow somewhere."-->
	<Event Name="Underworld_Thrawn_Interlude_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G11_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G11_04</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_Thrawn_Interlude_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_03</Prereq>
	</Event>

	<!--"The Emperor is at least tolerant enough that he puts prejudice
		aside when he sees obvious talent.  Speaking of which, I've been
		watching your career path since you entered the academy.  It's a
		pity your talents are being wasted on crime.  Especially raids on
		Imperial holdings.  Not smart Tyber."-->
	<Event Name="Underworld_Thrawn_Interlude_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G11_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G11_05</Reward_Param8>
		<Reward_Param9>Thrawn_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_Thrawn_Interlude_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_04</Prereq>
	</Event>

	<!--"I took nothing the Empire wasn't going to lose anyway - I
		did you a favor actually.  And I don't appreciate being
		watched Thrawn."-->
	<Event Name="Underworld_Thrawn_Interlude_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G11_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G11_06</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_Thrawn_Interlude_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_05</Prereq>
	</Event>

	<!--"You should get used to it.  As powerful you may be in your circle,
		you are encroaching into quite another playing field.  Don't mistake
		commanding an army of leg breakers to be any kind of power.  However,
		I owe you this much - if you interfere with any more Imperial holdings,
		I will remove you from existance."-->
	<Event Name="Underworld_Thrawn_Interlude_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G11_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G11_07</Reward_Param8>
		<Reward_Param9>Thrawn_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_Thrawn_Interlude_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_06</Prereq>
	</Event>

	<!--"You frighten me."-->
	<Event Name="Underworld_Thrawn_Interlude_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G11_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G11_08</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_Thrawn_Interlude_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_07</Prereq>
	</Event>

	<!--"Knowing you, that's unlikely.  But you know that I do not make
		idle threats.  But perhaps you need a demonstration.  Goodbye Tyber."-->
	<Event Name="Underworld_Thrawn_Interlude_Dialog_08">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G11_08</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G11_09</Reward_Param8>
		<Reward_Param9>Thrawn_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_Thrawn_Interlude_Dialog_08a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_08</Prereq>
	</Event>

	<Event Name="Underworld_Thrawn_Interlude_Dialog_09a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G11_09</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G11_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_08a</Prereq>
	</Event>

	<Event Name="Underworld_Thrawn_Interlude_Dialog_09b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_09a</Prereq>
	</Event>

	<!-- LUA Scripted Imperial attacks begin here -->
	<Event Name="LUA_Link_Trigger_Empire_Attacks_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_Thrawn_Interlude_Dialog_09b</Prereq>
	</Event>

<!--SANBOX INTERLUDE: SILRI CRACKS HOLOCRON-->

	<!--"I have managed to open and translate the holocron as you asked."-->
	<Event Name="Underworld_Silri_Interlude_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>15</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_01</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>LUA_Link_Trigger_Empire_Attacks_00</Prereq>
	</Event>

	<!--"Excellent.  What is it?"-->
	<Event Name="Underworld_Silri_Interlude_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_01</Prereq>
	</Event>

	<!--"It appears to be an ancient star map, including hyperspace
		travel vectors.  Unfortunately, it appears to be territories
		already mapped centuries ago."-->
	<Event Name="Underworld_Silri_Interlude_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_03</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_02</Prereq>
	</Event>

	<!--"Hmm, not as exciting as I had hoped, but still worth something.  Very well."-->
	<Event Name="Underworld_Silri_Interlude_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_04</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_03</Prereq>
	</Event>

	<!--"I wish to study it further.  Though it holds little in the way of
		useful information, it would be useful for translating other Sith
		texts."-->
	<Event Name="Underworld_Silri_Interlude_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_05</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_04</Prereq>
	</Event>

	<!--"I don't think so.  I will hold onto it for now."-->
	<Event Name="Underworld_Silri_Interlude_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_06</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_05</Prereq>
	</Event>

	<!--"But it is useless in your hands! I need to..."-->
	<Event Name="Underworld_Silri_Interlude_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_07</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_06</Prereq>
	</Event>

	<!--"You need to do as I say.  It will be here should I decide to
		let you use it further."-->
	<Event Name="Underworld_Silri_Interlude_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_08</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_07</Prereq>
	</Event>

	<!--"...as you wish."-->
	<Event Name="Underworld_Silri_Interlude_Dialog_08">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_08</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_09</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_08a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_08</Prereq>
	</Event>

	<!--"If you keep that up, she's going to kill you."-->
	<Event Name="Underworld_Silri_Interlude_Dialog_09">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_09</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_10</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_10</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_08</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_09a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_09</Prereq>
	</Event>

	<!--"She may try.  But this holocron is the only hold I have over
		her, and right now I need her on a short leash."-->
	<Event Name="Underworld_Silri_Interlude_Dialog_10">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_10</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G12_11</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_09</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_10a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_10</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_10</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_11a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G12_11</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G12_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Silri_Interlude_Dialog_10a</Prereq>
	</Event>

	<Event Name="Underworld_Silri_Interlude_Dialog_11b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Silri_Interlude_Dialog_11a</Prereq>
	</Event>

<!--MISSION 07: CLOUD CITY CONFLICT-->

	<!--"Tyber, that call you placed has come through.  I only hope you know what you're doing..."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_01</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Silri_Interlude_Dialog_11b</Prereq>
	</Event>

	<!--"Prince Xizor!  How good to see you again!"-->
	<Event Name="Underworld_A02M07_Intro_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_01</Prereq>
	</Event>

	<!--"Do not talk to me like we are equals Zann - you are normally
		beneath my notice.  I'm only speaking to you now because of
		the holocron.  Do you have it?"-->
	<Event Name="Underworld_A02M07_Intro_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_03</Reward_Param8>
		<Reward_Param9>Xizor_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_02</Prereq>
	</Event>

	<!--"I do indeed.  I believe the Emperor collects such things, and
		I was wondering if you could put me in touch since you are much
		higher up on the ladder than I am."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_04</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_03</Prereq>
	</Event>

	<!--"I could be persuaded to put you in contact with the Emperor, or
		at least one of his representitives.  But you will need to do
		something for me first."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_05</Reward_Param8>
		<Reward_Param9>Xizor_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_04</Prereq>
	</Event>

	<!--"And what would that be?"-->
	<Event Name="Underworld_A02M07_Intro_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_06</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_05</Prereq>
	</Event>

	<!--"I need muscle to pull off a job on Bespin.  I want to hijack a
		shipment of Tibanna gas.  Do the job, and you get half the gas
		plus your Imperial contact."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_07</Reward_Param8>
		<Reward_Param9>Xizor_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_06</Prereq>
	</Event>

	<!--"Done.  Send me the details.  Zann out."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_08</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_07</Prereq>
	</Event>

	<!--"How dead are we?"-->
	<Event Name="Underworld_A02M07_Intro_Dialog_08">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_08</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_09</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_08a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_08</Prereq>
	</Event>

	<!--"If Xizor has his way, very.  But he made the mistake of making
		it Bespin.  That planet is under the personal control of Darth
		Vader now."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_09">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_09</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_10</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_10</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_08</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_09a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_09</Prereq>
	</Event>

	<!--"And that is keeping us alive how?"-->
	<Event Name="Underworld_A02M07_Intro_Dialog_10">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_10</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_11</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_09</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_10a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_10</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_10</Prereq>
	</Event>

	<!--"Well obviously Xizor is hoping to get us killed so he can present
		the holocron to the Emperor himself.  But Xizor and Vader have a
		long-standing feud.  If we were to make sure Vader knew just who
		stole the tibanna gas..."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_11">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_11</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_12</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_12</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_10</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_11a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_11</Prereq>
	</Event>

	<!--"Xizor takes the fall and we get the gas."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_12">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_12</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_13</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_13</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_11</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_12a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_12</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_12</Prereq>
	</Event>

	<!--"And more importantly, we get Vader's access codes."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_13">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_13</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_14</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_14</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_12</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_13a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_13</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_13</Prereq>
	</Event>

	<!--"We do? How do we accomplish that?"-->
	<Event Name="Underworld_A02M07_Intro_Dialog_14">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_14</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_15</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_15</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_13</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_14a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_14</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_14</Prereq>
	</Event>

	<!--"We hire someone who can interface with the facility's computers and take them... like IG-88."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_15">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_15</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_16</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_16</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_14</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_15a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_15</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_15</Prereq>
	</Event>

	<!--"I'll see if he's available."-->
	<Event Name="Underworld_A02M07_Intro_Dialog_16">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_16</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_17</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_17</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Intro_Dialog_15</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_16a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_16</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_16</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_16b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_17</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_17</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Intro_Dialog_16</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Intro_Dialog_16c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A02M07_Intro_Dialog_16b</Prereq>
	</Event>

	<!-- Story Dialog for Mission 7 -->
	<Event Name="A02M07_Story_Dialog_Begin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_A02M07_Intro_Dialog_16c</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>6</Story_Chapter>
		<Story_Tag>Act_02_Mission_07_Goal</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<!--TASK: Form a land force along with Tyber Zann and Urai Fen,
		and take it to Bespin.  Deploy Tyber on Bespin to begin
		the mission.-->
	<Event Name="Mission_Seven_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G13_19</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Underworld_A02M07_Intro_Dialog_16c</Prereq>
	</Event>

	<Event Name="Underworld_Mission_07_Reveal_Bespin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Bespin_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_A02M07_Intro_Dialog_16c</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Flash_Bespin_M07">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Bespin_Story</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Underworld_Mission_07_Reveal_Bespin</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="Lock_Corruption_Bespin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Bespin_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Mission_07_Reveal_Bespin</Prereq>
	</Event>

	<!--We need to disable all land invasions on Bespin.  Don't allow land forces to attack.-->
	<Event Name="Underworld_Mission_07_Bespin_Invasion_Off_Limits">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Bespin_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Mission_07_Reveal_Bespin</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="M07_Fleet_Bounced_Without_Tyber">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Bespin_Story</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G13_20</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G13_20</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="M07_Fleet_Bounced_Without_Tyber_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G13_20</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_MISSION_02_41</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>M07_Fleet_Bounced_Without_Tyber</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="M07_Fleet_Bounced_Without_Tyber_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>M07_Fleet_Bounced_Without_Tyber_Speech_Done</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="Underworld_ActII_M07_Tyber_And_Urai_At_Bespin">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>START_MISSION_7</Event_Param2>
		<Reward_Type>INVADE_PLANET</Reward_Type>
		<Reward_Param1>Bespin_Story</Reward_Param1>
		<Prereq>Underworld_Mission_07_Reveal_Bespin</Prereq>
		<Reward_Param2>TYBER_ZANN_TEAM_NO_PEACEBRINGER</Reward_Param2>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="Underworld_ActII_M07_Start">
		<Event_Type>STORY_DEPLOY</Event_Type>
		<Event_Param1>Tyber_Zann_Team_No_Peacebringer</Event_Param1>
		<Event_Param2>Bespin_Story</Event_Param2>
		<Reward_Type>LINK_TACTICAL</Reward_Type>
		<Reward_Param1>Bespin_Story</Reward_Param1>
		<Reward_Param2>LAND</Reward_Param2>
		<Reward_Param3>Underworld</Reward_Param3>
		<Reward_Param4>UM07_Cloud_City_Conflict.ted</Reward_Param4>
		<Reward_Param5>Empire</Reward_Param5>
		<Reward_Param6>Tyber_Zann_Passenger</Reward_Param6>
		<Reward_Param7>Story_Plots_Underworld_M07_LAND.xml</Reward_Param7>
		<Reward_Param8>1</Reward_Param8>
		<!-- Do we want the prebattle cinematic to play?-->
		<Reward_Param9>2</Reward_Param9>
		<!-- Do we want to start the scene faded out?-->
		<Reward_Param10>1</Reward_Param10>
		<!-- Do we want to start the scene in letter box mode?-->
		<Reward_Param11>1</Reward_Param11>
		<Reward_Param12>RETREAT_PLAYER</Reward_Param12>
		<Reward_Param13>0</Reward_Param13>
		<Prereq>Underworld_Mission_07_Reveal_Bespin</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="Remove_Bespin_Flash">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_ActII_M07_Start</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="Remove_Mission_Seven_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G13_19</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_ActII_M07_Start</Prereq>
	</Event>

	<!-- MISSION SEVEN FAILURE EVENTS -->

	<!-- Detect mission 7 being lost.  Display text telling the player to try again -->
	<Event Name="Underworld_ActII_Mission_07_Failed">
		<Event_Type>STORY_MISSION_LOST</Event_Type>
		<Event_Param1>Story_Plots_Underworld_M07_LAND.xml</Event_Param1>
		<Prereq>Underworld_ActII_M07_Start</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<!-- Wait until the battle summary dialog is closed -->
	<Event Name="Underworld_ActII_Mission_07_Failed_01">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_ActII_Mission_07_Failed</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="A02M07_Failed_Lock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>1</Reward_Param1>
		<Prereq>Underworld_ActII_Mission_07_Failed_01</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<!--Force Respawn Tyber Zann -->
	<Event Name="Underworld_A02M07_Failed_Respawn_Tyber">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FORCE_RESPAWN</Reward_Type>
		<Reward_Param1>Tyber_Zann_Team_No_Peacebringer</Reward_Param1>
		<Prereq>Underworld_ActII_Mission_07_Failed</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<!--Force Respawn Urai Fen -->
	<Event Name="Underworld_A02M07_Failed_Respawn_Urai">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FORCE_RESPAWN</Reward_Type>
		<Reward_Param1>Urai_Fen_Team</Reward_Param1>
		<Prereq>Underworld_ActII_Mission_07_Failed</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<!--That didn't go exactly as planned.  I'll have to try again.-->
	<Event Name="Underworld_M07_Failed_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M02_FAIL</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_ActII_Mission_07_Failed_01</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="Underworld__M07_Failed_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M02_FAIL</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Underworld_M07_Failed_Dialog_00</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="Underworld_M07_Failed_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld__M07_Failed_Remove_Text</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="A02M07_Failed_Unlock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Underworld_M07_Failed_Stop_Movie</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<!-- Re-enable mission 7.  Force it to trigger -->
	<Event Name="Underworld_A02M07_Failed_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESET_BRANCH</Reward_Type>
		<Reward_Param1>BRANCH_UA02M07</Reward_Param1>
		<Prereq>A02M07_Failed_Unlock_Player</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="Underworld_Mission_07_Completed">
		<Event_Type>STORY_FLAG</Event_Type>
		<Event_Param1>Underworld_Mission_07_Win</Event_Param1>
		<Event_Param2>1</Event_Param2>
		<Event_Param3>GREATER_THAN_EQUAL_TO</Event_Param3>
	</Event>

	<Event Name="Underworld_A02M07_Story_Dialog_Completed">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Act_02_Mission_07_Goal</Reward_Param1>
		<Prereq>Underworld_Mission_07_Completed</Prereq>
	</Event>

	<Event Name="M07_Player_Closes_Mission_End_Screen">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_Mission_07_Completed</Prereq>
		<Branch>BRANCH_UA02M07</Branch>
	</Event>

	<Event Name="Mission_Unlock_Bespin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Bespin_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Mission_07_Completed</Prereq>
	</Event>

	<Event Name="Unlock_Corruption_Bespin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_CORRUPTION</Reward_Type>
		<Reward_Param1>Bespin_Story</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Mission_Unlock_Bespin</Prereq>
	</Event>

	<Event Name="Underworld_Bespin_Invasion_Unlock">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Bespin_Story</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Mission_Unlock_Bespin</Prereq>
	</Event>

	<Event Name="UM07_Spawn_IG88">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SPAWN_HERO</Reward_Type>
		<Reward_Param1>IG88_Team</Reward_Param1>
		<Reward_Param2>Ryloth</Reward_Param2>
		<Prereq>Underworld_Mission_07_Completed</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Get_Cash_Selling_Gas">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>3</Event_Param1>
		<Reward_Type>CREDITS</Reward_Type>
		<Reward_Param1>50000</Reward_Param1>
		<Prereq>M07_Player_Closes_Mission_End_Screen</Prereq>
	</Event>

	<!-- BONUS: Tyber Zann receives 50,000 credits from selling Tibanna Gas on the black market.-->
	<Event Name="Underworld_A02M07_Task_Text_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G14_01</Reward_Param1>
		<Reward_Param2>4</Reward_Param2>
		<Reward_Param7>Hint</Reward_Param7>
		<Prereq>Get_Cash_Selling_Gas</Prereq>
	</Event>

	<!--"It seems I misjudged you Zann.  No small-timer could steal that gas
		right out from under Vader."-->
	<Event Name="Underworld_A02M07_Post_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G14_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G14_02</Reward_Param8>
		<Reward_Param9>Xizor_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Task_Text_01</Prereq>
	</Event>

	<!--"Especially since you neglected to mention Vader's presence."-->
	<Event Name="Underworld_A02M07_Post_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G14_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G14_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G14_03</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Post_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Post_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G14_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Post_Dialog_01</Prereq>
	</Event>

	<!--"I was testing you to see if you would do your research - you passed.
		Now then, I will be happy to set up a meeting for you with the Empire.
		I'll send you the rendezvous point location and details soon."-->
	<Event Name="Underworld_A02M07_Post_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G14_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G14_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G14_04</Reward_Param8>
		<Reward_Param9>Xizor_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Post_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Post_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G14_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Post_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Post_Dialog_03a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G14_04</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G14_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M07_Post_Dialog_02a</Prereq>
	</Event>

	<Event Name="Underworld_A02M07_Post_Dialog_03b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A02M07_Post_Dialog_03a</Prereq>
	</Event>

<!--SANDBOX INTERLUDE: NEW TOYS AVAILABLE-->

	<!--"I see you kept a large portion of the tibanna gas - you have plans for it?"-->
	<Event Name="Underworld_A02_Ship_Interlude_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G15_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G15_01</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M07_Post_Dialog_03b</Prereq>
	</Event>

	<!--"Of course.  I blackmailed some engineers to start production on some of those
		ship designs we picked up from the Death Star, but I needed the gas for the hyperdrives
		and weapon systems.  Now that we have it, the first ship is ready."-->
	<Event Name="Underworld_A02_Ship_Interlude_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G15_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G15_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G15_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02_Ship_Interlude_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_A02M08_Intro_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G15_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02_Ship_Interlude_Dialog_01</Prereq>
	</Event>

	<!--"The Vengeance Frigate - an interesting design.  And the other ship?"-->
	<Event Name="Underworld_A02_Ship_Interlude_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G15_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G15_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G15_03</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02_Ship_Interlude_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_A02M08_Intro_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G15_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02_Ship_Interlude_Dialog_02</Prereq>
	</Event>

	<!--"I'm planning on making the other design into my flagship, but it will take
		a little more time to complete.  I am really looking forward to testing it on a suitable rival."-->
	<Event Name="Underworld_A02_Ship_Interlude_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G15_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G15_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G15_04</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02_Ship_Interlude_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_A02_Ship_Interlude_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G15_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02_Ship_Interlude_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_A02_Ship_Interlude_Dialog_03b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G15_04</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G15_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02_Ship_Interlude_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_A02_Ship_Interlude_Dialog_03c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A02_Ship_Interlude_Dialog_03b</Prereq>
	</Event>

	<!-- BONUS: A new ship, the Vengeance-class Frigate, has been unlocked and is
		ready for production.-->
	<Event Name="ActII_Ship_Interlude_Bonus_Text">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G15_13</Reward_Param1>
		<Reward_Param2>5</Reward_Param2>
		<Reward_Param7>Hint</Reward_Param7>
		<Prereq>Underworld_A02_Ship_Interlude_Dialog_03c</Prereq>
	</Event>

	<Event Name="Unlock_Vengeance">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Vengeance_Frigate</Reward_Param1>
		<Prereq>ActII_Ship_Interlude_Bonus_Text</Prereq>
	</Event>

	<Event Name="Give_Free_Vengeance">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>UNIQUE_UNIT</Reward_Type>
		<Reward_Param1>Vengeance_Frigate</Reward_Param1>
		<Reward_Param2>Ryloth</Reward_Param2>
		<Prereq>ActII_Ship_Interlude_Bonus_Text</Prereq>
	</Event>

	<Event Name="Unlock_Orion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Orion_Dreadnaught</Reward_Param1>
		<Prereq>ActII_Ship_Interlude_Bonus_Text</Prereq>
	</Event>

	<Event Name="Unlock_AA_Fighter">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>UEAW_Aggressor_Squadron</Reward_Param1>
		<Prereq>ActII_Ship_Interlude_Bonus_Text</Prereq>
	</Event>

	<!-- LUA Scripted Imperial attacks here -->

	<Event Name="LUA_Link_Trigger_Empire_Attacks_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_A02_Ship_Interlude_Dialog_03c</Prereq>
	</Event>

<!--MISSION 09: BAITING THE HOOK-->

	<!--"Tyber, we've received rendevous coordinates from Prince Xizor."-->
	<Event Name="Underworld_A02M09_Intro_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>5</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_01</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>LUA_Link_Trigger_Empire_Attacks_01</Prereq>
	</Event>

	<!--"Have we now?  That is quite interesting.  Well then, we shouldn't keep
		our Imperial friends waiting.  Invite Bossk to come along would you?"-->
	<Event Name="Underworld_A02M09_Intro_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Intro_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_01</Prereq>
	</Event>

	<!--"Bossk?  Why?"-->
	<Event Name="Underworld_A02M09_Intro_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_03</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Intro_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_02</Prereq>
	</Event>

	<!--"I have a job for him to do, though he doesn't know it yet."-->
	<Event Name="Underworld_A02M09_Intro_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_04</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Intro_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_03</Prereq>
	</Event>

	<!--"You can't be serious about giving that holocron to the Empire!"-->
	<Event Name="Underworld_A02M09_Intro_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_05</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Intro_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_04</Prereq>
	</Event>

	<!--"Of course I am serious.  Why does it matter anyway?  It's just
		a worthless old map, right?"-->
	<Event Name="Underworld_A02M09_Intro_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_06</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Intro_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_05</Prereq>
	</Event>

	<!--"You push me too far Tyber Zann.  Just remember I serve you because
		it serves my interest.  But I will only take so much."-->
	<Event Name="Underworld_A02M09_Intro_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_07</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Intro_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_06</Prereq>
	</Event>

	<!--"You will take what Tyber gives you, or I will personally throw you out an airlock."-->
	<Event Name="Underworld_A02M09_Intro_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_08</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Intro_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_07</Prereq>
	</Event>

	<!--"I look forward to your attempt, Talortai."-->
	<Event Name="Underworld_A02M09_Intro_Dialog_08">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_08</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_09</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Intro_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_08a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_08</Prereq>
	</Event>

	<!--"Enough, both of you.  I have a business to run and an Empire to steal
		from.  I don't need the distractions right now.  Once we have the
		Emperor's vaults, you can feel free to kill each other."-->
	<Event Name="Underworld_A02M09_Intro_Dialog_09">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_09</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_10</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_10</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Intro_Dialog_08</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_09a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_09</Prereq>
	</Event>

	<!--"This is not over..."-->
	<Event Name="Underworld_A02M09_Intro_Dialog_10">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_10</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT02_G16_11</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Intro_Dialog_09</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_10a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_10</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_10</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_11a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT02_G16_11</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT02_G16_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Intro_Dialog_10a</Prereq>
	</Event>

	<Event Name="Underworld_A02M09_Intro_Dialog_11b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A02M09_Intro_Dialog_11a</Prereq>
	</Event>

	<!-- Story Dialog for Mission 9 -->
	<Event Name="A02M09_Story_Dialog_Begin">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_A02M09_Intro_Dialog_11b</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>8</Story_Chapter>
		<Story_Tag>Act_02_Mission_09_Goal</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
	</Event>

	<!--Task: Take Tyber along with a space fleet and meet the Imperial contact in orbit over Carida-->
	<Event Name="Mission_Nine_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G16_12</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Underworld_Mission_09_Reveal_Carida</Prereq>
	</Event>

	<Event Name="Underworld_Mission_09_Reveal_Carida">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Carida</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_A02M09_Intro_Dialog_11b</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

	<Event Name="Flash_Carida_M09">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Carida</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Underworld_Mission_09_Reveal_Carida</Prereq>
	</Event>

	<Event Name="Mission_Lock_Carida">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Carida</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Mission_09_Reveal_Carida</Prereq>
	</Event>

	<Event Name="M09_Fleet_Bounced_Without_Tyber">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Carida</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_BOUNCE</Reward_Param1>
		<Reward_Param2>5</Reward_Param2>
		<Reward_Param8>UW_ACT01_M02_BOUNCE</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="M09_Fleet_Bounced_Without_Tyber_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M02_BOUNCE</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_BOUNCE</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>M07_Fleet_Bounced_Without_Tyber</Prereq>
	</Event>

	<Event Name="M09_Fleet_Bounced_Without_Tyber_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>M09_Fleet_Bounced_Without_Tyber_Speech_Done</Prereq>
	</Event>

	<Event Name="Underworld_ActII_M09_Start">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>Carida</Event_Param1>
		<Event_Param3>Tyber_Zann_Team_No_Peacebringer</Event_Param3>
		<Event_Param6>0</Event_Param6>
		<Reward_Type>LINK_TACTICAL</Reward_Type>
		<Reward_Param1>Carida</Reward_Param1>
		<Reward_Param2>SPACE</Reward_Param2>
		<Reward_Param3>Underworld</Reward_Param3>
		<Reward_Param4>UM09_Baiting_The_Hook.ted</Reward_Param4>
		<Reward_Param5>Empire</Reward_Param5>
		<Reward_Param6/>
		<Reward_Param7>Story_Plots_Underworld_M09_SPACE.xml</Reward_Param7>
		<Reward_Param8>1</Reward_Param8>
		<Reward_Param9>0</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Reward_Param11>0</Reward_Param11>
		<Reward_Param12>RETREAT_PLAYER</Reward_Param12>
		<Reward_Param13>0</Reward_Param13>
		<Reward_Param14>0</Reward_Param14>
		<Prereq>Underworld_Mission_09_Reveal_Carida</Prereq>
		<Branch>BRANCH_UA02M09</Branch>
	</Event>

	<Event Name="Remove_Carida_Flash">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_ActII_M09_Start</Prereq>
	</Event>

	<Event Name="Remove_Mission_Nine_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G16_12</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_ActII_M09_Start</Prereq>
	</Event>

	<!-- Don't despawn Bossk here.  It causes great confusion and bugginess in the transition
	to tactical since he vanishes after being recorded as a participant in the battle -->

	<!-- MISSION NINE FAILURE EVENTS -->

	<!-- Detect mission 9 being lost.  Display text telling the player to try again -->
	<Event Name="Underworld_A02M09_Failed">
		<Event_Type>STORY_MISSION_LOST</Event_Type>
		<Event_Param1>Story_Plots_Underworld_M09_SPACE.xml</Event_Param1>
		<Prereq>Underworld_ActII_M09_Start</Prereq>
		<Branch>BRANCH_UA02M09</Branch>
	</Event>

	<!-- New place to remove Bossk.  He's gone whether you win or lose -->
	<Event Name="Despawn_Bossk_Due_to_Betrayal_Failure_Version">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REMOVE_UNIT</Reward_Type>
		<Reward_Param1>Bossk</Reward_Param1> <!--Despawn the unit, not the team -->
		<Reward_Param2>1</Reward_Param2> <!-- Remove all instances of this type -->
		<Prereq>Underworld_A02M09_Failed</Prereq>
	</Event>

	<!-- Wait until the battle summary dialog is closed -->
	<Event Name="Underworld_A02M09_Failed_01">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_A02M09_Failed</Prereq>
		<Branch>BRANCH_UA02M09</Branch>
	</Event>

	<Event Name="A02M09_Failed_Lock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>1</Reward_Param1>
		<Prereq>Underworld_A02M09_Failed_01</Prereq>
		<Branch>BRANCH_UA02M09</Branch>
	</Event>

	<!-- That didn't go exactly as planned.  I'll have to try again.-->
	<Event Name="Underworld_A02M09_Failed_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M02_FAIL</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A02M09_Failed_01</Prereq>
		<Branch>BRANCH_UA02M09</Branch>
	</Event>

	<Event Name="Underworld_A02M09_Failed_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M02_FAIL</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Underworld_A02M09_Failed_Dialog_00</Prereq>
		<Branch>BRANCH_UA02M09</Branch>
	</Event>

	<Event Name="Underworld_A02M09_Failed_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A02M09_Failed_Remove_Text</Prereq>
		<Branch>BRANCH_UA02M09</Branch>
	</Event>

	<Event Name="A02M09_Failed_Unlock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Underworld_A02M09_Failed_Stop_Movie</Prereq>
		<Branch>BRANCH_UA02M09</Branch>
	</Event>

	<!-- Re-enable mission 9.  Do not force restart since player needs to gather forces to try again -->
	<Event Name="Underworld_A02M09_Failed_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESET_BRANCH</Reward_Type>
		<Reward_Param1>BRANCH_UA02M09</Reward_Param1>
		<Reward_Param2/>
		<Prereq>A02M09_Failed_Unlock_Player</Prereq>
		<Branch>BRANCH_UA02M09</Branch>
	</Event>

	<Event Name="Underworld_Mission_09_Completed">
		<Event_Type>STORY_FLAG</Event_Type>
		<Event_Param1>Underworld_Mission_09_Win</Event_Param1>
		<Event_Param2>1</Event_Param2>
		<Event_Param3>GREATER_THAN_EQUAL_TO</Event_Param3>
	</Event>

	<Event Name="Move_Mission_09_Story_to_Completed">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Act_02_Mission_09_Goal</Reward_Param1>
		<Prereq>Underworld_Mission_09_Completed</Prereq>
	</Event>

	<Event Name="Unlock_Sabotage_Carida">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESTRICT_SABOTAGE</Reward_Type>
		<Reward_Param1>Carida</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Mission_09_Completed</Prereq>
	</Event>

	<!-- New place to remove Bossk.  He's gone whether you win or lose -->
	<Event Name="Despawn_Bossk_Due_to_Betrayal_Completed_Version">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REMOVE_UNIT</Reward_Type>
		<Reward_Param1>Bossk</Reward_Param1> <!--Despawn the unit, not the team -->
		<Reward_Param2>1</Reward_Param2> <!-- Remove all instances of this type -->
		<Prereq>Underworld_Mission_09_Completed</Prereq>
	</Event>

	<Event Name="M09_Player_Closes_Mission_End_Screen">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_ActII_M09_Start</Prereq>
		<Branch>BRANCH_UA02M09</Branch>
	</Event>

	<Event Name="Mission_Unlock_Carida">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Carida</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Mission_09_Completed</Prereq>
	</Event>

	<Event Name="Unlock_Krayt">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Krayt_Class_Destroyer</Reward_Param1>
		<Prereq>Underworld_Mission_09_Completed</Prereq>
	</Event>

	<!--REWARD: A new ship, the Krayt-class Destroyer, has been unlocked.-->
	<Event Name="Underworld_A02M09_Reward_Text_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT02_G16_13</Reward_Param1>
		<Reward_Param2>5</Reward_Param2>
		<Reward_Param7>Hint</Reward_Param7>
		<Prereq>Unlock_Krayt</Prereq>
	</Event>

	<Event Name="Force_Respawn_of_Old_Tyber_To_Remove_Him">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FORCE_RESPAWN</Reward_Type>
		<Reward_Param1>Tyber_Zann_Team_No_Peacebringer</Reward_Param1>
		<Prereq>Unlock_Krayt</Prereq>
	</Event>

	<Event Name="Remove_Old_Tyber">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REMOVE_UNIT</Reward_Type>
		<Reward_Param1>Tyber_Zann_Passenger</Reward_Param1> <!--Despawn the unit, not the team -->
		<Reward_Param2>1</Reward_Param2> <!-- Remove all instances of this type -->
		<Prereq>Force_Respawn_of_Old_Tyber_To_Remove_Him</Prereq>
	</Event>

	<Event Name="Spawn_New_Tyber_With_Peacebringer">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SPAWN_HERO</Reward_Type>
		<Reward_Param1>Tyber_Zann_Team</Reward_Param1>
		<Reward_Param2>Carida</Reward_Param2>
		<Prereq>Remove_Old_Tyber</Prereq>
	</Event>

	<!--END OF ACT II-->
	<Event Name="End_Of_ActII_Text_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>5</Event_Param1>
		<Prereq>Underworld_A02M09_Reward_Text_01</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>

<!--BEGIN UNDERWORLD ACT THREE-->

	<!-- Underworld ACT III Planet Reveals -->
	<Event Name="Underworld_ActIII_Reveal_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>AlzocIII</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActIII_Reveal_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Coruscant</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="Lock_Invasion_On_Coruscant">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Coruscant</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActIII_Reveal_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Endor</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActIII_Reveal_03">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Fondor</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActIII_Reveal_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Ilum</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActIII_Reveal_05">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Myrkr</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActIII_Reveal_06">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Polus</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActIII_Reveal_08">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Sullust</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="Underworld_ActIII_Reveal_09">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REVEAL_PLANET</Reward_Type>
		<Reward_Param1>Taris</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="Disable_Specific_Mission_11_Bounce">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>Fleet_to_Coruscant_Bounced_M11</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_ActIII_Reveal_09</Prereq>
	</Event>

	<!-- Lock Coruscant, Endor and Sullust for story reasons -->
	<Event Name="General_Lock_Coruscant">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Coruscant</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_ActIII_Reveal_01</Prereq>
	</Event>

	<Event Name="General_Coruscant_Fleet_Bounce">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Coruscant</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_BOUNCE_CORUSCANT</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_BOUNCE_CORUSCANT</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="General_Coruscant_Bounce_Tyber_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_BOUNCE_CORUSCANT</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_BOUNCE_CORUSCANT</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>General_Coruscant_Fleet_Bounce</Prereq>
	</Event>

	<Event Name="General_Coruscant_Bounce_Tyber_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>General_Coruscant_Bounce_Tyber_Speech_Done</Prereq>
	</Event>

	<Event Name="General_Lock_Endor">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Endor</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_ActIII_Reveal_02</Prereq>
	</Event>

	<Event Name="General_Endor_Fleet_Bounce">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Endor</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_BOUNCE_ENDOR</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_BOUNCE_ENDOR</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="General_Endor_Bounce_Tyber_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_BOUNCE_ENDOR</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_BOUNCE_ENDOR</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>General_Endor_Fleet_Bounce</Prereq>
	</Event>

	<Event Name="General_Endor_Bounce_Tyber_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>General_Endor_Bounce_Tyber_Speech_Done</Prereq>
	</Event>

	<Event Name="General_Lock_Sullust">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Sullust</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_ActIII_Reveal_08</Prereq>
	</Event>

	<Event Name="General_Sullust_Fleet_Bounce">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Sullust</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_BOUNCE_SULLUST</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_BOUNCE_SULLUST</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="General_Sullust_Bounce_Tyber_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_BOUNCE_SULLUST</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_BOUNCE_SULLUST</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>General_Sullust_Fleet_Bounce</Prereq>
	</Event>

	<Event Name="General_Sullust_Bounce_Tyber_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>General_Sullust_Bounce_Tyber_Speech_Done</Prereq>
	</Event>

	<!-- Do not modify this tech level without consulting campaign designers -->
	<Event Name="Set_Act03_Empire_Tech">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_TECH_LEVEL</Reward_Type>
		<Reward_Param1>Empire</Reward_Param1>
		<Reward_Param2>5</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<!-- Do not modify this tech level without consulting campaign designers -->
	<Event Name="Set_Act03_Rebel_Tech">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_TECH_LEVEL</Reward_Type>
		<Reward_Param1>Rebel</Reward_Param1>
		<Reward_Param2>4</Reward_Param2>
		<Prereq>End_Of_ActII_Text_00</Prereq>
	</Event>

	<Event Name="OK_To_Begin_Underworld_ActIII">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>
			Underworld_ActIII_Reveal_00,
			Underworld_ActIII_Reveal_01,
			Underworld_ActIII_Reveal_02,
			Underworld_ActIII_Reveal_03,
			Underworld_ActIII_Reveal_04,
			Underworld_ActIII_Reveal_05,
			Underworld_ActIII_Reveal_06,
			Underworld_ActIII_Reveal_08,
			Underworld_ActIII_Reveal_09,
			General_Lock_Coruscant,
			General_Lock_Endor,
			General_Lock_Sullust
		</Prereq>
	</Event>

	<!--HINT: Prices have changed in the black market.  Visit Imperial and
		Rebel worlds to see what's available-->
	<Event Name="Hint_about_BM_Advancement_ActIII">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M04_62</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M04_62</Reward_Param8>
		<Reward_Param9/>
		<Reward_Param10/>
		<Prereq>OK_To_Begin_Underworld_ActIII</Prereq>
	</Event>

	<Event Name="Hint_about_BM_Advancement_ActIII_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M04_62</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M04_62</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Hint_about_BM_Advancement_ActIII</Prereq>
	</Event>

	<!-- ACT III INTRO DIALOG -->

	<!--"You idiot! While you sit there in that throne of yours looking
		smug, Bossk has sold the holocron to the Empire!  And what do you
		think the Emperor or Vader will do with that holocron!?"-->
	<Event Name="Underworld_Act03_Begin_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>5</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_01</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Hint_about_BM_Advancement_ActIII_Done</Prereq>
	</Event>

	<!--"Why nothing much, it's just an old useless map, so what use could it be to them?"-->
	<Event Name="Underworld_Act03_Begin_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_01</Prereq>
	</Event>

	<!--"But..."-->
	<Event Name="Underworld_Act03_Begin_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_03</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_02</Prereq>
	</Event>

	<!--"Unless, of course, it was something more than you said?"-->
	<Event Name="Underworld_Act03_Begin_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_04</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_03</Prereq>
	</Event>

	<!--"Well... there might have been more..."-->
	<Event Name="Underworld_Act03_Begin_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_05</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_04</Prereq>
	</Event>

	<!--"More of what?"-->
	<Event Name="Underworld_Act03_Begin_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_06</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_05</Prereq>
	</Event>

	<!--"I... I can't be sure.  Much of it was hidden to me, as if there was
		another key that was required.  But such a datalock was used only
		to hide something significant.  Perhaps it was a new Force technique
		known only to the ancient Sith!"-->
	<Event Name="Underworld_Act03_Begin_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_07</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_06</Prereq>
	</Event>

	<!--"But you don't really know."-->
	<Event Name="Underworld_Act03_Begin_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_08</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_07</Prereq>
	</Event>

	<!--"Not yet, but I could have if you hadn't lost it!"-->
	<Event Name="Underworld_Act03_Begin_Dialog_08">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_08</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_09</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_08a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_08</Prereq>
	</Event>

	<!--"Silri, I want you to listen to me very carefully.  If you ever lie
		to me again, I'm going to let Urai throw you out the airlock, but
		not before I have you flayed alive."-->
	<Event Name="Underworld_Act03_Begin_Dialog_09">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_09</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_10</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_10</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_08</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_09a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_09</Prereq>
	</Event>

	<!--"You dare to..."-->
	<Event Name="Underworld_Act03_Begin_Dialog_10">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_10</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_11</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_09</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_10a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_10</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_10</Prereq>
	</Event>

	<!--"I do not make threats.  Lie to me, betray me, withold information
		from me again, and your services will no longer be required in my
		operation.  Do I make myself clear?"-->
	<Event Name="Underworld_Act03_Begin_Dialog_11">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_11</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_12</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_12</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_10</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_11a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_11</Prereq>
	</Event>

	<!--"Yes."-->
	<Event Name="Underworld_Act03_Begin_Dialog_12">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_12</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_13</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_13</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_11</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_12a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_12</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_12</Prereq>
	</Event>

	<!--"Good!  Now then, Urai, you can begin tracking the locator beacon
		I put in the holocron."-->
	<Event Name="Underworld_Act03_Begin_Dialog_13">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_13</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_14</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_14</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_12</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_13a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_13</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_13</Prereq>
	</Event>

	<!--"What!?"-->
	<Event Name="Underworld_Act03_Begin_Dialog_14">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_14</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_15</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_15</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_13</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_14a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_14</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_14</Prereq>
	</Event>

	<!--"Did you really think I didn't know what would happen?  I let Bossk
		steal it.  Now we can follow it right to the Emperor's personal vault
		on Coruscant.  We gain entry with Vader's codes, and hopefully find
		the Emperor's personal codes inside the vault.  We get those, and we 
		can get into the Eclipse."-->
	<Event Name="Underworld_Act03_Begin_Dialog_15">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_15</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_16</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_16</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_14</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_15a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_15</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_15</Prereq>
	</Event>

	<!--"Why not just use the codes on Coruscant?"-->
	<Event Name="Underworld_Act03_Begin_Dialog_16">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_16</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_17</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_17</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_15</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_16a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_16</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_16</Prereq>
	</Event>

	<!--"Because there are likely only two places the codes will work: the
		Emperor's personal quarters on Coruscant, and his quarters on his
		flagship.  I really do not want to try breaking into the Imperial
		Palace right now."-->
	<Event Name="Underworld_Act03_Begin_Dialog_17">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_17</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_18</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_18</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_16</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_17a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_17</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_17</Prereq>
	</Event>

	<!--"I'm tracking it Tyber, but it may take some time."-->
	<Event Name="Underworld_Act03_Begin_Dialog_18">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_18</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_19</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_19</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_17</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_18a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_18</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_18</Prereq>
	</Event>

	<!--"I can wait..."-->
	<Event Name="Underworld_Act03_Begin_Dialog_19">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_19</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_20</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G17_20</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_18</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_19a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_19</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_19</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_20a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G17_20</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G17_20</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Act03_Begin_Dialog_19a</Prereq>
	</Event>

	<Event Name="Underworld_Act03_Begin_Dialog_20b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Act03_Begin_Dialog_20a</Prereq>
	</Event>

<!--INTERLUDE: MORE MANDALORIAN STUFF-->

	<!--"Tyber, we're getting a call from Mandalore."-->
	<Event Name="Underworld_Mandalore_Pirate_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G18_01</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Act03_Begin_Dialog_20b</Prereq>
	</Event>

	<!--"From my Pirates?"-->
	<Event Name="Underworld_Mandalore_Pirate_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G18_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G18_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_01</Prereq>
	</Event>

	<!--"Yes.  He seems very excited."-->
	<Event Name="Underworld_Mandalore_Pirate_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G18_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G18_03</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_02</Prereq>
	</Event>

	<!--"Captain?  I trust you have good news?"-->
	<Event Name="Underworld_Mandalore_Pirate_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G18_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G18_05</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_03</Prereq>
	</Event>

	<!--"Yes your lordship.  I know you told us to leave Mandal Hypernautics alone,
		But I took the liberty of hitting some of their lesser shipyards outside the
		system.  When they complained, I told them that one little ship wasn't enough
		anymore."-->
	<Event Name="Underworld_Mandalore_Pirate_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G18_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G18_06</Reward_Param8>
		<Reward_Param9>Pirate2_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_04</Prereq>
	</Event>

	<!--"Really...and how did they respond?"-->
	<Event Name="Underworld_Mandalore_Pirate_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G18_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G18_07</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_05</Prereq>
	</Event>

	<!--"They were only too happy to pay a little more.  We have some new toys for you!"-->
	<Event Name="Underworld_Mandalore_Pirate_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G18_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G18_08</Reward_Param8>
		<Reward_Param9>Pirate2_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_06</Prereq>
	</Event>

	<!--"Well now, that is a prize - an admirable job Captain.  Except for one thing..."-->
	<Event Name="Underworld_Mandalore_Pirate_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G18_08</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G18_09</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_07</Prereq>
	</Event>

	<!--"What's that sir?"-->
	<Event Name="Underworld_Mandalore_Pirate_Dialog_08">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G18_09</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_10</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G18_10</Reward_Param8>
		<Reward_Param9>Pirate2_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_08a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_08</Prereq>
	</Event>

	<!--"(sound of blaster through comm link) While I admire your style, I cannot
		allow underlings to ignore my orders.  Perhaps your second in command will
		remember that."-->
	<Event Name="Underworld_Mandalore_Pirate_Dialog_09">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G18_10</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G18_11</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_08</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_09a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_10</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_09</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_09b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G18_11</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G18_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_09</Prereq>
	</Event>

	<Event Name="Underworld_Mandalore_Pirate_Dialog_09c">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_09b</Prereq>
	</Event>

	<!--BONUS: The Kedalbe-class Battleship and the Canderous Assault Tank have been
		unlocked and are available for production.-->
	<Event Name="Kedalbe_Canderous_Unlocked_Message">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT03_G18_13</Reward_Param1>
		<Reward_Param2>6</Reward_Param2>
		<Reward_Param7>Hint</Reward_Param7>
		<Prereq>Underworld_Mandalore_Pirate_Dialog_09c</Prereq>
	</Event>

	<Event Name="Unlock_Kedalbe">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Kedalbe_Battleship</Reward_Param1>
		<Prereq>Kedalbe_Canderous_Unlocked_Message</Prereq>
	</Event>

	<Event Name="Unlock_Canderous">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Canderous_Assault_Tank_Company</Reward_Param1>
		<Prereq>Kedalbe_Canderous_Unlocked_Message</Prereq>
	</Event>

	<Event Name="Unlock_Gauntlet">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>BUILDABLE_UNIT</Reward_Type>
		<Reward_Param1>Gauntlet_Heavy_Fighter_Company</Reward_Param1>
		<Prereq>Kedalbe_Canderous_Unlocked_Message</Prereq>
	</Event>

	<Event Name="Give_Free_Kedalbe">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>UNIQUE_UNIT</Reward_Type>
		<Reward_Param1>Kedalbe_Battleship</Reward_Param1>
		<Reward_Param2>Ryloth</Reward_Param2>
		<Prereq>Kedalbe_Canderous_Unlocked_Message</Prereq>
	</Event>

	<Event Name="Give_Free_Canderous_Company">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>UNIQUE_UNIT</Reward_Type>
		<Reward_Param1>Canderous_Assault_Tank_Company</Reward_Param1>
		<Reward_Param2>Ryloth</Reward_Param2>
		<Prereq>Kedalbe_Canderous_Unlocked_Message</Prereq>
	</Event>

	<!-- LUA Scripted Imperial attacks here -->

	<Event Name="LUA_Link_Trigger_Empire_Attacks_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Kedalbe_Canderous_Unlocked_Message</Prereq>
	</Event>

<!--MISSION 11: RAIDERS OF THE LOST HOLOCRON-->

	<!--"Thanks to spies I have planted in the Rebellion, we know that both the Emperor and
		Vader are in the Endor system.  That means that Coruscant is open."-->
	<Event Name="Underworld_A03M11_Intro_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G20_01</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Kedalbe_Canderous_Unlocked_Message</Prereq>
	</Event>

	<!--"We're going to Coruscant?"-->
	<Event Name="Underworld_A03M11_Intro_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G20_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G20_02</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M11_Intro_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_A03M11_Intro_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M11_Intro_Dialog_01</Prereq>
	</Event>

	<!--"Yes - we've traced the holocron to the Imperial Museum there.  Chances
		are the Emperor is storing it there in his private collection until he
		can transport it to a more secure site."-->
	<Event Name="Underworld_A03M11_Intro_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G20_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G20_03</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M11_Intro_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_A03M11_Intro_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M11_Intro_Dialog_02</Prereq>
	</Event>

	<!--"If it's in a private vault, his codes will be in the system."-->
	<Event Name="Underworld_A03M11_Intro_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G20_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G20_04</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M11_Intro_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_A03M11_Intro_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M11_Intro_Dialog_03</Prereq>
	</Event>

	<!--"Exactly.  You and Silri get ready - we're going to raid the museum.  We
		need to do this before the Emperor returns from Endor."-->
	<Event Name="Underworld_A03M11_Intro_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G20_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G20_05</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M11_Intro_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_A03M11_Intro_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M11_Intro_Dialog_04</Prereq>
	</Event>

	<!--"Are you sure you want Silri along for this?"-->
	<Event Name="Underworld_A03M11_Intro_Dialog_05">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G20_05</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G20_06</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M11_Intro_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_A03M11_Intro_Dialog_05a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M11_Intro_Dialog_05</Prereq>
	</Event>

	<!--"She is useful despite her raging.  But be ready - if she tries anything,
		we may have to remove her."-->
	<Event Name="Underworld_A03M11_Intro_Dialog_06">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G20_06</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G20_07</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M11_Intro_Dialog_05</Prereq>
	</Event>

	<Event Name="Underworld_A03M11_Intro_Dialog_06a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M11_Intro_Dialog_06</Prereq>
	</Event>

	<!--"I have been ready for a while now - I look forward to the challenge."-->
	<Event Name="Underworld_A03M11_Intro_Dialog_07">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G20_07</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_08</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G20_08</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M11_Intro_Dialog_06</Prereq>
	</Event>

	<Event Name="Underworld_A03M11_Intro_Dialog_07a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M11_Intro_Dialog_07</Prereq>
	</Event>

	<Event Name="Underworld_A03M11_Intro_Dialog_08a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G20_08</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G20_08</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M11_Intro_Dialog_07a</Prereq>
	</Event>

	<Event Name="Underworld_A03M11_Intro_Dialog_08b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A03M11_Intro_Dialog_08a</Prereq>
	</Event>

	<Event Name="Disable_General_Coruscant_Lockout">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>General_Lock_Coruscant</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_A03M11_Intro_Dialog_08b</Prereq>
	</Event>

	<!-- Story Dialog for Mission 11 -->
	<Event Name="Story_Dialog_ActIII_Mission_11">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_A03M11_Intro_Dialog_08b</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>11</Story_Chapter>
		<Story_Tag>Dialog_U_Mission_11</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
		<Branch>A03_Mission_11</Branch>
	</Event>

	<Event Name="Flash_Coruscant_For_M11">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Coruscant</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Story_Dialog_ActIII_Mission_11</Prereq>
	</Event>

	<!-- TASK: Take Urai, Tyber and Silri to Coruscant and Deploy
		Tyber on Coruscant to begin the mission.-->
	<Event Name="Mission_Eleven_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT03_G20_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Story_Dialog_ActIII_Mission_11</Prereq>
	</Event>

	<Event Name="ReEnable_Specific_Mission_11_Bounce">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>Fleet_to_Coruscant_Bounced_M11</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Disable_General_Coruscant_Lockout</Prereq>
	</Event>

	<Event Name="Fleet_to_Coruscant_Bounced_M11">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Coruscant</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_M11_BOUNCE</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_M11_BOUNCE</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="Fleet_to_Coruscant_Bounced_M11_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_M11_BOUNCE</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_M11_BOUNCE</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Fleet_to_Coruscant_Bounced_M11</Prereq>
	</Event>

	<Event Name="Fleet_to_Coruscant_Bounced_M11_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Fleet_to_Coruscant_Bounced_M11_Speech_Done</Prereq>
	</Event>

	<Event Name="Underworld_ActII_M11_Start">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>Coruscant</Event_Param1>
		<Event_Param3>Tyber_Zann_Team Urai_Fen_Team Silri_Team</Event_Param3>
		<Event_Param6>1</Event_Param6>
		<Reward_Type>LINK_TACTICAL</Reward_Type>
		<Reward_Param1>Coruscant</Reward_Param1>
		<Reward_Param2>LAND</Reward_Param2>
		<Reward_Param3>Underworld</Reward_Param3>
		<Reward_Param4>UM11_Raiders_Of_The_Lost_Holocron.TED</Reward_Param4>
		<Reward_Param5>Empire</Reward_Param5>
		<Reward_Param6/>
		<Reward_Param7>Story_Plots_Underworld_M11_LAND.xml</Reward_Param7>
		<Reward_Param8>0</Reward_Param8>
		<Reward_Param9>0</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Reward_Param11>0</Reward_Param11>
		<Reward_Param12>RETREAT_PLAYER</Reward_Param12>
		<Reward_Param13>0</Reward_Param13>
		<Prereq>Underworld_A03M11_Intro_Dialog_08b</Prereq>
		<Branch>BRANCH_UA03M11</Branch>
	</Event>

	<Event Name="Remove_Mission_Eleven_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT03_G20_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_ActII_M11_Start</Prereq>
	</Event>

	<!-- MISSION ELEVEN FAILURE EVENTS -->

	<!-- Detect mission 11 being lost.  Display text telling the player to try again -->
	<Event Name="Underworld_A03M11_Failed">
		<Event_Type>STORY_MISSION_LOST</Event_Type>
		<Event_Param1>Story_Plots_Underworld_M11_LAND.xml</Event_Param1>
		<Prereq>Underworld_ActII_M11_Start</Prereq>
		<Branch>BRANCH_UA03M11</Branch>
	</Event>

	<!-- Wait until the battle summary dialog is closed -->
	<Event Name="Underworld_A03M11_Failed_01">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_A03M11_Failed</Prereq>
		<Branch>BRANCH_UA03M11</Branch>
	</Event>

	<Event Name="A03M11_Failed_Lock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>1</Reward_Param1>
		<Prereq>Underworld_A03M11_Failed_01</Prereq>
		<Branch>BRANCH_UA03M11</Branch>
	</Event>

	<!--That didn't go exactly as planned.  I'll have to try again.-->
	<Event Name="Underworld_A03M11_Failed_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M02_FAIL</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M11_Failed_01</Prereq>
		<Branch>BRANCH_UA03M11</Branch>
	</Event>

	<Event Name="Underworld_A03M11_Failed_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M02_FAIL</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Underworld_A03M11_Failed_Dialog_00</Prereq>
		<Branch>BRANCH_UA03M11</Branch>
	</Event>

	<Event Name="Underworld_A03M11_Failed_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A03M11_Failed_Remove_Text</Prereq>
		<Branch>BRANCH_UA03M11</Branch>
	</Event>

	<Event Name="A03M11_Failed_Unlock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Underworld_A03M11_Failed_Stop_Movie</Prereq>
		<Branch>BRANCH_UA03M11</Branch>
	</Event>

	<!-- Re-enable mission 11.  Force it to trigger -->
	<Event Name="Underworld_A03M11_Failed_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESET_BRANCH</Reward_Type>
		<Reward_Param1>BRANCH_UA03M11</Reward_Param1>
		<Reward_Param2/>
		<Prereq>A03M11_Failed_Unlock_Player</Prereq>
		<Branch>BRANCH_UA03M11</Branch>
	</Event>

	<Event Name="Underworld_Mission_11_Completed">
		<Event_Type>STORY_FLAG</Event_Type>
		<Event_Param1>Underworld_Mission_11_Win</Event_Param1>
		<Event_Param2>1</Event_Param2>
		<Event_Param3>GREATER_THAN_EQUAL_TO</Event_Param3>
	</Event>

	<Event Name="Story_Dialog_ActIII_Mission_11_Completed">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STORY_GOAL_COMPLETED</Reward_Type>
		<Reward_Param1>Dialog_U_Mission_11</Reward_Param1>
		<Prereq>Underworld_Mission_11_Completed</Prereq>
	</Event>

	<Event Name="M11_Player_Closes_Mission_End_Screen">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_ActII_M11_Start</Prereq>
		<Branch>BRANCH_UA03M10</Branch>
	</Event>

	<!-- Added these blocks so that Coruscant BM could be accessed by all heroes -->
	<Event Name="Urai_Enters_Coruscant_Space_BM">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>Coruscant</Event_Param1>
		<Event_Param3>Urai_Fen_Team</Event_Param3>
		<Event_Param6>1</Event_Param6>
		<Prereq>Underworld_Mission_11_Completed</Prereq>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="Silri_Enters_Coruscant_Space_BM">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>Coruscant</Event_Param1>
		<Event_Param3>Silri_Team</Event_Param3>
		<Event_Param6>1</Event_Param6>
		<Prereq>Underworld_Mission_11_Completed</Prereq>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="Tyber_Enters_Coruscant_Space_BM">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>Coruscant</Event_Param1>
		<Event_Param3>Tyber_Zann_Team</Event_Param3>
		<Event_Param6>1</Event_Param6>
		<Prereq>Underworld_Mission_11_Completed</Prereq>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="Disable_M11_Coruscant_Lockout_After_Mission">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>Fleet_to_Coruscant_Bounced_M11</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Mission_11_Completed</Prereq>
	</Event>

	<Event Name="Re-Enable_General_Coruscant_Lockout_After_Mission">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>General_Lock_Coruscant</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Underworld_Mission_11_Completed</Prereq>
	</Event>

<!--MISSION 12: THE EMPEROR'S NEW WEAPON-->

	<Event Name="Force_Zoom_Out_For_Endor_Event">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>4</Event_Param1>
		<Reward_Type>ZOOM_OUT</Reward_Type>
		<Prereq>Underworld_Mission_11_Completed</Prereq>
	</Event>

	<Event Name="Jump_Camera_to_Endor">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>POSITION_CAMERA</Reward_Type>
		<Reward_Param1>Endor</Reward_Param1>
		<Reward_Param2>0,0,0</Reward_Param2>
		<Prereq>Force_Zoom_Out_For_Endor_Event</Prereq>
	</Event>

	<Event Name="Despawn_Vader_Dies_at_Endor">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REMOVE_UNIT</Reward_Type>
		<Reward_Param1>Darth_Team_Land_Bounty_Hunter_Immune</Reward_Param1>
		<Prereq>Jump_Camera_to_Endor</Prereq>
	</Event>

	<Event Name="Despawn_Executor_Dies_at_Endor">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REMOVE_UNIT</Reward_Type>
		<Reward_Param1>Executor_Super_Star_Destroyer</Reward_Param1>
		<Prereq>Jump_Camera_to_Endor</Prereq>
	</Event>

	<Event Name="Simulate_DS2_Explosion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SABOTAGE_STRUCTURE</Reward_Type>
		<Reward_Param1>Endor</Reward_Param1>
		<Reward_Param2>E_Ground_Barracks</Reward_Param2>
		<Prereq>Jump_Camera_to_Endor</Prereq>
	</Event>

	<Event Name="Delete_Death_Star">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>REMOVE_UNIT</Reward_Type>
		<Reward_Param1>Death_Star_II</Reward_Param1>
		<Reward_Param2>1</Reward_Param2> <!-- Remove all instances of this type -->
		<Prereq>Simulate_DS2_Explosion</Prereq>
	</Event>

	<Event Name="Rebels_Get_Endor">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>PLANET_FACTION</Reward_Type>
		<Reward_Param1>Endor</Reward_Param1>
		<Reward_Param2>Rebel</Reward_Param2>
		<Prereq>Delete_Death_Star</Prereq>
	</Event>

	<!--"I have sensed a great disturbance in the Force - the balance has
		shifted away from the dark side."-->
	<Event Name="Underworld_A03M12_Intro_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>3</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G21_01</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G21_01</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebels_Get_Endor</Prereq>
	</Event>

	<!--"What does that mean?"-->
	<Event Name="Underworld_A03M12_Intro_Dialog_01">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G21_01</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G21_02</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G21_02</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M12_Intro_Dialog_00</Prereq>
	</Event>

	<Event Name="Underworld_A03M12_Intro_Dialog_01a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G21_01</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M12_Intro_Dialog_01</Prereq>
	</Event>

	<!--"The Emperor, and Darth Vader - they are dead."-->
	<Event Name="Underworld_A03M12_Intro_Dialog_02">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G21_02</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G21_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G21_03</Reward_Param8>
		<Reward_Param9>Silri_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M12_Intro_Dialog_01</Prereq>
	</Event>

	<Event Name="Underworld_A03M12_Intro_Dialog_02a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G21_02</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M12_Intro_Dialog_02</Prereq>
	</Event>

	<!--"I can verify that Tyber - the Rebels are broadcasting it all over the holonet."-->
	<Event Name="Underworld_A03M12_Intro_Dialog_03">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G21_03</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G21_04</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G21_04</Reward_Param8>
		<Reward_Param9>Urai_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M12_Intro_Dialog_02</Prereq>
	</Event>

	<Event Name="Underworld_A03M12_Intro_Dialog_03a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G21_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M12_Intro_Dialog_03</Prereq>
	</Event>

	<!--"Then we need to move now.  With the Emperor dead, the Empire will be
		in chaos.  Most of the ships from the Kuat blockade were shifted to
		Endor for the battle, but they'll be back to regroup.  The time is
		now people!  We need to take control of the Eclipse."-->
	<Event Name="Underworld_A03M12_Intro_Dialog_04">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G21_04</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G21_05</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G21_05</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M12_Intro_Dialog_03</Prereq>
	</Event>

	<Event Name="Underworld_A03M12_Intro_Dialog_04a">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G21_04</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M12_Intro_Dialog_04</Prereq>
	</Event>

	<Event Name="Underworld_A03M12_Intro_Dialog_05a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G21_05</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_G21_05</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_A03M12_Intro_Dialog_04a</Prereq>
	</Event>

	<Event Name="Underworld_A03M12_Intro_Dialog_05b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A03M12_Intro_Dialog_05a</Prereq>
	</Event>

	<Event Name="General_Unlock_Endor">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_PLANET_RESTRICTED</Reward_Type>
		<Reward_Param1>Endor</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Rebels_Get_Endor</Prereq>
	</Event>

	<!-- Story Dialog for Mission 12 -->
	<Event Name="Story_Dialog_ActIII_Mission_12">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Prereq>Underworld_A03M12_Intro_Dialog_05b</Prereq>
		<Story_Dialog>Dialog_U_Campaign_Mission_Briefings</Story_Dialog>
		<Story_Chapter>12</Story_Chapter>
		<Story_Tag>Dialog_U_Mission_12</Story_Tag>
		<Story_Dialog_Popup>False</Story_Dialog_Popup>
		<Branch>A03_Mission_12</Branch>
	</Event>

	<Event Name="Flash_Kuat_For_M12">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_PLANET_GUI</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>FLASH_TROOPS</Reward_Param2>
		<Prereq>Story_Dialog_ActIII_Mission_12</Prereq>
	</Event>


	<!-- TASK: Form a large fleet from your best ships including Tyber Zann, and go to Kuat!-->
	<Event Name="Mission_Twelve_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT03_G21_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7>
		<Prereq>Story_Dialog_ActIII_Mission_12</Prereq>
	</Event>

	<Event Name="Disable_Perpetual_Tyber_Kuat_BM">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>Tyber_Enters_Kuat_Space_Tut</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Mission_Twelve_Task_Message_00</Prereq>
	</Event>

	<Event Name="Disable_Perpetual_Urai_Kuat_BM">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>Urai_Enters_Kuat_Space_BM</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Mission_Twelve_Task_Message_00</Prereq>
	</Event>

	<Event Name="Disable_Perpetual_Silri_Kuat_BM">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>Silri_Enters_Kuat_Space_BM</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Mission_Twelve_Task_Message_00</Prereq>
	</Event>

	<Event Name="Disable_General_Kuat_Lockout">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>General_Kuat_Fleet_Bounce</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Story_Dialog_ActIII_Mission_12</Prereq>
	</Event>

	<Event Name="ReEnable_Mission_12_Kuat_Lockout">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_STORY_EVENT</Reward_Type>
		<Reward_Param1>Fleet_to_Kuat_Bounced_M12</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Story_Dialog_ActIII_Mission_12</Prereq>
	</Event>

	<Event Name="Fleet_to_Kuat_Bounced_M12">
		<Event_Type>STORY_FLEET_BOUNCED</Event_Type>
		<Event_Param1>Kuat</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_M12_BOUNCE</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT03_G21_06</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Perpetual>True</Perpetual>
	</Event>

	<Event Name="Fleet_to_Kuat_Bounced_M12_Speech_Done">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT03_G21_06</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT03_M12_BOUNCE</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Fleet_to_Kuat_Bounced_M12</Prereq>
	</Event>

	<Event Name="Fleet_to_Kuat_Bounced_M12_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Fleet_to_Kuat_Bounced_M12_Speech_Done</Prereq>
	</Event>

	<Event Name="Underworld_ActII_M12_Start">
		<Event_Type>STORY_ENTER</Event_Type>
		<Event_Param1>Kuat</Event_Param1>
		<Event_Param3>Tyber_Zann_Team</Event_Param3>
		<Event_Param6>0</Event_Param6>
		<Reward_Type>LINK_TACTICAL</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>SPACE</Reward_Param2>
		<Reward_Param3>Underworld</Reward_Param3>
		<Reward_Param4>UM12_The_Emperors_New_Weapon.TED</Reward_Param4>
		<Reward_Param5>Empire</Reward_Param5>
		<Reward_Param6/>
		<Reward_Param7>Story_Plots_Underworld_M12_SPACE.xml</Reward_Param7>
		<Reward_Param8>1</Reward_Param8>
		<Reward_Param9>0</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Reward_Param11>0</Reward_Param11>
		<Reward_Param13>0</Reward_Param13>
		<Prereq>Story_Dialog_ActIII_Mission_12</Prereq>
		<Branch>BRANCH_UA03M12</Branch>
	</Event>

	<Event Name="Remove_Kuat_Flash_M12">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Underworld_ActII_M12_Start</Prereq>
	</Event>

	<Event Name="Remove_Mission_Twelve_Task_Message_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_UW_ACT03_G21_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Underworld_ActII_M12_Start</Prereq>
	</Event>

	<!-- MISSION TWELVE FAILURE EVENTS -->

	<!-- Detect mission 12 being lost.  Display text telling the player to try again -->
	<Event Name="Underworld_A03M12_Failed">
		<Event_Type>STORY_MISSION_LOST</Event_Type>
		<Event_Param1>Story_Plots_Underworld_M12_SPACE.xml</Event_Param1>
		<Prereq>Underworld_ActII_M12_Start</Prereq>
		<Branch>BRANCH_UA03M12</Branch>
	</Event>

	<!-- Wait until the battle summary dialog is closed -->
	<Event Name="Underworld_A03M12_Failed_01">
		<Event_Type>STORY_GENERIC</Event_Type>
		<Event_Param1>battle_end_closed</Event_Param1>
		<Prereq>Underworld_A03M12_Failed</Prereq>
		<Branch>BRANCH_UA03M12</Branch>
	</Event>

	<Event Name="A03M12_Failed_Lock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>1</Reward_Param1>
		<Prereq>Underworld_A03M12_Failed_01</Prereq>
		<Branch>BRANCH_UA03M12</Branch>
	</Event>

	<!--That didn't go exactly as planned.  I'll have to try again.-->
	<Event Name="Underworld_A03M12_Failed_Dialog_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>UW_ACT01_M02_FAIL</Reward_Param8>
		<Reward_Param9>Tyber_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Underworld_A03M12_Failed_01</Prereq>
		<Branch>BRANCH_UA03M12</Branch>
	</Event>

	<Event Name="Underworld_A03M12_Failed_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>UW_ACT01_M02_FAIL</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_UW_ACT01_M02_FAIL</Reward_Param1>
		<Reward_Param4>remove</Reward_Param4>
		<Prereq>Underworld_A03M12_Failed_Dialog_00</Prereq>
		<Branch>BRANCH_UA03M12</Branch>
	</Event>

	<Event Name="Underworld_A03M12_Failed_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Underworld_A03M12_Failed_Remove_Text</Prereq>
		<Branch>BRANCH_UA03M12</Branch>
	</Event>

	<Event Name="A03M12_Failed_Unlock_Player">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>LOCK_CONTROLS</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Underworld_A03M12_Failed_Stop_Movie</Prereq>
		<Branch>BRANCH_UA03M12</Branch>
	</Event>

	<!-- Re-enable mission 12.  Since this is a persistant mission, do not force restart -->
	<Event Name="Underworld_A03M12_Failed_04">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>RESET_BRANCH</Reward_Type>
		<Reward_Param1>BRANCH_UA03M12</Reward_Param1>
		<Reward_Param2/>
		<Prereq>A03M12_Failed_Unlock_Player</Prereq>
		<Branch>BRANCH_UA03M12</Branch>
	</Event>

	<Event Name="Underworld_Mission_12_Completed">
		<Event_Type>STORY_FLAG</Event_Type>
		<Event_Param1>Underworld_Mission_12_Win</Event_Param1>
		<Event_Param2>1</Event_Param2>
		<Event_Param3>GREATER_THAN_EQUAL_TO</Event_Param3>
	</Event>

	<Event Name="Mission_Unlock_Kuat_Invasion">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_INVASION</Reward_Type>
		<Reward_Param1>Kuat</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Underworld_Mission_12_Completed</Prereq>
	</Event>

	<!-- Game over! -->
	<Event Name="Underworld_Wins_The_Game">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>VICTORY</Reward_Type>
		<Reward_Param1>Underworld</Reward_Param1>
		<Prereq>Underworld_Mission_12_Completed</Prereq>
	</Event>

	<!-- JAC - Enabling campaign win movie -->
	<Event Name="Underworld_Wins_The_Game_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_CAMPAIGN_VICTORY_MOVIE</Reward_Type>
		<Prereq>Underworld_Mission_12_Completed</Prereq>
	</Event>

<!-- Skipping Scripts -->
	<Event Name="Disable_Annoying_Branches">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_BRANCH</Reward_Type>
		<Reward_Param1>ACTJUMPING</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>JumpA2</Prereq>
		<Prereq>JumpA3</Prereq>
	</Event>
</Story>

