Displaying resources

I'm currently using Yanfly's Battle Status Window and I was trying to figure out how to set up resources.


I've got some classes that just use TP and classes that just use MP and I use a script to show TP as a resource if MP is at zero and MP if it's at 1 or more.


To make sure this looks correct, I've had to turn off the show TP option in the Database. Currently it looks like this:


http://imgur.com/KL7mXKy


If I turn on show TP in the Database, then it looks like this:


http://imgur.com/0CgP6Qj


My question is, is there any way I can set the bars up so strictly TP characters just show TP and MP characters show MP but classes that use both can show both?

Original thread: https://forums.rpgmakerweb.com/threads/displaying-resources.56920/