In the demo game, potions don't seem to do anything. I've tried to heal Yeximon both during and outside battle, and nothing happens.
Yes, this is a known bug in the demo. Which us why you should update the Yeximon_battle.js with the newly updated one!