diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-01-07 18:00:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 18:00:10 -0500 |
commit | 42a0b20e57f7947f5ccfd61b12fdb71ef1891950 (patch) | |
tree | 1c730449a2b91fd05dba577489814ca6faa6892a /include | |
parent | c506cf747fa2e0a0eaff428cfd28ada7ffa58b67 (diff) | |
parent | f02afc134b206b82bd5c73885d0ee9d8855df90a (diff) |
Merge pull request #1295 from sphericalice/pokeemerald
Use constants for IV-related values
Diffstat (limited to 'include')
-rw-r--r-- | include/constants/pokemon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/constants/pokemon.h b/include/constants/pokemon.h index bac914fec..d4f6e5684 100644 --- a/include/constants/pokemon.h +++ b/include/constants/pokemon.h @@ -232,6 +232,9 @@ #define STATUS_PRIMARY_POKERUS 6 #define STATUS_PRIMARY_FAINTED 7 +#define MAX_PER_STAT_IVS 31 +#define MAX_IV_MASK 31 +#define USE_RANDOM_IVS (MAX_PER_STAT_IVS + 1) #define MAX_PER_STAT_EVS 255 #define MAX_TOTAL_EVS 510 #define EV_ITEM_RAISE_LIMIT 100 |