summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeokishisu <edsaletto@gmail.com>2018-05-16 21:36:50 -0400
committerGitHub <noreply@github.com>2018-05-16 21:36:50 -0400
commitbc4bff6cda425998598bbd119d59af2f522d9656 (patch)
tree092d1ef758dd4ad39ffe3b2319075a7cca4f6b6a /src
parent32d692a876b01549599e8b1589f94a9056a8c893 (diff)
Update pokemon_summary_screen.c to use EGG_HATCH_LEVEL define
To be consistent with pokeemerald.
Diffstat (limited to 'src')
-rw-r--r--src/pokemon_summary_screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pokemon_summary_screen.c b/src/pokemon_summary_screen.c
index a463e8054..6ad5c507c 100644
--- a/src/pokemon_summary_screen.c
+++ b/src/pokemon_summary_screen.c
@@ -30,6 +30,7 @@
#include "task.h"
#include "tv.h"
#include "scanline_effect.h"
+#include "daycare.h"
static void sub_809FC0C(void);
static void sub_809FEB8(void);
@@ -3052,7 +3053,7 @@ static void PokemonSummaryScreen_PrintTrainerMemo(struct Pokemon *mon, u8 left,
if (GetMonData(mon, MON_DATA_MET_LEVEL) == 0)
{
- ptr = PokemonSummaryScreen_CopyPokemonLevel(ptr, 5);
+ ptr = PokemonSummaryScreen_CopyPokemonLevel(ptr, EGG_HATCH_LEVEL);
*ptr = CHAR_NEWLINE;
ptr++;