From 53603f60e721501fec7fe6c895a60eea12f22293 Mon Sep 17 00:00:00 2001 From: TheXaman <48356183+TheXaman@users.noreply.github.com> Date: Sat, 21 May 2022 12:56:31 +0200 Subject: [PATCH] GetSpeciesRandomSeeded with addtional param --- src/pokedex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pokedex.c b/src/pokedex.c index 621b3c2510..77034ac7f3 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -8140,7 +8140,7 @@ static u8 PrintEvolutionTargetSpeciesAndMethod(u8 taskId, u16 species, u8 depth, if (EvolutionBlockedByEvoLimit(species)) //No Evos already previously checked species = SPECIES_NONE; else if (gSaveBlock1Ptr->tx_Random_EvolutionMethods) - species = GetSpeciesRandomSeeded(species, TX_RANDOM_T_EVO_METH); + species = GetSpeciesRandomSeeded(species, TX_RANDOM_T_EVO_METH, 0); #endif //Calculate number of possible direct evolutions (e.g. Eevee has 5 but torchic has 1) @@ -8176,7 +8176,7 @@ static u8 PrintEvolutionTargetSpeciesAndMethod(u8 taskId, u16 species, u8 depth, sPokedexView->sEvoScreenData.targetSpecies[base_i] = targetSpecies; #ifdef TX_DIFFICULTY_CHALLENGES_USED if (gSaveBlock1Ptr->txRandEvolutions && targetSpecies != SPECIES_NONE) //tx_difficulty_challenges - targetSpecies = GetSpeciesRandomSeeded(targetSpecies, TX_RANDOM_T_EVO); + targetSpecies = GetSpeciesRandomSeeded(targetSpecies, TX_RANDOM_T_EVO, 0); #endif CreateCaughtBallEvolutionScreen(targetSpecies, base_x + depth_x*depth-9, base_y + base_y_offset*base_i, 0); HandleTargetSpeciesPrint(taskId, targetSpecies, previousTargetSpecies, base_x + depth_x*depth, base_y, base_y_offset, base_i, isEevee); //evolution mon name