Prev: B6DE Up: Map Next: B6F9
B6EF: Shuttling block: move
Used by the routine at shuttle_block_step.
The first instruction's displacement is patched by shuttle_block to set dX or dY. dZ is set to 1 so that the DEC in the move leaves it at 0: the block floats rather than falling.
Input
A the step, +1 or -1
shuttle_block_move B6EF LD (IX+$09),A dX or dY, patched
B6F2 LD (IX+$0B),$01 no gravity
B6F6 JP dec_dZ_wipe_and_draw move, wipe and draw
Prev: B6DE Up: Map Next: B6F9