battle_anim_effects_3 (4)

This commit is contained in:
Sewef
2019-11-23 11:57:39 +01:00
parent 64cf2d70fa
commit 4f590e8f61
7 changed files with 129 additions and 129 deletions
+2 -2
View File
@@ -966,7 +966,7 @@ void sub_80A6D60(struct BattleAnimBgData *unk, const void *src, u32 arg2)
CopyBgTilemapBufferToVram(unk->bgId);
}
u8 sub_80A6D94(void)
u8 GetPaletteOffset(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 << sub_80A6D94();
selectedPalettes = 1 << GetPaletteOffset();
}
if (attacker)
{