When a pirate ship raised their black flag, it indicated that – provided the ship they were attacking surrendered with no resistance – the crew would be shown mercy