This gets used on stage 3 when drawing the overhead structure graphics.
draw_stretchy_object_left is called first if the second x-position entry is zero. The perspective y-scale for the current row gives the vertical offset, and the depth set pair index is the depth less one, capped at 9. The x-position entries either side of the current position then say whether the object is visible and how far it is clipped. The deck itself is drawn a row at a time: each depth has a row count and one solid fill byte per row, and every row is a single colour fill across the clipped width.
Input
B
Depth scale index, which also picks the pair entry, 0 to 9
DE
Address of the stretchy object descriptors
IX
Pointer into the centre x-position table for this object slot
IY
Pointer into the height table for this object slot