![]() |
Routines |
| Prev: A84D | Up: Map | Next: A862 |
|
Succeeds when CurrentRoom is not the room operand.
|
||||||||||
|
Invert the room test so the condition succeeds anywhere else.
|
||||||||||
| Condition_NotInRoom | A856 | LD A,($A106) | Fetch the current room from *CurrentRoom into A. | |||||||
| A859 | CP (IX+$01) | Compare it with the room operand. | ||||||||
| A85C | CALL RunScript_InvertConditionResult | Call RunScript_InvertConditionResult so the condition succeeds when the rooms differ. | ||||||||
| A85F | JP RunScript_SkipCondition_TwoBytes | Jump to RunScript_SkipCondition_TwoBytes. | ||||||||
| Prev: A84D | Up: Map | Next: A862 |