summaryrefslogtreecommitdiff
path: root/src/battle_anim_ghost.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-11-17 14:47:34 -0500
committerGitHub <noreply@github.com>2021-11-17 14:47:34 -0500
commitecb13cdbf722aacbceca1b7a2e7514e5dd1ec83a (patch)
treefd793b04244bc8a82cf79bf5be8258848b8cbc75 /src/battle_anim_ghost.c
parentf872ac1b80ee6a0b91ce313b429839dfbc2313cd (diff)
parentd98bd4dba70eed415d36cb67e12c79d851b1964a (diff)
Merge pull request #1550 from GriffinRichards/doc-pokenav
Document Pokénav
Diffstat (limited to 'src/battle_anim_ghost.c')
-rw-r--r--src/battle_anim_ghost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_anim_ghost.c b/src/battle_anim_ghost.c
index c6005ebc2..02b89b965 100644
--- a/src/battle_anim_ghost.c
+++ b/src/battle_anim_ghost.c
@@ -653,9 +653,9 @@ static void AnimTask_SpiteTargetShadow_Step1(u8 taskId)
startLine = 0;
if (position == 1)
- task->data[10] = ScanlineEffect_InitWave(startLine, startLine + 64, 2, 6, 0, 4, 1);
+ task->data[10] = ScanlineEffect_InitWave(startLine, startLine + 64, 2, 6, 0, SCANLINE_EFFECT_REG_BG1HOFS, 1);
else
- task->data[10] = ScanlineEffect_InitWave(startLine, startLine + 64, 2, 6, 0, 8, 1);
+ task->data[10] = ScanlineEffect_InitWave(startLine, startLine + 64, 2, 6, 0, SCANLINE_EFFECT_REG_BG2HOFS, 1);
task->data[15]++;
break;