I wonder how to implement stool puzzle in Ib

I tried creating a similar puzzle for fun. Here are the references if you are interested:
https://ibgame.fandom.com/wiki/Stool_Room

latest


I have many questions.
1) How to reset a map after walking out.
2) How to determine if the stool can be pushed or not (there might be other stool/wall blocking the path)
3) Is there a good way to not use global variables?

I hope I won't be sued for copyright for prying the game's secret or smth 😅

btw here's the link to download the game:
https://vgperson.com/games/ib.htm

I've moved this thread to MV Support. Thank you.

That's so incredibly dark I can barely see anything. And I see no "puzzle" in there - just a room full of stuff that the player walks into and out of. Maybe you should explain what the mechanic is?
Just for the record before I close the thread, being a bit more patient in the future might yield better results than simply wanting to close the thread. And since I we prefer to have questions answered before closing threads, here are your answers:
1) How to reset a map after walking out.
Events automatically reset to their original position (the one in the editor) when you exit a map and re-enter. However, self-switches and switches/variables don't reset, so the event page might be different than the time. Position will be the same (unless you create an auto event or parallel event that moves those events).
2) How to determine if the stool can be pushed or not (there might be other stool/wall blocking the path)
Just use movement route and tick the "skip if cannot move" box. That way if an event can't move in the direction of your movement (like if something is blocking it) it will simply skip the movement.
3) Is there a good way to not use global variables?
If by that you mean not using switches/variables to achieve the puzzle, see point number 2. In each event, set a conditional for each direction (up, right, left, down), and inside each conditional insert a movement route command that moves the event in the direction of the condition, and tick the "skip if cannot move" box. Set the event trigger to "Event Touch".

If you change your mind about closing this thread, just report it to be reopened.

I'm closing this thread.

Original thread: https://forums.rpgmakerweb.com/threads/i-wonder-how-to-implement-stool-puzzle-in-ib.123088/