From 47356d181ac954897d92c2edcc1fa72400160a53 Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Thu, 15 Aug 2024 19:27:35 +0200 Subject: [PATCH] Fixed followers breaking for species IDs above 1535 (#5179) * Fixed followers breaking for species Ids above 1535 * Added reminder to increase follower species bits if needed in the future --------- Co-authored-by: Hedara --- include/constants/event_objects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/constants/event_objects.h b/include/constants/event_objects.h index e2ac7f7920..fccc206638 100644 --- a/include/constants/event_objects.h +++ b/include/constants/event_objects.h @@ -271,7 +271,7 @@ #define OBJ_EVENT_GFX_VAR_F (OBJ_EVENT_GFX_VARS + 0xF) #define OBJ_EVENT_GFX_MON_BASE 0x200 // 512 -#define OBJ_EVENT_GFX_SPECIES_BITS 11 +#define OBJ_EVENT_GFX_SPECIES_BITS 12 // This will need to be updated when NUM_SPECIES is > ~3.5k #define OBJ_EVENT_GFX_SPECIES_MASK ((1 << OBJ_EVENT_GFX_SPECIES_BITS) - 1) // Used to call a specific species' follower graphics. Useful for static encounters.