From 59a7d2cb92a89395c11181ee38f3895ad2b47908 Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Sun, 19 Nov 2023 18:30:18 +0100 Subject: [PATCH] Update colors and add config --- include/config.h | 5 +++-- src/pokemon_summary_screen.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/include/config.h b/include/config.h index 17082b0fdc..49559e78e8 100644 --- a/include/config.h +++ b/include/config.h @@ -74,7 +74,8 @@ #define GEN_LATEST GEN_9 // General settings -#define EXPANSION_INTRO TRUE // If TRUE, a custom RHH intro will play after the vanilla copyright screen. -#define POKEDEX_PLUS_HGSS FALSE // If TRUE, enables the custom HGSS style Pokedex. +#define EXPANSION_INTRO TRUE // If TRUE, a custom RHH intro will play after the vanilla copyright screen. +#define POKEDEX_PLUS_HGSS FALSE // If TRUE, enables the custom HGSS style Pokedex. +#define SUMMARY_SCREEN_NATURE_COLORS TRUE // If TRUE, nature-based stat boosts and reductions will be red and blue in the summary screen. #endif // GUARD_CONFIG_H diff --git a/src/pokemon_summary_screen.c b/src/pokemon_summary_screen.c index ffc02ebb73..b6efb82473 100644 --- a/src/pokemon_summary_screen.c +++ b/src/pokemon_summary_screen.c @@ -3473,12 +3473,12 @@ static void PrintRibbonCount(void) static void BufferStat(u8 *dst, s8 natureMod, u32 stat, u32 strId, u32 n) { - static const u8 sTextNatureDown[] = _("{COLOR}{09}"); + static const u8 sTextNatureDown[] = _("{COLOR}{08}"); static const u8 sTextNatureUp[] = _("{COLOR}{05}"); static const u8 sTextNatureNeutral[] = _("{COLOR}{01}"); u8 *txtPtr; - if (natureMod == 0) + if (natureMod == 0 || !SUMMARY_SCREEN_NATURE_COLORS) txtPtr = StringCopy(dst, sTextNatureNeutral); else if (natureMod > 0) txtPtr = StringCopy(dst, sTextNatureUp);