Added functionality to the B_NEW_SURF_PARTICLE_PALETTE anim. config label

This commit is contained in:
LOuroboros 2020-11-06 22:29:20 -03:00
parent 7fb457a30e
commit ea99195194

View file

@ -1010,7 +1010,10 @@ void AnimTask_CreateSurfWave(u8 taskId)
{
case ANIM_SURF_PAL_SURF:
default:
LoadCompressedPalette(gBattleAnimBgPalette_Surf, animBg.paletteId * 16, 32);
if (B_NEW_SURF_PARTICLE_PALETTE == TRUE)
LoadCompressedPalette(gBattleAnimSpritePal_NewSurf, animBg.paletteId * 16, 32);
else
LoadCompressedPalette(gBattleAnimBgPalette_Surf, animBg.paletteId * 16, 32);
break;
case ANIM_SURF_PAL_MUDDY_WATER:
LoadCompressedPalette(gBattleAnimBackgroundImageMuddyWater_Pal, animBg.paletteId * 16, 32);