$Name: The Second Lylat War
$Type: single
+Description:
 XSTR("The second war between the Cornerian people and the armies of Andross from Venom. Follow the exploits of Fox McCloud and his team of mercenary fighter pilots as they are hired by the Cornerian Army to hold off Andross' Invasion.", -1)
$end_multi_text
$Flags: 0


+Starting Ships: ( "Arwing Mark II"  "Blue Marine"  "Landmaster" )

+Starting Weapons: ( "Standard Laser"  "Blaster Cannon"  "AA Battery"  "Charged Laser"  "Dumbfire Missile"  "Nova Bomb"  "Heavy Artillery"  "Striker Chaff"  "Aquan Torpedo" )


$Mission: LW_Training_01.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-goal-true 
         "LW_Training_01.fs2" 
         "FollowInstructions" 
      )
      ( next-mission "LW_Mission_01.fs2" )
   )
   ( ( true ) ( next-mission "LW_Training_01.fs2" ) )
)

+Level: 0
+Position: 3

$Mission: LW_Mission_01.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_01.fs2" 
         "Boss_destroyed" 
      )
      ( next-mission "LW_Mission_02.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_01.fs2" ) )
)

+Level: 1
+Position: 3

$Mission: LW_Mission_02.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_02.fs2" 
         "MissionEnd_Meteo" 
      )
      ( next-mission "LW_Mission_03_B.fs2" )
   )
   (
      ( is-previous-event-true 
         "LW_Mission_02.fs2" 
         "MissionEnd_SectorY" 
      )
      ( next-mission "LW_Mission_03_A.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_02.fs2" ) )
)

+Level: 2
+Position: 3

$Mission: LW_Mission_03_A.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_03_A.fs2" 
         "VictoryA" 
      )
      ( next-mission "LW_Mission_04.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_03_A.fs2" ) )
)

+Level: 3
+Position: 2

$Mission: LW_Mission_03_B.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_03_B.fs2" 
         "VictoryA" 
      )
      ( next-mission "LW_Mission_04.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_03_B.fs2" ) )
)

+Level: 3
+Position: 4

$Mission: LW_Mission_04.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_04.fs2" 
         "BranchB" 
      )
      ( next-mission "LW_Mission_05_A.fs2" )
   )
   (
      ( is-previous-event-true 
         "LW_Mission_04.fs2" 
         "BranchA" 
      )
      ( next-mission "LW_Mission_04_zbranch.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_04.fs2" ) )
)

+Level: 4
+Position: 3

$Mission: LW_Mission_04_zbranch.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_04_zbranch.fs2" 
         "To Katina" 
      )
      ( next-mission "LW_Mission_05_A.fs2" )
   )
   (
      ( is-previous-event-true 
         "LW_Mission_04_zbranch.fs2" 
         "To Aquas" 
      )
      ( next-mission "LW_Mission_05_B.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_04_zbranch.fs2" ) )
)

+Level: 5
+Position: 3

$Mission: LW_Mission_05_A.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_05_A.fs2" 
         "BranchA" 
      )
      ( next-mission "LW_Mission_06_A.fs2" )
   )
   (
      ( is-previous-event-true 
         "LW_Mission_05_A.fs2" 
         "BranchB" 
      )
      ( next-mission "LW_Mission_05A_zbranch.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_05_A.fs2" ) )
)

+Level: 6
+Position: 2

$Mission: LW_Mission_05_B.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_05_B.fs2" 
         "BranchA" 
      )
      ( next-mission "LW_Mission_06_C.fs2" )
   )
   (
      ( is-previous-event-true 
         "LW_Mission_05_B.fs2" 
         "BranchB" 
      )
      ( next-mission "LW_Mission_05B_zbranch.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_05_B.fs2" ) )
)

+Level: 6
+Position: 4

$Mission: LW_Mission_05A_zbranch.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_05A_zbranch.fs2" 
         "To Macbeth" 
      )
      ( next-mission "LW_Mission_06_A.fs2" )
   )
   (
      ( is-previous-event-true 
         "LW_Mission_05A_zbranch.fs2" 
         "To Sector X" 
      )
      ( next-mission "LW_Mission_06_B.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_05A_zbranch.fs2" ) )
)

+Level: 7
+Position: 2

