a npc changes randomly place at each day

I have an idea for a feature in a short game I'm making.
There's a day/night cycle. In the morning, when the protagonist leaves home, they randomly encounter their wife in different parts of the city. Then they go to work, and in the evening, the wife gives them a report of her day based on where she went.
As the days go by, the wife has different things to say to the husband. Is there a simple way to do this? I've thought of using: (image) Is there a simpler way?
Unfortunately, the condition for an event tied to a variable is "if x is equal to or greater than," but I need it to be "if x is equal to" only.

1689453413008.png
It's still possible to do this with variables so not as many switch slots are wasted.
Because of how the page priority works, if the first page's condition is placevariable >1 and the second's is placevariable >2, the second page will take priority if the conditions for both are true. Alternatively, use just a single page (if the NPC's looks or locations don't change) and use a second set of conditional branches to check for the place variable?
Somethingike this:
if random line = x
if place variable = 1
do a thing
end
if place variable = 2
do another thing
end
end
It's still possible to do this with variables so not as many switch slots are wasted.
Because of how the page priority works, if the first page's condition is placevariable >1 and the second's is placevariable >2, the second page will take priority if the conditions for both are true. Alternatively, use just a single page (if the NPC's looks or locations don't change) and use a second set of conditional branches to check for the place variable?
Somethingike this:
if random line = x
if place variable = 1
do a thing
end
if place variable = 2
do another thing
end
end
ohhhhhhhhhhh of course! that makes so much sense! Thank you, literally imediately solved thanks to this
You're welcome! 😍

Original thread: https://forums.rpgmakerweb.com/threads/a-npc-changes-randomly-place-at-each-day.159351/