Prev: 34383 Up: Map Next: 34431
34398: Load Sprite Scratch
Copy the current actor's cached sprite fields into the draw workspace.
Input
IX Actor slot
LoadSpriteScratch 34398 LD E,(IX+12) Fetch the cached graphic pointer.
34401 LD D,(IX+13)
34404 LD L,(IX+14) Fetch the cached screen address.
34407 LD H,(IX+15)
34410 LD A,(IX+9) Write the cached shift to 34264.
34413 LD (34264),A
34416 LD A,(IX+10) Write the cached height (row count) to SpriteCachedRows.
34419 LD (24154),A
34422 LD A,(IX+11) Write the cached Y position to SpriteCachedY.
34425 LD (24150),A
34428 LD C,0 Clear the row counter.
34430 RET Return.
Prev: 34383 Up: Map Next: 34431