diff --git a/Colored-stats-by-nature-in-summary-screen.md b/Colored-stats-by-nature-in-summary-screen.md index 9759255..b74a53a 100644 --- a/Colored-stats-by-nature-in-summary-screen.md +++ b/Colored-stats-by-nature-in-summary-screen.md @@ -11,6 +11,19 @@ All of our changes will be in [src/pokemon_summary_screen.c](..blob/master/src/p We will write a new function that accepts the nature modification as a parameter and colors the stats accordingly. Add this function: +```diff +//... + static void SetMainMoveSelectorColor(u8 whichColor); + static void KeepMoveSelectorVisible(u8 firstSpriteId); ++ static void BufferStat(u8 *dst, s8 natureMod, u32 stat, u32 strId, u32 n); + + // const rom data + #include "data/text/move_descriptions.h" + #include "data/text/nature_names.h" +//... + +``` + ```c static void BufferStat(u8 *dst, s8 natureMod, u32 stat, u32 strId, u32 n) {