From a539045dae0c6208a342f7e7fd0bfc187da09933 Mon Sep 17 00:00:00 2001 From: ExpoSeed <> Date: Tue, 13 Oct 2020 12:05:42 -0500 Subject: [PATCH] Relocate and redefine POKEMON_SLOTS_NUMBER --- include/constants/species.h | 1 + include/global.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/include/constants/species.h b/include/constants/species.h index c10f0051f..203fad678 100644 --- a/include/constants/species.h +++ b/include/constants/species.h @@ -1767,6 +1767,7 @@ #define NATIONAL_DEX_MELMETAL 809 #define NATIONAL_DEX_COUNT NATIONAL_DEX_MELMETAL +#define POKEMON_SLOTS_NUMBER (NATIONAL_DEX_COUNT + 1) // Hoenn Dex(ORAS) Index Defines #define HOENN_DEX_NONE 0 diff --git a/include/global.h b/include/global.h index 6695da2ba..bd99af9c0 100644 --- a/include/global.h +++ b/include/global.h @@ -114,7 +114,6 @@ #define ROUND_BITS_TO_BYTES(numBits)(((numBits) / 8) + (((numBits) % 8) ? 1 : 0)) -#define POKEMON_SLOTS_NUMBER 810 #define DEX_FLAGS_NO (ROUND_BITS_TO_BYTES(POKEMON_SLOTS_NUMBER)) #define NUM_FLAG_BYTES (ROUND_BITS_TO_BYTES(FLAGS_COUNT))