Prev: 51099 Up: Map Next: 51113
51107: Fetch Sprite Type
Used by the routines at DrawSideFlames and DrawMainFlame.
Finds the sprite for the type of an object, and reads the first byte of it, which is its width.
Input
IX Address of the object
Output
A Width of the sprite
DE Address of the second byte of the sprite
FetchSpriteType 51107 CALL FetchObjectFrameTable Call FetchObjectFrameTable.
51110 LD A,(DE) Read DE.
51111 INC DE Advance DE.
51112 RET Return.
Prev: 51099 Up: Map Next: 51113