mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-11 05:02:38 +00:00
4656909d98
use shared class for pk1/2 setnotnicknamed fix extendedeurope values (copypaste from extendedAmericas) move ball out of verifiers, move nature/movetype with ball
44 lines
No EOL
747 B
C#
44 lines
No EOL
747 B
C#
namespace PKHeX.Core
|
|
{
|
|
public enum Ball
|
|
{
|
|
None = 0,
|
|
|
|
Master = 1,
|
|
Ultra = 2,
|
|
Great = 3,
|
|
Poke = 4,
|
|
|
|
Safari = 5,
|
|
|
|
Net = 6,
|
|
Dive = 7,
|
|
Nest = 8,
|
|
Repeat = 9,
|
|
Timer = 10,
|
|
Luxury = 11,
|
|
Premier = 12,
|
|
Dusk = 13,
|
|
Heal = 14,
|
|
Quick = 15,
|
|
|
|
Cherish = 16,
|
|
|
|
Fast = 17,
|
|
Level = 18,
|
|
Lure = 19,
|
|
Heavy = 20,
|
|
Love = 21,
|
|
Friend = 22,
|
|
Moon = 23,
|
|
|
|
Sport = 24,
|
|
Dream = 25,
|
|
Beast = 26,
|
|
}
|
|
|
|
public static partial class Extensions
|
|
{
|
|
public static bool IsApricornBall(this Ball ball) => Ball.Fast <= ball && ball <= Ball.Moon;
|
|
}
|
|
} |