Prev: 28675 Up: Map Next: 28747
28683: Room drawing: Draw right-facing wall-candle
Used by the routine at 27865.
28683 CALL 29441 Read two bytes AFTER HL position into BC (i.e. y- and x-coordinates respectively), advancing HL before both reads
28686 PUSH HL Store HL
28687 PUSH BC Store BC
28688 LD A,68 Store 68 (green INK, black PAPER, BRIGHT) at 23695...
28690 LD (23695),A ...
28693 LD A,64 Set current terrain interaction parameter to preserve-attribute...
28695 LD (23483),A ...
28698 LD A,56 Draw right-facing wall-candle wall bracket plate...
28700 CALL 29960 ...
28703 POP BC Restore BC
28704 PUSH BC Store BC
28705 INC B Increase y-coordinate by three...
28706 INC B ...
28707 INC B ...
28708 LD A,55 Draw right-facing wall-candle wall bracket...
28710 CALL 29960 ...
28713 POP BC Restore BC
28714 PUSH BC Store BC
28715 DEC B Decrease y-coordinate by one
28716 INC C Increase x-coordinate by one
28717 LD A,71 Store 71 (white INK, black PAPER, BRIGHT) at 23695...
28719 LD (23695),A ...
28722 LD A,54 Draw wall-candle...
28724 CALL 29960 ...
28727 POP BC Restore BC
28728 DEC B Decrease y-coordinate
28729 INC C Increase x-coordinate
28730 CALL 36569 Update virtual attribute cursor storage location to position (C, B) and point HL to corresponding attribute file address
28733 CALL 28814 Add a glowing character block to the current room (left part of the flame)
28736 INC HL Advance HL to next character to the right (i.e. rest of flame)
28737 LD (IX+2),L Add another glowing character block to the current room (right part of the flame)...
28740 LD (IX+3),H ...
28743 POP HL Restore HL
28744 JP 28060 Return to room drawing routine and process next data
Prev: 28675 Up: Map Next: 28747