From a54d6419436bfd9c0861517a76f0c0494f4b6505 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 1 Apr 2024 20:38:58 +0200 Subject: [PATCH] fix get base species id --- src/battle_pyramid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_pyramid.c b/src/battle_pyramid.c index eac03ca659..ce7a0526f2 100644 --- a/src/battle_pyramid.c +++ b/src/battle_pyramid.c @@ -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