Prev: D481 Up: Map Next: D4A7
D494: Clip a sloped step that loses only its rightmost column at the right edge
Used by the routine at slope_step_at_right_edge.
For a step starting left of $E0 that crosses the right edge. A piece running right uses blit_right_clip with its patched JR at displacement 0 (all but the last column); one running left goes to use_mirrored_right_clip.
slope_lose_last_column D494 LD A,(direction_flag) Running left: the mirrored blitter.
D497 CP $01
D499 JR Z,use_mirrored_right_clip
D49B XOR A Displacement 0 into the JR in blit_right_clip; dispatch 2; draw.
D49C LD ($DB92),A
D49F LD A,$02
D4A1 LD ($D702),A
D4A4 JP draw_step
Prev: D481 Up: Map Next: D4A7