Prev: CE22 Up: Map Next: CE33
CE27: Put the head on the shoulders
Used by the routine at head_follows_legs.
The head's Z is twelve above the legs'. Then the rectangle work of set_draw_objs_overlapped, so the head and whatever it overlaps are redrawn.
head_on_shoulders CE27 LD A,(IY+$03) Z = legs' Z + 12
CE2A ADD A,$0C
CE2C LD (IX+$03),A
CE2F CALL set_draw_objs_overlapped mark what the head's old and new rectangles touch
CE32 RET
Prev: CE22 Up: Map Next: CE33