I have an idea for something similar to Ocarina of Time, where the player switches between different world states by using an item. My idea is that by pressing one of the more unused buttons, a prompt with options for those states would appear. Is this possible without scripting, and either way how would you all go about this?
My current best idea is assigning a variable through choices, then somehow having the tileset swap accordingly. That doesn't really account for things like whether or not the state you go to puts you inside a wall, so my second best plan is changing scenes entirely while somehow retaining your spot.
Make the item launch a common event with show choices or have a parallel common event running that checks for a button press and then shows the choices. In those choices you make whatever you want happen. Choose to change the tileset or send the player to another map. If you send to new map you can store the player x and y and send to those coordinates in the new map with variables. You can check if the player can move in the new place with like I think (check all directions):
$game_player.passable?($game_player.x, $game_player.y, direction)
Then if that's false you can have a message appear "oops, I'm stuck in this new world" and then you send the player back. Or you can make a system with regions for example where you only send the player to certain spots. If you send the player to a new map, you have to make the event in a way that a switch activates an event that checks the situation in the new map, and then turns the switch off.
I'm still fairly new to the program so, sorry if it's a silly question. But would the event be tied to the maps themselves, or would I make an invisible untouchable event somewhere on the map? Finding out where/how to use parallel and autorun has been a bit of a challenge for me.
Check the button press with parallel common event (in there conditional 'if button X is pressed'). If you want to do it so that it just transfers you and checks the passability in the new map, I think you can just before the transfer player turn on a switch for another parallel common event that checks for the passability and returns you back if you can't move. You can keep that 2nd parallel common event on for like 60 frames or something (count with variable increase) and then make it turn its switch off.