Added functionality to the B_NEW_SURF_PARTICLE_PALETTE anim. config label
This commit is contained in:
parent
7fb457a30e
commit
ea99195194
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue