Prev: 39183 Up: Map Next: 39216
39189: Room drawing: Start painting attribute / terrain interaction data for layout data fragment
Used by the routine at 39047.
Input
A Draw layout data fragment instruction
39189 PUSH AF Store AF (A = current byte from room layout data)
39190 LD A,1 Set drawing-layout-data-fragment flag to 1...
39192 LD (23452),A ...
39195 INC IX Advance IX by one byte
39197 LD (23453),IX Store current position in room layout data at 23453
39201 LD HL,60925 Load HL with address of room layout data fragment pointers
39204 POP AF Restore AF (A = current byte from room layout data)
39205 AND 127 Reset bit 7
39207 CALL 64627 Load address of layout data for required fragment into HL
39210 PUSH HL Transfer address from HL to IX...
39211 POP IX ...
39213 JP 39067 Loop back to 38977 to start painting fragment
Prev: 39183 Up: Map Next: 39216