Prev: 28683 Up: Map Next: 28814
28747: Room drawing: Draw left-facing wall-candle
Used by the routine at 27865.
28747 CALL 29441 Read two bytes AFTER HL position into BC (i.e. y- and x-coordinates respectively), advancing HL before both reads
28750 PUSH HL Store HL
28751 PUSH BC Store BC
28752 LD A,68 Store 68 (green INK, black PAPER, BRIGHT) at 23695...
28754 LD (23695),A ...
28757 LD A,64 Set current terrain interaction parameter to preserve-attribute...
28759 LD (23483),A ...
28762 LD A,58 Draw left-facing wall-candle wall bracket plate...
28764 CALL 29960 ...
28767 POP BC Restore BC
28768 PUSH BC Store BC
28769 INC B Increase y-coordinate by three...
28770 INC B ...
28771 INC B ...
28772 DEC C Decrease x-coordinate by two
28773 DEC C ...
28774 LD A,57 Draw left-facing wall-candle wall bracket...
28776 CALL 29960 ...
28779 POP BC Restore BC
28780 PUSH BC Store BC
28781 DEC B Decrease y-coordinate by one
28782 DEC C Decrease x-coordinate by two
28783 DEC C ...
28784 LD A,71 Store 71 (white INK, black PAPER, BRIGHT) at 23695...
28786 LD (23695),A ...
28789 LD A,54 Draw wall-candle...
28791 CALL 29960 ...
28794 POP BC Restore BC
28795 DEC B Decrease y-coordinate
28796 DEC C Decrease x-coordinate
28797 CALL 36569 Update virtual attribute cursor storage location to position (C, B) and point HL to corresponding attribute file address
28800 CALL 28814 Add a glowing character block to the current room
28803 INC HL Advance HL to next character to the right (bug)
28804 LD (IX+2),L Add another glowing character block to the current room (right part of the flame)...
28807 LD (IX+3),H ...
28810 POP HL Restore HL
28811 JP 28060 Return to room drawing routine and process next data
Prev: 28683 Up: Map Next: 28814