ref: dd690920c9f8502b649f1022fadbb99fab67a44a
dir: /home/clear_sprites.asm/
ClearSprites:: xor a ld hl, wOAMBuffer ld b, wOAMBufferEnd - wOAMBuffer .loop ld [hli], a dec b jr nz, .loop ret HideSprites:: ld a, 160 ld hl, wOAMBuffer ld de, 4 ld b, 40 .loop ld [hl], a add hl, de dec b jr nz, .loop ret