Solved a bunch of -Wall errors on modern

This commit is contained in:
Eduardo Quezada
2023-09-20 19:01:08 -03:00
parent 003d7d7e2e
commit af210da972
122 changed files with 862 additions and 992 deletions
+2 -2
View File
@@ -1900,7 +1900,7 @@ static void DrawSelectedMonScreen(u8 whichParty)
StoreSpriteCallbackInData6(&gSprites[sTradeMenu->partySpriteIds[selectedMonParty][partyIdx]], SpriteCB_MonIcon);
sTradeMenu->drawSelectedMonState[whichParty]++;
Trade_MoveSelectedMonToTarget(&gSprites[sTradeMenu->partySpriteIds[selectedMonParty][partyIdx]]);
CopyToBgTilemapBufferRect_ChangePalette(1, sTradePartyBoxTilemap, whichParty * 15, 0, 15, 17, 0);
CopyBgTilemapBufferToVram(1);
CopyBgTilemapBufferToVram(0);
@@ -3093,7 +3093,7 @@ static void UpdatePokedexForReceivedMon(u8 partyIdx)
// Functionally nop after commented code
static void TryEnableNationalDexFromLinkPartner(void)
{
u8 mpId = GetMultiplayerId();
u8 UNUSED mpId = GetMultiplayerId();
// Originally in Ruby but commented out
/*if (gLinkPlayers[mpId ^ 1].lp_field_2 == 0x8000)
EnableNationalPokedex();*/