Prev: D4A7 Up: Map Next: D4CB
D4B8: Select the mirrored right-clipping blitter
Used by the routine at slope_lose_last_column.
Entered at its DEC A or just after it by the patched JR at the end of mirrored_slope_far_right, and from slope_lose_last_column with A = 1 (displacement 0: all but the last column). Stores the displacement of the patched JR in blit_mirrored_right_clip and selects that blitter with dispatch displacement 5.
Input
A Column-count displacement, plus one
use_mirrored_right_clip D4B8 DEC A Patch the JR in blit_mirrored_right_clip.
D4B9 LD ($DC5A),A
D4BC LD A,$05 Dispatch 5: blit_mirrored_right_clip (through step_dispatch).
D4BE LD ($D702),A
D4C1 LD A,(piece_dx_copy) A vertical wall moves its address once and stops stepping across (fold_column_step); draw.
D4C4 AND A
D4C5 CALL Z,fold_column_step
D4C8 JP draw_step
Prev: D4A7 Up: Map Next: D4CB