Solved a bunch of -Wall errors on modern
This commit is contained in:
+2
-2
@@ -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();*/
|
||||
|
||||
Reference in New Issue
Block a user