How do I get BGS to play during a battle? (Make sure to check the tags on this post. They could be important.)

How would I get BGS to play during battles? Could someone send over a script that allows me to do so, or do I not even need a script at all?

In game, you know how it works. When you enter a battle, the BGS playing in the map will stop.
If you slap the BGS into the troop event menu, or, (in this case the battle is an event) if you put a play BGS command right before the battle command, the BGS will not play during the battle.

A quick google search leads to a steam forum, a really really old one, and the link to the script that allows BGS to play during battles is defunct.

And thus, why I made this post.

Does this really not work? I checked in MV and it would clearly work there. I also glanced at the equivalent VX Ace script and it looks like it should work there too.

If what you want is to preserve the BGS playing on the map, changing this in BattleManager should work:

def self.play_battle_bgm
  $game_system.battle_bgm.play
end

I’ve just deleted the line that stops the BGS. There’s likely a better way to do this, but that should at least work.

alright, sweet, thanks.