Sync pokemon.c
This commit is contained in:
@@ -1555,10 +1555,10 @@ static void ItemPrintFunc_OrderedListMenu(u8 windowId, u32 itemId, u8 y)
|
||||
if (caught)
|
||||
{
|
||||
BlitMoveInfoIcon(sPokedexScreenData->numericalOrderWindowId, 0, 0x28, y);
|
||||
type1 = gBaseStats[species].type1;
|
||||
type1 = gSpeciesInfo[species].types[0];
|
||||
BlitMoveInfoIcon(sPokedexScreenData->numericalOrderWindowId, type1 + 1, 0x78, y);
|
||||
if (type1 != gBaseStats[species].type2)
|
||||
BlitMoveInfoIcon(sPokedexScreenData->numericalOrderWindowId, gBaseStats[species].type2 + 1, 0x98, y);
|
||||
if (type1 != gSpeciesInfo[species].types[1])
|
||||
BlitMoveInfoIcon(sPokedexScreenData->numericalOrderWindowId, gSpeciesInfo[species].types[1] + 1, 0x98, y);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3091,9 +3091,9 @@ u8 DexScreen_DrawMonAreaPage(void)
|
||||
|
||||
if (monIsCaught)
|
||||
{
|
||||
BlitMoveInfoIcon(sPokedexScreenData->windowIds[12], 1 + gBaseStats[species].type1, 0, 1);
|
||||
if (gBaseStats[species].type1 != gBaseStats[species].type2)
|
||||
BlitMoveInfoIcon(sPokedexScreenData->windowIds[12], 1 + gBaseStats[species].type2, 32, 1);
|
||||
BlitMoveInfoIcon(sPokedexScreenData->windowIds[12], 1 + gSpeciesInfo[species].types[0], 0, 1);
|
||||
if (gSpeciesInfo[species].types[0] != gSpeciesInfo[species].types[1])
|
||||
BlitMoveInfoIcon(sPokedexScreenData->windowIds[12], 1 + gSpeciesInfo[species].types[1], 32, 1);
|
||||
}
|
||||
PutWindowTilemap(sPokedexScreenData->windowIds[12]);
|
||||
CopyWindowToVram(sPokedexScreenData->windowIds[12], COPYWIN_GFX);
|
||||
|
||||
Reference in New Issue
Block a user