diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2019-08-30 23:06:43 -0400 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-08-30 22:13:14 -0500 |
commit | 5d30304f4e9ce26d4061cc3697439588126d6bdc (patch) | |
tree | 472495826ce50d849c83025a49c1e8a39939d64d /src/egg_hatch.c | |
parent | 45767f9c0034603e24f07c66485d7967c0f06eef (diff) |
Use OTID constants for CreateMon
Diffstat (limited to 'src/egg_hatch.c')
-rw-r--r-- | src/egg_hatch.c | 2 |
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++) { |