From 4a3384ab09c735f1a8cac54dddf0e5741f1875a7 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Tue, 30 Jan 2018 14:55:20 -0500 Subject: wSpritesEnd -> wVirtualOAMEnd. --- engine/map_objects.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/map_objects.asm') diff --git a/engine/map_objects.asm b/engine/map_objects.asm index 85e5ccb23..b3efc5fb7 100644 --- a/engine/map_objects.asm +++ b/engine/map_objects.asm @@ -2821,7 +2821,7 @@ _UpdateSprites:: ; 5920 .fill ld a, [wVramState] bit 1, a - ld b, LOW(wSpritesEnd) + ld b, LOW(wVirtualOAMEnd) jr z, .ok ld b, 28 * SPRITEOAMSTRUCT_LENGTH .ok @@ -3047,7 +3047,7 @@ InitSprites: ; 5991 ld a, [hli] ld [hUsedSpriteTile], a add c - cp LOW(wSpritesEnd) + cp LOW(wVirtualOAMEnd) jr nc, .full .addsprite ld a, [hFFC0] -- cgit v1.2.3