diff --git a/src/daycare.c b/src/daycare.c index 2bd78a4ab477..df5cf94633fe 100755 --- a/src/daycare.c +++ b/src/daycare.c @@ -28,7 +28,7 @@ extern const struct Evolution gEvolutionTable[][EVOS_PER_MON]; -#define IS_DITTO(species) (gBaseStats[species].eggGroup1 == EGG_GROUP_DITTO || gBaseStats[species].eggGroup2 == EGG_GROUP_DITTO) +#define IS_DITTO(species) (gSpeciesInfo[species].eggGroups[0] == EGG_GROUP_DITTO || gSpeciesInfo[species].eggGroups[1] == EGG_GROUP_DITTO) static void ClearDaycareMonMail(struct DaycareMail *mail); static void SetInitialEggData(struct Pokemon *mon, u16 species, struct DayCare *daycare);