<?xml version="1.0" encoding="utf-8"?>
<Story>
<!-- Initial Setup -->
	<Event Name="Rebel_Act1_M02_Begin">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>1</Event_Param1>
	</Event>

	<Event Name="Rebel_M02_Autoresolve_Off">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>HIDE_AUTORESOLVE</Reward_Type>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

<!-- Turn off advisor -->
	<Event Name="Rebel_M02_Turn_Off_Land_Advisor">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_ADVISOR</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

	<Event Name="Rebel_Act1_M02_Prevent_Retreat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_RETREAT</Reward_Type>
		<Reward_Param1>EMPIRE</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

	<Event Name="Rebel_Act1_M02_Win_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>Rebel_A01M03_Win</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

	<Event Name="Rebel_Act1_M02_Prevent_Victory">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ENABLE_VICTORY</Reward_Type>
		<Reward_Param1>0</Reward_Param1>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

	<Event Name="Rebel_Act1_M02_Trooper_Flag_Set">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SET_FLAG</Reward_Type>
		<Reward_Param1>RA01M02_Trooper</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

<!-- INITIAL CINEMATIC SEQUENCE -->

<!-- Rebel Soldier 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_07
Rebel Soldier: Area looks clear.  The Imperial uplink should be just up ahead. -->
	<Event Name="Rebel_ActI_M02_Entry_Speech_000a">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>RM02_REBELTROOPER_LINE01_GO</Event_Param2>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_07</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_07</Reward_Param8>
		<Reward_Param9>Rebel_Trooper_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Entry_Speech_000b">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_07</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_07</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Entry_Speech_000a</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Entry_Speech_000b_Remove_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Entry_Speech_000b</Prereq>
	</Event>

<!-- C-3P0 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_03
C-3PO: Oh dear!  This humidity will certainly not be good for my circuits...-->
	<Event Name="Rebel_ActI_M02_Entry_Speech_00">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>RM02_C3P0_LINE01_GO</Event_Param2>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_03</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_03</Reward_Param8>
		<Reward_Param9>C3PO_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Entry_Speech_00_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_03</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_03</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Entry_Speech_00</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Entry_Speech_00_Remove_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Entry_Speech_00_Remove_Text</Prereq>
	</Event>

<!-- R2-D2 Speaks DO NOT DISPLAY R2's TEXT-->
	<Event Name="Rebel_ActI_M02_Entry_Speech_01">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>RM02_R2D2_LINE01_GO</Event_Param2>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_04</Reward_Param8>
		<Reward_Param9>R2D2_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Entry_Speech_01_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_04</Event_Param1>
		<Prereq>Rebel_ActI_M02_Entry_Speech_01</Prereq>
	</Event>

	<Event Name="Empire_A01M03_Bad_Reinforce_Dialog_00_Remove_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Entry_Speech_01_Remove_Text</Prereq>
	</Event>

<!-- Antilles 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_06
Antilles: Cut the chatter you two.  The sooner you get to that terminal, the sooner we can all get out of here.-->
	<Event Name="Rebel_ActI_M02_Entry_Speech_03">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>RM02_ANTILLES_LINE01_GO</Event_Param2>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_06</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_06</Reward_Param8>
		<Reward_Param9>Antillies_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Entry_Speech_03a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_06</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_06</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Entry_Speech_03</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Entry_Speech_03b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Entry_Speech_03a</Prereq>
	</Event>
<!-- END OF INTRO DIALOGUE -->

<!-- Get droids to uplink... -->
	<Event Name="Rebel_ActI_M02_Highlight_Uplink">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>Show_Uplink</Event_Param2>
		<Reward_Type>HIGHLIGHT_OBJECT</Reward_Type>
		<Reward_Param1>Story_Trigger_Zone_01</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Reward_Param3>1</Reward_Param3>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

<!-- Task: Get the droids to the Uplink Station.-->
	<Event Name="Rebel_ActI_M02_Entry_Speech_05">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_08</Reward_Param1>
		<Reward_Param2>10</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7><!-- TASK color coding - Blue -->
		<Prereq>Rebel_ActI_M02_Highlight_Uplink</Prereq>
	</Event>

