summaryrefslogtreecommitdiff
path: root/engine/battle_anims
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2021-04-27 12:11:39 -0400
committerGitHub <noreply@github.com>2021-04-27 12:11:39 -0400
commitefd1006917b438ff683e8f702adbe6b4d0733a0f (patch)
treef16f9860af61e855d90db4c9641af84034be4644 /engine/battle_anims
parentc5f9e25cc493ecc0e49ffd437dad73893b5529d0 (diff)
Use {interpolation} to generate sequences of RAM labels
This makes the table_width/assert_table_length usages unnecessary, and also keeps the labels automatically up to date if the length constants change.
Diffstat (limited to 'engine/battle_anims')
-rw-r--r--engine/battle_anims/bg_effects.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/battle_anims/bg_effects.asm b/engine/battle_anims/bg_effects.asm
index d86757b95..e334a7982 100644
--- a/engine/battle_anims/bg_effects.asm
+++ b/engine/battle_anims/bg_effects.asm
@@ -2294,7 +2294,7 @@ BattleBGEffect_Rollout:
ldh [hSCY], a
xor $ff
inc a
- ld [wAnimObject01YOffset], a
+ ld [wAnimObject1YOffset], a
ret
BattleBGEffect_ShakeScreenX: