| The Hobbit (v1.0) | Routines |
| Prev: A9C9 | Up: Map | Next: A9ED |
| A9D4 | LD IX,$C209 | IX = the ring's record | ||
| A9D8 | LD A,(IX+$01) | Who holds it? | ||
| A9DB | CP $FF | |||
| A9DD | RET Z | Nobody: nothing to do | ||
| A9DE | CALL $9B25 | IX = the holder's record... | ||
| A9E1 | LD ($B5FC),IX | ...who becomes the actor | ||
| A9E5 | BIT 7,(IX+$07) | Is the ring being worn (invisible)? | ||
| A9E9 | JP Z,$A2EC | Yes: take it off | ||
| A9EC | RET | |||
| Prev: A9C9 | Up: Map | Next: A9ED |