This feels a lot more complicated than it has any reason to be.
I can kinda see it as Mc trying to push forward some character growth while solving the problem, but given how severe the circumstances are it seems like the character growth could maybe wait for after the malevolent pirate’s been dealt with?
Well, whatever