Merge pull request #22 from AsparagusEduardo/tx_pokedexFix
Fixed HGSS Pokédex compile when using both Pokémon Expansion and randomizer/challenges
This commit is contained in:
commit
599153bed4
1 changed files with 5 additions and 4 deletions
|
@ -7982,15 +7982,16 @@ static u8 PrintPreEvolutions(u8 taskId, u16 species)
|
|||
u16 preEvolutionTwo = 0;
|
||||
u8 numPreEvolutions = 0;
|
||||
|
||||
#ifdef POKEMON_EXPANSION
|
||||
bool8 isMega = FALSE;
|
||||
sPokedexView->sEvoScreenData.isMega = FALSE;
|
||||
#endif
|
||||
|
||||
#ifdef TX_RANDOMIZER_AND_CHALLENGES
|
||||
if (gSaveBlock1Ptr->tx_Random_Evolutions || gSaveBlock1Ptr->tx_Random_EvolutionMethods)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
#ifdef POKEMON_EXPANSION
|
||||
bool8 isMega = FALSE;
|
||||
sPokedexView->sEvoScreenData.isMega = FALSE;
|
||||
#endif
|
||||
|
||||
//Calculate previous evolution
|
||||
for (i = 0; i < NUM_SPECIES; i++)
|
||||
|
|
Loading…
Reference in a new issue