battle_anim_effects_3 (5)

This commit is contained in:
Sewef
2019-11-24 18:00:51 +01:00
parent 1dfe34dee3
commit 07b79c3fc3
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -966,7 +966,7 @@ void sub_80A6D60(struct BattleAnimBgData *unk, const void *src, u32 arg2)
CopyBgTilemapBufferToVram(unk->bgId);
}
u8 GetPaletteOffset(void)
u8 GetBattleBgPaletteNum(void)
{
if (IsContest())
return 1;
@@ -1353,7 +1353,7 @@ u32 sub_80A75AC(u8 battleBackground, u8 attacker, u8 target, u8 attackerPartner,
if (!IsContest())
selectedPalettes = 0xe;
else
selectedPalettes = 1 << GetPaletteOffset();
selectedPalettes = 1 << GetBattleBgPaletteNum();
}
if (attacker)
{