summaryrefslogtreecommitdiff
path: root/src/main_menu.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-05-09 02:36:30 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-05-09 02:36:30 -0400
commitfc761599b412206f80d961a6052dce49b9998689 (patch)
tree1f3eb8f01ae005b8b509d1f120ce5d7bce230992 /src/main_menu.c
parentd343d1f19a74657489d987dbd97b84e7389ae295 (diff)
parent4b4f716ae0c582068928a4ae7b31d9d10ac89eb5 (diff)
Merge branch 'master' of https://github.com/pret/pokeruby
Diffstat (limited to 'src/main_menu.c')
-rw-r--r--src/main_menu.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main_menu.c b/src/main_menu.c
index 284fbac52..294d33620 100644
--- a/src/main_menu.c
+++ b/src/main_menu.c
@@ -692,10 +692,17 @@ void PrintPlayTime(void)
u8 playTime[16];
u8 alignedPlayTime[32];
+#if defined(ENGLISH)
MenuPrint(gMainMenuString_Time, 16, 3);
FormatPlayTime(playTime, gSaveBlock2.playTimeHours, gSaveBlock2.playTimeMinutes, 1);
sub_8072C74(alignedPlayTime, playTime, 48, 1);
MenuPrint(alignedPlayTime, 22, 3);
+#elif defined(GERMAN)
+ MenuPrint_PixelCoords(gMainMenuString_Time, 124, 24, TRUE);
+ FormatPlayTime(playTime, gSaveBlock2.playTimeHours, gSaveBlock2.playTimeMinutes, 1);
+ sub_8072C74(alignedPlayTime, playTime, 40, 1);
+ MenuPrint(alignedPlayTime, 23, 3);
+#endif
}
void PrintPokedexCount(void)
@@ -711,7 +718,11 @@ void PrintBadgeCount(void)
{
u8 buffer[16];
+#if defined(ENGLISH)
MenuPrint(gMainMenuString_Badges, 16, 5);
+#elif defined(GERMAN)
+ MenuPrint_PixelCoords(gMainMenuString_Badges, 124, 40, TRUE);
+#endif
ConvertIntToDecimalString(buffer, GetBadgeCount());
MenuPrint_PixelCoords(buffer, 205, 40, 1);
}