test/daycare.c: Only enabled species

This commit is contained in:
Martin Griffin 2025-11-11 09:22:34 +00:00
parent d9797fa01d
commit 36aec16b00

View File

@ -51,7 +51,10 @@ TEST("(Daycare) Pokémon can breed with Ditto if they don't belong to the Ditto
ZeroPlayerPartyMons();
for (j = 1; j < NUM_SPECIES; j++)
PARAMETRIZE { parentSpecies = j; }
{
if (IsSpeciesEnabled(j))
PARAMETRIZE { parentSpecies = j; }
}
VarSet(VAR_TEMP_C, parentSpecies);
RUN_OVERWORLD_SCRIPT(
givemon SPECIES_DITTO, 100; givemon VAR_TEMP_C, 100;