ref: 21908ba30a8bae5c5e1c86b1164402ec95da0220
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