diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-10-02 09:18:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-02 09:18:48 -0400 |
commit | 9317d114a94f978548eb3d664e1bb325724d5ed8 (patch) | |
tree | 260825bffe542d3a4b4c057c5ed86fab5621945a /src/pokedex.c | |
parent | 301822603ea19ee69b9bd64b266e51a8ed9b7c04 (diff) | |
parent | c5cb45991b65f7e4a5cfc39816a214085f740a7b (diff) |
Merge pull request #823 from GriffinRichards/constants-strconv
Use STR_CONV constants
Diffstat (limited to 'src/pokedex.c')
-rw-r--r-- | src/pokedex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokedex.c b/src/pokedex.c index 0710bdecf..98ac962db 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -3889,7 +3889,7 @@ void sub_80C020C(u32 num, u32 value, u32 c, u32 d) value = NationalToHoennOrder(num); else value = num; - ConvertIntToDecimalStringN(StringCopy(str, gText_UnkCtrlF908Clear01), value, 2, 3); + ConvertIntToDecimalStringN(StringCopy(str, gText_UnkCtrlF908Clear01), value, STR_CONV_MODE_LEADING_ZEROS, 3); sub_80BE8DC(str, 0x60, 0x19); natNum = NationalPokedexNumToSpecies(num); if (natNum) |