diff options
author | SphericalIce <sphericalice@outlook.com> | 2021-01-07 22:13:14 +0000 |
---|---|---|
committer | SphericalIce <sphericalice@outlook.com> | 2021-01-07 22:13:14 +0000 |
commit | 3c2a33b9b25b3bba33c29a10e66d5256b10c537d (patch) | |
tree | 6613f51b25ebf67aa75405caa92f0e9e873b0d90 /src/egg_hatch.c | |
parent | fb69d97b24209cb7828a49b29ab1fb30c9baa02f (diff) |
Use constants for max IVs & the random IV generation flag
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 f90441b68..4e050ce62 100644 --- a/src/egg_hatch.c +++ b/src/egg_hatch.c @@ -322,7 +322,7 @@ static void CreateHatchedMon(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, OT_ID_PLAYER_ID, 0); + CreateMon(temp, species, EGG_HATCH_LEVEL, USE_RANDOM_IVS, TRUE, personality, OT_ID_PLAYER_ID, 0); for (i = 0; i < MAX_MON_MOVES; i++) { |