(1, 4, ti_once, [(this_or_next|main_hero_fallen),(num_active_teams_le,1)],
[
(assign, ":npc_agent", -1),
(try_for_agents, ":agent_no"),
(agent_get_troop_id, ":troop_id", ":agent_no"),
(try_begin),
(eq, ":troop_id", "trp_npc1"),
(assign, ":npc_agent", ":agent_no"),
(try_end),
(try_end),
(try_begin),
(main_hero_fallen),
(jump_to_menu, "mnu_quest1_failed"),
(else_try),
(ge, ":npc_agent", 0),
(agent_is_alive, ":npc_agent"),
(start_mission_conversation, "trp_npc1"),
(jump_to_menu, "mnu_quest1_stage2"),
(else_try),
(jump_to_menu, "mnu_quest1_npc_fallen"),
(try_end),
(finish_mission),
]),