Title explains the general premise of the bug. Was battling Barry rival and my Piplup took damage and underflowed to max health and then let me make an attack to end the battle. Health bar is glitched to show the health is not at max and upon trying to heal with potion, game states its already at max health.
Sorry if images are large. Playing on 4k monitors.