Board Thread:Questions and Answers/@comment-28847619-20160625220657/@comment-26887879-20160626121911

Apart from not killing anyone, you need to befriend both Papyrus and Undyne. You can befriend Alphys only after Omega flowey battle.