The functions used for the character to gain experience and level up need to be modified so that if the character gains enough experience in one battle to level up more than once the function continues leveling them up until their experience is less than the required experience for the next level.
The functions used for the character to gain experience and level up need to be modified so that if the character gains enough experience in one battle to level up more than once the function continues leveling them up until their experience is less than the required experience for the next level.