Town Rememberence

I am wondering how to do this? I am thinking of adding a place where you can teleport to towns that the player has been to, but I need to know how i would set it up so the game realizes what towns the player has been to. For example if there are 4 towns but the player has only been to 2 of them, i need the game to know which towns they have been to so they can only teleport to those 2 towns.
You could either use variables or switches along coinditional branch.

If there's not an specific order and just want to check if the player has visited every town at least once, then place an event that will add 1 point to a "visited town" variable, then self switch it to don't run again. So when this variable reaches 4 (or the number of towns player visited) then you can set an event that enables teleport.

If you need specifics, then make 4 switches; one with every town name, whenever the player enters a town, make parallel process that activates that switch once, then self switch it to never run again. And there you go, then when you'd like to make a teleport event, just use the conditional branch to check if "town name" switch is on to run.

Hope this helps you

Original thread: https://forums.rpgmakerweb.com/threads/town-rememberence.116426/