Skip to content

Commit

Permalink
GetSpeciesRandomSeeded with addtional param
Browse files Browse the repository at this point in the history
  • Loading branch information
TheXaman committed May 21, 2022
1 parent d8f399e commit 53603f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pokedex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 53603f6

Please sign in to comment.