Prev: 88B1 Up: Map Next: 890A
88E8: 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 88E8 LD E,(IX+$0C) Fetch the cached graphic pointer.
88EB LD D,(IX+$0D)
88EE LD L,(IX+$0E) Fetch the cached screen address.
88F1 LD H,(IX+$0F)
88F4 LD A,H Write the screen MSB to SpriteCachedY.
88F5 LD ($5E56),A
88F8 LD A,(IX+$09) Write the cached skip to 87C8.
88FB LD ($87C8),A
88FE LD A,(IX+$0A) Write the cached height (row count) to SpriteCachedRows.
8901 LD ($5E5A),A
8904 LD B,(IX+$0B) Fetch the cached width into the column counter.
8907 LD C,$00 Clear the row counter.
8909 RET Return.
Prev: 88B1 Up: Map Next: 890A