cartoon character with pirate hat and sword