Mechanic similar Pokemon's Dynamax feature in battles

Hello,
I'm thinking of implementing a similar battle mechanic to the dynamax battles from Pokemon Sword and Shield games. Essentially, this is a boss battle where the boss starts out huge (taking up the height of screen basically) and then once it gets to below a certain level of health (say 50%), it shrinks down to normal size allowing the player to capture it and join their team. I've found a few enemy capture plugins I can use, but not sure if there's a way to event it to where the enemy shrinks down to 50% of their size. All of my bosses are using dragonbones and I know I can scale them down to have them in different sizes but I'm not sure how to go about eventing it to happen when the enemy reaches 50% health or below.

Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/mechanic-similar-pokemons-dynamax-feature-in-battles.161368/