![]() |
Routines |
| Prev: A124 | Up: Map | Next: A164 |
|
Used by the routine at DESCRIBE_LOCATION.
Nothing at all is printed when there are none.
|
||||||||
| VISIBLE_EXITS | A138 | PUSH IX | ||||||
| A13A | PUSH IY | |||||||
| A13C | PUSH DE | |||||||
| A13D | PUSH BC | |||||||
| A13E | CALL EXITS_OF | Is there an open way out at all? | ||||||
| A141 | CALL NEXT_OPEN_EXIT | |||||||
| A144 | JR Z,VISIBLE_EXITS_1 | |||||||
| A146 | LD HL,MSG_VISIBLE_EXITS_ARE | "visible exits are:" | ||||||
| A149 | CALL RUN_MESSAGE_HL | |||||||
| VISIBLE_EXITS_0 | A14C | LD A,(IX+$00) | Each one's direction | |||||
| A14F | CALL DIRECTION_WORD | |||||||
| A152 | CALL PRINT_WORD_DE | |||||||
| A155 | CALL NEXT_OPEN_EXIT | |||||||
| A158 | JR NZ,VISIBLE_EXITS_0 | |||||||
| A15A | CALL NEW_LINE | New line | ||||||
| VISIBLE_EXITS_1 | A15D | POP BC | ||||||
| A15E | POP DE | |||||||
| A15F | POP IY | |||||||
| A161 | POP IX | |||||||
| A163 | RET | |||||||
| Prev: A124 | Up: Map | Next: A164 |