I have a situation where I have a encounter sound for random encounters, but I would also like to change the encounter sound before a boss fight (like the MOTHER trilogy), then back to the original encounter sound for further random encounters. How would I do this?
EDIT: Title changed for clarification (is shown to clearly be needed by post below)
You will just have to add an event command 'change battle BGM' before the battle process, and the song will play during the fight. Then you just have to add another 'change battle BGM' after the battle process in order to change to the original one.
In other words like this in a event:
Change battle BGM: 'Boss battle song'
Battle Processing: Boss number 1
Change battle BGM: 'Original battle song'
What encounter sound? I don't recall that being part of the editor.
The only thing I could find is:
# Battle Start
def self.play_battle_start
play_system_sound(7)
But since It's taken from the database variable (or $data_system), there's not much to do with it.
I guess you will need to script it.
Oh ya there was something like that...
You'll have to do some scripting to change the sound used. Depending on whether it's an evented battle or a random encounter it might be more complicated.
You can use script calls in events.
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.