mirror of https://github.com/pret/pokeemerald.git
Added function definition.
parent
34e69a4c64
commit
680dcede74
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue