![]() |
Routines |
| Prev: 8FCD | Up: Map | Next: 8FF5 |
|
Only one step: the exit that leads to where the one followed is, if there is one, and through it. Already in the same place, or not next to it: "i cannot follow the ... from here."
|
||||
| DO_FOLLOW | 8FD6 | LD IX,(ACTOR) | Already where the one followed is? | |
| 8FDA | LD B,(IX+$10) | |||
| 8FDD | LD IX,(TARGET_RECORD) | |||
| 8FE1 | LD A,(IX+$10) | |||
| 8FE4 | CP B | |||
| 8FE5 | JR Z,DO_FOLLOW_0 | |||
| 8FE7 | CALL EXIT_TO | An exit that leads there: through it | ||
| 8FEA | CP $FF | |||
| 8FEC | JP NZ,GO_BY_EXIT | |||
| DO_FOLLOW_0 | 8FEF | LD HL,MSG_I_CANNOT_FOLLOW_FROM | "i cannot follow the ... from here." | |
| 8FF2 | JP RUN_MESSAGE_HL | |||
| Prev: 8FCD | Up: Map | Next: 8FF5 |