fix get base species id

This commit is contained in:
Alex 2024-04-01 20:38:58 +02:00
parent f58bec2397
commit a54d641943

View file

@ -1416,7 +1416,7 @@ void GenerateBattlePyramidWildMon(void)
species = Random() % NUM_SPECIES;
// check if base species
if (!GET_BASE_SPECIES_ID(species))
if (GET_BASE_SPECIES_ID(species) != species)
continue;
// check type