mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-04 00:23:15 +01:00
Fixed function order.
This commit is contained in:
parent
27fa3361ca
commit
05beb7046d
@ -1958,7 +1958,7 @@ void sub_80BC8D4(u8 dexMode, u8 sortMode)
|
|||||||
{
|
{
|
||||||
temp_dexNum = gPokedexOrder_Alphabetical[i];
|
temp_dexNum = gPokedexOrder_Alphabetical[i];
|
||||||
|
|
||||||
if ((NationalToHoennOrder(temp_dexNum) != 0 || !temp_isHoennDex) && GetSetPokedexFlag(temp_dexNum, FLAG_GET_SEEN))
|
if ((!temp_isHoennDex || NationalToHoennOrder(temp_dexNum) != 0) && GetSetPokedexFlag(temp_dexNum, FLAG_GET_SEEN))
|
||||||
{
|
{
|
||||||
sPokedexView->pokedexList[sPokedexView->pokemonListCount].dexNum = temp_dexNum;
|
sPokedexView->pokedexList[sPokedexView->pokemonListCount].dexNum = temp_dexNum;
|
||||||
sPokedexView->pokedexList[sPokedexView->pokemonListCount].seen = TRUE;
|
sPokedexView->pokedexList[sPokedexView->pokemonListCount].seen = TRUE;
|
||||||
@ -1972,7 +1972,7 @@ void sub_80BC8D4(u8 dexMode, u8 sortMode)
|
|||||||
{
|
{
|
||||||
temp_dexNum = gPokedexOrder_Weight[i];
|
temp_dexNum = gPokedexOrder_Weight[i];
|
||||||
|
|
||||||
if ((NationalToHoennOrder(temp_dexNum) != 0 || !temp_isHoennDex) && GetSetPokedexFlag(temp_dexNum, FLAG_GET_CAUGHT))
|
if ((!temp_isHoennDex || NationalToHoennOrder(temp_dexNum) != 0) && GetSetPokedexFlag(temp_dexNum, FLAG_GET_CAUGHT))
|
||||||
{
|
{
|
||||||
sPokedexView->pokedexList[sPokedexView->pokemonListCount].dexNum = temp_dexNum;
|
sPokedexView->pokedexList[sPokedexView->pokemonListCount].dexNum = temp_dexNum;
|
||||||
sPokedexView->pokedexList[sPokedexView->pokemonListCount].seen = TRUE;
|
sPokedexView->pokedexList[sPokedexView->pokemonListCount].seen = TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user