 Nier defeats the pair , with Emil sacrificing himself to ensure his friends ' progress . The remaining group then defeats the Shadowlord , and discovers that he is the Gestalt form of the Nier from the prologue . Driven to protect his Yonah , he was the first Gestalt and has combined her with the Replicant Yonah . The original Yonah , however , tells the Gestalt Nier that she can hear the new Yonah inside her , and that she loves the Replicant Nier and deserves the body just as much . She vacates the body , and Nier and Yonah are reunited . 
