Alright, so I'm having some trouble with a simple platformer that I'm trying to make. I can get the player block to move and jump around just fine. The problem I'm having is the player can also blink (teleport) a short distance in a direction. This also work just fine...mostly.
The real problem I am having is when the player tries to blink in the air. It works just fine when the player is trying to blink while pressing the up and right keys. But for some reason it refuses to work when they are pressing the up and Left keys. I have no Idea why this isn't working. The relevant code is in the paste bin below. Thanks in advanced for any help you can give me on why this isn't working.