Had a weird glitch with Genesect where she was unbeatable. Her energy dropped down to ten, but then it stayed there no matter what I did or how many times I picked the right option
Her energy only goes down when she fires her cannon, it could be you just had bad RNG and she never fired it. I tested the battle again and it worked just fine for me