rem: AlienTalkSegue ((COUNT)~0);
add: ZFPTalkSegue ((COUNT)~0);
context: ZoqFotHome (RESPONSE_REF R){	BYTE NumVisits;	if (PLAYER_SAID (R, whats_up_homeworld))	{		NumVisits = GET_GAME_STATE (ZOQFOT_INFO);		switch (NumVisits++)		{			case 0:				NPCPhrase_cb (GENERAL_INFO_10, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_11, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_12, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_13, &SelectAlienPIK);				AlienTalkSegue ((COUNT)~0);				break;			case 1:				NPCPhrase_cb (GENERAL_INFO_20, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_21, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_22, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_23, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_24, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_25, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_26, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_27, &SelectAlienPIK);				AlienTalkSegue ((COUNT)~0);				break;			case 2:				NPCPhrase_cb (GENERAL_INFO_30, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_31, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_32, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_33, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_34, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_35, &SelectAlienPIK);				AlienTalkSegue ((COUNT)~0);				break;			case 3:				NPCPhrase_cb (GENERAL_INFO_40, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_41, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_42, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_43, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_44, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_45, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_46, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_47, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_48, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_49, &SelectAlienPIK);				NPCPhrase_cb (GENERAL_INFO_410, &SelectAlienZOQ);				NPCPhrase_cb (GENERAL_INFO_411, &SelectAlienPIK);				AlienTalkSegue ((COUNT)~0);				--NumVisits;				break;		}		SET_GAME_STATE (ZOQFOT_INFO, NumVisits);		DISABLE_PHRASE (whats_up_homeworld);	}	else if (PLAYER_SAID (R, any_war_news))	{#define UTWIG_BUY_TIME (1 << 0)#define KOHR_AH_WIN (1 << 1)#define URQUAN_LOSE (1 << 2)#define KOHR_AH_KILL (1 << 3)#define KNOW_ALL (UTWIG_BUY_TIME | KOHR_AH_WIN | URQUAN_LOSE | KOHR_AH_KILL)		BYTE KnowMask;		NumVisits = GET_GAME_STATE (UTWIG_SUPOX_MISSION);		KnowMask = GET_GAME_STATE (ZOQFOT_KNOW_MASK);		if (!(KnowMask & KOHR_AH_KILL) && GET_GAME_STATE (KOHR_AH_FRENZY))		{			NPCPhrase_cb (KOHRAH_FRENZY0, &SelectAlienZOQ);			NPCPhrase_cb (KOHRAH_FRENZY1, &SelectAlienPIK);			NPCPhrase_cb (KOHRAH_FRENZY2, &SelectAlienZOQ);			NPCPhrase_cb (KOHRAH_FRENZY3, &SelectAlienPIK);			NPCPhrase_cb (KOHRAH_FRENZY4, &SelectAlienZOQ);			NPCPhrase_cb (KOHRAH_FRENZY5, &SelectAlienPIK);			NPCPhrase_cb (KOHRAH_FRENZY6, &SelectAlienZOQ);			NPCPhrase_cb (KOHRAH_FRENZY7, &SelectAlienPIK);			NPCPhrase_cb (KOHRAH_FRENZY8, &SelectAlienZOQ);			NPCPhrase_cb (KOHRAH_FRENZY9, &SelectAlienPIK);			NPCPhrase_cb (KOHRAH_FRENZY10, &SelectAlienZOQ);			NPCPhrase_cb (KOHRAH_FRENZY11, &SelectAlienPIK);			AlienTalkSegue ((COUNT)~0);			KnowMask = KNOW_ALL;		}		else if (!(KnowMask & UTWIG_BUY_TIME)				&& NumVisits > 0 && NumVisits < 5)		{			NPCPhrase_cb (UTWIG_DELAY0, &SelectAlienZOQ);			NPCPhrase_cb (UTWIG_DELAY1, &SelectAlienPIK);			NPCPhrase_cb (UTWIG_DELAY2, &SelectAlienZOQ);			NPCPhrase_cb (UTWIG_DELAY3, &SelectAlienPIK);			NPCPhrase_cb (UTWIG_DELAY4, &SelectAlienZOQ);			NPCPhrase_cb (UTWIG_DELAY5, &SelectAlienPIK);			NPCPhrase_cb (UTWIG_DELAY6, &SelectAlienZOQ);			NPCPhrase_cb (UTWIG_DELAY7, &SelectAlienPIK);			NPCPhrase_cb (UTWIG_DELAY8, &SelectAlienZOQ);			NPCPhrase_cb (UTWIG_DELAY9, &SelectAlienPIK);			NPCPhrase_cb (UTWIG_DELAY10, &SelectAlienZOQ);			NPCPhrase_cb (UTWIG_DELAY11, &SelectAlienPIK);			NPCPhrase_cb (UTWIG_DELAY12, &SelectAlienZOQ);			NPCPhrase_cb (UTWIG_DELAY13, &SelectAlienPIK);			AlienTalkSegue ((COUNT)~0);			KnowMask |= UTWIG_BUY_TIME;		}		else		{			SIZE i;			i = START_YEAR + YEARS_TO_KOHRAH_VICTORY;			if (NumVisits)				++i;			if ((i -= GLOBAL (GameClock.year_index)) == 1					&& GLOBAL (GameClock.month_index) > 2)				i = 0;			if (!(KnowMask & URQUAN_LOSE) && i <= 0)			{				NPCPhrase_cb (URQUAN_NEARLY_GONE0, &SelectAlienZOQ);				NPCPhrase_cb (URQUAN_NEARLY_GONE1, &SelectAlienPIK);				NPCPhrase_cb (URQUAN_NEARLY_GONE2, &SelectAlienZOQ);				NPCPhrase_cb (URQUAN_NEARLY_GONE3, &SelectAlienPIK);				NPCPhrase_cb (URQUAN_NEARLY_GONE4, &SelectAlienZOQ);				NPCPhrase_cb (URQUAN_NEARLY_GONE5, &SelectAlienPIK);				AlienTalkSegue ((COUNT)~0);				KnowMask |= KOHR_AH_WIN | URQUAN_LOSE;			}			else if (!(KnowMask & KOHR_AH_WIN) && i == 1)			{				NPCPhrase_cb (KOHRAH_WINNING0, &SelectAlienZOQ);				NPCPhrase_cb (KOHRAH_WINNING1, &SelectAlienPIK);				NPCPhrase_cb (KOHRAH_WINNING2, &SelectAlienZOQ);				NPCPhrase_cb (KOHRAH_WINNING3, &SelectAlienPIK);				NPCPhrase_cb (KOHRAH_WINNING4, &SelectAlienZOQ);				NPCPhrase_cb (KOHRAH_WINNING5, &SelectAlienPIK);				NPCPhrase_cb (KOHRAH_WINNING6, &SelectAlienZOQ);				NPCPhrase_cb (KOHRAH_WINNING7, &SelectAlienPIK);				NPCPhrase_cb (KOHRAH_WINNING8, &SelectAlienZOQ);				NPCPhrase_cb (KOHRAH_WINNING9, &SelectAlienPIK);				AlienTalkSegue ((COUNT)~0);				KnowMask |= KOHR_AH_WIN;			}			else			{				NPCPhrase_cb (NO_WAR_NEWS0, &SelectAlienZOQ);				NPCPhrase_cb (NO_WAR_NEWS1, &SelectAlienPIK);				AlienTalkSegue ((COUNT)~0);			}		}		SET_GAME_STATE (ZOQFOT_KNOW_MASK, KnowMask);		DISABLE_PHRASE (any_war_news);	}	else if (PLAYER_SAID (R, i_want_alliance))	{		NPCPhrase_cb (GOOD0, &SelectAlienZOQ);		NPCPhrase_cb (GOOD1, &SelectAlienPIK);		NPCPhrase_cb (GOOD2, &SelectAlienZOQ);		NPCPhrase_cb (GOOD3, &SelectAlienPIK);		NPCPhrase_cb (GOOD4, &SelectAlienZOQ);		NPCPhrase_cb (GOOD5, &SelectAlienPIK);		NPCPhrase_cb (GOOD6, &SelectAlienZOQ);		NPCPhrase_cb (GOOD7, &SelectAlienPIK);		NPCPhrase_cb (GOOD8, &SelectAlienZOQ);		NPCPhrase_cb (GOOD9, &SelectAlienPIK);		AlienTalkSegue ((COUNT)~0);		ActivateStarShip (ZOQFOTPIK_SHIP, 0);		AddEvent (RELATIVE_EVENT, 3, 0, 0, ZOQFOT_DISTRESS_EVENT);	}	else if (PLAYER_SAID (R, enough_info))	{		NPCPhrase_cb (OK_ENOUGH_INFO, &SelectAlienZOQ);		AlienTalkSegue ((COUNT)~0);	}	if (PHRASE_ENABLED (whats_up_homeworld))		Response (whats_up_homeworld, ZoqFotHome);	if (PHRASE_ENABLED (any_war_news))		Response (any_war_news, ZoqFotHome);	if (!(ActivateStarShip (ZOQFOTPIK_SHIP, CHECK_ALLIANCE) & GOOD_GUY))		Response (i_want_alliance, ZoqFotHome);	else if (PHRASE_ENABLED (want_specific_info))	{		Response (want_specific_info, ZoqFotInfo);	}	Response (bye_homeworld, ExitConversation);}