Sync some files with pokegold

This commit is contained in:
Rangi
2021-03-11 17:43:20 -05:00
parent d132a20b7a
commit 97a11c623e
5 changed files with 15 additions and 14 deletions

View File

@@ -2746,7 +2746,7 @@ _UpdateSprites::
.fill
ld a, [wVramState]
bit 1, a
ld b, LOW(wVirtualOAMEnd)
ld b, OBJECT_LENGTH * SPRITEOAMSTRUCT_LENGTH
jr z, .ok
ld b, 28 * SPRITEOAMSTRUCT_LENGTH
.ok