Prev: 28785 Up: Map Next: 28846
28833: Room drawing: Move virtual bitmap cursor to coordinates specified in layout data
Used by the routines at 28730 and 28753.
Input
HL Pointer to an instruction in room layout data
Output
HL Pointer to next instruction in room layout data
28833 INC HL Advance HL by three bytes...
28834 INC HL ...
28835 INC HL ...
28836 LD C,(HL) Load x- and y-coordinates into BC...
28837 INC HL ...
28838 LD B,(HL) ...
28839 INC HL ...advancing to next position in room layout data
28840 PUSH HL Store HL (current position in room layout data)
28841 CALL 54132 Move virtual cursor (bitmap) to display file address for coordinates x=C, y=B and load address into HL
28844 POP HL Restore HL (current position in room layout data)
28845 RET Return
Prev: 28785 Up: Map Next: 28846