Prev: 27951 Up: Map Next: 28095
28070: Room drawing: Advance IX to start of next room layout data entry and paint attributes
This routine is jumped to only by the routine at 28938, which in turn is only jumped to by the routine at 27951. In this latter routine, the instruction at 28045 pushes DE (pointer to required entry in RLE terrain interaction lookup table) onto the stack, and then the instruction at 28051 pushes IX (current position in room layout data) onto the stack.
Used by the routine at 28938.
28070 POP IX Restore IX (current position in room layout data)
28072 POP HL Restore HL (pointer to required entry in RLE terrain interaction lookup table, PUSHed by instruction at 28045)
28073 LD A,(IX+0) Load mirror options into A
28076 PUSH IX Store IX (current position in room layout data)
28078 OR A Paint room layout data entry's terrain interaction parameters applying appropriate mirrors, then advance to next entry
28079 JP Z,29174
28082 CP 1
28084 JP Z,29142
28087 CP 2
28089 JP Z,29110
28092 JP 29082
Prev: 27951 Up: Map Next: 28095