Prev: 29396 Up: Map Next: 29441
29414: Room drawing: Read sequence of architecture styles and attributes and draw appropriate 2-by-2 blocks of brickwork
Used by the routine at 27865.
29414 XOR A Store 0 (black INK, black PAPER) at 23695...
29415 LD (23695),A ...
29418 INC HL Advance HL
29419 LD A,(HL) Read next data (architecture style)...
29420 CP 255 ...and if this is 255...
29422 JP Z,28056 ...then return to room drawing routine, setting brickwork drawing mode to two rows
29425 LD C,A Copy architecture style into C
29426 OR A If this is zero...
29427 JR Z,29434 ...then skip ahead to 29434 (i.e. draw a blank block)
29429 INC HL Advance HL
29430 LD A,(HL) Read next data...
29431 LD (23695),A ...into 23695
29434 LD A,C Load architecture style back into A
29435 CALL 28344 Draw a 2-by-2 block of brickwork, depending upon brickwork drawing mode, with architecture style A
29438 JP 29414 Repeat loop for next data byte
Prev: 29396 Up: Map Next: 29441