ref: d7808d110f6b104a3e5ed7b21260ed8f1b718719
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