summaryrefslogtreecommitdiff
path: root/engine/sprites.asm
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-30 14:52:46 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-01-30 14:52:46 -0500
commit0b45e2e846c8b2feb7d2c4c4ebb854db07cf06fd (patch)
treedf6b2a87398c5912f878de5798cb8d19a31bc15b /engine/sprites.asm
parent3c7ba37de72795e46c76f791b50b4a3d89ba0c2c (diff)
Fix wVirtualOAM labels, part 2.
Diffstat (limited to 'engine/sprites.asm')
-rwxr-xr-xengine/sprites.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/sprites.asm b/engine/sprites.asm
index d97dab374..3451687fc 100755
--- a/engine/sprites.asm
+++ b/engine/sprites.asm
@@ -100,11 +100,11 @@ DoNextFrameForFirst16Sprites: ; 8cfa8 (23:4fa8)
ld a, [wCurrSpriteOAMAddr]
ld l, a
- ld h, HIGH(wSprite17)
+ ld h, HIGH(wVirtualOAMSprite16)
.loop2 ; Clear (wVirtualOAM + [wCurrSpriteOAMAddr] --> Sprites + $40)
ld a, l
- cp LOW(wSprite17)
+ cp LOW(wVirtualOAMSprite16)
jr nc, .done
xor a
ld [hli], a
@@ -649,7 +649,7 @@ AnimateEndOfExpBar: ; 8e79d
; 8e7c6
.AnimateFrame: ; 8e7c6
- ld hl, wSprite01
+ ld hl, wVirtualOAMSprite00
ld c, 8 ; number of animated circles
.anim_loop
ld a, c