I've developed a jumping system where the character jumps 2 tiles ahead of where they are facing. I originally made it for RPMXP and it worked fine but I have transferred the code to RPMVXA and now the character can jump on to the top of walls and walk around, essentially allowing the user to bypass any obstacles. I have check the settings of the tile sets and they are set as impassable.
Any thoughts?
Attached is a screen shot of the first bit of code, the rest is the same just checks the characters direction before jumping.

Any thoughts?
Attached is a screen shot of the first bit of code, the rest is the same just checks the characters direction before jumping.
