I believe that your code is ok!
However, I'm quite sure that the last entry of Helen has the ENTIRE bar filled, and I did nothing but please her! So that value must be >= 100%.
Also, I never let Tanya down. Her bar is at least 2/3 full, so that must be above 50%.
I'm wondering if there is a way to check the attribute values before entering this screen?
Do the values rotate to 0 when they go above 100%, i.e. 120% becomes 20%?
How can I check if I have the right values? Can you check your code if there is a place where the attribute value LOWERS (or is set at a specific low value) WITHOUT displaying the relationship bar for a short while?
What I'll try out for now is to keep Helen below 100%, to see if that makes a difference for the ending.