In my current run through your excellent mod i encountered 3 dialogue related problems.
First i encountered problem with Ailoth Tam's dialogue. After i talked with him he leaves but global "ys_TalkedToAiloth" didn't get set as "1".
Maybe problem could be solved at YSAILOTH.D by changing:
IF ~Global("ys_TalkedToAiloth","GLOBAL",0) Global("ys_FoundWizard","GLOBAL",1)~ THEN BEGIN BLK19 SAY @1666 IF~!InParty("Jaheira")~THEN DO ~EscapeArea() SetGlobal("ys_TalkedToAiloth","GLOBAL",1) AddJournalEntry(@37,QUEST)~ REPLY @1667 EXIT IF~InParty("Jaheira")~THEN DO ~EscapeArea() SetGlobal("ys_TalkedToAiloth","GLOBAL",1) AddJournalEntry(@37,QUEST)~ REPLY @1668 EXIT END
to:
IF ~Global("ys_TalkedToAiloth","GLOBAL",0) Global("ys_FoundWizard","GLOBAL",1)~ THEN BEGIN BLK19 SAY @1666 IF~!InParty("Jaheira")~THEN DO ~SetGlobal("ys_TalkedToAiloth","GLOBAL",1) AddJournalEntry(@37,QUEST) EscapeArea()~ REPLY @1667 EXIT IF~InParty("Jaheira")~THEN DO ~SetGlobal("ys_TalkedToAiloth","GLOBAL",1) AddJournalEntry(@37,QUEST) EscapeArea()~ REPLY @1668 EXIT END
Maybe EscapeArea() causes problem and putting it last, maybe then SetGlobal works better. Sadly i don't have prior save so i can't test this.
Second problem is at Maredudd Bengoch dialogue.
At YSBENGCH.D block 72 is:
IF ~~ THEN BEGIN 72
SAY @4228
IF~CheckStatLT(Myself,15,CHR)~THEN REPLY @4229 GOTO 73
IF~CheckStatGT(Myself,14,CHR)~THEN REPLY @4230 GOTO 74
END
and block 83:
IF ~~ THEN BEGIN 83
SAY @4242
IF~CheckStatLT(Myself,15,CHR)~THEN REPLY @4243 GOTO 84
IF~CheckStatGT(Myself,14,CHR)~THEN REPLY @4244 GOTO 85
END
I think that "Myself" should be something else maybe "Player1".
Third problem is starting store at Basimah dialogue in Imradim.
At YSBASIMA.D:
IF ~~ THEN BEGIN 16 SAY @2928 IF~~THEN REPLY @2929 DO~SetGlobal("ysTalkedToBasimah","GLOBAL",2)~ EXIT IF~~THEN REPLY @2930 DO~SetGlobal("ysTalkedToBasimah","GLOBAL",2)~ EXIT END
That block should start store but it's missing "StartStore" so maybe it should be like this:
IF ~~ THEN BEGIN 16 SAY @2928 IF~~THEN REPLY @2929 DO~SetGlobal("ysTalkedToBasimah","GLOBAL",2) StartStore("ysBasima",LastTalkedToBy())~ EXIT IF~~THEN REPLY @2930 DO~SetGlobal("ysTalkedToBasimah","GLOBAL",2)~ EXIT END
I may be wrong about these issues (maybe fixed already) but though to mention these to you so that you can check them.