mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
b280ffcfef
should be pretty much it
17 lines
No EOL
387 B
C#
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,
|
|
}
|
|
}
|
|
} |