Moving Bookshelf

I'm having a problem trying to move a bookshelf, which reveals a hole in the wall the player can walk though like a doorway.

The shelf itself is all made up of events.
I set the lower left corner of the bookshelf as an action trigger. When interacted with, it turns on the "Bookshelf Move" switch.
From there, all the corners of the shelf, including the interact-able one, have a conditional branch, which should see the move switch is on, and move the various parts of the shelf, also moving a 5th event into the spot left open by the shelf moving, to give us the doorway, in theory.

But only 2 pieces move every time.

I read a thread where someone said the events shouldn't be on Parallel triggers, so I started changing them over. But the lower right shelf corner event is on a parallel and that one is the only corner that moves when the shelf is interacted with.
So I'm lost..

I've attached screenshots of the room the events are in, the interact-able shelf corner's event page, one of the other corner's shelf pages (because all the others pages are exactly the same), the door's event page, and the end result.
...do the same with the top parts?
Do the same as in change them to parallel triggers? Because that's what they all were before, and they behaved the same way.
Only the bottom two events would move.
@Eqonesian
there are several general mistakes in your events, you should handle that in a completely different way.
There should be no parallel trigger on any page of any of these events.

1) remove all command from the upper events as well as the second page. Only have it a single unmoving page with the sprite, having no commands at all.

2) on the event that will be triggered to move the bookshelf, place all four set move route commands for all four events.
I don't know if you have seen that yet, but set move routecan be targeted on other events and move them by changing the target in the drop down menu top left (where you currently have "this event", three of the four commands should show the names of the three other events).

However, in that event the order of the commands is important - that is what might be causing the problems. Events will not move on other events, which means that the right half of the bookshels needs to move right before the left half can follow. Trying to move the left half first will block everything.

3) if you need a function behind the booksheld, you need to move another event there after the bookshelf event moved right.
Your best option for that is to have an invisible event to the left of the original bookshelf events and move that right at the same moment the bookshelf events move.


As a general rule to always keep in mind:
on any cutscene, no matter how large or how small, there should be only ONE controlling event that contains all commands and moves other events by remote control - NEVER distribute commands on several events to be triggered by switches, especially not if those triggers are for move commands and on parallel process.
That seems to have worked great. Thank you.
I will try to keep these things in mind.

However, a new problem has arisen.
After I go through the doorway, when I return to the room with the bookshelf, all the events have returned to their original positions and the player becomes stuck in the wall.

How do I keep the bookshelf moved permanently?
there is a plugin from Shaz "remember event position" or so, you need to install that and give the command inside the move routes for all events.

Original thread: https://forums.rpgmakerweb.com/threads/moving-bookshelf.81637/