Routines |
Prev: 39047 | Up: Map | Next: 39183 |
This routine is jumped to only by the routine at 40937, which in turn is only jumped to by the routine at 39047. In this latter routine, the instruction at 39133 pushes DE (pointer to required entry in RLE terrain interaction lookup table) onto the stack, and then the instruction at 39139 pushes IX (current position in room layout data) onto the stack.
Used by the routine at 40937.
|
||||
39158 | POP IX | Restore IX (current position in room layout data) | ||
39160 | POP HL | Restore HL (pointer to required entry in RLE terrain interaction lookup table, PUSHed by instruction at 39133) | ||
39161 | LD A,(IX+0) | Load mirror options into A | ||
39164 | PUSH IX | Store IX (current position in room layout data) | ||
39166 | OR A | Paint room layout data entry's terrain interaction parameters applying appropriate mirrors, then advance to next entry | ||
39167 | JP Z,41173 | |||
39170 | CP 1 | |||
39172 | JP Z,41141 | |||
39175 | CP 2 | |||
39177 | JP Z,41109 | |||
39180 | JP 41081 |
Prev: 39047 | Up: Map | Next: 39183 |