Well, I dropped Imoen Romance ever since it caused problems with the BG1 portion of the game.
I frequently check to see whether the NPCs have anything to say when in the party. Funnily enough, making the protagonist talk to Imoen after Gorion died to Sarevok caused the exact same bug you detailed.
Well, here is the rundown of this error.
1. I make the protagonist talk to Imoen
2. Then you get the following screenshot:
3. In the 'Yeah, something up?' line (about state 2357 in IMOEN2J.DLG), you get two choices: the one on the screenshot and one that says 'No..nothing' or something similar. Pressing 'No' basically terminates the dialogue
4. The 'Huh?' line starts a cutscene 'ImAssign' which basically changes Imoen's OVERRIDE script to IMOEN2, which is NOT what the
BGT transition sets (this is IMOEN)
5. Then, the following lines of code trigger, giving Immy
XP.
IF
Global("hf_XPup_Imoen","GLOBAL",0)
XPLT(Player1,150000)
THEN
RESPONSE #100
AddXPObject(Myself,350000)
SetGlobal("hf_XPup_Imoen","GLOBAL",1)
END
IF
Global("hf_XPup_Imoen","GLOBAL",0)
XPGT(Player1,150000)
THEN
RESPONSE #100
SetGlobal("hf_XPup_Imoen","GLOBAL",1)
AddXPObject(Myself,1000000)
END
6. Very weird for my liking.