Making actor jump to upper platform?

I'm trying to make a side scroller but couldnt sort out how to make actor jump to upper platform when moving upwards. I want to make something like in lisa. When tiles are one grid apart, be able to jump upwards with up button and jump down with down button. Any help?
1616958001230.png
Check if this tutorial helps:
it does awesome thank you!

Original thread: https://forums.rpgmakerweb.com/threads/making-actor-jump-to-upper-platform.134853/