MZ Change Music when fighting certain enemies.

Hello, I was wondering if maybe someone had made or someone could make a plugin like this.

Basically input a code or something into the note box of the enemy and when you fight them, the music changes (mostly for reused bosses or mini-bosses).

Thank you. 🙂
Yanfly has a plugin for that where you can tie a bgm to the troop or the enemy, but its not one of the freebies
I don't think this needs a plugin. You should be able to change the battle music with a battle event, and then have it change back when the battle is over.
Sorry, i havnt been using RPG Maker in a while and decided to jump back in on MZ instead of MV. I will look into this, thanks.
I don't think this needs a plugin. You should be able to change the battle music with a battle event, and then have it change back when the battle is over.
You can, but troop events don't happen until after the battle starts, so you'd hear your default music for a second before it changes.

However, presuming your boss is not a random encounter (it's being called by an event), you can simply use the Change Battle BGM event command in that event before the battle even starts.
Man, I yeeted all my old MV files including my YEP plugins. Welp, back into hibernation I go. XD
There is already a plugin for this.
That's so crazy, because I commented on it too. Yea, I've been away too long.
That's so crazy, because I commented on it too. Yea, I've been away too long.
I literally came back here to say this xD

Original thread: https://forums.rpgmakerweb.com/threads/change-music-when-fighting-certain-enemies.162796/