Can someone help me? When I apply the improved zelda code and do a running jump against a wall with a ledge on top and jump a little higher than the ledge, my player gets stuck on the wall and doesn't fall down and graps the ledge.

Hope someone can help me,