Forgot 3 of them... Oops ^^;

This commit is contained in:
Eduardo Quezada D'Ottone 2019-11-01 16:33:36 -03:00
parent 05beb7046d
commit 49dc9a41c8

View file

@ -1986,7 +1986,7 @@ void sub_80BC8D4(u8 dexMode, u8 sortMode)
{
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].seen = TRUE;
@ -2000,7 +2000,7 @@ void sub_80BC8D4(u8 dexMode, u8 sortMode)
{
temp_dexNum = gPokedexOrder_Height[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].seen = TRUE;
@ -2014,7 +2014,7 @@ void sub_80BC8D4(u8 dexMode, u8 sortMode)
{
temp_dexNum = gPokedexOrder_Height[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].seen = TRUE;