| The Hobbit (v1.0) | Routines |
| Prev: 739A | Up: Map | Next: 73B4 |
|
Prints the target of the command (object $B5D9) with its article. If $B5EF is set, the target is a room rather than an object, and the room's name is used instead (71CC rather than 71D9). The entry at 73AB is used by 7122. Code $08 (73B4) prints a backspace, and code $09 (73B9) sets the article flag and continues into 73BE.
|
||||
| 73A6 | LD A,$01 | An article is wanted | ||
| 73A8 | LD ($B5F4),A | |||
|
This entry point is used by the routine at 7122.
|
||||
| 73AB | LD A,($B5EF) | Is the target actually a room, rather than an object? | ||
| 73AE | AND A | |||
| 73AF | LD A,($B5D9) | A = the target's own number, either way | ||
| 73B2 | JR $73C5 | Join the shared printing code below | ||
| Prev: 739A | Up: Map | Next: 73B4 |