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

@@ -14,7 +14,7 @@ HideSprites::
ld hl, wShadowOAMSprite00YCoord
ld de, SPRITEOAMSTRUCT_LENGTH
ld b, NUM_SPRITE_OAM_STRUCTS
ld a, SCREEN_WIDTH_PX
ld a, OAM_YCOORD_HIDDEN
.loop
ld [hl], a ; y
add hl, de