Reduce duplication of changing sprite sequence in Player module