There were two battle phases. But as it was always possible to get just back up and as I was fighting with the trainer, I didn't consider it a boss fight. No, there wasn't a bug. I just thought that I would fight with a real enemy...
Ah gotcha, thanks for clarifying!