use sound panning constants in battle_anim_scripts
This commit is contained in:
@@ -594,9 +594,9 @@ static void SafariHandlePlaySE(void)
|
||||
s8 pan;
|
||||
|
||||
if (GetBattlerSide(gActiveBattler) == B_SIDE_PLAYER)
|
||||
pan = PAN_SIDE_PLAYER;
|
||||
pan = SOUND_PAN_ATTACKER;
|
||||
else
|
||||
pan = PAN_SIDE_OPPONENT;
|
||||
pan = SOUND_PAN_TARGET;
|
||||
|
||||
PlaySE12WithPanning(gBattleBufferA[gActiveBattler][1] | (gBattleBufferA[gActiveBattler][2] << 8), pan);
|
||||
SafariBufferExecCompleted();
|
||||
|
||||
Reference in New Issue
Block a user