Prev: 94D9 Up: Map Next: 9551
952F: Put (non coal) collectable objects on screen
Used by the routine at 9551.
952F LD A,($C526) Get the object ID.
9532 OR A Return if it's zero.
9533 RET Z
9534 DEC A Convert from 1 to 0-based.
9535 LD L,A Multiply by 32 to give an appropriate offset.
9536 LD H,$00
9538 ADD HL,HL
9539 ADD HL,HL
953A ADD HL,HL
953B ADD HL,HL
953C ADD HL,HL
953D LD DE,$7A00 7A00 = start of collectable objects.
9540 ADD HL,DE Add the appropriate offset.
9541 LD ($ECE0),HL Store this as the next graphic to draw.
9544 LD HL,($C524) Get the position to draw the graphic.
9547 LD ($ECDE),HL
954A CALL $EBE0 Print the graphic.
954D CALL $D254 Copy the screen to the storage buffer and return.
9550 RET
Prev: 94D9 Up: Map Next: 9551