Mario is attacking enemies jumping in addition to them, even though quite a few enemies have differing responses to this. As an example, a Goomba will flatten and become defeated, when a Koopa Troopa will temporarily retract into its shell, letting Mario to press it to damage other enemies, though https://kausorecord.com/3912-2/