Well you could set a timer when they release the left key that stops when the right key is hit. What you would need to do is start a timer counting up when the left key is released. You can't do this with the alarm function easily so I suggest making a timer in the step event. If it is less than a certain number when the right key is pressed then the player should move at the speed he was previously moving at. Otherwise he should start over on his acceleration.
Ok, thanks. I'm not sure how to set a timer, or how to get the game to recognize when a key has been released... Lol...
What would the code look like for one of the keys?