Fix bug causing hgss dex to freeze (#7936)
This commit is contained in:
parent
dd412c766a
commit
dd6746e506
@ -2421,6 +2421,8 @@ static bool8 LoadPokedexListPage(u8 page)
|
||||
// when returning to search results after selecting an evo, we have to restore
|
||||
// the original dexNum because the search results page doesn't rebuild the list
|
||||
sPokedexListItem->dexNum = sPokedexView->originalSearchSelectionNum;
|
||||
sPokedexListItem->seen = GetSetPokedexFlag(sPokedexView->originalSearchSelectionNum, FLAG_GET_SEEN);
|
||||
sPokedexListItem->owned = GetSetPokedexFlag(sPokedexView->originalSearchSelectionNum, FLAG_GET_CAUGHT);
|
||||
sPokedexView->originalSearchSelectionNum = 0;
|
||||
}
|
||||
CreateMonSpritesAtPos(sPokedexView->selectedPokemon, 0xE);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user