rem: COORD x, y;  if (MissionState == 0) { x = 4879; y = 7201; } else { x = 2535; y = 8358;
add: if (MissionState != 0) {
context: thradd_mission (void){	BYTE MissionState;	HSTARSHIP hThradd;	EXTENDED_SHIP_FRAGMENTPTR ThraddPtr;	hThradd = GetStarShipFromIndex (&GLOBAL (avail_race_q), THRADDASH_SHIP);	ThraddPtr = (EXTENDED_SHIP_FRAGMENTPTR)LockStarShip (			&GLOBAL (avail_race_q), hThradd);	MissionState = GET_GAME_STATE (THRADD_MISSION);	if (ThraddPtr->ShipInfo.actual_strength && MissionState < 3)	{		if (MissionState & 1)		{			SIZE strength_loss;			AddEvent (RELATIVE_EVENT, 0, 14, 0, ADVANCE_THRADD_MISSION);			strength_loss = (SIZE)(ThraddPtr->ShipInfo.actual_strength >> 1);			ThraddPtr->ShipInfo.energy_level =					(BYTE)(-strength_loss / 14);			ThraddPtr->ShipInfo.growth_fract =					(BYTE)(((strength_loss % 14) << 8) / 14);			ThraddPtr->ShipInfo.growth_err_term = 255 >> 1;		}		else		{			COORD x, y;			if (MissionState == 0)			{				x = 4879;				y = 7201;			}			else			{				x = 2535;				y = 8358;				ThraddPtr->ShipInfo.energy_level = 0;				ThraddPtr->ShipInfo.growth_fract = 0;			}			SetRaceDest (THRADDASH_SHIP, x, y, 14, ADVANCE_THRADD_MISSION);		}	}	SET_GAME_STATE (THRADD_MISSION, MissionState + 1);	UnlockStarShip (&GLOBAL (avail_race_q), hThradd);}