Losing to the mobs three times changes the fight mechanics, NPC dialog, and now boss battle in various ways. Note that if you fight the boss before getting those three losses you'll be locked in to the other endings, so you might want to drop a save before that.