I don't think that pirate would be able to fight very well. What with his lack of depth perception.
The ninja's crazy strike from the shadow skills will kill all but the robot because those red eyes look like they're infrared.
The ninja will then confuse the robot with shadow clones and then use a spinning blue ball to finish it off. Or at least that's the solution to every ninja conflict in Naruto