Prev: 64ae Up: Map Next: 64bc
64b1: Get address for collectible sprite.
Used by the routine at 66fc.
Input
A Offset for the desired sprite.
Output
DE Address for a sprite.
64b1 ld hl,$678c Sprite lookup table
64b4 ld c,a Add offset to base address
64b5 ld b,$00
64b7 add hl,bc
64b8 ld e,(hl) Assign sprite address to DE
64b9 inc hl
64ba ld d,(hl)
64bb ret
Prev: 64ae Up: Map Next: 64bc