walking trhu a door in the same map

I searched the forum but I cant find what I need 🙁

I try to make a door in a dungeon. When the hero touches it it opens and he can walk further.

However the door stays open. I try to close it with a closing sound but so far I had no succes.

I putted a screenshot of what I have so far.

Spoiler
door.jpg
Remove the player 1 step fwd unless the player can not enter back  there.

Make another event page with the condition parallel process and the open graphic door

then at the bottom of what you have on the first page do control self switch A 

on the next page put wait 180 frames or whatever

then play your close door sound then

do the door graphic closing animation so what you have in reverse ^

then control switch A off after that and it should work
You don't need an extra page set to parallel process. Just put the whole thing on the first page. Instead of turning on THROUGH for the door, turn it on for the PLAYER (in case they can't walk through the wall behind the door) and off again after they finish moving. Also make them take a few steps forward - one step is the usual for doors because it takes them INTO the door, at which point they'd normally be transferred elsewhere. Finally add the move route for the door to go backwards through the direction to show it closing, and a closing SE at the end.
Thank you Josh and Shaz.

I took Shaz his solution. Putted the solution also in this post. It works 🙂

Spoiler
door2.jpg
Now test if you can enter it from the other direction (if you need to be able to go the other way, that is).
I did, its passable both sides. When ya walking up the char goes up, and when ya walk down against it, the char goes down. In both cases the door opens and closes with the right sounds
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/walking-trhu-a-door-in-the-same-map.18067/