Complex sentence: Ultimately, the player reaches the castle and encounters Sans, who judges the player to see if they are worthy to face Asgore.
Split into simpler sentences: Ultimately, the player reaches the castle. Sans confronts the player and'judges' them on whether are worthy to face Asgore.