Fix/update sprite y-coord offscreen definitions (#1108)

This commit is contained in:
vulcandth
2024-04-14 15:55:46 -05:00
committed by GitHub
parent e8079e6d48
commit b0b5ed2eb8
5 changed files with 6 additions and 4 deletions

View File

@@ -2757,7 +2757,7 @@ _UpdateSprites::
ld h, HIGH(wShadowOAM)
ld de, SPRITEOAMSTRUCT_LENGTH
ld a, b
ld c, SCREEN_HEIGHT_PX + 2 * TILE_WIDTH
ld c, OAM_YCOORD_HIDDEN
.loop
ld [hl], c ; y
add hl, de