$Mission: LW_Mission_05B_zbranch.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_05B_zbranch.fs2" 
         "To Zoness" 
      )
      ( next-mission "LW_Mission_06_C.fs2" )
   )
   (
      ( is-previous-event-true 
         "LW_Mission_05B_zbranch.fs2" 
         "To Fortuna" 
      )
      ( next-mission "LW_Mission_06_D.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_05B_zbranch.fs2" ) )
)

+Level: 7
+Position: 4

$Mission: LW_Mission_06_A.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_06_A.fs2" 
         "VictoryA" 
      )
      ( next-mission "LW_Mission_07_C.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_06_A.fs2" ) )
)

+Level: 8
+Position: 0

$Mission: LW_Mission_06_B.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_06_B.fs2" 
         "SpyborgDefeatedA_01" 
      )
      ( next-mission "LW_Mission_07_C.fs2" )
   )
   (
      ( is-previous-event-true 
         "LW_Mission_06_B.fs2" 
         "SpyborgDefeatedB_01" 
      )
      ( next-mission "LW_Mission_07_A.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_06_B.fs2" ) )
)

+Level: 8
+Position: 2

$Mission: LW_Mission_06_D.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_06_D.fs2" 
         "BossDeadA_01" 
      )
      ( next-mission "LW_mission_07_D.fs2" )
   )
   (
      ( is-previous-event-true 
         "LW_Mission_06_D.fs2" 
         "BossDeadB_01" 
      )
      ( next-mission "LW_Mission_07_B.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_06_D.fs2" ) )
)

+Level: 8
+Position: 4

$Mission: LW_Mission_06_C.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_06_C.fs2" 
         "VictoryA" 
      )
      ( next-mission "LW_mission_07_D.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_06_C.fs2" ) )
)

+Level: 8
+Position: 6

$Mission: LW_Mission_07_C.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_07_C.fs2" 
         "VictoryA_01" 
      )
      ( next-mission "LW_Mission_07_zbranch.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_07_C.fs2" ) )
)

+Level: 9
+Position: 0

$Mission: LW_Mission_07_A.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_07_A.fs2" 
         "VictoryA_01" 
      )
      ( next-mission "LW_Mission_08_A.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_07_A.fs2" ) )
)

+Level: 9
+Position: 2

$Mission: LW_Mission_07_B.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_07_B.fs2" 
         "VictoryA_01" 
      )
      ( next-mission "LW_Mission_08_A.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_07_B.fs2" ) )
)

+Level: 9
+Position: 4

$Mission: LW_mission_07_D.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_mission_07_D.fs2" 
         "VictoryA_01" 
      )
      ( next-mission "LW_Mission_07_zbranch.fs2" )
   )
   ( ( true ) ( next-mission "LW_mission_07_D.fs2" ) )
)

+Level: 9
+Position: 6

$Mission: LW_Mission_07_zbranch.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_07_zbranch.fs2" 
         "To Area 6" 
      )
      ( next-mission "LW_Mission_08_A.fs2" )
   )
   (
      ( is-previous-event-true 
         "LW_Mission_07_zbranch.fs2" 
         "To Bolse" 
      )
      ( next-mission "LW_Mission_08_B.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_04_zbranch.fs2" ) )
)

+Level: 10
+Position: 3

$Mission: LW_Mission_08_A.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_08_A.fs2" 
         "VictoryA_01" 
      )
      ( next-mission "LW_Mission_09.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_08_A.fs2" ) )
)

+Level: 11
+Position: 2

$Mission: LW_Mission_08_B.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_08_B.fs2" 
         "VictoryA_01" 
      )
      ( next-mission "LW_Mission_09.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_08_B.fs2" ) )
)

+Level: 11
+Position: 4

$Mission: LW_Mission_09.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_09.fs2" 
         "VictoryA_01" 
      )
      ( next-mission "LW_Mission_10.fs2" )
   )
   ( ( true ) ( next-mission "LW_Mission_09.fs2" ) )
)

+Level: 12
+Position: 3

$Mission: LW_Mission_10.fs2
+Flags: 0
+Main Hall: 
+Formula: ( cond
   (
      ( is-previous-event-true 
         "LW_Mission_10.fs2" 
         "MadeItOutA_01" 
      )
      ( end-of-campaign )
   )
   ( ( true ) ( next-mission "LW_Mission_10.fs2" ) )
)

+Level: 13
+Position: 3

#End

