Hey IDK if you'll read this OP but my recommendation for your game would be a complete rework of your story portion then divide things differently.
1) You don't necessarily need to change the full story (though it needs more depth, both in details and descriptiveness) but by rebuilding you can more easily add the bones necessarily for the everything here.
2) Use all the flags and variables, (maybe add tags too). This will require touching the precious pill game some but taking certain pills plants a flag, than in the story it will only display messages related to the present flags. (You seem to have a couple but you need more!) Then of course variables will also help that.
3) Make a full coherent list of character their preferences, their attitudes and how they react to characters both homosexuality and heterosexual, hermaphrodites and everything else, and for heavens sake use the flags.