ld bc, $08BF ld hl, $7F80 out (c), l out (c), h ; Set VRAM address to $3F80 (sprite table) ld hl, table ; Table of sprite offets to modify loop: ld a, (hl) ; Get offset inc l out (c), a ; Set new address at $3Fxx dec c out (c), 0 ; Reset X position out (c), 0 ; Reset Y position inc c djnz loop table: .db $80, $DE, $88, $C6, $CE, $D4, $B2, $AC