How to change or add skills during battle?

I had this unique idea where one of my characters in my game change her ability in game after using it... It goes like this:

She casts ability #1, ability #1 disappears and it is replaced by ability #2. Casting ability #2 will disappear and changed by ability #3 and the list goes on...

The problem is, I don't know how to do it DURING battle. Please let me know if there are any ways to do it!
I hope this helps
Exactly what I was looking for, thank you!
No problem!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-or-add-skills-during-battle.84083/