Fix moveRockOne and moveRockTwo so that they refer to the x positions of the sprites, rather than the sprites themselves.