Change Encounter Sound For Bosses

I want to change the "Battle Start" system sound specifically for boss encounters. Unlike the Battle BGM, Victory ME, or Defeat ME there's no "Change Battle Start SE" Event Command. I tried finding a solution but all I could find was a thread about this same conundrum but for VX ACE (here) I tried what they did but it didn't work. How can I do this in MZ?
JavaScript:
$dataSystem.sounds[7].name = "filename"
JavaScript:
$dataSystem.sounds[7].name = "filename"
It worked! Thank you so much!
JavaScript:
$dataSystem.sounds[7].name = "filename"
Note that this will reset when the game page/app is closed, but not when choosing new/load game. To avoid related problems it could be reset soon afterwards, e.g. a troop event in the boss encounter with Condition: Turn 0 and Span: Battle.
Note that this will reset when the game page/app is closed, but not when choosing new/load game. To avoid related problems it could be reset soon afterwards, e.g. a troop event in the boss encounter with Condition: Turn 0 and Span: Battle.
Gotcha, that's pretty much how I thought it would work.

Original thread: https://forums.rpgmakerweb.com/threads/change-encounter-sound-for-bosses.176160/