diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-11-13 20:33:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 20:33:24 -0800 |
commit | ef165d397727f46e81d1e60991e10e379969b776 (patch) | |
tree | d7b647852fd713d4d032a3835cc7106f13377d17 /src/script_pokemon_util_80C4BF0.c | |
parent | f8b05de4520bb5d9e4a3cd70d1052de6ffcfea64 (diff) | |
parent | fbdf867ce7bce6239c34c53beaabbcd555302a4f (diff) |
Merge pull request #460 from huderlem/daycare_cleanup
Cleanup and document daycare.c
Diffstat (limited to 'src/script_pokemon_util_80C4BF0.c')
-rw-r--r-- | src/script_pokemon_util_80C4BF0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script_pokemon_util_80C4BF0.c b/src/script_pokemon_util_80C4BF0.c index 011978a0c..1462a985d 100644 --- a/src/script_pokemon_util_80C4BF0.c +++ b/src/script_pokemon_util_80C4BF0.c @@ -573,7 +573,7 @@ u8 ScriptGiveEgg(u16 species) struct Pokemon mon; u8 isEgg; - sub_8042044(&mon, species, 1); + CreateEgg(&mon, species, TRUE); isEgg = TRUE; SetMonData(&mon, MON_DATA_IS_EGG, &isEgg); |