diff options
author | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-01-30 14:55:20 -0500 |
---|---|---|
committer | luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> | 2018-01-30 14:55:20 -0500 |
commit | 4a3384ab09c735f1a8cac54dddf0e5741f1875a7 (patch) | |
tree | 197f72b85e04e642464e00f1fcd1d572e2763579 /engine/map_objects.asm | |
parent | 0b45e2e846c8b2feb7d2c4c4ebb854db07cf06fd (diff) |
wSpritesEnd -> wVirtualOAMEnd.
Diffstat (limited to 'engine/map_objects.asm')
-rw-r--r-- | engine/map_objects.asm | 4 |
1 files changed, 2 insertions, 2 deletions
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] |