Prev: 43391 Up: Map Next: 43428
43408: Condition: Room Pair Differs
Succeeds unless CurrentRoom is the first operand and TemporaryRoom is the second.
Output
F The zero flag is set unless both rooms match
Succeed unless the player is in the first room and the marked room is the second.
Condition_RoomPairDiffers 43408 LD A,(41222) The player is in the first room.
43411 CP (IX+1)
43414 JR NZ,RoomPairDiffers_Invert
43416 LD A,(44408) The marked room is the second.
43419 CP (IX+2)
RoomPairDiffers_Invert 43422 CALL Handler_RunScript_13 Succeed unless both rooms match.
43425 JP Handler_RunScript_2 Resume the script.
Prev: 43391 Up: Map Next: 43428