<!-- TEXT_STORY_EMPIRE_ACT01_MISSION_TWO_64
Hint: Push the reinforcement button, then click on a unit's icon and direct it to a clear area around the Control Point. 
jdg previous line was deemed to passive...going to hint line used on Empire side.-->
	<Event Name="Rebel_ActI_M02_Entry_Speech_05a">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>Start_Mission</Event_Param2>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_STORY_EMPIRE_ACT01_MISSION_TWO_64</Reward_Param1>
		<Reward_Param2>10</Reward_Param2>
		<Reward_Param7>Hint</Reward_Param7><!-- HINT color coding - green -->
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Wayland_Highlight_Reinforcement_Button">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>FLASH_GUI</Reward_Type>
		<Reward_Param1>b_reinforcement</Reward_Param1>
		<Prereq>Rebel_ActI_M02_Entry_Speech_05a</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Wayland_Highlight_Reinforcement_Button_Off">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>10</Event_Param1>
		<Reward_Type>HIDE_TUTORIAL_CURSOR</Reward_Type>
		<Prereq>Rebel_ActI_M02_Wayland_Highlight_Reinforcement_Button</Prereq>
	</Event>

<!-- TEXT_STORY_REBEL_ACT01_MISSION_TWO_42
The droids must survive. -->
	<Event Name="Rebel_ActI_M02_ADD_OBJECTIVE_Droids_Must_Survive">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ADD_OBJECTIVE</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_42</Reward_Param1>
		<Prereq>Rebel_ActI_M02_Entry_Speech_05a</Prereq>
	</Event>

<!-- TEXT_STORY_REBEL_ACT01_MISSION_TWO_43
Escort Artoo to the uplink station.-->
	<Event Name="Rebel_ActI_M02_ADD_OBJECTIVE_Escort_Artoo">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ADD_OBJECTIVE</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_43</Reward_Param1>
		<Prereq>Rebel_ActI_M02_Entry_Speech_05a</Prereq>
	</Event>

<!-- Turret proximity warning and hint 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_09
Rebel Soldier: They've got turrets around the perimeter.  Spread out to disperse their fire. -->
	<Event Name="Rebel_ActI_M02_Turret_Proximity_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>1</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_09</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_09</Reward_Param8>
		<Reward_Param9>Rebel_Trooper_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Turret_Hack_Message</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Turret_Proximity_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_09</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_09</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Turret_Proximity_00</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Turret_Proximity_00b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Turret_Proximity_00a</Prereq>
	</Event>

<!-- Hint: Use your Rebel soldiers' Take Cover ability to take less damage. -->
	<Event Name="Rebel_ActI_M02_Turret_Proximity_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_10</Reward_Param1>
		<Reward_Param2>10</Reward_Param2>
		<Reward_Param7>Hint</Reward_Param7><!-- HINT color coding - green -->
		<Prereq>Rebel_ActI_M02_Turret_Proximity_00b</Prereq>
	</Event>

<!-- Stormtrooper
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_11
Stormtrooper: We've got Rebels here!  Call for back-up!-->
	<Event Name="Rebel_ActI_M02_Stormtrooper_Speech_00">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>1</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_11</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_11</Reward_Param8>
		<Reward_Param9>Stormtrooper_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Turret_Proximity_01</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Stormtrooper_Speech_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_11</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_11</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Stormtrooper_Speech_00</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Stormtrooper_Speech_00b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Stormtrooper_Speech_00a</Prereq>
	</Event>

<!-- Initial guards killed, ok to move droids in -->
	<Event Name="Rebel_ActI_M02_OK_To_Hack">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>ok_to_hack</Event_Param2>
		<Prereq>Rebel_ActI_M02_Stormtrooper_Speech_00b</Prereq>
	</Event>

<!-- Rebel Soldier 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_12
Rebel Soldier: Hurry up!  They managed to get out a distress call!  Get to the Uplink! -->
	<Event Name="Rebel_ActI_M02_Start_Hack_Speech_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_12</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_12</Reward_Param8>
		<Reward_Param9>Rebel_Trooper_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_OK_To_Hack</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Start_Hack_Speech_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_12</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_12</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Start_Hack_Speech_00</Prereq>
	</Event>

<!-- R2-D2 Speaks DO NOT DISPLAY R2'S TEXT-->
	<Event Name="Rebel_ActI_M02_Start_Hack_Speech_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_13</Reward_Param8>
		<Reward_Param9>R2D2_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Start_Hack_Speech_00a</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Start_Hack_Speech_01a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_13</Event_Param1>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Start_Hack_Speech_01</Prereq>
	</Event>

