![]() |
Routines |
| Prev: D000 | Up: Map | Next: D015 |
|
Used by the routine at find_iy_entry.
Marks the object's entry drawn, empties the candidate chain, counts the object in $5BBE, and draws it with calc_pixel_XY_and_render -- which clears its redraw flag, or deletes it if it is of type 1. Then back to the top of the list for the next.
|
||||||||||
| render_obj | D003 | DEC HL | bit 7 of the entry: drawn | |||||||
| D004 | SET 7,(HL) | |||||||||
| D006 | LD A,$FF | the chain is empty again | ||||||||
| D008 | LD (candidate_chain),A | |||||||||
| D00B | LD HL,$5BBE | one more object drawn this frame | ||||||||
| D00E | INC (HL) | |||||||||
| D00F | CALL calc_pixel_XY_and_render | draw it; then the next pass | ||||||||
| D012 | JP process_remaining_objs | |||||||||
| Prev: D000 | Up: Map | Next: D015 |