wanna report something about the sprites, not sure why but when sonic is running left or right while the camera is facing him on the side, you can see that during his top speed running animation the incorrect sprite is being shown.
in the GIF, I am just holding left and right.