mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-22 18:33:14 +00:00
cf9e5ec37f
Change Ability array to IReadOnlyList, add method to check ability index in personal data Suppress some message warnings Change EvolutionChain short-circuit for VC to jump from gen6 directly down to gen2. There aren't any notradeback 1 situations, so a notradeback1 will always start with g=1, so no need for the other if-continue. Simplify pk5 conversion
16 lines
407 B
C#
16 lines
407 B
C#
namespace PKHeX.Core
|
|
{
|
|
/// <summary>
|
|
/// Gender a <see cref="PKM"/> can have
|
|
/// </summary>
|
|
/// <remarks><see cref="Random"/> provided to function for Encounter template values</remarks>
|
|
#pragma warning disable CA1027 // Mark enums with FlagsAttribute
|
|
public enum Gender : byte
|
|
{
|
|
Male = 0,
|
|
Female = 1,
|
|
|
|
Genderless = 2,
|
|
Random = Genderless,
|
|
}
|
|
}
|