Obviously if Waffles doesn't win then it's an auto game over, since Doben would NEVER travel with MC and his girl. The racial tension seems to be high in this world, and Doben has zero patience for humans, from what we've seen so far.Please buy some lotto tickets because if I remember right it spawns clones
Without spoiling what will happen, it technically doesn't matter if Doben or Waffles is the Hero. Ed just has to join their party and be exiled from it to complete his mission.
Now granted it will be a whole hell of a lot harder if Waffles loses since Ed has no rapport with Doben, but Ed's decided to go for the best endings so he'll just have to figure that out if it happens.