From 87aaeca623864793b606b9c33dfac479b83bc375 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Sun, 12 Nov 2023 10:42:33 -0300 Subject: [PATCH] Fixed IS_DITTO macro (#3558) --- src/daycare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daycare.c b/src/daycare.c index 6078135fd..bf8a03e3f 100644 --- 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);