Select which attack you would like to use with the arrow keys, press space to choose it. When using the action command for jump, press the up arrow right before you hit the enemy, when using the action command for hammer, press and hold the left arrow until the red star lights up, when blocking press the down arrow right before the enemy hits you. The enemy has 4 HP, by the way.
Currently, there are only jump and hammer commands, but there will be more added soon. Credit to @ClydeGames for the hammer charge sprites. And obviously credit to Nintendo for making almost all the sprites. All coding by me. -------------------------------------------------------------------------------------------- This is a LOT better than my old battle engine (the one used in the PM battle creator) so please, enjoy!