If it was in the octagon, the ninja would win. They wouldn't let the pirate use his hook or sword and the clever use of the ninjas' sneakiness would give him the advantage. The ninja would accumulate points from his harmless chain punches and would win the decision. The pirate would be kind of angry and yell ARRGHHH throughout the fight, and that would not score heavily in his favor.