Routines |
Prev: 41081 | Up: Map | Next: 41141 |
|
||||||||||||||
41109 | PUSH HL | Store HL (current entry in lookup table for RLE terrain interaction data) | ||||||||||||
41110 | LD HL,23410 | Modify instruction at 41219 to load x-coordinate of graphic's right edge into A... | ||||||||||||
41113 | LD (41220),HL | ...i.e. set end x-coordinate for painting left-to-right | ||||||||||||
41116 | LD HL,41261 | Modify instruction at 41223 to jump to 41261... | ||||||||||||
41119 | LD (41224),HL | ...i.e. advance HL up one character row in terrain interaction data table at 23808 | ||||||||||||
41122 | LD A,35 | Modify instruction at 41226 with opcode 35 (INC HL)... | ||||||||||||
41124 | LD (41226),A | ... | ||||||||||||
41127 | POP HL | Restore HL (current entry in lookup table for RLE terrain interaction data) | ||||||||||||
41128 | CALL 41035 | Store coordinates of area to be coloured and point IX at RLE terrain interaction data | ||||||||||||
41131 | LD A,(23408) | Load C with x-coordinate of graphic's left edge... | ||||||||||||
41134 | LD C,A | ... | ||||||||||||
41135 | LD A,(23411) | Load B with y-coordinate of graphic's bottom edge... | ||||||||||||
41138 | LD B,A | ... | ||||||||||||
41139 | JR 41199 | Jump to terrain interaction data painting routine |
Prev: 41081 | Up: Map | Next: 41141 |