Fixed brace style inconsistencies
This commit is contained in:
@@ -2396,7 +2396,9 @@ static void CreateMonListEntry(u8 position, u16 b, u16 ignored)
|
||||
if (vOffset >= LIST_SCROLL_STEP)
|
||||
vOffset -= LIST_SCROLL_STEP;
|
||||
if (entryNum < 0 || entryNum >= NATIONAL_DEX_COUNT || sPokedexView->pokedexList[entryNum].dexNum == 0xFFFF)
|
||||
{
|
||||
ClearMonListEntry(17, vOffset * 2, ignored);
|
||||
}
|
||||
else
|
||||
{
|
||||
ClearMonListEntry(17, vOffset * 2, ignored);
|
||||
@@ -2685,7 +2687,9 @@ static bool8 TryDoInfoScreenScroll(void)
|
||||
}
|
||||
|
||||
if (sPokedexView->selectedPokemon == selectedPokemon)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
sPokedexView->selectedPokemon = selectedPokemon;
|
||||
@@ -2708,7 +2712,9 @@ static bool8 TryDoInfoScreenScroll(void)
|
||||
}
|
||||
|
||||
if (sPokedexView->selectedPokemon == selectedPokemon)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
sPokedexView->selectedPokemon = selectedPokemon;
|
||||
|
||||
Reference in New Issue
Block a user