Honestly, what I ended up doing is getting a notebook and pencil, and when the final day comes, I check the stats to see how many times I did each activity with the girl in that cycle. When she dies, her last words are a hint, so next time I get that girl, I adjusted on that. Eventually, I got all 4 good endings this way. Hope this helps.