summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-03-06 08:38:36 -0600
committerGitHub <noreply@github.com>2018-03-06 08:38:36 -0600
commitf1b180d89d436301930c07b0c7f68038bcb5ae35 (patch)
tree8b227b0913410079293d44075e35e32b83dca105 /src
parent29e51811f411dfeae825e6c0c259ffa3f9ac08b2 (diff)
parent18d8c9382a542e8672488bb6c9d1dcb1582ed792 (diff)
Merge pull request #229 from DizzyEggg/patch-2
Use EGG_HATCH_LEVEL define
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 3ebdc3d6d..834ca6f7d 100644
--- a/src/pokemon_summary_screen.c
+++ b/src/pokemon_summary_screen.c
@@ -26,6 +26,7 @@
#include "international_string_util.h"
#include "scanline_effect.h"
#include "menu_helpers.h"
+#include "daycare.h"
struct ContestMove
{
@@ -3024,7 +3025,7 @@ void sub_81C31F0(u8 *a)
{
u8 level = gUnknown_0203CF1C->summary.metLevel;
if (level == 0)
- level = 5;
+ level = EGG_HATCH_LEVEL;
ConvertIntToDecimalStringN(a, level, 0, 3);
UnkTextUtil_SetPtrI(3, a);
}