![]() |
Routines |
| Prev: A67E | Up: Map | Next: A6C2 |
|
In the front gate, the lower halls or on the lonely mountain (locations 39, 41 and 44), the dragon goes to wherever the player is, and "... enters.".
|
||||
| DRAGON_FOLLOWS | A698 | LD A,(PLAYER_WHERE) | ||
| A69B | CP $27 | |||
| A69D | JR Z,DRAGON_FOLLOWS_0 | |||
| A69F | CP $2C | |||
| A6A1 | JR Z,DRAGON_FOLLOWS_0 | |||
| A6A3 | CP $29 | |||
| A6A5 | RET NZ | |||
| DRAGON_FOLLOWS_0 | A6A6 | CALL FOR_REAL | ||
| A6A9 | LD A,(PLAYER_WHERE) | |||
| A6AC | LD HL,RED_GOLDEN_DRAGON_WHERE | |||
| A6AF | CP (HL) | |||
| A6B0 | RET Z | |||
| A6B1 | LD (HL),A | |||
| A6B2 | LD A,$01 | |||
| A6B4 | LD (PRINTING_ON),A | |||
| A6B7 | LD HL,RED_GOLDEN_DRAGON_NAME | |||
| A6BA | PUSH HL | |||
| A6BB | LD HL,MSG_ENTER | |||
|
This entry point is used by the routines at DRAGON_THREATENS and DRAGON_HUNTS.
|
||||
| DRAGON_SAYS | A6BE | CALL RUN_MESSAGE_HL | ||
| A6C1 | RET | |||
| Prev: A67E | Up: Map | Next: A6C2 |