A Background Music playing outside of battle, and still playing after battle starts?

Hello there!

In my newest project I wanted something similar to Bosses in Persona 2: Eternal Punishment. When boss shows up, a Boss Battle theme starts (yet not the battle). Characters have a short talk, and then the game changes into full battle, but still, the same theme is heard and it doesn't starts again when the battle starts.. music is still there. I want to know how to do that? Some kind of script? (I'm new to scriptcing, and probably won't write any of them)

If you didn't understand, this is what I'm talking about:

(0:33 is when you can easily notice what I'm talking about. 0:35 is the start of Boss Battle Theme)
It's rather simple. If your map theme is called something like "Forest_01", then you have to use an event command to change battle music to "Forest_01." It's on Page 3 of the event commmands and is called "Change battle BGM..."
It's rather simple. If your map theme is called something like "Forest_01", then you have to use an event command to change battle music to "Forest_01."

Yeah, but I want the music to still play, not even change.. normally when battle starts, it replays a single .ogg file, while I don't want to play it once it fully starts, but for example when the boss shows up.

Still, I'll try it.
Yeah, but I want the music to still play, not even change.. normally when battle starts, it replays a single .ogg file, while I don't want to play it once it fully starts, but for example when the boss shows up.

Still, I'll try it.
It works in MV like that, I THINK it works like that in VX ace. But I am not certain. Yes, you should try it.
Does not work..

9nGId
Does not work..

9nGId
That's too bad. I'll see if I can figure it out. I will tell you if I do.

EDIT: @Igorq391 Hmmmm...I tried it in VX Ace and it works for me.
Can you send me a screenshot of your event?
If your map music is Map01 and your regular battle music is Battle01 and your boss battle music is Boss01, Map01 will be playing when you enter the map. When you interact with the event and want the boss music to play, do Play BGM Boss01 and also Change Battle BGM Boss01. This should stop the boss BGM restarting when you go into battle. After the battle, do Change Battle BGM Battle01 to set it back to the regular music. I'm not sure if you need to also do Change BGM Map01 to reinstate the map BGM - I suspect you probably do.
My game vid

My event
Spoiler
QtVmmta_Q-Sjh9cMMaZSqg.png
Worked well
My game vid

My event
Spoiler
QtVmmta_Q-Sjh9cMMaZSqg.png
Worked well

What I did. Worked well.
If your map music is Map01 and your regular battle music is Battle01 and your boss battle music is Boss01, Map01 will be playing when you enter the map. When you interact with the event and want the boss music to play, do Play BGM Boss01 and also Change Battle BGM Boss01. This should stop the boss BGM restarting when you go into battle. After the battle, do Change Battle BGM Battle01 to set it back to the regular music. I'm not sure if you need to also do Change BGM Map01 to reinstate the map BGM - I suspect you probably do.

Thank you soooo much! It works!

Original thread: https://forums.rpgmakerweb.com/threads/a-background-music-playing-outside-of-battle-and-still-playing-after-battle-starts.89756/