From 21722d99317b8deb06467e13a09cfde52a7b6e86 Mon Sep 17 00:00:00 2001 From: ultima-soul Date: Sun, 7 Apr 2019 18:38:01 -0700 Subject: [PATCH] Fix formatting --- src/battle_anim_sound_tasks.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/battle_anim_sound_tasks.c b/src/battle_anim_sound_tasks.c index 8f90a6a166..573feb41c4 100644 --- a/src/battle_anim_sound_tasks.c +++ b/src/battle_anim_sound_tasks.c @@ -116,10 +116,10 @@ static void sub_8158D08(u8 taskId) if (gTasks[taskId].data[10]++ == gTasks[taskId].data[5]) { - u16 dPan, oldPan; + u16 dPan, oldPan; gTasks[taskId].data[10] = 0; - dPan = gTasks[taskId].data[3]; - oldPan = gTasks[taskId].data[11] ; + dPan = gTasks[taskId].data[3]; + oldPan = gTasks[taskId].data[11] ; gTasks[taskId].data[11] = dPan + oldPan; gTasks[taskId].data[11] = KeepPanInRange(gTasks[taskId].data[11], oldPan); } @@ -377,9 +377,9 @@ void sub_8159308(u8 taskId) if (gTasks[taskId].data[10]++ == gTasks[taskId].data[5]) { - u16 oldPan; + u16 oldPan; gTasks[taskId].data[10] = 0; - oldPan = gTasks[taskId].data[11]; + oldPan = gTasks[taskId].data[11]; gTasks[taskId].data[11] = panIncrement + oldPan; gTasks[taskId].data[11] = KeepPanInRange(gTasks[taskId].data[11], oldPan); }