Changed sprite states from strings to an enum