summaryrefslogtreecommitdiff
path: root/src/egg_hatch.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2019-09-03 22:22:14 -0400
committerGitHub <noreply@github.com>2019-09-03 22:22:14 -0400
commit6b04ea0727973e66227b31caa2ccdcb6f2b4891f (patch)
tree4d5e4e5d1b6e480bd195d8a9a29703e6475cc2e9 /src/egg_hatch.c
parentecf2097abb1481109578b7b8260fd40606f27abe (diff)
parent1f4c88c95243e8d75f25d5b7868c837c47aa578d (diff)
Merge branch 'master' into document-eventscripts
Diffstat (limited to 'src/egg_hatch.c')
-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 835141ef2..5e16f1479 100644
--- a/src/egg_hatch.c
+++ b/src/egg_hatch.c
@@ -322,7 +322,7 @@ static void CreatedHatchedMon(struct Pokemon *egg, struct Pokemon *temp)
pokerus = GetMonData(egg, MON_DATA_POKERUS);
obedience = GetMonData(egg, MON_DATA_OBEDIENCE);
- CreateMon(temp, species, EGG_HATCH_LEVEL, 32, TRUE, personality, 0, 0);
+ CreateMon(temp, species, EGG_HATCH_LEVEL, 32, TRUE, personality, OT_ID_PLAYER_ID, 0);
for (i = 0; i < 4; i++)
{