battle_anim_effects_3 (5)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user