diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-01-07 18:00:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 18:00:10 -0500 |
commit | 42a0b20e57f7947f5ccfd61b12fdb71ef1891950 (patch) | |
tree | 1c730449a2b91fd05dba577489814ca6faa6892a /src/daycare.c | |
parent | c506cf747fa2e0a0eaff428cfd28ada7ffa58b67 (diff) | |
parent | f02afc134b206b82bd5c73885d0ee9d8855df90a (diff) |
Merge pull request #1295 from sphericalice/pokeemerald
Use constants for IV-related values
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 511fa0551..2a1efefcc 100644 --- a/src/daycare.c +++ b/src/daycare.c @@ -838,7 +838,7 @@ void CreateEgg(struct Pokemon *mon, u16 species, bool8 setHotSpringsLocation) u8 metLocation; u8 isEgg; - CreateMon(mon, species, EGG_HATCH_LEVEL, 32, FALSE, 0, OT_ID_PLAYER_ID, 0); + CreateMon(mon, species, EGG_HATCH_LEVEL, USE_RANDOM_IVS, FALSE, 0, OT_ID_PLAYER_ID, 0); metLevel = 0; ball = ITEM_POKE_BALL; language = LANGUAGE_JAPANESE; @@ -865,7 +865,7 @@ static void SetInitialEggData(struct Pokemon *mon, u16 species, struct DayCare * u8 language; personality = daycare->offspringPersonality; - CreateMon(mon, species, EGG_HATCH_LEVEL, 32, TRUE, personality, OT_ID_PLAYER_ID, 0); + CreateMon(mon, species, EGG_HATCH_LEVEL, USE_RANDOM_IVS, TRUE, personality, OT_ID_PLAYER_ID, 0); metLevel = 0; ball = ITEM_POKE_BALL; language = LANGUAGE_JAPANESE; |