Test only enabled species (#8216)
This commit is contained in:
commit
8d23b9dbda
@ -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;
|
||||
|
||||
@ -106,7 +106,7 @@ TEST("No species has two evolutions that use the evolution tracker")
|
||||
|
||||
for (i = 0; i < NUM_SPECIES; i++)
|
||||
{
|
||||
if (GetSpeciesEvolutions(i) != NULL) PARAMETRIZE { species = i; }
|
||||
if (IsSpeciesEnabled(i) && GetSpeciesEvolutions(i) != NULL) PARAMETRIZE { species = i; }
|
||||
}
|
||||
|
||||
evolutionTrackerEvolutions = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user