Controlling 2 event tiles with 1 event

I have a prison cell that is 2 tiles, I want to essentially make both tiles change picture after a battle so the cell now appears open.

1646937722891.png


I want the bottom middle tile to control the tile above it and change after the battle to appear this way:

1646937802312.png


It sort of works now, however that top tile changes image the second I cross over it(with player touch) or (event touch) so its just slightly annoying to not be super smooth and together at same time.

This is the top tile currently

1646937931202.png



and this is the bottom tile

1646937956177.png



Any idea on how to make it a smooth transition to have both tiles change at same time?
set the the moveroute on both events to be open,
1 to wait, the bottom event to wait.

its explained in the inbuilt tutorial though.
In the bottom event, where you turn its self switch A on, do a "script" command with

$gameSelfSwitches.setValue([the map id, 15, 'A'], true)

Then set the top one to action button and take out the self switch command.

Interacting with the door will turn on the self switches of both events, and they'll swap pages at the same time.
This worked perfectly thank you. For my own knowledge, what exactly was the "15" in the script referring to tho?
This worked perfectly thank you. For my own knowledge, what exactly was the "15" in the script referring to tho?
The event ID. That number will change to match the ID of whichever event's self switch you're manipulating.
ahh its the event id... found it.

any reason why when I do movements for an event of an npc, they appear but never move?

1646977192098.png

They are on walkable tiles, nothing is blocking them, they just stand still and wont move
Essentially, the prison cell gate opens, the text pops up, then the guard on left of map walks towards player and engages a battle... cant seem to get the guy to move

1646978269627.png
1646978367958.png


and here is the guard event

1646978390787.png
Not sure I understand everything that's going on, but your Guard event page 2 has no condition (so page 2 is always in effect). It also has no image (are you controlling the image and event from somewhere else?). Also the guard page 2 trigger is set to action button, so the contents written there won't take effect unless the guard event is interacted with. Also, at the moment the "set movement route" command is set to "player", not the guard event 23.

You could make everything happen in the event where you interact with the cell door. Have the guard talk and move and start a battle in page 2 of that event, after you've changed the cell door graphics to open.

@ChoVah, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.

@ChoVah you scriptcall is wrong with mapID 002 (leave out the 0)
which cause troubles, so mapID 002 = just 2 (same thing with variables
and switches, if it has 000 in front, leave those out.
I appreciate it! Got it all to work, thanks for your time and help!

Original thread: https://forums.rpgmakerweb.com/threads/controlling-2-event-tiles-with-1-event.145633/