Prev: 6eef Up: Map Next: 6f16
6f0b: Copy Rocket sprite pixel data to the buffer.
Looks up the address for a sprite from the lookup table, then points HL to the pixel data for that sprite. Used by the routine at 6ec2.
Input
HL Offset address in sprite lookup table.
DE Address of buffer to use.
Output
HL Pointer to pixel data block.
6f0b push hl
6f0c push de
6f0d push bc
6f0e ld a,(hl) HL=sprite address, from lookup table
6f0f inc hl
6f10 ld h,(hl)
6f11 ld l,a
6f12 inc hl HL=sprite "height"
6f13 inc hl HL=sprite data block
6f14 jr $6f2a Perform the copy
Prev: 6eef Up: Map Next: 6f16