Prev: CD4D Up: Map Next: CD7A
CD6C: Union rectangle: right-hand edge
Used by the routine at set_draw_objs_overlapped.
Part of set_draw_objs_overlapped. Keeps the left edge in E and finds the further right of the two right-hand edges.
union_right_edge CD6C LD E,A E = left edge; L = new right edge
CD6D LD A,L
CD6E ADD A,(IX+$18)
CD71 LD L,A
CD72 LD A,H A = old right edge
CD73 ADD A,(IX+$1C)
CD76 CP L take the larger
CD77 JR NC,union_width_bottom
CD79 LD A,L
Prev: CD4D Up: Map Next: CD7A