Transition BGM when passing a certain point in the map?

Okay so. There's a map I have where half of it is a path and the other half is a town. I have specific songs for each half of the map that I want to use. My question is how do you properly set this up?


My thinking is I'll need 2 events. Both will fade out whatever bgm is playing, but after the fadeout play the path bgm if I'm going left and the town bgm if I'm going right. Is this the right way to go about it?
Pretty much.  You could use a single event, fade out the BGM, then use a conditional branch to see which way the player is facing and play the new BGM depending on whether they're entering or leaving town.  I'd suggest you add a Wait before the play BGM, just to give the previous BGM a chance to fade out.


The problem exists though, and would still need to be dealt with if you used two events, of what happens if the player just steps onto the tile then turns around.
Is it possible to make the event slide the player one space in the direction they're facing? If so, how?
Sure.  Do a move route and make the player move one step forward.  So something like this:

Code:
Fadeout BGM
Set Move Route (Player) (Wait for completion): Step Forward
Conditional Branch: Player is facing Right
  Play BGM Town
Else
  Play BGM Path
End

The wait for completion on the step forward just makes the next command wait, so gives a chance for the current BGM to fade out while they're getting off that tile.  You don't need to worry about whether the player is facing right or left for the move route - just use step forward and they'll keep going in the same direction.
Oh right, I just put a move player command in the conditional branch where the player is facing. Thanks for the help!
Not IN the conditional branch - put it before it.  You want to move them forward, regardless of which way they're facing.  Just put the commands in the same order I showed you.
Yeah I saw the post before I set it up. Thanks again!

Original thread: https://forums.rpgmakerweb.com/threads/transition-bgm-when-passing-a-certain-point-in-the-map.70068/