Prev: 8807 Up: Map Next: 8822
8816: Collision : Get a buffer to a sprite given its index
Used by the routines at 86C4 and 8796.
Input
C Index
DE On exit, holds buffer address
8816 LD HL,$C320
8819 LD DE,$0030
881C ADD HL,DE
881D DEC C
881E JR NZ,$881C
8820 EX DE,HL
8821 RET
Prev: 8807 Up: Map Next: 8822