<!-- Hacking -->
<!-- R2 start hack -->
	<Event Name="Rebel_ActI_M02_Hack_00">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>begin_hacking_0</Event_Param2>
		<Reward_Type>HIGHLIGHT_OBJECT</Reward_Type>
		<Reward_Param1>Story_Trigger_Zone_01</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Reward_Param3>1</Reward_Param3>
		<Prereq>Rebel_Act1_M02_Begin</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Disable_Retreat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_RETREAT</Reward_Type>
		<Reward_Param1>REBEL</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Rebel_ActI_M02_Hack_00</Prereq>
	</Event>

<!-- C-3P0 Speaks 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_14
C-3PO: Artoo has plugged into the network.  It will take a few minutes to change the codes.-->
	<Event Name="Rebel_ActI_M02_4min_Hack_Speech_02">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>3</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_14</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_14</Reward_Param8>
		<Reward_Param9>C3PO_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Hack_00</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_4min_Hack_Speech_02a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_14</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_14</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_4min_Hack_Speech_02</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_4min_Hack_Speech_02b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_4min_Hack_Speech_02a</Prereq>
	</Event>

<!-- jdg COMPLETING mission objective here
TEXT_STORY_REBEL_ACT01_MISSION_TWO_43
Escort Artoo to the uplink station.-->
	<Event Name="Rebel_ActI_M02_COMPLETE_OBJECTIVE_Escort_Artoo">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>OBJECTIVE_COMPLETE</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_43</Reward_Param1>
		<Prereq>Rebel_ActI_M02_4min_Hack_Speech_02b</Prereq>
	</Event>

<!-- R2 2 minutes left 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_17
Rebel Soldier: What's taking so long?-->
	<Event Name="Rebel_ActI_M02_Hack_01">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>60</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_17</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_17</Reward_Param8>
		<Reward_Param9>Rebel_Trooper_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Hack_00</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Hack_01a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_17</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_17</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Hack_01</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- R2-D2 Speaks DO NOT DISPLAY R2'S TEXT-->
	<Event Name="Rebel_ActI_M02_First_Hack_Speech_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_18</Reward_Param8>
		<Reward_Param9>R2D2_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Hack_01a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_First_Hack_Speech_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_18</Event_Param1>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_First_Hack_Speech_00</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- C-3P0 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_19
C-3PO: We don't care about their security protocols!  
Just finish your task, you bucket of bolts! -->
	<Event Name="Rebel_ActI_M02_First_Hack_Speech_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_19</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_19</Reward_Param8>
		<Reward_Param9>C3PO_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_First_Hack_Speech_00a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_First_Hack_Speech_01a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_19</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_19</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_First_Hack_Speech_01</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- R2-D2 Speaks DO NOT DISPLAY R2'S TEXT-->
	<Event Name="Rebel_ActI_M02_First_Hack_Speech_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_20</Reward_Param8>
		<Reward_Param9>R2D2_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_First_Hack_Speech_01a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_First_Hack_Speech_02a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_20</Event_Param1>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_First_Hack_Speech_02</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- Notice: Two minutes remaining until steal completion.	-->
	<Event Name="Rebel_ActI_M02_First_Hack_Speech_03">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_35</Reward_Param1>
		<Reward_Param2>10</Reward_Param2>
		<Reward_Param7>System</Reward_Param7><!-- SYSTEM color coding - Red -->
		<Prereq>Rebel_ActI_M02_First_Hack_Speech_02a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- R2 1 minute left
