Prev: 80F5 Up: Map Next: 8117
8106: Down one attribute row, if it can
Used by the routine at RUN_PICTURE.
ATTR_DOWN 8106 PUSH AF
8107 PUSH DE
8108 LD DE,$0020 Down a row: 32 cells on
810B ADD HL,DE
810C LD A,H Still within the picture's rows? Then jump into the middle of the SBC below...
810D CP $5A
810F JR NZ,$8113
8111 AND A ...whose second byte, $52, is LD D,D: a one-byte no-op. Reached from the top it undoes the move; from the JR it is skipped
ROW_UNDO 8112 SBC HL,DE
8114 POP DE
8115 POP AF
8116 RET
Prev: 80F5 Up: Map Next: 8117