Our story takes place after the true pacifist route, there was no genocide route done before this so Chara never made the soul deal with frisk, after frisk left the underground Chara's ghost faded, trapped underground and waiting for another soul as strong as the determination soul to reawaken her.