I've never given it much thought until now, but I'm trying to make a game with a friend that might actually eventually go on sale, so I want to try and avoid too many amateur mistakes. I've noticed that, say, when you run the jump event, it takes one frame before the jump actually happens.

This means that in my current engine, if you press jump on one frame, then the next frame press attack, the player goes into his on the ground attack frame while jumping, because on that frame he was still on the ground, so he did the action, and then the movement actually kicks in.

Is there any way to get around this quirk?