// Code generated by "stringer -type AbilityType -trimprefix Ability -linecomment"; 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[AbilityPassiveSpeed-1]
	_ = x[AbilityPassiveStamina-2]
	_ = x[AbilityPassivePower-3]
	_ = x[AbilityPassiveGuts-4]
	_ = x[AbilityPassiveWit-5]
	_ = x[AbilityGreatEscape-6]
	_ = x[AbilityVision-8]
	_ = x[AbilityHP-9]
	_ = x[AbilityGateDelay-10]
	_ = x[AbilityFrenzy-13]
	_ = x[AbilityAddGateDelay-14]
	_ = x[AbilityCurrentSpeed-21]
	_ = x[AbilityCurrentSpeedUp-22]
	_ = x[AbilityTargetSpeed-27]
	_ = x[AbilityLaneSpeed-28]
	_ = x[AbilityRushedChance-29]
	_ = x[AbilityAccel-31]
	_ = x[AbilityLaneChange-35]
	_ = x[AbilityActivateRare-37]
}

const (
	_AbilityType_name_0 = "SpeedStaminaPowerGutsWitEnable Great Escape"
	_AbilityType_name_1 = "VisionHPGate delay multiplier"
	_AbilityType_name_2 = "FrenzyAdded gate delay"
	_AbilityType_name_3 = "Current speedCurrent speed"
	_AbilityType_name_4 = "Target speedLane change speedRushed chance"
	_AbilityType_name_5 = "Acceleration"
	_AbilityType_name_6 = "Set target lane"
	_AbilityType_name_7 = "Activate rare skills"
)

var (
	_AbilityType_index_0 = [...]uint8{0, 5, 12, 17, 21, 24, 43}
	_AbilityType_index_1 = [...]uint8{0, 6, 8, 29}
	_AbilityType_index_2 = [...]uint8{0, 6, 22}
	_AbilityType_index_3 = [...]uint8{0, 13, 26}
	_AbilityType_index_4 = [...]uint8{0, 12, 29, 42}
)

func (i AbilityType) String() string {
	switch {
	case 1 <= i && i <= 6:
		i -= 1
		return _AbilityType_name_0[_AbilityType_index_0[i]:_AbilityType_index_0[i+1]]
	case 8 <= i && i <= 10:
		i -= 8
		return _AbilityType_name_1[_AbilityType_index_1[i]:_AbilityType_index_1[i+1]]
	case 13 <= i && i <= 14:
		i -= 13
		return _AbilityType_name_2[_AbilityType_index_2[i]:_AbilityType_index_2[i+1]]
	case 21 <= i && i <= 22:
		i -= 21
		return _AbilityType_name_3[_AbilityType_index_3[i]:_AbilityType_index_3[i+1]]
	case 27 <= i && i <= 29:
		i -= 27
		return _AbilityType_name_4[_AbilityType_index_4[i]:_AbilityType_index_4[i+1]]
	case i == 31:
		return _AbilityType_name_5
	case i == 35:
		return _AbilityType_name_6
	case i == 37:
		return _AbilityType_name_7
	default:
		return "AbilityType(" + strconv.FormatInt(int64(i), 10) + ")"
	}
}
