![]() |
Routines |
| Prev: A97F | Up: Map | Next: A9A4 |
|
Succeeds unless CurrentRoom is the first operand and TemporaryRoom is the second.
|
||||||||
|
Succeed unless the player is in the first room and the marked room is the second.
|
||||||||
| Condition_RoomPairDiffers | A990 | LD A,($A106) | The player is in the first room. | |||||
| A993 | CP (IX+$01) | |||||||
| A996 | JR NZ,RoomPairDiffers_Invert | |||||||
| A998 | LD A,($AD78) | The marked room is the second. | ||||||
| A99B | CP (IX+$02) | |||||||
| RoomPairDiffers_Invert | A99E | CALL Handler_RunScript_13 | Succeed unless both rooms match. | |||||
| A9A1 | JP Handler_RunScript_2 | Resume the script. | ||||||
| Prev: A97F | Up: Map | Next: A9A4 |