|  | Routines | 
| Prev: 40845 | Up: Map | Next: 40905 | 
| 
Used by the routine at 39047.
 
See also analogous routine at 41109 (RLE terrain interaction data painting)
 
 
 | ||||||||||||||
| 40873 | PUSH HL | Store HL (current entry in lookup table for RLE attribute data) | ||||||||||||
| 40874 | LD HL,23410 | Modify instruction at 40983 to load x-coordinate of graphic's right edge into A... | ||||||||||||
| 40877 | LD (40984),HL | ...i.e. set end x-coordinate for painting left-to-right | ||||||||||||
| 40880 | LD HL,41025 | Modify instruction at 40987 to jump to 41025... | ||||||||||||
| 40883 | LD (40988),HL | ...i.e. advance HL up one character row in attribute file | ||||||||||||
| 40886 | LD A,35 | Modify instruction at 40990 with opcode 35 (INC HL)... | ||||||||||||
| 40888 | LD (40990),A | ... | ||||||||||||
| 40891 | POP HL | Restore HL (current entry in lookup table for RLE attribute data) | ||||||||||||
| 40892 | CALL 41035 | Store coordinates of area to be coloured and point IX at RLE attribute data | ||||||||||||
| 40895 | LD A,(23408) | Load C with x-coordinate of graphic's left edge... | ||||||||||||
| 40898 | LD C,A | ... | ||||||||||||
| 40899 | LD A,(23411) | Load B with y-coordinate of graphic's bottom edge... | ||||||||||||
| 40902 | LD B,A | ... | ||||||||||||
| 40903 | JR 40963 | Jump to attribute painting routine | ||||||||||||
| Prev: 40845 | Up: Map | Next: 40905 |