summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Alvaro Quezada D'Ottone <eduardo602002@gmail.com>2020-07-02 17:08:03 -0400
committerEduardo Alvaro Quezada D'Ottone <eduardo602002@gmail.com>2020-07-02 17:08:03 -0400
commit680dcede740fc8c678111e61e6bf81b1d6eb4d93 (patch)
tree63214f313e0419d081b158bd361d5940bdce9b94
parent34e69a4c64716fc8f33625445ceba22767d7a070 (diff)
Added function definition.
-rw-r--r--Colored-stats-by-nature-in-summary-screen.md13
1 files changed, 13 insertions, 0 deletions
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)
{