I am attempting to understand the usage of OR(#) but I find it confusing, especially when used as shown where it appears there is nesting. Can someone explain which actions belong to the "OR" blocks which I've colored?
I think the commands shown below are not in the OR block, am I correct?
IF ~Global("ViconiaRomanceActive","GLOBAL",1)
IsValidForPartyDialog("Viconia")~ THEN EXTERN ~BVICONI~ 567
Thanks.
IF WEIGHT #15 /* Triggers after states #: 510 even though they appear after this state */
~Global("JaheiraMatch","GLOBAL",1)
Global("LoveTalk","LOCALS",22)
!StateCheck(Player1,STATE_SLEEPING)~ THEN BEGIN 188 // from:
SAY #21151 /* ~I... I worry sometimes...~ [JAHEIR83] */
IF
~OR(2)!Global("ViconiaRomanceActive","GLOBAL",1)
!IsValidForPartyDialog("Viconia")
OR(2)!Global("AerieRomanceActive","GLOBAL",1)
!IsValidForPartyDialog("Aerie")~ THEN GOTO 189
IF ~Global("ViconiaRomanceActive","GLOBAL",1)
IsValidForPartyDialog("Viconia")~ THEN EXTERN ~BVICONI~ 567
IF ~OR(2)
!Global("ViconiaRomanceActive","GLOBAL",1)
!IsValidForPartyDialog("Viconia")
Global("AerieRomanceActive","GLOBAL",1)
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~BAERIE~ 446
END