Added Calyrex's blue Dynamax aura (#4018)

* Added Calyrex's blue Dynamax aura

* and
This commit is contained in:
Eduardo Quezada D'Ottone 2024-01-17 11:43:09 -03:00 committed by GitHub
parent 87472d4a6c
commit 4c5e1317d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -635,8 +635,12 @@ void BattleLoadMonSpriteGfx(struct Pokemon *mon, u32 battler)
// dynamax tint
if (IsDynamaxed(battler))
{
BlendPalette(paletteOffset, 16, 4, RGB(31, 0, 12));
CpuCopy32(gPlttBufferFaded + paletteOffset, gPlttBufferUnfaded + paletteOffset, 32);
// Calyrex and its forms have a blue dynamax aura instead of red.
if (GET_BASE_SPECIES_ID(species) == SPECIES_CALYREX)
BlendPalette(paletteOffset, 16, 4, RGB(12, 0, 31));
else
BlendPalette(paletteOffset, 16, 4, RGB(31, 0, 12));
CpuCopy32(gPlttBufferFaded + paletteOffset, gPlttBufferUnfaded + paletteOffset, PLTT_SIZEOF(16));
}
}