case "After_Tortuga_port_cleanup":
setCharacterShipLocation(PChar, "Tortuga_port");
AddQuestRecord("Dead mans chest", 9);
RestorePassengers(PChar.id);
LAi_LocationFightDisable(&Locations[FindLocation("Tortuga_port")], false);
Locations[FindLocation("Tortuga_port")].reload.l2.disable = 0;
bQuestDisableMapEnter = false;
DisableFastTravel(false);
InterfaceStates.Buttons.Save.enable = 1;
LAi_SetImmortal(CharacterFromID("Elizabeth Swann"), false)
LAi_SetImmortal(CharacterFromID("Annamaria"), false)
LAi_SetImmortal(CharacterFromID("Mr. Gibbs"), false)
LAi_SetImmortal(CharacterFromID("James Norrington"), false)
LAi_SetOfficerType(CharacterFromID("Annamaria"));
LAi_SetOfficerType(CharacterFromID("James Norrington"));
LAi_SetOfficerType(CharacterFromID("Elizabeth Swann"));
AddPassenger(Pchar, characterFromID("Annamaria"), 0);
AddPassenger(Pchar, characterFromID("James Norrington"), 0);
AddPassenger(Pchar, characterFromID("Elizabeth Swann"), 0);
LAi_SetOfficerType(CharacterFromID("Mr. Gibbs"));
SetOfficersIndex(Pchar, 1, GetCharacterIndex("Mr. Gibbs"));
SetCharacterRemovable(characterFromID("Annamaria"), true);
SetCharacterRemovable(characterFromID("Mr. Gibbs"), true);
LAi_QuestDelay("tp_deck_after_port_tortuga", 1.0);
break;