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/daycare.c | |
parent | 45767f9c0034603e24f07c66485d7967c0f06eef (diff) |
Use OTID constants for CreateMon
Diffstat (limited to 'src/daycare.c')
-rw-r--r-- | src/daycare.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daycare.c b/src/daycare.c index 885ac31a1..2d05035d7 100644 --- a/src/daycare.c +++ b/src/daycare.c @@ -835,7 +835,7 @@ void CreateEgg(struct Pokemon *mon, u16 species, bool8 setHotSpringsLocation) u8 metLocation; u8 isEgg; - CreateMon(mon, species, EGG_HATCH_LEVEL, 0x20, FALSE, 0, FALSE, 0); + CreateMon(mon, species, EGG_HATCH_LEVEL, 0x20, FALSE, 0, OT_ID_PLAYER_ID, 0); metLevel = 0; ball = ITEM_POKE_BALL; language = LANGUAGE_JAPANESE; @@ -862,7 +862,7 @@ static void SetInitialEggData(struct Pokemon *mon, u16 species, struct DayCare * u8 language; personality = daycare->offspringPersonality; - CreateMon(mon, species, EGG_HATCH_LEVEL, 0x20, TRUE, personality, FALSE, 0); + CreateMon(mon, species, EGG_HATCH_LEVEL, 0x20, TRUE, personality, OT_ID_PLAYER_ID, 0); metLevel = 0; ball = ITEM_POKE_BALL; language = LANGUAGE_JAPANESE; |