| The Hobbit (v1.0) | Routines |
| Prev: A443 | Up: Map | Next: A45D |
|
If the character is in the same room as Bilbo, says 'hello'.
|
||||
| A44C | LD A,($B5E7) | A = the room the character started this turn in | ||
| A44F | LD HL,$B5E6 | Is that the room Bilbo is in? | ||
| A452 | CP (HL) | |||
| A453 | RET NZ | No: say nothing | ||
| A454 | CALL $9C99 | Dry run? Then stop here: it always works | ||
| A457 | LD HL,$AF51 | "hello" | ||
| A45A | JP $A113 | Say it | ||
| Prev: A443 | Up: Map | Next: A45D |