Fixed game not compiling when followers are disabled

This commit is contained in:
Eduardo Quezada 2024-04-28 12:43:21 -04:00
parent 5b223cfc3e
commit 5322127868

View file

@ -1869,7 +1869,7 @@ static u8 LoadDynamicFollowerPalette(u16 species, u8 form, bool32 shiny)
{
u32 paletteNum;
// Use standalone palette, unless entry is OOB or NULL (fallback to front-sprite-based)
#if OW_FOLLOWERS_SHARE_PALETTE == FALSE
#if OW_FOLLOWERS_ENABLED == TRUE && OW_FOLLOWERS_SHARE_PALETTE == FALSE
if ((shiny && gSpeciesInfo[species].followerPalette)
|| (!shiny && gSpeciesInfo[species].followerShinyPalette))
{