Prev: BC5B Up: Map Next: BCD1
BCBF: Set a record sliding a pixel a pass downhill
Used by the routines at leave_slope and ship_on_slope_response.
By the slope's facing (pieces_left bits 6-7): both clear or both set, right; otherwise left.
Input
IX the record
downhill BCBF LD A,(pieces_left) +1, or -1
BCC2 LD (IX+$07),$01
BCC6 AND $C0
BCC8 RET Z
BCC9 XOR $C0
BCCB RET Z
BCCC LD (IX+$07),$FF
BCD0 RET
Prev: BC5B Up: Map Next: BCD1