![]() |
Routines |
| Prev: A73B | Up: Map | Next: A784 |
|
The player can only reach the window while held by something -- carried, as the guides have it, by Thorin -- and otherwise "you cannot reach the ...". Characters can open and close it as any door.
|
||||
| WINDOW_OPEN_CLOSE | A761 | LD A,(ACTING) | The player, held by nothing: "you cannot reach the ..." | |
| A764 | CP $00 | |||
| A766 | JR NZ,WINDOW_OPEN_CLOSE_0 | |||
| A768 | LD A,(PLAYER_HOLDER) | |||
| A76B | LD HL,MSG_YOU_CANNOT_REACH | |||
| A76E | CP $FF | |||
| A770 | JP Z,RUN_MESSAGE_HL | |||
| A773 | JP REFUSE | |||
| WINDOW_OPEN_CLOSE_0 | A776 | LD A,(ACTION) | Otherwise the ordinary CLOSE or OPEN | |
| A779 | CP $0C | |||
| A77B | JP Z,DO_CLOSE | |||
| A77E | CP $10 | |||
| A780 | JP Z,DO_OPEN | |||
| A783 | RET | |||
| Prev: A73B | Up: Map | Next: A784 |