Smooth character transition

Hello,
is there an effective way, perhaps without using plugins, to achieve a 'fadeout' effect on characters when they enter a building?

I'm trying to use a common event that gradually reduces the character's opacity to 0 and then resets it to 255 (maximum) a few frames later. - I thought this could work, but the character reappears for a second before disappearing with the normal teleport fadeout.
What about not resetting it before the teleport, but instead with an autorun event immediately after entering the building?
On the door event loop the player opacity change script down to 0, then map transfer command, then on the next map set the player's opacity to 255 with a parallel or autorun event.
Could always turn transparency on after going through the shift of opacity. And then turn it back off when the player needs to re-appear.
Change the opacity to 0 before transfer. Then, in the other map, make an event with autorun trigger. Change player opacity to 255. Then do erase event. This makes sure that this event runs once whenever you enter the map.
Ok, thank you all!
On the door event loop the player opacity change script down to 0, then map transfer command, then on the next map set the player's opacity to 255 with a parallel or autorun event.
This worked perfectly for my game! Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/smooth-character-transition.162841/