diff options
| author | Colton G. Rushton <colton51919@gmail.com> | 2022-07-09 18:18:20 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-09 17:18:20 -0400 |
| commit | c0085ea1b21a171ef9f4c73ad28a5306558f2cc3 (patch) | |
| tree | 311a4a64f13395e2f711b46f8b13bbc1b5ff849e /engine/gfx/animated_objects.asm | |
| parent | Fix typo: HeatButt -> HeadButt (diff) | |
| download | pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.tar.gz pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.tar.xz pokeyellow-c0085ea1b21a171ef9f4c73ad28a5306558f2cc3.zip | |
wOAMBuffer -> wShadowOAM (#95)
Diffstat (limited to 'engine/gfx/animated_objects.asm')
| -rw-r--r-- | engine/gfx/animated_objects.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/gfx/animated_objects.asm b/engine/gfx/animated_objects.asm index 971af6b5..208a2f85 100644 --- a/engine/gfx/animated_objects.asm +++ b/engine/gfx/animated_objects.asm @@ -28,10 +28,10 @@ RunObjectAnimations: jr nz, .loop ld a, [wCurrentAnimatedObjectOAMBufferOffset] ld l, a - ld h, HIGH(wOAMBuffer) + ld h, HIGH(wShadowOAM) .deinit_unused_oam_loop ld a, l - cp LOW(wOAMBufferEnd) + cp LOW(wShadowOAMEnd) jr nc, .quit xor a ld [hli], a @@ -158,7 +158,7 @@ UpdateCurrentAnimatedObjectFrame: push bc ld a, [wCurrentAnimatedObjectOAMBufferOffset] ld e, a - ld d, HIGH(wOAMBuffer) + ld d, HIGH(wShadowOAM) ld a, [hli] ld c, a .loop @@ -205,7 +205,7 @@ UpdateCurrentAnimatedObjectFrame: inc de ld a, e ld [wCurrentAnimatedObjectOAMBufferOffset], a - cp LOW(wOAMBufferEnd) + cp LOW(wShadowOAMEnd) jr nc, .oam_is_full dec c jr nz, .loop |
