Team Leader Specific Battle Themes?

Okay, I'm finally gonna ask about something because I simply can't figure it out and everything I tried here didn't work.

I want to make it so that when team formation is swapped to have a different leader, the music changes to that character's theme, but no matter what I've tried, I can't get it to work. And I have looked around on the forum for a while, trying things people said should work, but nada.

Also, how do you include an opening video to the game, sort of like a theme song? I'm thinking of doing something similar to Shining Force EXA's and all the Tales of games' openings, but I can't figure out how to do that either.
If you make a variable containing the Actors ID, and make the condition branch based on the hero number, it should let you do what you want to do.
Actually, it depends on if you are using random or visual battles. If it is random, you'll need a plug-in. There's no other way around that. If visual, you can check which actor it is, and change the battle BGM before calling the battle event.
If you make a variable containing the Actors ID, and make the condition branch based on the hero number, it should let you do what you want to do.
I already tried that approach and nada.

Actually, it depends on if you are using random or visual battles. If it is random, you'll need a plug-in. There's no other way around that. If visual, you can check which actor it is, and change the battle BGM before calling the battle event.
What's the plugin?
There probably isn't one. You will probably have to request one.
As far as I know it doesn't exist yet.

I've moved this thread to Plug-In Requests. Thank you.

I made this plugin for you; I will notify you when it has been approved by the moderators.
@dbchest : Should be approved now. Link away!
thanks guys, you can find the plugin at its official thread.

Original thread: https://forums.rpgmakerweb.com/threads/team-leader-specific-battle-themes.84911/