Here's a TSLPatcher version. I haven't tested it yet in-game, but it should work.
https://drive.google.com/file/d/1ggOoLY7gJs9wlXZr8eCJUB3hAp0-ZtAf/view?usp=sharing
Truthfully I know next to nothing about Juhani's Romance Dialogue as I have never played as a female revan. So unless I find inconsistency with the dialogue (for some reason), I really wouldn't know what is supposed to be there.
Please do!
i havent tested this on a completely fresh playthrough yet as I created right before star map #3 and accidently locked myself out of getting the boolean for IJuhaniR to properly set to True, but when I manually went in and set that right after completing leviathan the appropriate dialogue did play.
As for what changes I made to make this function, well basicslly Juhani’s DLG file and the Dantooine File I included, I went in an alrered every check made by her dialogue to look for a male character instead of a female one when determining whether or not to play her flirty dialogue. Then I went into her script (the hjuh_p17 file) and altered that from looking for = GENDER_FEMALE to GENDER_MALE and that script controls whether Juhani’s romance can activate
near as I can tell theres no reason it shouldnt work as I compared rhe syntax against other scripts that make use of the GENDER flag. I included two versions of the script, one which has been compiled and one which hasnt since I’m not sure which one is needed.
Anyway, if you find any planetary unique dialogue that I missed, please inform me so I can try to fix it.