Prev: 34993 Up: Map Next: 35082
35048: Load Sprite Pointers
Copy the graphic pointer and size from the actor into the draw workspace.
Input
IX Actor slot
Copy the cached graphic pointer and size from the actor.
LoadSpritePointers 35048 LD E,(IX+12) Fetch the cached graphic pointer.
35051 LD D,(IX+13)
35054 LD L,(IX+14) Fetch the cached screen address.
35057 LD H,(IX+15)
35060 LD A,H Write the screen MSB to SpriteCachedY.
35061 LD (24150),A
35064 LD A,(IX+9) Write the cached skip to 34760.
35067 LD (34760),A
35070 LD A,(IX+10) Write the cached height (row count) to SpriteCachedRows.
35073 LD (24154),A
35076 LD B,(IX+11) Fetch the cached width into the column counter.
35079 LD C,0 Clear the row counter.
35081 RET Return.
Prev: 34993 Up: Map Next: 35082