What's happening here?

Im trying to make a wall jump function, but it isnt working. I cant tell what im doing wrong and i need the help of someone better than me at making games. Here’s the code for debug purposes.

Hmm. It seems to work for me, but i’m not very well versed in these mario-style video games with ‘wall jumps’ so idk if it is right. When i press jump on the wall to the right i can jump up it fine!