Routines |
Prev: 29225 | Up: Map | Next: 29356 |
Used by the routine at 27865.
|
||||
29291 | CALL 29441 | Read two bytes AFTER HL position into BC, advancing HL before both reads | ||
29294 | PUSH HL | Store HL | ||
29295 | PUSH BC | Store BC | ||
29296 | LD A,7 | Store 7 (white INK, black PAPER) at 23695... | ||
29298 | LD (23695),A | ... | ||
29301 | LD A,64 | Set current terrain interaction parameter to preserve-attribute... | ||
29303 | LD (23483),A | ... | ||
29306 | LD A,96 | Draw ceiling candles... | ||
29308 | CALL 29960 | ... | ||
29311 | POP BC | Restore BC | ||
29312 | INC B | Increase y-coordinate by two... | ||
29313 | INC B | ... | ||
29314 | CALL 36569 | Update virtual attribute cursor storage location to position (C, B) and point HL to corresponding attribute file address | ||
29317 | PUSH HL | Store HL (memory address of attribute cursor) | ||
29318 | CALL 28814 | Add a glowing character block to the current room (left-hand candle) | ||
29321 | LD BC,34 | Advance attribute file pointer down a row and to the right by two characters... | ||
29324 | ADD HL,BC | ... | ||
29325 | CALL 28814 | Add a glowing character block to the current room (right-hand candle) | ||
29328 | LD A,70 | Set attribute at this location to 70 (yellow INK, black PAPER, BRIGHT) (candles)... | ||
29330 | POP IX | Restore memory address of attribute cursor to IX | ||
29332 | LD (IX+32),A | Set attribute of left-hand candle... | ||
29335 | LD (IX+64),A | ... | ||
29338 | LD (IX+66),A | ...and right-hand candle to 70 (yellow INK, black PAPER, BRIGHT) | ||
29341 | LD A,71 | Set attribute at this location to 71 (white INK, black PAPER, BRIGHT) (base - 3 bytes, 3 × 1)... | ||
29343 | LD (IX+96),A | ... | ||
29346 | LD (IX+97),A | ... | ||
29349 | LD (IX+98),A | ... | ||
29352 | POP HL | Restore HL | ||
29353 | JP 28060 | Return to room drawing routine and process next data |
Prev: 29225 | Up: Map | Next: 29356 |