diff options
Diffstat (limited to 'src/save_menu_util.c')
-rw-r--r-- | src/save_menu_util.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/save_menu_util.c b/src/save_menu_util.c index c811f5244..d2fda59d6 100644 --- a/src/save_menu_util.c +++ b/src/save_menu_util.c @@ -1,23 +1,16 @@ #include "global.h" +#include "save_menu_util.h" +#include "asm.h" #include "menu.h" -#include "flag.h" +#include "event_data.h" +#include "string_util.h" +#include "pokedex.h" extern u8 gOtherText_Player[]; extern u8 gOtherText_Badges[]; extern u8 gOtherText_Pokedex[]; extern u8 gOtherText_PlayTime[]; -extern void ConvertIntToDecimalStringN(u8 *dest, u32 value, int mode, u8 n); - -u8 sub_809473C(void); -u8 GetBadgeCount(void); - -void PrintSavePlayerName(s16 x, s16 y); -void PrintSaveMapName(s16 x, s16 y); -void PrintSaveBadges(s16 x, s16 y); -void PrintSavePokedexCount(s16 x, s16 y); -void PrintSavePlayTime(s16 x, s16 y); - void HandleDrawSaveWindowInfo(s16 left, s16 top) { u32 width = 12; @@ -125,7 +118,7 @@ u16 GetPokedexSeenCount() { u16 pokedexSeenCount; - if (IsNationalPokedex()) + if (IsNationalPokedexEnabled()) pokedexSeenCount = GetNationalPokedexCount(1); else pokedexSeenCount = GetHoennPokedexCount(1); |