Prev: 52535 Up: Map Next: 52596
52566: Room drawing: Reset apply-vertical-mirror flag, set apply-horizontal-mirror flag and draw a graphic
Used by the routine at 28631.
52566 XOR A Load 52672 with opcode for NOP
52567 LD (52672),A
52570 LD H,A Load 52673 and 52674 with opcode for NOP
52571 LD L,A
52572 LD (52673),HL
52575 LD A,2 Reset apply-vertical-mirror flag and set apply-horizontal-mirror flag
52577 LD (23450),A
52580 LD A,7 Set pixel row counter to 7
52582 LD (23449),A
52585 LD A,(23493) Load C with x-coordinate of left edge of current graphic to draw
52588 LD C,A
52589 LD A,(23496) Load B with y-coordinate + 1 for current graphic
52592 LD B,A
52593 JP 52622 Jump to 52622 (set coordinates, draw the graphic then return)
Prev: 52535 Up: Map Next: 52596