Added function to change player sprite