From 379a862586f5977975b6cfa263cd139876f1b813 Mon Sep 17 00:00:00 2001 From: TheXaman Date: Thu, 4 Feb 2021 19:23:42 +0100 Subject: [PATCH] fixes a PE compatibility bug, thanks to BioToxtrix for pointing it out --- src/pokedex.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/pokedex.c b/src/pokedex.c index b426da226c..343143df9f 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -1,5 +1,8 @@ #include "global.h" #include "battle_main.h" +#ifdef BATTLE_ENGINE +#include "battle_util.h" +#endif #include "bg.h" #include "contest_effect.h" #include "data.h" @@ -23,6 +26,9 @@ #include "pokedex_cry_screen.h" #include "pokemon_icon.h" #include "pokemon_summary_screen.h" +#ifdef POKEMON_EXPANSION +#include "region_map.h" +#endif #include "scanline_effect.h" #include "shop.h" #include "sound.h" @@ -40,9 +46,6 @@ #include "constants/party_menu.h" #include "constants/rgb.h" #include "constants/songs.h" -#ifdef BATTLE_ENGINE -#include "battle_util.h" -#endif enum {