merging MP and TP

ok, I like how user-friendly MP is, but I like the varying natural regeneration capabilities of TP.

I'm also planning on using this script to fine tune TP/MP gains:

https://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/tp-manager/#comment-26560

Now - is there a way to quickly and efficiently merge MP and TP?

I'd like to think that I could just change all instances of TP_ to MP_ and use that, but I'd rather not do all that legwork just to find out that it doesn't work.

I'm fully aware I could use 2 scripts (this, and another I have for making TP as avaialble as MP, though it requires tons of notetags), but ideally I'd like to just condense everything into just being MP, and use this (or something like it) to customize how it's regenerated.
You could use my system for mp. Skills cost a lot of mp in my game, but via a state applied at the beginning of the battle, 25% is regenerated each turn. (The state is 20%, the other is on the actor)

Then, just hide TP

Original thread: https://forums.rpgmakerweb.com/threads/merging-mp-and-tp.46357/