Hey guys!
For the beginning of my game, I wanna make an event check if the player has visited all shops of the town once before they can proceed. That's why I ask: is there a way to create "and" branches for RPG Maker MZ?
I think I saw something somewhere that makes me think there is a way...but I don't know it. Someone else more knowledgeable will have to help specifically with that.
However, a low tech way to do that (which is what I would do until I learned how to do what you are asking) is to create a Variable for that town and increase that Variable once the first time the player visits that shop.
Then, for the transfer event to leave the map you could just have the Variable as a condition for the page to allow the transfer. The Variable value has to be equal to the amount of shops in the town.
Again, make sure that you only increase that Variable once when visiting a shop for the first time and don't increase it for returning to the same shop. That increase could happen on the first page of the shop event and then switch to a 2nd page for the shop after the first visit.
That should be a low tech way to do what you want, I would think.
I hope that helps and I hope someone can offer a more practical solution.
Yeah, that would be the best way to do it, I'd think. Only other thing is using switches, but that would waste a lot of switches. But to answer the question of whether you can use AND, yes you can. If you're using script calls, it's just &&. But if you just want to use pure events, put a conditional branch inside of another one, and then put your stuff in the inner one and that will create the effect of an AND.
I unfortunately don't know the script calls for MZ as I don't have it. So I would use the other method for now unless an MZ scripter comes along later.