summaryrefslogtreecommitdiff
path: root/src/save_menu_util.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-03-18 04:00:15 +0100
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-03-18 04:00:15 +0100
commit6035511c139549a0291b6b3d43b9b080f792b2b6 (patch)
tree128cb1580f3c1ac1a6f897ea2e8e703265e88914 /src/save_menu_util.c
parentd4703599837531d1118b64822c85755f28747ee1 (diff)
reorganize and add new headers for many files
Diffstat (limited to 'src/save_menu_util.c')
-rw-r--r--src/save_menu_util.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/save_menu_util.c b/src/save_menu_util.c
index 7790bbb1b..7899fabb1 100644
--- a/src/save_menu_util.c
+++ b/src/save_menu_util.c
@@ -81,22 +81,18 @@ void PrintSaveMapName(s16 x, s16 y)
void PrintSaveBadges(s16 x, s16 y)
{
char badges[16];
- u8 badgeCount;
MenuPrint(gOtherText_Badges, x, y);
- badgeCount = GetBadgeCount();
- ConvertIntToDecimalString(badges, badgeCount);
+ ConvertIntToDecimalString(badges, GetBadgeCount());
MenuPrint_RightAligned(badges, x + 12, y);
}
void PrintSavePokedexCount(s16 x, s16 y)
{
char pokedex[16];
- u16 pokedexCount;
MenuPrint(gOtherText_Pokedex, x, y);
- pokedexCount = GetPokedexSeenCount();
- ConvertIntToDecimalStringN(pokedex, pokedexCount, 1, 3);
+ ConvertIntToDecimalStringN(pokedex, GetPokedexSeenCount(), 1, 3);
MenuPrint_RightAligned(pokedex, x + 12, y);
}