Prev: 8141 Up: Map Next: 8151
8148: Move the point left one, if it can
Used by the routines at FLOOD_FILL and DRAW_LINE.
DEC_X 8148 DEC D Left one; fine unless it wrapped to 255
8149 LD H,A
814A LD A,D
814B CP $FF
814D LD A,H
814E RET NZ
814F INC D Wrapped: undo it
8150 RET
Prev: 8141 Up: Map Next: 8151