Antillies
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_21
Antilles: Artoo, what's the hold up?-->
	<Event Name="Rebel_ActI_M02_Hack_02">
		<Event_Type>STORY_ELAPSED</Event_Type>
		<Event_Param1>60</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_21</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_21</Reward_Param8>
		<Reward_Param9>Antillies_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Hack_01</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Hack_02a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_21</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_21</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Hack_02</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- R2-D2 Speaks DO NOT DISPLAY R2'S TEXT-->
	<Event Name="Rebel_ActI_M02_Second_Hack_Speech_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_22</Reward_Param8>
		<Reward_Param9>R2D2_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Hack_02a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Second_Hack_Speech_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_22</Event_Param1>
		<Prereq>Rebel_ActI_M02_Second_Hack_Speech_00</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- C-3P0 Speaks -->
	<Event Name="Rebel_ActI_M02_Second_Hack_Speech_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_23</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_23</Reward_Param8>
		<Reward_Param9>C3PO_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Second_Hack_Speech_00a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Second_Hack_Speech_01a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_23</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_23</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Second_Hack_Speech_01</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Second_Hack_Speech_01b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Second_Hack_Speech_01a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- Notice: One minute remaining until steal completion.  -->
	<Event Name="Rebel_ActI_M02_Second_Hack_Speech_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_36</Reward_Param1>
		<Reward_Param2>10</Reward_Param2>
		<Reward_Param7>System</Reward_Param7><!-- SYSTEM color coding - Red -->
		<Prereq>Rebel_ActI_M02_Second_Hack_Speech_01b</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- R2 done DO NOT DISPLAY R2'S TEXT-->
	<Event Name="Rebel_ActI_M02_Hack_03_Notification">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>hack_complete</Event_Param2>
	</Event>

	<Event Name="Rebel_ActI_M02_Hack_03">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_24</Reward_Param8>
		<Reward_Param9>R2D2_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Hack_03_Notification</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Hack_03a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_24</Event_Param1>
		<Prereq>Rebel_ActI_M02_Hack_03</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- C-3P0 Speaks 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_25
C-3PO: He's done it!  The data has been uploaded!-->
	<Event Name="Rebel_ActI_M02_Third_Hack_Speech_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_25</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_25</Reward_Param8>
		<Reward_Param9>C3PO_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Hack_03a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Third_Hack_Speech_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_25</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_25</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Third_Hack_Speech_00</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- Antilles 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_26
Antilles: Nice work, you two!  Everyone, get to a landing zone and get out of there! -->
	<Event Name="Rebel_ActI_M02_Third_Hack_Speech_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_26</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_26</Reward_Param8>
		<Reward_Param9>Antillies_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Third_Hack_Speech_00a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Third_Hack_Speech_01a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_26</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_26</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Third_Hack_Speech_01</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Third_Hack_Speech_01b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Third_Hack_Speech_01a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- Task: Move the droids to a controlled Reinforcement Point for evacuation. -->
	<Event Name="Rebel_ActI_M02_Third_Hack_Speech_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_27</Reward_Param1>
		<Reward_Param2>10</Reward_Param2>
		<Reward_Param7>Task</Reward_Param7><!-- TASK color coding - Blue -->
		<Prereq>Rebel_ActI_M02_Third_Hack_Speech_01b</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- TEXT_STORY_REBEL_ACT01_MISSION_TWO_45
Escort the droids to a friendly reinforcement point.-->
	<Event Name="Rebel_ActI_M02_ADDING_OBJECTIVE_Escort_Droids_to_Exit">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>ADD_OBJECTIVE</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_45</Reward_Param1>
		<Prereq>Rebel_ActI_M02_Third_Hack_Speech_02</Prereq>
	</Event>

<!-- Incoming reinforcements 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_37
Rebel Soldier: Incoming Imperial transport shuttles spotted to the southwest!-->
	<Event Name="Rebel_ActI_M02_Reinforce_00_Notification">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>incoming_reinforcements_0</Event_Param2>
	</Event>

	<Event Name="Rebel_ActI_M02_Reinforce_00">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_37</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_37</Reward_Param8>
		<Reward_Param9>Rebel_Trooper_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Reinforce_00_Notification</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Reinforce_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_37</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_37</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Reinforce_00</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Reinforce_00b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Reinforce_00a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- Incoming reinforcements 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_38
Rebel Soldier: Incoming Imperial transport shuttles spotted to the south!-->
	<Event Name="Rebel_ActI_M02_Reinforce_01_Notification">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>incoming_reinforcements_1</Event_Param2>
	</Event>

	<Event Name="Rebel_ActI_M02_Reinforce_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_38</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_38</Reward_Param8>
		<Reward_Param9>Rebel_Trooper_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Reinforce_01_Notification</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Reinforce_01a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_38</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_38</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Reinforce_01</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Reinforce_01b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Reinforce_01a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- Incoming reinforcements 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_39
Rebel Soldier: Incoming Imperial transport shuttles spotted to the northwest!-->
	<Event Name="Rebel_ActI_M02_Reinforce_02_Notification">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>incoming_reinforcements_2</Event_Param2>
	</Event>

	<Event Name="Rebel_ActI_M02_Reinforce_02">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>incoming_reinforcements_2</Event_Param2>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_39</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_39</Reward_Param8>
		<Reward_Param9>Rebel_Trooper_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Reinforce_02_Notification</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Reinforce_02a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_39</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_39</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Reinforce_02</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_ActI_M02_Reinforce_02b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Reinforce_02a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- Check win conditions -->

