wSpritesEnd -> wVirtualOAMEnd.

This commit is contained in:
luckytyphlosion
2018-01-30 14:55:20 -05:00
parent 0b45e2e846
commit 4a3384ab09
8 changed files with 16 additions and 16 deletions

View File

@@ -64,7 +64,7 @@ endr
dec c
jr nz, .OAMloop
ld hl, wVirtualOAMSprite04
ld bc, wSpritesEnd - wVirtualOAMSprite04
ld bc, wVirtualOAMEnd - wVirtualOAMSprite04
xor a
call ByteFill
ret

View File

@@ -63,7 +63,7 @@ ShakeHeadbuttTree: ; 8c80a
ld [hBGMapMode], a
farcall ClearSpriteAnims
ld hl, wVirtualOAMSprite36
ld bc, wSpritesEnd - wVirtualOAMSprite36
ld bc, wVirtualOAMEnd - wVirtualOAMSprite36
xor a
call ByteFill
ld de, Font
@@ -405,7 +405,7 @@ endr
dec c
jr nz, .OAMloop
ld hl, wVirtualOAMSprite04
ld bc, wSpritesEnd - wVirtualOAMSprite04
ld bc, wVirtualOAMEnd - wVirtualOAMSprite04
xor a
call ByteFill
ret