In quest case "tp_deck_after_port_tortuga", find this line:
Code:
Locations[FindLocation("Tortuga_port")].reload.l2.disable = 0;
Move it up into case "After_Tortuga_port_cleanup". Then comment out this line:
Code:
LAi_QuestDelay("tp_deck_after_port_tortuga", 1.0);
Reload a save from before the final conversation with Mr. Gibbs. After the conversation, instead of teleporting to the ship deck, you should end up standing in Tortuga port.
Also in "After_Tortuga_port_cleanup", try adding this:
That should give you a pirate flag so that you can sail safely out of Tortuga.