mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 12:07:38 +01:00
Added Vivillon forms to override
This commit is contained in:
parent
3dce58749a
commit
56836420bd
@ -800,6 +800,8 @@ static u16 DetermineEggSpeciesAndParentSlots(struct DayCare *daycare, u8 *parent
|
|||||||
eggSpecies = SPECIES_PHIONE;
|
eggSpecies = SPECIES_PHIONE;
|
||||||
if (eggSpecies == SPECIES_SINISTEA_ANTIQUE)
|
if (eggSpecies == SPECIES_SINISTEA_ANTIQUE)
|
||||||
eggSpecies = SPECIES_SINISTEA;
|
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.
|
// 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)
|
if (species[parentSlots[1]] == SPECIES_DITTO && GetBoxMonGender(&daycare->mons[parentSlots[0]].mon) != MON_FEMALE)
|
||||||
|
Loading…
Reference in New Issue
Block a user