This is not BG1UB. The changes to the dialogue concens the charmed dialogue. BG1UB introduces a check whether she has the ring she is talking about, and makes her give it to the PC.
Could it be you have other mods installed? What platform are you on (Tutu, BGT)?
The ftobe5.dlg with BG1UB installed looks like this (Bg1+TotSC, no other mods installed). The only difference to the original dialogue is in state no 4.
// creator : weidu (version 22900)
// argument : FTOBE5.DLG
// game : .
// source : ./override/FTOBE5.DLG
// dialog : ./dialog.tlk
// dialogF : (none)
BEGIN ~FTOBE5~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////
IF WEIGHT #1 /* Triggers after states #: 4 even though they appear after this state */
~NumTimesTalkedTo(0)
ReactionGT(LastTalkedToBy(),NEUTRAL_UPPER)
~ THEN BEGIN 0 // from:
SAY #8142 /* ~Well, hello there. I fear you have....um...."mistaken".... my unlocked door as an invitation to enter. Forgive me if this was misleading, as it was not my intent to allow entry to just any stranger off the street. Please accept my.....apologies, but I should appreciate it if you would leave. Mine husband is one of the guards and I should think he would be perturbed if there were people milling about his house when he got home. ~ */
IF ~~ THEN EXIT
END
IF WEIGHT #2 /* Triggers after states #: 4 even though they appear after this state */
~NumTimesTalkedTo(0)
ReactionLT(LastTalkedToBy(),FRIENDLY_LOWER)
ReactionGT(LastTalkedToBy(),HOSTILE_UPPER)
~ THEN BEGIN 1 // from:
SAY #8143 /* ~I should not like to appear rude, but you have entered mine house without permission. I hardly think merely having an unlocked door is an invitation. Leave, lest my husband extricate you himself when he returns from guard duty. ~ */
IF ~~ THEN EXIT
END
IF WEIGHT #3 /* Triggers after states #: 4 even though they appear after this state */
~NumTimesTalkedTo(0)
ReactionLT(LastTalkedToBy(),NEUTRAL_LOWER)
~ THEN BEGIN 2 // from:
SAY #8144 /* ~You must be a considerable fool to enter this house uninvited. Best that you should leave, because if I call the guard there is a good chance my husband will be with them. No doubt he would expel you from his own house with....extra vigor. ~ */
IF ~~ THEN EXIT
END
IF WEIGHT #4 /* Triggers after states #: 4 even though they appear after this state */
~NumTimesTalkedTo(1)
~ THEN BEGIN 3 // from:
SAY #8145 /* ~My husband should be here soon; I would suggest that you leave.~ */
IF ~~ THEN EXIT
END
IF WEIGHT #0 ~StateCheck(Myself,8192)
HasItem("RING01",Myself)
~ THEN BEGIN 4 // from:
SAY #8146 /* ~I wish I could run away with you darling, but my husband can be such a jealous man. I wouldn't want to arouse his wrath. Take this ring, with which you may always remember me.~ */
IF ~~ THEN DO ~GiveItem("RING01",LastTalkedToBy)
~ EXIT
END
IF ~~ THEN BEGIN 5 // from:
SAY #9063 /* ~Get away from me!~ */
IF ~~ THEN EXIT
END
IF WEIGHT #5 ~NumTimesTalkedTo(2)
~ THEN BEGIN 6 // from:
SAY #15755 /* ~I told you my husband would be here!~ */
IF ~~ THEN DO ~CreateCreature("FLAMHUSB",[490.458])
~ EXIT
END