// Code generated by "stringer -type SparkTarget -trimprefix Spark"; DO NOT EDIT.

package horse

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[SparkSpeed-1]
	_ = x[SparkStam-2]
	_ = x[SparkPower-3]
	_ = x[SparkGuts-4]
	_ = x[SparkWit-5]
	_ = x[SparkSkillPoints-6]
	_ = x[SparkRandomStat-7]
	_ = x[SparkTurf-11]
	_ = x[SparkDirt-12]
	_ = x[SparkFrontRunner-21]
	_ = x[SparkPaceChaser-22]
	_ = x[SparkLateSurger-23]
	_ = x[SparkEndCloser-24]
	_ = x[SparkSprint-31]
	_ = x[SparkMile-32]
	_ = x[SparkMedium-33]
	_ = x[SparkLong-34]
	_ = x[SparkSkillHint-41]
	_ = x[SparkCarnivalBonus-51]
	_ = x[SparkSpeedCap-61]
	_ = x[SparkStamCap-62]
	_ = x[SparkPowerCap-63]
	_ = x[SparkGutsCap-64]
	_ = x[SparkWitCap-65]
}

const (
	_SparkTarget_name_0 = "SpeedStamPowerGutsWitSkillPointsRandomStat"
	_SparkTarget_name_1 = "TurfDirt"
	_SparkTarget_name_2 = "FrontRunnerPaceChaserLateSurgerEndCloser"
	_SparkTarget_name_3 = "SprintMileMediumLong"
	_SparkTarget_name_4 = "SkillHint"
	_SparkTarget_name_5 = "CarnivalBonus"
	_SparkTarget_name_6 = "SpeedCapStamCapPowerCapGutsCapWitCap"
)

var (
	_SparkTarget_index_0 = [...]uint8{0, 5, 9, 14, 18, 21, 32, 42}
	_SparkTarget_index_1 = [...]uint8{0, 4, 8}
	_SparkTarget_index_2 = [...]uint8{0, 11, 21, 31, 40}
	_SparkTarget_index_3 = [...]uint8{0, 6, 10, 16, 20}
	_SparkTarget_index_6 = [...]uint8{0, 8, 15, 23, 30, 36}
)

func (i SparkTarget) String() string {
	switch {
	case 1 <= i && i <= 7:
		i -= 1
		return _SparkTarget_name_0[_SparkTarget_index_0[i]:_SparkTarget_index_0[i+1]]
	case 11 <= i && i <= 12:
		i -= 11
		return _SparkTarget_name_1[_SparkTarget_index_1[i]:_SparkTarget_index_1[i+1]]
	case 21 <= i && i <= 24:
		i -= 21
		return _SparkTarget_name_2[_SparkTarget_index_2[i]:_SparkTarget_index_2[i+1]]
	case 31 <= i && i <= 34:
		i -= 31
		return _SparkTarget_name_3[_SparkTarget_index_3[i]:_SparkTarget_index_3[i+1]]
	case i == 41:
		return _SparkTarget_name_4
	case i == 51:
		return _SparkTarget_name_5
	case 61 <= i && i <= 65:
		i -= 61
		return _SparkTarget_name_6[_SparkTarget_index_6[i]:_SparkTarget_index_6[i+1]]
	default:
		return "SparkTarget(" + strconv.FormatInt(int64(i), 10) + ")"
	}
}
