I'm not 100% sure but I think you have to have all positive interactions with Riley (agree on mint cookies suck, take control when she teases, pineapple pizza is good, forgive about betrayal). There may be more but I can't think of all of them.