Prev: 55823 Up: Map Next: 55848
55837: Get Sprite Information
Used by the routine at InitialiseSprite.
Input
A Sprite ID
Output
HL Pointer to sprite information for the given ID
GetSpriteInfo 55837 DEC A Decrease A by one.
55838 LD H,0 Create an offset using HL.
55840 LD L,A
55841 LD DE,49569 HL=Table_SpriteInfo+(HL*4).
55844 ADD HL,HL
55845 ADD HL,HL
55846 ADD HL,DE
55847 RET Return.
Prev: 55823 Up: Map Next: 55848