From 19006431bc57bfcecd51c71e14b661448bf39f79 Mon Sep 17 00:00:00 2001 From: Deokishisu Date: Wed, 16 May 2018 21:41:42 -0400 Subject: Update egg_hatch.c to use EGG_HATCH_LEVEL define To be consistent with pokeemerald. --- src/egg_hatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/egg_hatch.c b/src/egg_hatch.c index 43dfa6864..eb66f299d 100644 --- a/src/egg_hatch.c +++ b/src/egg_hatch.c @@ -244,7 +244,7 @@ static void CreatedHatchedMon(struct Pokemon *egg, struct Pokemon *temp) markings = GetMonData(egg, MON_DATA_MARKINGS); pokerus = GetMonData(egg, MON_DATA_POKERUS); - CreateMon(temp, species, 5, 32, TRUE, personality, 0, 0); + CreateMon(temp, species, EGG_HATCH_LEVEL, 32, TRUE, personality, 0, 0); for (i = 0; i < 4; i++) { -- cgit v1.2.3