![]() |
Routines |
| Prev: A973 | Up: Map | Next: A990 |
|
Succeeds when CurrentRoom is the first operand and TemporaryRoom is the second.
|
||||||||
|
Succeed only when the player is in the first room and the marked room is the second.
|
||||||||
| Condition_RoomPairMatches | A97F | LD A,($A106) | The player is in the first room. | |||||
| A982 | CP (IX+$01) | |||||||
| A985 | JR NZ,RoomPairMatches_Done | |||||||
| A987 | LD A,($AD78) | The marked room is the second. | ||||||
| A98A | CP (IX+$02) | |||||||
| RoomPairMatches_Done | A98D | JP Handler_RunScript_2 | Resume the script. | |||||
| Prev: A973 | Up: Map | Next: A990 |