summaryrefslogtreecommitdiff
path: root/src/pokedex.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-10-02 12:40:00 -0400
committerGriffinR <griffin.richards@comcast.net>2019-10-02 12:40:00 -0400
commit2ac3ad3e607c0c54d28223825b39b9e695022b5c (patch)
tree3bff8424909b1038b72ca4b310f12f9e0835088b /src/pokedex.c
parent67152b92424419a470ed2bb0cf5e5f8a8ced38de (diff)
parentcb528cb543ab98a58ba2b5a78524c3542ed80f62 (diff)
Review changes for #819 and merge
Diffstat (limited to 'src/pokedex.c')
-rw-r--r--src/pokedex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokedex.c b/src/pokedex.c
index c1787ef6a..98ac962db 100644
--- a/src/pokedex.c
+++ b/src/pokedex.c
@@ -8,7 +8,7 @@
#include "graphics.h"
#include "international_string_util.h"
#include "main.h"
-#include "alloc.h"
+#include "malloc.h"
#include "menu.h"
#include "m4a.h"
#include "overworld.h"
@@ -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)