BEGIN ~USPAIRJ~

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",1)~ THEN BEGIN 0
  SAY @40979
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ1","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ1","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 34
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USXHAA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ1","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USXHAAJ~ 14
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",2)~ THEN BEGIN 1
  SAY @40983
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ2","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USXHAA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ2","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USXHAAJ~ 15
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ2","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 35
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USZACK)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ2","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USZACKJ~ 34
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ2","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 71
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ2","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USREIGJ~ 107
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",3)~ THEN BEGIN 2
  SAY @40992
  IF ~~ THEN REPLY @40993 DO ~SetGlobal("DIDBANTERUSPAIRJ3","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 3
  IF ~~ THEN REPLY @40994 DO ~SetGlobal("DIDBANTERUSPAIRJ3","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 5
  IF ~~ THEN REPLY @40995 DO ~SetGlobal("DIDBANTERUSPAIRJ3","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 6
  IF ~~ THEN REPLY @40996 DO ~SetGlobal("DIDBANTERUSPAIRJ3","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 10
  IF ~~ THEN REPLY @40997 DO ~SetGlobal("DIDBANTERUSPAIRJ3","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 6
END

IF ~~ THEN BEGIN 3
  SAY @40998
  IF ~~ THEN REPLY @40999 EXIT
  IF ~~ THEN REPLY @41000 EXIT
  IF ~~ THEN REPLY @41001 EXIT
  IF ~~ THEN REPLY @41002 GOTO 4
END

IF ~~ THEN BEGIN 4
  SAY @41003
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5
  SAY @41004
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6
  SAY @41005
  IF ~~ THEN REPLY @41006 GOTO 7
  IF ~~ THEN REPLY @41007 GOTO 8
  IF ~~ THEN REPLY @41008 GOTO 9
  IF ~~ THEN REPLY @41009 GOTO 4
  IF ~~ THEN REPLY @41010 EXIT
END

IF ~~ THEN BEGIN 7
  SAY @41011
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8
  SAY @41019
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9
  SAY @41012
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10
  SAY @41013
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11
  SAY @41068
  IF ~~ THEN EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN EXTERN ~USVUNAJ~ 43
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")~ THEN EXTERN ~USREIGJ~ 109
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",4)~ THEN BEGIN 12
  SAY @41072
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ4","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USXHAA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ4","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USXHAAJ~ 20
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USZACK)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ4","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USZACKJ~ 48
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USSERS)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ4","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USSERSJ~ 1
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVREK)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ4","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USVREKJ~ 19
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",5)~ THEN BEGIN 13
  SAY @41079
    IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
Or(3)
  Alignment(Protagonist,MASK_GOOD)
  LevelInClassGT(Protagonist,0,PALADIN)
  LevelInClassGT(Protagonist,0,DRUID)~ THEN REPLY @41081 DO ~SetGlobal("DIDBANTERUSPAIRJ5","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
    IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~
 THEN REPLY @41082 DO ~SetGlobal("DIDBANTERUSPAIRJ5","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 14
    IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVREK)")~
 THEN REPLY @41084 DO ~SetGlobal("DIDBANTERUSPAIRJ5","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
    IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
LevelInClassGT(Protagonist,0,DRUID)~ THEN REPLY @41085 DO ~SetGlobal("DIDBANTERUSPAIRJ5","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
    IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~
 THEN REPLY @41086 DO ~SetGlobal("DIDBANTERUSPAIRJ5","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ5","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 76
END

IF ~~ THEN BEGIN 14
  SAY @41087
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",6)~ THEN BEGIN 15
  SAY @41089
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ6","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ6","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USREIGJ~ 111
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",7)~ THEN BEGIN 16
  SAY @41113
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ7","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USZACK)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ7","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USZACKJ~ 49
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",8)~ THEN BEGIN 17
  SAY @41194
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ8","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USSERS)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ8","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USSERSJ~ 9
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ8","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 45
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",9)~ THEN BEGIN 18
  SAY @41200
  IF ~~ THEN REPLY @41201 DO ~SetGlobal("DIDBANTERUSPAIRJ9","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
  IF ~~ THEN REPLY @41202 DO ~SetGlobal("DIDBANTERUSPAIRJ9","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",10)~ THEN BEGIN 19
  SAY @41297
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ10","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USSERS)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ10","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USSERSJ~ 12
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USXHAA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ10","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USXHAAJ~ 32
END

IF ~~ THEN BEGIN 20
  SAY @41332
  IF ~~ THEN EXTERN ~USREIGJ~ 144
END

IF ~~ THEN BEGIN 21
  SAY @41334
  IF ~~ THEN EXTERN ~USREIGJ~ 145
END

IF ~~ THEN BEGIN 22
  SAY @41336
  IF ~~ THEN EXTERN ~USREIGJ~ 146
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",11)~ THEN BEGIN 23
  SAY @41360
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ11","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USVEIRJ~ 30
END

IF ~~ THEN BEGIN 24
  SAY @41362
  IF ~~ THEN EXTERN ~USVEIRJ~ 31
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",12)~ THEN BEGIN 25
  SAY @41364
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ12","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 70
END

IF ~~ THEN BEGIN 26
  SAY @41366
  IF ~~ THEN EXTERN ~USVUNAJ~ 71
END

IF ~~ THEN BEGIN 27
  SAY @41368
  IF ~~ THEN EXTERN ~USVUNAJ~ 72
END

IF ~~ THEN BEGIN 28
  SAY @41371
  IF ~~ THEN EXTERN ~USVUNAJ~ 74
END

IF ~~ THEN BEGIN 29
  SAY @41373
  IF ~~ THEN EXTERN ~USVUNAJ~ 75
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",13)~ THEN BEGIN 30
  SAY @41517
  IF ~~ THEN REPLY @41518 DO ~SetGlobal("DIDBANTERUSPAIRJ13","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 35
  IF ~~ THEN REPLY @41519 DO ~SetGlobal("DIDBANTERUSPAIRJ13","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 34
  IF ~~ THEN REPLY @41520 DO ~SetGlobal("DIDBANTERUSPAIRJ13","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 31
  IF ~~ THEN REPLY @41521 DO ~SetGlobal("DIDBANTERUSPAIRJ13","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 32
  IF ~~ THEN REPLY @41522 DO ~SetGlobal("DIDBANTERUSPAIRJ13","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ GOTO 33
END

IF ~~ THEN BEGIN 31
  SAY @41523
  IF ~~ THEN REPLY @41524 GOTO 38
  IF ~~ THEN REPLY @41525 GOTO 36
  IF ~~ THEN REPLY @41526 GOTO 37
  IF ~~ THEN REPLY @41527 EXIT
END

IF ~~ THEN BEGIN 32
  SAY @41567
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 33
  SAY @41528
  IF ~~ THEN REPLY @41524 GOTO 38
  IF ~~ THEN REPLY @41525 GOTO 36
  IF ~~ THEN REPLY @41526 GOTO 37
  IF ~~ THEN REPLY @41527 EXIT
END

IF ~~ THEN BEGIN 34
  SAY @41529
  IF ~~ THEN REPLY @41524 GOTO 38
  IF ~~ THEN REPLY @41525 GOTO 36
  IF ~~ THEN REPLY @41526 GOTO 37
  IF ~~ THEN REPLY @41527 EXIT
END

IF ~~ THEN BEGIN 35
  SAY @41530
  IF ~~ THEN REPLY @41524 GOTO 38
  IF ~~ THEN REPLY @41525 GOTO 36
  IF ~~ THEN REPLY @41526 GOTO 37
  IF ~~ THEN REPLY @41527 EXIT
END

IF ~~ THEN BEGIN 36
  SAY @41568
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 37
  SAY @41531
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 38
  SAY @41532
  IF ~~ THEN REPLY @41533 GOTO 44
  IF ~~ THEN REPLY @41534 GOTO 43
  IF ~~ THEN REPLY @41535 GOTO 43
  IF ~~ THEN REPLY @41536 GOTO 43
  IF ~~ THEN REPLY @41537 GOTO 43
  IF ~~ THEN REPLY @41538 GOTO 43
  IF ~~ THEN REPLY @41539 GOTO 43
  IF ~~ THEN REPLY @41540 GOTO 40
  IF ~~ THEN REPLY @41541 GOTO 39
END

IF ~~ THEN BEGIN 39
  SAY @41542
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 40
  SAY @41543
  IF ~~ THEN REPLY @41544 GOTO 41
  IF ~~ THEN REPLY @41545 GOTO 42
  IF ~~ THEN REPLY @41546 GOTO 41
END

IF ~~ THEN BEGIN 41
  SAY @41547
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 42
  SAY @41548
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 43
  SAY @41549
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 44
  SAY @41550
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSPAIRJ","GLOBAL",14)~ THEN BEGIN 45
  SAY @41558
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ14","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USZACK)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ14","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USZACKJ~ 77
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ14","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USVEIRJ~ 53
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVREK)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ14","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USVREKJ~ 48
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ14","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 93
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ14","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 99
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ14","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USREIGJ~ 158
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USSERS)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ14","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USSERSJ~ 22
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN DO ~SetGlobal("DIDBANTERUSPAIRJ14","GLOBAL",1)
SetGlobal("BANTERUSPAIRJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 94
END