| The Hobbit (v1.0) | Routines |
| Prev: A600 | Up: Map | Next: A631 |
|
When the magic door is examined: if the actor can see it clearly (bit 7 of its flags), 'you see nothing special'. Otherwise timer 5 is started (by copying its reload value) and 'the magic door warns of elves approaching.'
|
||||
| A614 | CALL $9C99 | Dry run? Then stop here: it would work | ||
| A617 | LD IX,($B5FC) | IX = the actor's own record | ||
| A61B | BIT 7,(IX+$07) | Is the actor visible? | ||
| A61F | LD HL,$AEE6 | "X sees nothing special." | ||
| A622 | JP NZ,$72D4 | Visible: nothing more happens - just an ordinary EXAMINE | ||
| A625 | LD A,($C996) | Invisible (wearing the ring): start timer 5 (copy its reload value into its count) | ||
| A628 | LD ($C997),A | |||
| A62B | LD HL,$B19C | "the magic door warns of elves approaching." | ||
| A62E | JP $72D4 | |||
| Prev: A600 | Up: Map | Next: A631 |