PKHeX/PKHeX.Core/Legality/RNG/Frame/Pokeblock.cs
Kurt b280ffcfef style updates
should be pretty much it
2018-09-14 22:37:47 -07:00

17 lines
No EOL
387 B
C#

namespace PKHeX.Core
{
public static class Pokeblock
{
public static Flavor GetLikedBlockFlavor(uint nature) => (Flavor)(nature/5);
public static Flavor GetDislikedBlockFlavor(uint nature) => (Flavor)(nature%5);
public enum Flavor
{
Spicy,
Sour,
Sweet,
Dry,
Bitter,
}
}
}