<!-- Win triggered by lua script 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_40
Rebel Soldier: R2-D2 is ready for retrieval.  Good job!-->
	<Event Name="Rebel_Act1_M02_Enable_Victory_Notification">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>end_cin_audio</Event_Param2>
	</Event>

	<Event Name="Rebel_ActI_M02_ReEnable_Retreat">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_RETREAT</Reward_Type>
		<Reward_Param1>REBEL</Reward_Param1>
		<Reward_Param2>0</Reward_Param2>
		<Prereq>Rebel_Act1_M02_Enable_Victory_Notification</Prereq>
		<Prereq>Rebel_ActI_M02_Antilles_Speech_02_Stop_Movie</Prereq>
	</Event>

	<Event Name="Rebel_Act1_M02_Enable_Victory">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_40</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_40</Reward_Param8>
		<Reward_Param9>Rebel_Trooper_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_Act1_M02_Enable_Victory_Notification</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_Act1_M02_Enable_Victory_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_40</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_40</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_Act1_M02_Enable_Victory</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_Act1_M02_Enable_Victory_00b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_Act1_M02_Enable_Victory_00a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!--TEXT_SPEECH_REBEL_ACT02_MISSION_FIVE_16
C-3PO: We did it!  We did it!-->
	<Event Name="Rebel_Act1_M02_C3PO_Victory_Notification">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>end_c3po_audio</Event_Param2>
	</Event>

	<Event Name="Rebel_Act1_M02_C3PO_Victory">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT02_MISSION_FIVE_16</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT02_MISSION_FIVE_16</Reward_Param8>
		<Reward_Param9>C3PO_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_Act1_M02_C3PO_Victory_Notification</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_Act1_M02_C3PO_Victory_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT02_MISSION_FIVE_16</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT02_MISSION_FIVE_16</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_Act1_M02_C3PO_Victory</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

	<Event Name="Rebel_Act1_M02_C3PO_Victory_00b">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_Act1_M02_C3PO_Victory_00a</Prereq>
		<Branch>Rebel_M02_Mission_Dialog</Branch>
	</Event>

<!-- Mission completed
R2 squeals in extasy -->
	<Event Name="Rebel_Act1_M02_R2_Victory">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_22</Reward_Param8>
		<Prereq>Rebel_Act1_M02_C3PO_Victory_00b</Prereq>
	</Event>

	<Event Name="Rebel_Act1_M02_R2_Victory_Speech_Over">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_22</Event_Param1>
		<Prereq>Rebel_Act1_M02_R2_Victory</Prereq>
	</Event>

<!-- Mission completed -->
	<Event Name="Rebel_Act1_M02_Enable_Victory_01">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>win_a01m02</Event_Param2>
		<Reward_Type>VICTORY</Reward_Type>
		<Reward_Param1>REBEL</Reward_Param1>
		<Prereq>Rebel_Act1_M02_R2_Victory_Speech_Over</Prereq>
	</Event>

	<Event Name="Rebel_Act1_M02_Enable_Victory_02">
		<Event_Type>STORY_VICTORY</Event_Type>
		<Event_Param1>REBEL</Event_Param1>
		<Reward_Type>INCREMENT_FLAG</Reward_Type>
		<Reward_Param1>Rebel_A01M02_Win</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
	</Event>

<!-- COMPLETING objectives here
TEXT_STORY_REBEL_ACT01_MISSION_TWO_42
The droids must survive.
TEXT_STORY_REBEL_ACT01_MISSION_TWO_45
Escort the droids to a friendly reinforcement point.-->
	<Event Name="Rebel_ActI_M02_COMPLETE_OBJECTIVE_Droids_Must_Survive">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>OBJECTIVE_COMPLETE</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_42</Reward_Param1>
		<Prereq>Rebel_Act1_M02_Enable_Victory_01</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_COMPLETING_OBJECTIVE_Escort_Droids_to_Exit">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>OBJECTIVE_COMPLETE</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_45</Reward_Param1>
		<Prereq>Rebel_Act1_M02_Enable_Victory_01</Prereq>
	</Event>

