Move the Cat up and down so it stays away from the X.
So I updated this so the X moves around the map I also made some changes on how the sprites look so I hope you like it if there are any bugs let me know.