How do i get two events to activate at the same time

Hi guys you see I have another problem, I have a bed that is going to change from clean to dirty and it has to be two events so that the whole bed is in an event. Problem is I don't know how to make two events change at the exact time. if anyone could help that would be nice
Use a switch.

Both pieces of the bed are individual events right?

Both events have their clean state in page 1 without a condition and their dirty state in page 2 bound to a switch.

And then when you flip the switch both bed pieces will turn dirty at the same time.
I don't own MZ, so feel free to ignore me.
I hate to use a switch where a self-switch will do.
Have the change happen on parallel event pages that have self-switches as conditions.
When you activate one bed event, change the self-switch in the other bed event.
How do you access a self-switch on an event you didn't activate?

See this thread:

This thread talks about a KadokawaPlugins called OuterSelfSwitch.js (ships with MV, maybe it works with MZ) which uses a simple plugin command to change a self-switch.

Alternatively, that thread also talks about easily scripting that functionality with a single line of code.
I don't know, it might be more work but it keeps the game logic with the event instead of spreading it throughout the switches.
OKay thank you guys

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/how-do-i-get-two-events-to-activate-at-the-same-time.139389/