I have a whole VVVVVV-based segment in my game, and the only thing that makes this thing not work perfectly is that when flipping the player stops and then moves in the same pressed direction. How can I modify my code to make it so that my player keeps moving smoothly despite mirroring the simulate controls actions when flipped?