MZ Paper Mario Badge System

I am looking for a way to recreate the badge system that was in the first 2 Paper Mario games. With the badge system, you get a number of badge points, and you can equip badges that take up badge points. When you equip badges, you can get moves to use in battle and other skills. Each badge takes up a different amount of badge points, and you can take them on and off. For example, they can give you another move, or they can increase your HP. I can't find a plugin for this and I am wondering if anyone can help with this.
Total Badge Points would be a control variable that you can increase on level up or through events. Available badge points would be another control variable. The badges would be items in the item database or equipment in the equipment database and you could use note tags in the notebox to store the associated effects(add skill to player, +5HP, etc) and a second note tag for the badge point cost.

Original thread: https://forums.rpgmakerweb.com/threads/paper-mario-badge-system.155319/