summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSphericalIce <sphericalice@outlook.com>2021-01-07 22:13:14 +0000
committerSphericalIce <sphericalice@outlook.com>2021-01-07 22:13:14 +0000
commit3c2a33b9b25b3bba33c29a10e66d5256b10c537d (patch)
tree6613f51b25ebf67aa75405caa92f0e9e873b0d90 /include
parentfb69d97b24209cb7828a49b29ab1fb30c9baa02f (diff)
Use constants for max IVs & the random IV generation flag
Diffstat (limited to 'include')
-rw-r--r--include/constants/pokemon.h3
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