I'm sorry, I should have been more clear.
I want to modify the Equip System to act as a UI for selecting magic spells. Just like the Equipment System, pauses the game when selecting the items, I want it to do the same but replace them with magic spells. Once the spell is selected, I'd like the selection arrow to rotate between actors currently present on the screen (to be able to select which actors are impacted by which spell). Below is a YouTube video of Secret of Mana as a reference. Its an SNES game so I'm not expecting it to be as polished but just something to get started with.