How to variables: if x = 2, then y = 3

I want to automatically use the correct words for men and women.

The first passage asks “Do you have a girlfriend or boyfriend?”

If they choose girlfriend, then:

$girlfriend = “girlfriend”
$her = “her”
$she = “she”

If they choose boyfriend, then:

$girlfriend = “boyfriend”
$her = “his”
$she = “he”

This is how I do it in Python/C#. I can’t figure it out in Harlowe 3!

Using [Twine 2] [Harlowe 3]