[Solved] Teleport Skill Question.

Hey There!
I'm new to RPG Maker MZ so I was hoping to get some help with a Skill I'm trying to build.
So I created a Skill called Teleport, and set it up to work like this:
When the skill is used in the menu, it will call a Common Event called Teleport, which will call a bunch of conditionals to confirm if different locations switches are active, I want the skill to allow the character to teleport itself to known locations, so if they went to the city, now that switch is active and they can teleport there, and if the go to the cave, they are now able to go to both locations, and so on.
The issue comes with the Common Event's conditionals, 2 locations and flags are manageable, as the logic goes:

If City flag = 1
If Cave flag = 1
Show Choices: City, Cave
When City -> Teleport to City
When Cave -> Teleport to Cave
End
Else
Show Choices: City
When City -> Teleport to City
End
If City Flag = 0
If Cave Flag = 1
Show Choices: Cave
When Cave -> Teleport to Cave
End

Pretty simple, but when you add another location, which I intend to do, the whole If statements get exponentially bigger and unmanageable.

Does anyone know of a way to make the If conditions more manageable? Perhaps there is a way to have the Choices shown be based off of a List that keeps track of which flags are active? Or maybe there's a whole other way of doing this.
Any help is appreciated.

Thank you very much
Cinis.
it seems like you can use the visustella message core plugin to make conditions to show or hide choices. since you already have switches for having visited each location you just have to use the tags to only show each location if the the respective switch is on
(assuming you meant mz. its in your profile and the thread is in the mz section, but you said mv in the post)
There are a bunch of fast travel plugins
To give more general possible answers:

1) Teleport map - have the common event not ask for a location, but teleport the party to a fixed new map where you have many transfer events to different locations, and each transfer conditioned to appear or not.
It might look like a teleporter map or you could fake a selection map by making the player into a cursor and use text sprites or so.

2) conditional choices - for mv I would give a link to himeworks, but something like that has to exist for MZ as well. Those are plugins that make entries on the show choice directly conditional without the conditionbranch structure you used.
Thank you for the quick replies everyone!
I will try using the Choice Plugin Commands to learn and get better with Events, but the Fast Travel plugin is also quite interesting given you can add cost to it.
If I go forth with the Teleport Skill I will most likely use the Choice Plugins to keep the same build I already have, but if I go for a Travel Points/Caravan System the Fast Travel plugin will be a must.

Again, thank you very much Robro33, AquaEcho, and Andar! I appreciate the suggestions.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-teleport-skill-question.162722/