10-08-2009, 10:46 PM
No, this isn't possible to do with events. Trust me, I always check that first. XD You can do the basic - turn off the battle music, but you can't make the background music keep playing. Here's the battle call from Scene_Map:
Those RPG::BGM.stop and RPG::BGS.stop can't be changed via events; they're built into the system. In my script I just commented those lines out and, for the ones where you choose the maps, added a conditional branch.
I may look into doing it for XP in the future, but for now I've only got the VX version.
Code:
def call_battle
@spriteset.update
Graphics.update
$game_player.make_encounter_count
$game_player.straighten
$game_temp.map_bgm = RPG::BGM.last
$game_temp.map_bgs = RPG::BGS.last
RPG::BGM.stop
RPG::BGS.stop
Sound.play_battle_start
$game_system.battle_bgm.play
$game_temp.next_scene = nil
$scene = Scene_Battle.new
end
I may look into doing it for XP in the future, but for now I've only got the VX version.