From 509b92bbfd36549c75a795c876c418ceac3ba8bf Mon Sep 17 00:00:00 2001 From: TheXaman <48356183+TheXaman@users.noreply.github.com> Date: Sun, 17 Apr 2022 00:58:37 +0200 Subject: [PATCH] saves the gba from calculating randomized preEvolutions --- src/pokedex.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pokedex.c b/src/pokedex.c index 86a3ef3ae4..6a228550f5 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -7982,6 +7982,11 @@ static u8 PrintPreEvolutions(u8 taskId, u16 species) u16 preEvolutionTwo = 0; u8 numPreEvolutions = 0; + #ifdef TX_RANDOMIZER_AND_CHALLENGES + if (gSaveBlock1Ptr->tx_Random_Evolutions || gSaveBlock1Ptr->tx_Random_EvolutionMethodes) + return 0; + #endif + #ifdef POKEMON_EXPANSION bool8 isMega = FALSE; sPokedexView->sEvoScreenData.isMega = FALSE;