To beat the man in the straw hat in Ninja, attack him as soon as he jumps into the air.
No matter what he does first, he leaps immediately, so punish that opening and keep the pressure on him.