Merge pull request #1926 from AsparagusEduardo/pret/pr2/EggWall

Solved a bunch of -Wall errors on modern
This commit is contained in:
GriffinR
2023-10-01 11:57:30 -04:00
committed by GitHub
122 changed files with 898 additions and 1019 deletions
+3 -3
View File
@@ -5763,7 +5763,7 @@ u16 SpeciesToCryId(u16 species)
// Same as DrawSpindaSpots but attempts to discern for itself whether or
// not it's the front pic.
static void DrawSpindaSpotsUnused(u16 species, u32 personality, u8 *dest)
static void UNUSED DrawSpindaSpotsUnused(u16 species, u32 personality, u8 *dest)
{
if (species == SPECIES_SPINDA
&& dest != gMonSpritesGfxPtr->sprites.ptr[B_POSITION_PLAYER_LEFT]
@@ -6846,9 +6846,9 @@ void BattleAnimateBackSprite(struct Sprite *sprite, u16 species)
}
}
// Unused, identical to GetOpposingLinkMultiBattlerId but for the player
// Identical to GetOpposingLinkMultiBattlerId but for the player
// "rightSide" from that team's perspective, i.e. B_POSITION_*_RIGHT
static u8 GetOwnOpposingLinkMultiBattlerId(bool8 rightSide)
static u8 UNUSED GetOwnOpposingLinkMultiBattlerId(bool8 rightSide)
{
s32 i;
s32 battlerId = 0;