This is from the file KaoriEvents.rpy in game folder. kaoridate25 is the name of Kaori's last event.
if ((totaldays >= 480) and (chap1point + chap2point >= 203) and (happypoint + happymiss >= 13) and (chikapoint + chikamiss >= 24) and
(yumipoint >= 20) and (ayanepoint + ayanemiss >= 24) and (sanapoint + sanamiss >= 22) and (makotopoint + makotomiss >= 21) and (mikupoint >= 21) and
(rinpoint + rinmiss >= 24) and (futabapoint + futabamiss == 25) and (amipoint + amimiss == 22) and (nikipoint >= 6) and
(mayapoint + mayamiss >= 20) and (mollypoint >= 14) and (tsuneyopoint >= 14) and (utapoint >= 9) and (iopoint >= 9) and (otohapoint >= 9) and (nodokapoint >= 5)
and (toukapoint >= 9) and (yasupoint >= 5) and (norikopoint >= 11) and (kirinpoint + kirinmiss >= 19) and (wakanapoint >= 2) and (osakopoint >= 2) and (yukipoint >= 4) and (tsubasapoint >= 2)
and (sarapoint + saramiss >= 10) and (harukapoint + harukamiss >= 10) and (karinpoint + karinmiss >= 7) and (kaoripoint >= 7) and (makipoint + makimiss >= 7) and (chinamipoint >= 5) and (day == 6)):
jump kaoridate25
It basically means you need all events (main events, character events and happy events), save for Ami's last four and obviously Kaori's last. Also total days played have to be 480+