Prev: 9ABA Up: Map Next: 9AEF
9ACB: Drawing mode 4: furniture's pixels upside down
Entry 4 of PIXEL_DRAWERS. It fetches through FETCH_SPRITE, then copies row by row with the combining instruction patched in by SPRITE_COMBINE_OPCODE, the same as every other routine in the two tables.
DRAW_UPSIDE_DOWN 9ACB POP BC
9ACC CALL SPRITE_COMBINE_OPCODE
9ACF LD (DRAW_UPSIDE_DOWN_OP),A
9AD2 CALL FETCH_SPRITE
9AD5 CALL START_AT_LAST_ROW
DRAW_UPSIDE_DOWN_0 9AD8 PUSH BC
9AD9 PUSH DE
9ADA PUSH HL
DRAW_UPSIDE_DOWN_1 9ADB LD A,(DE)
9ADC INC DE
DRAW_UPSIDE_DOWN_OP 9ADD NOP
9ADE LD (HL),A
9ADF INC L
9AE0 DJNZ DRAW_UPSIDE_DOWN_1
9AE2 POP HL
9AE3 CALL SCREEN_ROW_UP
9AE6 POP DE
9AE7 POP BC
9AE8 CALL PREVIOUS_SPRITE_ROW
9AEB DEC C
9AEC JR NZ,DRAW_UPSIDE_DOWN_0
9AEE RET
Prev: 9ABA Up: Map Next: 9AEF