Prev: 43379 Up: Map Next: 43408
43391: Condition: Room Pair Matches
Succeeds when CurrentRoom is the first operand and TemporaryRoom is the second.
Output
F The zero flag is set when both rooms match
Succeed only when the player is in the first room and the marked room is the second.
Condition_RoomPairMatches 43391 LD A,(41222) The player is in the first room.
43394 CP (IX+1)
43397 JR NZ,RoomPairMatches_Done
43399 LD A,(44408) The marked room is the second.
43402 CP (IX+2)
RoomPairMatches_Done 43405 JP Handler_RunScript_2 Resume the script.
Prev: 43379 Up: Map Next: 43408