From 56836420bd201ef3f139dde1eed140efa333953d Mon Sep 17 00:00:00 2001 From: Eduardo Quezada D'Ottone Date: Fri, 26 Nov 2021 22:24:03 -0300 Subject: [PATCH] Added Vivillon forms to override --- src/daycare.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/daycare.c b/src/daycare.c index 45a0fbd99..d177b07a8 100644 --- a/src/daycare.c +++ b/src/daycare.c @@ -800,6 +800,8 @@ static u16 DetermineEggSpeciesAndParentSlots(struct DayCare *daycare, u8 *parent eggSpecies = SPECIES_PHIONE; if (eggSpecies == SPECIES_SINISTEA_ANTIQUE) eggSpecies = SPECIES_SINISTEA; + if (GET_BASE_SPECIES_ID(eggSpecies) == SPECIES_VIVILLON) + eggSpecies = SPECIES_SCATTERBUG; // Make Ditto the "mother" slot if the other daycare mon is male. if (species[parentSlots[1]] == SPECIES_DITTO && GetBoxMonGender(&daycare->mons[parentSlots[0]].mon) != MON_FEMALE)