Prev: 864F Up: Map Next: 867F
865E: Load Sprite Scratch
Copy the current actor's cached sprite fields into the draw workspace.
Input
IX Actor slot
LoadSpriteScratch 865E LD E,(IX+$0C) Fetch the cached graphic pointer.
8661 LD D,(IX+$0D)
8664 LD L,(IX+$0E) Fetch the cached screen address.
8667 LD H,(IX+$0F)
866A LD A,(IX+$09) Write the cached shift to 85D8.
866D LD ($85D8),A
8670 LD A,(IX+$0A) Write the cached height (row count) to SpriteCachedRows.
8673 LD ($5E5A),A
8676 LD A,(IX+$0B) Write the cached Y position to SpriteCachedY.
8679 LD ($5E56),A
867C LD C,$00 Clear the row counter.
867E RET Return.
Prev: 864F Up: Map Next: 867F