added Decapped version of the button prompts

This commit is contained in:
TheXaman 2021-06-14 15:00:26 +02:00
parent d0012305c0
commit 2d4a91f0b4
3 changed files with 6 additions and 1 deletions

View file

@ -534,6 +534,7 @@ extern const u8 gText_NoMatchingPkmnWereFound[];
extern const u8 gText_SelectorArrow[];
//PokedexPlus HGSS_Ui
extern const u8 gText_Stats_Buttons[];
extern const u8 gText_Stats_Buttons_Decapped[];
extern const u8 gText_Stats_HP[];
extern const u8 gText_Stats_Attack[];
extern const u8 gText_Stats_Defense[];

View file

@ -6261,7 +6261,10 @@ static void StatsPage_PrintAToggleUpdownMoves(void)
{
u8 x = 9;
u8 y = 0;
AddTextPrinterParameterized3(WIN_NAVIGATION_BUTTONS, 0, x, y, sStatsPageNavigationTextColor, 0, gText_Stats_Buttons);
if (!HGSS_DECAPPED)
AddTextPrinterParameterized3(WIN_NAVIGATION_BUTTONS, 0, x, y, sStatsPageNavigationTextColor, 0, gText_Stats_Buttons);
else
AddTextPrinterParameterized3(WIN_NAVIGATION_BUTTONS, 0, x, y, sStatsPageNavigationTextColor, 0, gText_Stats_Buttons_Decapped);
// DrawKeypadIcon(WIN_NAVIGATION_BUTTONS, 10, 5, 0); //(u8 windowId, u8 keypadIconId, u16 x, u16 y)
PutWindowTilemap(WIN_NAVIGATION_BUTTONS);
CopyWindowToVram(WIN_NAVIGATION_BUTTONS, 3);

View file

@ -1821,6 +1821,7 @@ const u8 gText_Berries[] = _("BERRIES");
//HGSS_Ui PokedexPlus
const u8 gText_Stats_Buttons[] = _("{A_BUTTON}TOGGLE {DPAD_UPDOWN}MOVES");
const u8 gText_Stats_Buttons_Decapped[] = _("{A_BUTTON}Toggle {DPAD_UPDOWN}Moves");
const u8 gText_Stats_HP[] = _("HP");
const u8 gText_Stats_Attack[] = _("ATK");
const u8 gText_Stats_Defense[] = _("DEF");