Arrow keys to move Z to Jump X to Attack, Up Arrow and X to use Secondary Weapon G to spawn Goomba Number keys to drop items.
I used Griffpatch's platformer tutorial, but I did all the other stuff.