![]() |
Routines |
| Prev: A70A | Up: Map | Next: A73B |
|
Anyone who can be seen -- flag bit 7 -- sees "nothing special here." Anyone who cannot, sets timer 5 going: "the magic door warns of elves approaching.", and three turns later it opens for an elf to sweep past (MAGIC_DOOR_OPENS).
|
||||
| MAGIC_DOOR_EXAMINED | A71E | CALL FOR_REAL | ||
| A721 | LD IX,(ACTOR) | Visible? "you see nothing special here." | ||
| A725 | BIT 7,(IX+$07) | |||
| A729 | LD HL,MSG_SEE_NOTHING_SPECIAL_HERE | |||
| A72C | JP NZ,RUN_MESSAGE_HL | |||
| A72F | LD A,(TIMER5) | Start timer 5 | ||
| A732 | LD (TIMER5_COUNT),A | |||
| A735 | LD HL,MSG_THE_MAGIC_DOOR_WARN | "the magic door warns of elves approaching." | ||
| A738 | JP RUN_MESSAGE_HL | |||
| Prev: A70A | Up: Map | Next: A73B |