<!-- LOSS CONDITION: Droids destroyed 
TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_28
C-3PO: Oh dear!  Oh dear!  Help!-->
	<Event Name="Rebel_ActI_M02_Check_Lose_00">
		<Event_Type>STORY_TACTICAL_DESTROY</Event_Type>
		<Event_Param1>Droid_R2D2</Event_Param1>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_28</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_28</Reward_Param8>
		<Reward_Param9>C3PO_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
	</Event>

	<Event Name="Rebel_ActI_M02_Lose_Disable_Mission_Dialog">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>DISABLE_BRANCH</Reward_Type>
		<Reward_Param1>Rebel_M02_Mission_Dialog</Reward_Param1>
		<Reward_Param2>1</Reward_Param2>
		<Prereq>Rebel_ActI_M02_Check_Lose_00</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Check_Lose_00a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_28</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_28</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Check_Lose_00</Prereq>
	</Event>

<!-- FAIL droid objective here
TEXT_STORY_REBEL_ACT01_MISSION_TWO_42
The droids must survive.-->
	<Event Name="Rebel_ActI_M02_FAIL_OBJECTIVE_Droids_Must_Survive">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>OBJECTIVE_FAILED</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_42</Reward_Param1>
		<Prereq>Rebel_ActI_M02_Check_Lose_00a</Prereq>
	</Event>

<!-- TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_29
Antilles: We've lost the droids!  Abort the mission!  Abort!-->
	<Event Name="Rebel_ActI_M02_Check_Lose_01">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_29</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_29</Reward_Param8>
		<Reward_Param9>Antillies_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Check_Lose_00a</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Check_Lose_01a">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_29</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_29</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Check_Lose_01</Prereq>
	</Event>

<!-- jdg TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_30
Antilles: Make sure to collect the droid pieces - we'll put 'em back together in no time.-->
	<Event Name="Rebel_ActI_M02_Antilles_Speech_02">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>MULTIMEDIA</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_30</Reward_Param1>
		<Reward_Param2>-1</Reward_Param2>
		<Reward_Param8>REBEL_ACT01_MISSION_TWO_30</Reward_Param8>
		<Reward_Param9>Antillies_Loop</Reward_Param9>
		<Reward_Param10>1</Reward_Param10>
		<Prereq>Rebel_ActI_M02_Check_Lose_01a</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Antilles_Speech_02_Remove_Text">
		<Event_Type>STORY_SPEECH_DONE</Event_Type>
		<Event_Param1>REBEL_ACT01_MISSION_TWO_30</Event_Param1>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_SPEECH_REBEL_ACT01_MISSION_TWO_30</Reward_Param1>
		<Reward_Param4>Remove</Reward_Param4>
		<Prereq>Rebel_ActI_M02_Antilles_Speech_02</Prereq>
	</Event>

	<Event Name="Rebel_ActI_M02_Antilles_Speech_02_Stop_Movie">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>STOP_COMMANDBAR_MOVIE</Reward_Type>
		<Prereq>Rebel_ActI_M02_Antilles_Speech_02_Remove_Text</Prereq>
	</Event>

	<Event Name="Rebel_Act1_M02_Enable_Loss">
		<Event_Type>STORY_TRIGGER</Event_Type>
		<Reward_Type>VICTORY</Reward_Type>
		<Reward_Param1>EMPIRE</Reward_Param1>
		<Prereq>Rebel_ActI_M02_Antilles_Speech_02_Stop_Movie</Prereq>
	</Event>

<!-- text hint for hacking turrets
TEXT_STORY_REBEL_ACT01_MISSION_TWO_48
Hint: Use the Droids' Control Turret ability to take control of enemy turrets!-->
	<Event Name="Rebel_ActI_M02_Turret_Hack_Message">
		<Event_Type>STORY_AI_NOTIFICATION</Event_Type>
		<Event_Param2>Hack_Turret_Message</Event_Param2>
		<Reward_Type>SCREEN_TEXT</Reward_Type>
		<Reward_Param1>TEXT_STORY_REBEL_ACT01_MISSION_TWO_48</Reward_Param1>
		<Reward_Param2>10</Reward_Param2>
		<Reward_Param7>Hint</Reward_Param7><!-- HINT color coding - green -->
		<Prereq>Rebel_ActI_M02_Entry_Speech_05a</Prereq>
	</Event>
</Story>
