Help removing battle start "music"

I want the map BGM to continuaslly play in the background even if there is a battle.. How do i go about achieving this?

I know I can set the battle start to 'none' in the system settings, and change the battle music to the background music.... BUT if i do that I cant have multiple background musics.... I want the music for the battle to carry over from the background music for multiple areas and different BGMs.
If you are still searching for a solution to this: Open the script-editor. In the default scripts there is a line in "Scene_Map" (you can find the line by doing global-search CTRL+Shift+F) that looks like this:

Ruby:
    BattleManager.play_battle_bgm

Just add a "#" to the start for commenting-out (or if you totally know what you are doing, remove the entire line; I don't recommend to do so!).

Ruby:
    # BattleManager.play_battle_bgm

That should do it. There is also the exact same line inside "DataManager". You can keep it there unless you want the battle-debugger you can run from the troops-tab in database to feature no music at all (which you can also achieve by simply setting BGM for battle to none, so...).

Make sure to not define an ME-jingle for battle-end case if you want the BGM to run without interruption after a victory. Also, ME for gameover may be problematic if you lose a fight inside an event that the player is allowed to lose, but I'm not sure about that.

In case you are planning to change BGM mid-battle and want to still play it after battle has ended, there is still work to do. Now you search for the following lines inside "BattleManager":

Ruby:
  def self.save_bgm_and_bgs
Ruby:
  def self.replay_bgm_and_bgs

These are the functions, just do a commenting-out of their contents:

Ruby:
  def self.save_bgm_and_bgs
    @map_bgm = RPG::BGM.last
    @map_bgs = RPG::BGS.last
  end
Ruby:
  def self.replay_bgm_and_bgs
    @map_bgm.replay unless $BTEST
    @map_bgs.replay unless $BTEST
  end

Afterwards they'll look like this:

Ruby:
  def self.save_bgm_and_bgs
    # @map_bgm = RPG::BGM.last
    # @map_bgs = RPG::BGS.last
  end
Ruby:
  def self.replay_bgm_and_bgs
    # @map_bgm.replay unless $BTEST
    # @map_bgs.replay unless $BTEST
  end

This method changes the game's behaviour permanently! Just let me know if you need a solution that is needed to operate only while specific conditions are met and not for the entire game.

~炬燵あ
Hi Akira
No I have not found any help so far and this is gold! I have found
BattleManager.play_battle_bgm
and then also the line after which was also something about battle music starting idk...
anyway they are gone and now my friends sound track which he has personally made for the game will be able to work as intended I am very relieved.
Thank you

Original thread: https://forums.rpgmakerweb.com/threads/help-removing-battle-start-music.145311/