![]() |
Routines |
| Prev: A86E | Up: Map | Next: A89E |
|
With the boat tied to it: "the boat glides across the river and lands on this side.", from one bank to the other, and it is let go. BOAT_CROSSES is the crossing itself, which BOAT_BOARDED uses too.
|
||||
| PULL_ROPE | A876 | CALL FOR_REAL | Only with the boat tied to it | |
| A879 | LD A,(WOODEN_BOAT_HOLDER) | |||
| A87C | CP $12 | |||
| A87E | RET NZ | |||
| A87F | LD HL,MSG_THE_BOAT_GLIDES_ACROSS | "the boat glides across the river and lands on this side." | ||
|
This entry point is used by the routine at BOAT_BOARDED.
|
||||
| BOAT_CROSSES | A882 | CALL RUN_MESSAGE_HL | The crossing: the message... | |
| A885 | LD A,(WOODEN_BOAT_WHERE) | ...and the boat, with whoever is in it, to the other bank, let go | ||
| A888 | CP $42 | |||
| A88A | LD A,$42 | |||
| A88C | JR NZ,PULL_ROPE_0 | |||
| A88E | LD A,$43 | |||
| PULL_ROPE_0 | A890 | LD (WOODEN_BOAT_WHERE),A | ||
| A893 | LD B,A | |||
| A894 | LD A,$FF | |||
| A896 | LD (WOODEN_BOAT_HOLDER),A | |||
| A899 | LD A,$29 | |||
| A89B | JP MOVE_CONTENTS | |||
| Prev: A86E | Up: Map | Next: A89E |