![]() |
Routines |
| Prev: 43699 | Up: Map | Next: 43733 |
|
Used by the routines at Event_OpenTheMagicDoor and Event_CloseTheMagicDoor.
Prints the lake or the river message when the current location is 30 or 28. Any other location returns at once.
|
||||
|
Test the flag.
|
||||
| Event_TheLakeOrTheRiver | 43719 | LD A,(49451) | Jump to PrintMessage if *49451 is 30. | |
| 43722 | CP 30 | |||
| 43724 | JP Z,PrintMessage | |||
| 43727 | CP 28 | Jump back to PrintMessage if the current location is 28. | ||
| 43729 | JP Z,PrintMessage | |||
| 43732 | RET | Return. | ||
| Prev: 43699 | Up: Map | Next: 43733 |