rem: NPCPhrase (INIT_HELLO);
context: Intro (void){	BYTE NumVisits, Manner;	if (LOBYTE (GLOBAL (CurrentActivity)) == WON_LAST_BATTLE)	{		NPCPhrase (OUT_TAKES);		SET_GAME_STATE (BATTLE_SEGUE, 0);		goto ExitIntro;	}	else if (!GET_GAME_STATE (MET_ARILOU))	{		RESPONSE_FUNC  RespFunc;		NPCPhrase (INIT_HELLO);		if (GET_GAME_STATE (ARILOU_SPACE_SIDE) <= 1)		{			RespFunc = (RESPONSE_FUNC)FriendlySpaceArilou;		}		else		{			RespFunc = (RESPONSE_FUNC)ArilouHome;			SET_GAME_STATE (ARILOU_HOME_VISITS, 1);		}		Response (confused_by_hello, RespFunc);		Response (happy_by_hello, RespFunc);		Response (miffed_by_hello, RespFunc);		SET_GAME_STATE (MET_ARILOU, 1);		goto ExitIntro;	}	Manner = GET_GAME_STATE (ARILOU_MANNER);	if (Manner == 2)	{		NumVisits = GET_GAME_STATE (ARILOU_VISITS);		switch (NumVisits++)		{			case 0:				NPCPhrase (HOSTILE_GOODBYE_1);				break;			case 1:				NPCPhrase (HOSTILE_GOODBYE_2);				break;			case 2:				NPCPhrase (HOSTILE_GOODBYE_3);				break;			case 3:				NPCPhrase (HOSTILE_GOODBYE_4);				--NumVisits;				break;		}		SET_GAME_STATE (ARILOU_VISITS, NumVisits);		SET_GAME_STATE (BATTLE_SEGUE, 0);	}	else if (Manner == 1)	{		if (GET_GAME_STATE (ARILOU_SPACE_SIDE) > 1)		{			NPCPhrase (INIT_ANGRY_HWLD_HELLO);			SET_GAME_STATE (ARILOU_HOME_VISITS, 1);			AngryHomeArilou ((RESPONSE_REF)0);		}		else		{			NumVisits = GET_GAME_STATE (ARILOU_VISITS);			switch (NumVisits++)			{				case 0:					NPCPhrase (ANGRY_SPACE_HELLO_1);					break;				case 1:					NPCPhrase (ANGRY_SPACE_HELLO_2);					--NumVisits;					break;			}			SET_GAME_STATE (ARILOU_VISITS, NumVisits);			AngrySpaceArilou ((RESPONSE_REF)0);		}	}	else	{		if (GET_GAME_STATE (ARILOU_SPACE_SIDE) <= 1)		{			NumVisits = GET_GAME_STATE (ARILOU_VISITS);			switch (NumVisits++)			{				case 0:					NPCPhrase (FRIENDLY_SPACE_HELLO_1);					break;				case 1:					NPCPhrase (FRIENDLY_SPACE_HELLO_2);					break;				case 2:					NPCPhrase (FRIENDLY_SPACE_HELLO_3);					break;				case 3:					NPCPhrase (FRIENDLY_SPACE_HELLO_4);					--NumVisits;					break;			}			SET_GAME_STATE (ARILOU_VISITS, NumVisits);			FriendlySpaceArilou ((RESPONSE_REF)0);		}		else		{			if (!GET_GAME_STATE (PORTAL_SPAWNER)					&& GET_GAME_STATE (KNOW_ARILOU_WANT_WRECK))			{				NumVisits = GET_GAME_STATE (NO_PORTAL_VISITS);				switch (NumVisits++)				{					case 0:						NPCPhrase (GOT_PART_YET_1);						break;					case 1:						NPCPhrase (GOT_PART_YET_1);						--NumVisits;						break;				}				SET_GAME_STATE (NO_PORTAL_VISITS, NumVisits);			}			else			{				NumVisits = GET_GAME_STATE (ARILOU_HOME_VISITS);				switch (NumVisits++)				{					case 0:						NPCPhrase (FRDLY_HOMEWORLD_HELLO_1);						break;					case 1:						NPCPhrase (FRDLY_HOMEWORLD_HELLO_2);						break;					case 2:						NPCPhrase (FRDLY_HOMEWORLD_HELLO_3);						break;					case 3:						NPCPhrase (FRDLY_HOMEWORLD_HELLO_4);						--NumVisits;						break;				}				SET_GAME_STATE (ARILOU_HOME_VISITS, NumVisits);			}			ArilouHome ((RESPONSE_REF)0);		}	}ExitIntro:	;}