summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeokishisu <edsaletto@gmail.com>2018-05-16 21:41:42 -0400
committerGitHub <noreply@github.com>2018-05-16 21:41:42 -0400
commit19006431bc57bfcecd51c71e14b661448bf39f79 (patch)
treeac331cab350f5fb64672162ed850ccf9dea3d31e /src
parent9f66fe082bd5745a59ec703fd4dc912af7b4bb85 (diff)
Update egg_hatch.c to use EGG_HATCH_LEVEL define
To be consistent with pokeemerald.
Diffstat (limited to 'src')
-rw-r--r--src/egg_hatch.c2
1 files changed, 1 insertions, 1 deletions
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++)
{