Jump fuction with unique character graphic?

I've seen a number of Jump Button Common events, and I even managed to create my own, but I haven't been able to get a change in character animation working. Does anyone have an idea as to how to do this? Thanks!
Rather than using events, you could just use a script, such as
Rather than using events, you could just use a script, such as
Ah, I had seen that one, but it says not for commerciall use. I was planning on selling my game for a couple dollars on itch.io or something, so I coulldn't use that. Any other ideas?

EDIT: I emailed nathmatt at his hotmail adress and asked him if I have permission to use his script. Here's hoping he responds!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/jump-fuction-with-unique-character-graphic.130632/