Save-Point
Battle : Use Map BGM - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: Battle : Use Map BGM (/thread-5814.html)



Battle : Use Map BGM - Kain Nobel - 06-04-2016

Introduction

A script that allows the developer to override the Battle BGM and use Map BGM in combat instead.

See Also : Battle : Disable Battle End ME

Instructions

Place below default scripts and above Main.

All you have to do is set your Battle BGM to (none) and Map BGM will continue to play while you're in battle. Alternatively, if Map and Battle BGM are the same, then you no longer should have to worry about the music being interrupted between transitions.

You can use an Integer Switch ID for this effect.
Code:
BattleUseMapBGM = 3

You can use an Array of Switch IDs for this effect.
Code:
BattleUseMapBGM = [1, 3, 17, 191]

You can simply set as true for this effect.
Code:
BattleUseMapBGM = true

Script

Content Hidden

Compatability

Written for RPG Maker XP. Please tell me if this works in VX or VX Ace; if it does, I'll change the topic icon.

Author's Notes (Pointless Trivia)

Sometimes Final Fantasy 7 does this, where the current Map BGM is used instead of the standard Battle BGM. Notable tracks include...
  • "Bombing Mission"
  • "Hurry!"
  • "Trail of Blood"
  • "Aerith's Theme"
  • "Hurry Up"
I believe the RMXP game Master of the Wind did, too. I'm not sure if they were using my script or not though.

Credits

Free to use in commercial and non-commercial games. Just credit Kain Nobel and enjoy!