[FE8] How is the Eirika / Ephraim route split set up?

It is possible to set the route via simple events with a patch in builder (iirc the way the base game does it is a bit of a mess).