Ok, I'm trying to make a common event that will switch the backround music depending if I'm in the Blizz-ABS ABSEAL range.
"Disable ABS controls: when no enemies are within ABSEAL range"
Basically I'm trying to set up battle music for use with Blizz-ABS. Blizzard already mentioned that "$game_
temp.in_battle" should set up the condition if the ABSEAL range is on. So I've made the following eventing script.
@>Conditional Branch: script: $game_temp.in_battle
@>Conditional Branch: Variable [0009]battle music == 0
@>Memorize BGM/BGS
@>Change Variable: [0009]battle music = 1
@>
: branch end
@>Fade out BGM: 4 sec
@>wait 20 frames
@>Play BGM: '005-boss01', 85, 100
@>Label: battle
@>Conditional Branch: script $game_temp.in_battle
@>Wait 20 frames
@>Jump to Label: battle
@>
: Else
@>Jump to Label: BGM
@>
: Branch End
@>
: Else
@>Label: BGM
@>Fade out BGM: 4 sec
@>wait 20 frames
@>Restore BGM/BGS
@>Control Variable: [0009]battle music = 0
@>Label: BGM2
@>Conditional Branch: script: $game_temp.in_battle
@>
: Else
@>Wait: 20 Frames
@>Jump to Label: BGM2
: Branch End
@>
: Branch End
@>
It works in changing the battle music however it wont reset to the memorized BGM, meaning it's probably looping somewhere I don't want it to. I've double checked the event pathing and I just can't quite figure out what's wrong. Also it starts playing the battle music whenever I activate an event such as teleports.
Also, in case you're wondering why I have conditionals with Jump to Labels, it's so that the music will keep playing unless the condition (in this case being in battle) are met, and then it should change. Or vice versa.