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/sprites.asm | |
parent | 0b45e2e846c8b2feb7d2c4c4ebb854db07cf06fd (diff) |
wSpritesEnd -> wVirtualOAMEnd.
Diffstat (limited to 'engine/sprites.asm')
-rwxr-xr-x | engine/sprites.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/sprites.asm b/engine/sprites.asm index 3451687fc..277b75124 100755 --- a/engine/sprites.asm +++ b/engine/sprites.asm @@ -62,9 +62,9 @@ DoNextFrameForAllSprites: ; 8cf7a ld l, a ld h, HIGH(wVirtualOAM) -.loop2 ; Clear (wVirtualOAM + [wCurrSpriteOAMAddr] --> wSpritesEnd) +.loop2 ; Clear (wVirtualOAM + [wCurrSpriteOAMAddr] --> wVirtualOAMEnd) ld a, l - cp LOW(wSpritesEnd) + cp LOW(wVirtualOAMEnd) jr nc, .done xor a ld [hli], a @@ -302,7 +302,7 @@ UpdateAnimFrame: ; 8d04c inc de ld a, e ld [wCurrSpriteOAMAddr], a - cp LOW(wSpritesEnd) + cp LOW(wVirtualOAMEnd) jr nc, .reached_the_end dec c jr nz, .loop |