Anyway in new home you fight asgore (or sans if u did genocide) after u defeat him he tells you that he felt bad for what he did and he just wanted to give the underground hope. Then if you say you forgive him he offers to leave his past behind and have him and toriel take care of you. The flowey comes in and kills asgore, takes the 6 human souls and turns into photoshop flowey. He’s really damn powerful to say the least. Eventually close to the end of the fight the souls stop obeying flowey and turn against him to help you. After hes defeated you can either finish him off or spare him. After that there’s some dialogue with sans and the game is over. Now if you do true pacifist yeh ending is way different. In hotland there’s a laboratory which is run by Dr. Alphys. It’s pretty unassuming at first but if you go to the basement in true pacifist, you get to a place called true lab. In here it’s revealed that alphys was injecting determination into monsters to see what would happen. And when she did the monsters began to melt and they melted together and basically became a bunch of zombie hive minds. (Determination is powerful. It allows a soul to persist after death but it doesn’t work good on monsters.) After your done with true lab you get a phone call. I forgot what the phone call says but it’s something along the lines of “I cant wait to see you again. I’ve missed playing with you” then when u go in teh elevator your taken right to new home. The asgore fight starts as normal then toriel comes in and stops it. She talks to u and asgore then all of your other friends come then every monster comes to appreciate you for being a good person. Then flowey comes. He absorbs the soul of every dead human and all the monsters and with them. Becomes a god. He turns into Asriel. This is because after Asriel died his ashes were spread across the garden. Then alphys took a flower from the garden and put determination in it. This made the flower alive and its sort of a reincarnation of Asriel. (Flowey also technically has part of the first human who fell underground in him, but that parts to complicated.) after u defeat Asriel and save all your friends he tries to kill you and your left on 0.0000000001 hp. He realizes what he’s done and he’s sorry. After this, he uses the power he has left to destroy the barrier. Then humans and monsters live in peace on the surface and it’s over.
Now this is very bare bones lore. If you want me to get into the deep stuff let me know.