summaryrefslogtreecommitdiff
path: root/engine/map_objects.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/map_objects.asm')
-rw-r--r--engine/map_objects.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/map_objects.asm b/engine/map_objects.asm
index 00ce599e3..0dbdf5e70 100644
--- a/engine/map_objects.asm
+++ b/engine/map_objects.asm
@@ -2829,7 +2829,7 @@ _UpdateSprites:: ; 5920
cp b
ret nc
ld l, a
- ld h, HIGH(Sprites)
+ ld h, HIGH(wVirtualOAM)
ld de, SPRITEOAMSTRUCT_LENGTH
ld a, b
ld c, SCREEN_HEIGHT_PX + 2 * TILE_WIDTH
@@ -3043,7 +3043,7 @@ InitSprites: ; 5991
ld l, a
ld a, [hUsedSpriteIndex]
ld c, a
- ld b, HIGH(Sprites)
+ ld b, HIGH(wVirtualOAM)
ld a, [hli]
ld [hUsedSpriteTile], a
add c