Prev: DA0F Up: Map Next: DA28
DA1D: Get Sprite Information
Used by the routine at InitialiseSprite.
Input
A Sprite ID
Output
HL Pointer to sprite information for the given ID
GetSpriteInfo DA1D DEC A Decrease A by one.
DA1E LD H,$00 Create an offset using HL.
DA20 LD L,A
DA21 LD DE,$C1A1 HL=Table_SpriteInfo+(HL*04).
DA24 ADD HL,HL
DA25 ADD HL,HL
DA26 ADD HL,DE
DA27 RET Return.
Prev: DA0F Up: Map Next: DA28