rem: GLOBAL_SIS (FuelOnBoard) = FUEL_RESERVE; GLOBAL_SIS (CrewEnlisted) = 0;
context: ExitConversation (RESPONSE_REF R){	SET_GAME_STATE (BATTLE_SEGUE, 0);	if (PLAYER_SAID (R, bye))		NPCPhrase (GOODBYE);	else if (PLAYER_SAID (R, bye_shielded))		NPCPhrase (GOODBYE_SHIELDED);	else if (PLAYER_SAID (R, bye_after_bomb))		NPCPhrase (GOODBYE_AFTER_BOMB);	else if (PLAYER_SAID (R, proceed))	{		BYTE i;		NPCPhrase (TAKE_2_WEEKS);		ActivateStarShip (CHMMR_SHIP, 0);		SET_GAME_STATE (CHMMR_HOME_VISITS, 0);		SET_GAME_STATE (CHMMR_STACK, 0);		SET_GAME_STATE (CHMMR_BOMB_STATE, 2);		SET_GAME_STATE (UTWIG_BOMB_ON_SHIP, 0);		GLOBAL_SIS (ResUnits) = 1000000L;		GLOBAL_SIS (FuelOnBoard) = FUEL_RESERVE;		GLOBAL_SIS (CrewEnlisted) = 0;		GLOBAL_SIS (NumLanders) = 0;		GLOBAL (ModuleCost[PLANET_LANDER]) = 0;		GLOBAL (ModuleCost[STORAGE_BAY]) = 0;		GLOBAL_SIS (TotalElementMass) = 0;		for (i = 0; i < NUM_ELEMENT_CATEGORIES; ++i)			GLOBAL_SIS (ElementAmounts[i]) = 0;		for (i = 0; i < NUM_DRIVE_SLOTS; ++i)			GLOBAL_SIS (DriveSlots[i]) = FUSION_THRUSTER;		for (i = 0; i < NUM_JET_SLOTS; ++i)			GLOBAL_SIS (JetSlots[i]) = TURNING_JETS;		for (i = NUM_BOMB_MODULES; i < NUM_MODULE_SLOTS; ++i)			GLOBAL_SIS (ModuleSlots[i]) = EMPTY_SLOT + 2;		GLOBAL_SIS (ModuleSlots[0]) = BOMB_MODULE_4;		GLOBAL_SIS (ModuleSlots[1]) = BOMB_MODULE_5;		GLOBAL_SIS (ModuleSlots[2]) = BOMB_MODULE_3;		GLOBAL_SIS (ModuleSlots[3]) = BOMB_MODULE_1;		GLOBAL_SIS (ModuleSlots[4]) = BOMB_MODULE_0;		GLOBAL_SIS (ModuleSlots[5]) = BOMB_MODULE_1;		GLOBAL_SIS (ModuleSlots[6]) = BOMB_MODULE_3;		GLOBAL_SIS (ModuleSlots[7]) = BOMB_MODULE_4;		GLOBAL_SIS (ModuleSlots[8]) = BOMB_MODULE_5;		GLOBAL_SIS (ModuleSlots[9]) = BOMB_MODULE_2;#define EARTH_INDEX 2 /* earth is 3rd planet --> 3 - 1 = 2 */		GLOBAL_SIS (log_x) = UNIVERSE_TO_LOGX (SOL_X);		GLOBAL_SIS (log_y) = UNIVERSE_TO_LOGY (SOL_Y);		GLOBAL (ShipStamp.frame) =				(FRAME)MAKE_DWORD (1, EARTH_INDEX + 1);			/* Magic numbers for Earth */		GLOBAL (ip_location.x) = -725;		GLOBAL (ip_location.y) = 597;		GLOBAL (ShipStamp.origin.x) = 86 - SAFE_X;		GLOBAL (ShipStamp.origin.y) = 113 - SAFE_Y;	}}