BEGIN ~USREIGJ~

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",1)~ THEN BEGIN 0
  SAY @40178
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ1","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 0
END

IF ~~ THEN BEGIN 1
  SAY @40180
  IF ~~ THEN EXTERN ~USGEOFJ~ 1
END

IF ~~ THEN BEGIN 2
  SAY @40182
  IF ~~ THEN EXTERN ~USGEOFJ~ 2
END

IF ~~ THEN BEGIN 3
  SAY @40184
  IF ~~ THEN EXTERN ~USGEOFJ~ 3
END

IF ~~ THEN BEGIN 4
  SAY @40186
  IF ~~ THEN EXTERN ~USGEOFJ~ 4
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",2)~ THEN BEGIN 5
  SAY @40235
  IF ~~ THEN REPLY @40236 DO ~SetGlobal("DIDBANTERUSREIGJ2","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 6
  IF ~~ THEN REPLY @40237 DO ~SetGlobal("DIDBANTERUSREIGJ2","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 10
  IF ~~ THEN REPLY @40238 DO ~SetGlobal("DIDBANTERUSREIGJ2","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 12
  IF ~~ THEN REPLY @40239 DO ~SetGlobal("DIDBANTERUSREIGJ2","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
END

IF ~~ THEN BEGIN 6
  SAY @40240
  IF ~~ THEN REPLY @40241 GOTO 7
  IF ~~ THEN REPLY @40242 GOTO 8
  IF ~~ THEN REPLY @40243 GOTO 9
END

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

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

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

IF ~~ THEN BEGIN 10
  SAY @40247
  IF ~~ THEN REPLY @40248 EXIT
  IF ~~ THEN REPLY @40249 GOTO 11
  IF ~~ THEN REPLY @40250 GOTO 11
END

IF ~~ THEN BEGIN 11
  SAY @40251
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 12
  SAY @40252
  IF ~~ THEN REPLY @40253 EXIT
  IF ~~ THEN REPLY @40254 EXIT
  IF ~~ THEN REPLY @40255 GOTO 13
END

IF ~~ THEN BEGIN 13
  SAY @40256
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",3)~ THEN BEGIN 14
  SAY @40257
  IF ~Race(Protagonist, ELF)
!SubRace(Protagonist, ELF_DROW)~ THEN REPLY @40258 DO ~SetGlobal("DIDBANTERUSREIGJ3","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 15
  IF ~Race(Protagonist, DWARF)~ THEN REPLY @40259 DO ~SetGlobal("DIDBANTERUSREIGJ3","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 15
  IF ~Race(Protagonist, HALFLING)~ THEN REPLY @40260 DO ~SetGlobal("DIDBANTERUSREIGJ3","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 15
  IF ~Race(Protagonist, HALF_ELF)~ THEN REPLY @40261 DO ~SetGlobal("DIDBANTERUSREIGJ3","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 15
  IF ~SubRace(Protagonist, ELF_DROW)~ THEN REPLY @40262 DO ~SetGlobal("DIDBANTERUSREIGJ3","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 15
  IF ~Race(Protagonist, HALFORC)~ THEN REPLY @40263 DO ~SetGlobal("DIDBANTERUSREIGJ3","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 15
  IF ~Race(Protagonist, GNOME)~ THEN REPLY @40264 DO ~SetGlobal("DIDBANTERUSREIGJ3","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 15
  IF ~~ THEN REPLY @40265 DO ~SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 17
  IF ~~ THEN REPLY @40266 DO ~SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 18
  IF ~~ THEN REPLY @40267 DO ~SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 19
END

IF ~~ THEN BEGIN 15
  SAY @40268
  IF ~~ THEN REPLY @40269 EXIT
  IF ~~ THEN REPLY @40270 EXIT
  IF ~~ THEN REPLY @40271 GOTO 16
END

IF ~~ THEN BEGIN 16
  SAY @40272
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 17
  SAY @40273
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 18
  SAY @40274
  IF ~~ THEN REPLY @40275 GOTO 20
  IF ~~ THEN REPLY @40276 EXIT
  IF ~~ THEN REPLY @40277 GOTO 17
END

IF ~~ THEN BEGIN 19
  SAY @40278
  IF ~~ THEN REPLY @40279 GOTO 17
  IF ~~ THEN REPLY @40280 GOTO 16
END

IF ~~ THEN BEGIN 20
  SAY @40281
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",4)~ THEN BEGIN 21
  SAY @40282
  IF ~~ THEN REPLY @40283 DO ~SetGlobal("DIDBANTERUSREIGJ4","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 22
  IF ~~ THEN REPLY @40284 DO ~SetGlobal("DIDBANTERUSREIGJ4","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 23
  IF ~~ THEN REPLY @40285 DO ~SetGlobal("DIDBANTERUSREIGJ4","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 25
END

IF ~~ THEN BEGIN 22
  SAY @40286
  IF ~~ THEN REPLY @40287 EXIT
  IF ~~ THEN REPLY @40288 GOTO 24
  IF ~~ THEN REPLY @40289 EXIT
END

IF ~~ THEN BEGIN 23
  SAY @40290
  IF ~~ THEN REPLY @40291 EXIT
  IF ~~ THEN REPLY @40292 EXIT
  IF ~Or(2)
  SubRace(Protagonist, ELF_DROW)
  Race(Protagonist, HALFORC)~ THEN REPLY @40293 GOTO 26
END

IF ~~ THEN BEGIN 24
  SAY @40294
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 25
  SAY @40295
  IF ~~ THEN REPLY @40296 GOTO 26
  IF ~~ THEN REPLY @40297 GOTO 24
END

IF ~~ THEN BEGIN 26
  SAY @40298
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",5)~ THEN BEGIN 27
  SAY @40299
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ5","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USXHAAJ~ 0
END

IF ~~ THEN BEGIN 28
  SAY @40302
  IF ~~ THEN EXTERN ~USXHAAJ~ 2
END

IF ~~ THEN BEGIN 29
  SAY @40304
  IF ~~ THEN EXTERN ~USXHAAJ~ 3
END

IF ~~ THEN BEGIN 30
  SAY @40310
  IF ~~ THEN EXTERN ~USXHAAJ~ 5
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",6)~ THEN BEGIN 31
  SAY @40312
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ6","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",7)~ THEN BEGIN 32
  SAY @40313
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ7","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",8)~ THEN BEGIN 33
  SAY @40314
  IF ~~ THEN REPLY @40315 DO ~SetGlobal("DIDBANTERUSREIGJ8","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 34
  IF ~~ THEN REPLY @40316 DO ~SetGlobal("DIDBANTERUSREIGJ8","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 35
  IF ~~ THEN REPLY @40317 DO ~SetGlobal("DIDBANTERUSREIGJ8","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 37
  IF ~~ THEN REPLY @40318 DO ~SetGlobal("DIDBANTERUSREIGJ8","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 38
END

IF ~~ THEN BEGIN 34
  SAY @40319
  IF ~~ THEN GOTO 35
END

IF ~~ THEN BEGIN 35
  SAY @40320
  IF ~InParty("USVUNA")
See("USVUNA",0)
!StateCheck("USVUNA", EX_NO_DIALOGUE)~ THEN EXTERN ~USVUNAJ~ 1
  IF ~Global("31BugGut_Dead","GLOBAL",1)~ THEN REPLY @40322 GOTO 40
  IF ~~ THEN REPLY @40323 GOTO 41
  IF ~~ THEN REPLY @40324 EXIT
  IF ~~ THEN REPLY @40325 GOTO 38
END

IF ~~ THEN BEGIN 36
  SAY @40326
  IF ~~ THEN EXTERN ~USVUNAJ~ 2
END

IF ~~ THEN BEGIN 37
  SAY @40328
  IF ~~ THEN REPLY @40329 GOTO 35
  IF ~~ THEN REPLY @40330 GOTO 38
END

IF ~~ THEN BEGIN 38
  SAY @40331
  IF ~~ THEN GOTO 39
END

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

IF ~~ THEN BEGIN 40
  SAY @40333
  IF ~~ THEN GOTO 39
END

IF ~~ THEN BEGIN 41
  SAY @40334
  IF ~~ THEN GOTO 39
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",9)~ THEN BEGIN 42
  SAY @40335
  IF ~SubRace(Protagonist, DWARF_GRAY)~ THEN REPLY @40342 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~SubRace(Protagonist, ELF_DROW)~ THEN REPLY @40336 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 43
  IF ~SubRace(Protagonist, DWARF_GRAY)~ THEN REPLY @40337 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 43
  IF ~SubRace(Protagonist, GNOME_DEEP)~ THEN REPLY @40338 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 43
  IF ~!SubRace(Protagonist, ELF_DROW)
!SubRace(Protagonist, DWARF_GRAY)
!SubRace(Protagonist, GNOME_DEEP)
CheckSkillGT(Protagonist,10,Knowledge_Arcana)~ THEN REPLY @40338 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 43
  IF ~SubRace(Protagonist, GNOME_DEEP)~ THEN REPLY @40339 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 45
  IF ~SubRace(Protagonist, ELF_DROW)~ THEN REPLY @40340 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~SubRace(Protagonist, ELF_DROW)~ THEN REPLY @40341 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~Or(2)
  Race(Protagonist, ELF)
  Race(Protagonist, HALF_ELF)
Or(2)
  SubRace(Protagonist, PURERACE)
  SubRace(Protagonist, ELF_WILD)~ THEN REPLY @40343 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 44
  IF ~Or(2)
  Race(Protagonist, DWARF)
  Race(Protagonist, GNOME)
Or(2)
  SubRace(Protagonist, PURERACE)
  SubRace(Protagonist, DWARF_GOLD)~ THEN REPLY @40343 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 44
  IF ~Race(Protagonist, HALFORC)~ THEN REPLY @40344 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 44
  IF ~~ THEN REPLY @40345 DO ~SetGlobal("DIDBANTERUSREIGJ9","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
END

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

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

IF ~~ THEN BEGIN 45
  SAY @40348
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",10)~ THEN BEGIN 46
  SAY @40349
  IF ~~ THEN REPLY @40350 DO ~SetGlobal("DIDBANTERUSREIGJ10","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 47
  IF ~~ THEN REPLY @40351 DO ~SetGlobal("DIDBANTERUSREIGJ10","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~~ THEN REPLY @40352 DO ~SetGlobal("DIDBANTERUSREIGJ10","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
END

IF ~~ THEN BEGIN 47
  SAY @40353
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",11)~ THEN BEGIN 48
  SAY @40354
  IF ~Or(2)
  CheckSkillGT(Protagonist,11,Knowledge_Arcana)
  GlobalGT("Katchmat_Talked","GLOBAL",0)~ THEN REPLY @40355 DO ~SetGlobal("DIDBANTERUSREIGJ11","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 49
  IF ~~ THEN REPLY @40356 DO ~SetGlobal("DIDBANTERUSREIGJ11","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~CheckSkillGT(Protagonist,11,Wilderness_Lore)~ THEN REPLY @40357 DO ~SetGlobal("DIDBANTERUSREIGJ11","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 50
END

IF ~~ THEN BEGIN 49
  SAY @40358
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 50
  SAY @40359
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",12)~ THEN BEGIN 51
  SAY @40360
  IF ~~ THEN REPLY @40361 DO ~SetGlobal("DIDBANTERUSREIGJ12","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 52
  IF ~~ THEN REPLY @40362 DO ~SetGlobal("DIDBANTERUSREIGJ12","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 74
  IF ~~ THEN REPLY @40363 DO ~SetGlobal("DIDBANTERUSREIGJ12","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 76
  IF ~~ THEN REPLY @40364 DO ~SetGlobal("DIDBANTERUSREIGJ12","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 78
END

IF ~~ THEN BEGIN 52
  SAY @40365
  IF ~~ THEN GOTO 53
END

IF ~~ THEN BEGIN 53
  SAY @40366
  IF ~~ THEN REPLY @40367 GOTO 54
  IF ~CheckStatGT(Protagonist,13,INT)~ THEN REPLY @40368 GOTO 54
END

IF ~~ THEN BEGIN 54
  SAY @40369
  IF ~~ THEN GOTO 55
END

IF ~~ THEN BEGIN 55
  SAY @40370
  IF ~~ THEN REPLY @40371 GOTO 56
  IF ~~ THEN REPLY @40372 GOTO 56
END

IF ~~ THEN BEGIN 56
  SAY @40373
  IF ~~ THEN REPLY @40374 GOTO 57
  IF ~~ THEN REPLY @40375 GOTO 58
  IF ~~ THEN REPLY @40376 GOTO 59
END

IF ~~ THEN BEGIN 57
  SAY @40377
  IF ~~ THEN GOTO 58
END

IF ~~ THEN BEGIN 58
  SAY @40378
  IF ~~ THEN GOTO 59
END

IF ~~ THEN BEGIN 59
  SAY @40379
  IF ~~ THEN GOTO 60
END

IF ~~ THEN BEGIN 60
  SAY @40380
  IF ~~ THEN REPLY @40381 GOTO 61
  IF ~~ THEN REPLY @40382 GOTO 62
  IF ~~ THEN REPLY @40383 GOTO 63
  IF ~~ THEN REPLY @40384 GOTO 65
  IF ~~ THEN REPLY @40385 GOTO 68
  IF ~~ THEN REPLY @40386 GOTO 69
  IF ~~ THEN REPLY @40387 GOTO 70
  IF ~~ THEN REPLY @40388 GOTO 72
END

IF ~~ THEN BEGIN 61
  SAY @40389
  IF ~~ THEN REPLY @40390 EXIT
END

IF ~~ THEN BEGIN 62
  SAY @40391
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 63
  SAY @40392
  IF ~~ THEN GOTO 64
END

IF ~~ THEN BEGIN 64
  SAY @40393
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 65
  SAY @40394
  IF ~~ THEN REPLY @40395 GOTO 66
  IF ~~ THEN REPLY @40396 GOTO 67
END

IF ~~ THEN BEGIN 66
  SAY @40397
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 67
  SAY @40398
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 68
  SAY @40399
  IF ~~ THEN GOTO 64
END

IF ~~ THEN BEGIN 69
  SAY @40400
  IF ~~ THEN GOTO 64
END

IF ~~ THEN BEGIN 70
  SAY @40401
  IF ~~ THEN GOTO 71
END

IF ~~ THEN BEGIN 71
  SAY @40402
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 72
  SAY @40403
  IF ~~ THEN GOTO 73
END

IF ~~ THEN BEGIN 73
  SAY @40404
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 74
  SAY @40405
  IF ~~ THEN GOTO 75
END

IF ~~ THEN BEGIN 75
  SAY @40406
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 76
  SAY @40407
  IF ~~ THEN GOTO 77
END

IF ~~ THEN BEGIN 77
  SAY @40408
  IF ~~ THEN GOTO 52
END

IF ~~ THEN BEGIN 78
  SAY @40409
  IF ~~ THEN GOTO 77
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",13)~ THEN BEGIN 79
  SAY @40567
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40571 DO ~SetGlobal("DIDBANTERUSREIGJ13","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 66
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40571 DO ~SetGlobal("DIDBANTERUSREIGJ13","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 66
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40572 DO ~SetGlobal("DIDBANTERUSREIGJ13","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 71
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40572 DO ~SetGlobal("DIDBANTERUSREIGJ13","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 80
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40574 DO ~SetGlobal("DIDBANTERUSREIGJ13","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 72
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40574 DO ~SetGlobal("DIDBANTERUSREIGJ13","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN REPLY @40575 DO ~SetGlobal("DIDBANTERUSREIGJ13","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN REPLY @40576 DO ~SetGlobal("DIDBANTERUSREIGJ13","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 84
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ13","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 3
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ13","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 11
END

IF ~~ THEN BEGIN 80
  SAY @40628
  IF ~~ THEN REPLY @40629 EXIT
  IF ~Or(3)
LevelInClassGT(Protagonist,0,BARBARIAN)
LevelInClassGT(Protagonist,0,DRUID)
LevelInClassGT(Protagonist,0,RANGER)~ THEN REPLY @40630 GOTO 81
  IF ~~ THEN REPLY @40631 GOTO 83
  IF ~~ THEN REPLY @40632 GOTO 83
END

IF ~~ THEN BEGIN 81
  SAY @40633
  IF ~~ THEN REPLY @40634 EXIT
  IF ~~ THEN REPLY @40635 GOTO 82
END

IF ~~ THEN BEGIN 82
  SAY @40636
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 83
  SAY @40637
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 84
  SAY @40647
  IF ~~ THEN REPLY @40648 GOTO 85
  IF ~~ THEN REPLY @40649 GOTO 85
  IF ~~ THEN REPLY @40650 GOTO 86
END

IF ~~ THEN BEGIN 85
  SAY @40651
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 86
  SAY @40652
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",14)~ THEN BEGIN 87
  SAY @40788
  IF ~~ THEN REPLY @40789 DO ~SetGlobal("DIDBANTERUSREIGJ14","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 88
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN REPLY @40790 DO ~SetGlobal("DIDBANTERUSREIGJ14","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 47
  IF ~Or(3)
  LevelInClassGT(Protagonist,3,BARD)
  LevelInClassGT(Protagonist,3,SORCERER)
  LevelInClassGT(Protagonist,2,WIZARD)
!Kit(Protagonist,MAGE_DIVINER)~ THEN REPLY @40791 DO ~SetGlobal("DIDBANTERUSREIGJ14","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 89
  IF ~CheckStatGT(Protagonist,4,MOVESILENTLY)
CheckStatGT(Protagonist,4,HIDEINSHADOWS)~ THEN REPLY @40792 DO ~SetGlobal("DIDBANTERUSREIGJ14","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 96
END

IF ~~ THEN BEGIN 88
  SAY @40796
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN EXTERN ~USEMMAJ~ 46
END

IF ~~ THEN BEGIN 89
  SAY @40797
  IF ~~ THEN REPLY @40798 GOTO 90
  IF ~~ THEN REPLY @40799 GOTO 91
  IF ~~ THEN REPLY @40800 GOTO 95
END

IF ~~ THEN BEGIN 90
  SAY @40801
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 91
  SAY @40802
  IF ~~ THEN REPLY @40803 GOTO 92
  IF ~~ THEN REPLY @40804 GOTO 93
  IF ~~ THEN REPLY @40805 GOTO 94
END

IF ~~ THEN BEGIN 92
  SAY @40806
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 93
  SAY @40807
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 94
  SAY @40808
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 95
  SAY @40809
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 96
  SAY @40810
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",15)~ THEN BEGIN 97
  SAY @40811
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVREK)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ15","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 98
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVREK)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ15","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVREKJ~ 10
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ15","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 49
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ15","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 77
END

IF ~~ THEN BEGIN 98
  SAY @40815
  IF ~~ THEN REPLY @40816 GOTO 99
  IF ~CheckSkillGT(Protagonist,9,Wilderness_Lore)~ THEN REPLY @40820 EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVREK)")~ THEN REPLY @40821 EXTERN ~USVREKJ~ 11
END

IF ~~ THEN BEGIN 99
  SAY @40822
  IF ~~ THEN REPLY @40823 EXIT
  IF ~Or(2)
CheckStatGT(Protagonist,16,INT)
CheckStatGT(Protagonist,16,WIS)~ THEN REPLY @40824 GOTO 100
  IF ~~ THEN REPLY @40825 GOTO 101
  IF ~~ THEN REPLY @40826 GOTO 102
END

IF ~~ THEN BEGIN 100
  SAY @40827
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 101
  SAY @40828
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 102
  SAY @40829
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",16)~ THEN BEGIN 103
  SAY @40884
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ16","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ16","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 78
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USZACK)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ16","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USZACKJ~ 1
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ16","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVEIRJ~ 21
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ16","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 62
END

IF ~~ THEN BEGIN 104
  SAY @40930
  IF ~~ THEN EXTERN ~USXHAAJ~ 12
END

IF ~~ THEN BEGIN 105
  SAY @40932
  IF ~~ THEN EXTERN ~USXHAAJ~ 13
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",17)~ THEN BEGIN 106
  SAY @40977
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ17","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ17","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 34
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USXHAA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ17","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USXHAAJ~ 14
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USPAIR)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ17","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USPAIRJ~ 0
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ17","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 70
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",18)~ THEN BEGIN 107
  SAY @40984
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ18","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USXHAA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ18","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USXHAAJ~ 15
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ18","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 35
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USZACK)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ18","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USZACKJ~ 34
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ18","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 71
END

IF ~~ THEN BEGIN 108
  SAY @41031
  IF ~~ THEN EXTERN ~USVUNAJ~ 41
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",19)~ THEN BEGIN 109
  SAY @41069
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ19","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ19","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 43
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",20)~ THEN BEGIN 110
  SAY @41071
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ20","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USXHAA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ20","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USXHAAJ~ 20
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USZACK)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ20","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USZACKJ~ 48
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USSERS)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ20","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USSERSJ~ 1
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVREK)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ20","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVREKJ~ 19
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USPAIR)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ20","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USPAIRJ~ 12
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",21)~ THEN BEGIN 111
  SAY @41090
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ21","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 113
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ21","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 81
END

IF ~~ THEN BEGIN 112
  SAY @41092
  IF ~~ THEN GOTO 113
END

IF ~~ THEN BEGIN 113
  SAY @41093
  IF ~~ THEN REPLY @41094 GOTO 114
  IF ~~ THEN REPLY @41095 GOTO 115
  IF ~~ THEN REPLY @41096 GOTO 116
  IF ~~ THEN REPLY @41097 GOTO 114
END

IF ~~ THEN BEGIN 114
  SAY @41098
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 115
  SAY @41099
  IF ~~ THEN GOTO 116
END

IF ~~ THEN BEGIN 116
  SAY @41100
  IF ~~ THEN GOTO 117
END

IF ~~ THEN BEGIN 117
  SAY @41101
  IF ~~ THEN REPLY @41102 GOTO 118
  IF ~~ THEN REPLY @41103 GOTO 119
  IF ~~ THEN REPLY @41104 GOTO 120
  IF ~~ THEN REPLY @41105 GOTO 121
  IF ~~ THEN REPLY @41106 GOTO 122
END

IF ~~ THEN BEGIN 118
  SAY @41107
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 119
  SAY @41108
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 120
  SAY @41109
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 121
  SAY @41110
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 122
  SAY @41111
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",22)~ THEN BEGIN 123
  SAY @41158
    IF ~~ THEN REPLY @41159 DO ~SetGlobal("DIDBANTERUSREIGJ22","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 124
    IF ~CheckStatGT(Protagonist,12,WIS)~ THEN REPLY @41160 DO ~SetGlobal("DIDBANTERUSREIGJ22","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 125
    IF ~Or(4)
  SubRace(Protagonist,HUMAN_AASIMAR)
  SubRace(Protagonist,HUMAN_TIEFLING)
  Race(Protagonist,HALF_ELF)
  Race(Protagonist,HALFORC)~ THEN REPLY @41161 DO ~SetGlobal("DIDBANTERUSREIGJ22","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 126
    IF ~CheckStatGT(Protagonist,12,INT)~ THEN REPLY @41162 DO ~SetGlobal("DIDBANTERUSREIGJ22","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ GOTO 127
END

IF ~~ THEN BEGIN 124
  SAY @41163
  IF ~~ THEN GOTO 128
END

IF ~~ THEN BEGIN 125
  SAY @41164
  IF ~~ THEN GOTO 128
END

IF ~~ THEN BEGIN 126
  SAY @41165
  IF ~~ THEN GOTO 128
END

IF ~~ THEN BEGIN 127
  SAY @41166
  IF ~~ THEN GOTO 124
END

IF ~~ THEN BEGIN 128
  SAY @41167
  IF ~~ THEN GOTO 129
END

IF ~~ THEN BEGIN 129
  SAY @41168
  IF ~~ THEN GOTO 130
END

IF ~~ THEN BEGIN 130
  SAY @41169
  IF ~~ THEN REPLY @41170 GOTO 131
  IF ~Or(4)
  SubRace(Protagonist,HUMAN_TIEFLING)
  SubRace(Protagonist,ELF_DROW)
  SubRace(Protagonist,DWARF_GRAY)
  Race(Protagonist,HALFORC)~ THEN REPLY @41171 GOTO 132
  IF ~Or(4)
  SubRace(Protagonist,HUMAN_TIEFLING)
  SubRace(Protagonist,ELF_DROW)
  SubRace(Protagonist,DWARF_GRAY)
  Race(Protagonist,HALFORC)~ THEN REPLY @41172 GOTO 134
  IF ~Race(Protagonist,HUMAN)
CheckStatGT(Protagonist,0,RESISTPOISON)~ THEN REPLY @41173 GOTO 135
  IF ~Race(Protagonist,HUMAN)
CheckStatGT(Protagonist,0,RESISTPOISON)
!Alignment(Protagonist,MASK_EVIL)~ THEN REPLY @41174 GOTO 137
  IF ~~ THEN REPLY @41175 GOTO 138
  IF ~~ THEN REPLY @41176 GOTO 139
  IF ~~ THEN REPLY @41177 GOTO 140
  IF ~CheckStatGT(Protagonist,14,WIS)~ THEN REPLY @41178 GOTO 141
END

IF ~~ THEN BEGIN 131
  SAY @41179
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 132
  SAY @41180
  IF ~~ THEN GOTO 133
END

IF ~~ THEN BEGIN 133
  SAY @41181
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 134
  SAY @41182
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 135
  SAY @41183
  IF ~~ THEN GOTO 136
END

IF ~~ THEN BEGIN 136
  SAY @41184
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 137
  SAY @41185
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 138
  SAY @41186
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 139
  SAY @41187
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 140
  SAY @41188
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 141
  SAY @41189
  IF ~~ THEN GOTO 142
END

IF ~~ THEN BEGIN 142
  SAY @41190
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",23)~ THEN BEGIN 143
  SAY @41331
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ23","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USPAIRJ~ 20
END

IF ~~ THEN BEGIN 144
  SAY @41333
  IF ~~ THEN EXTERN ~USPAIRJ~ 21
END

IF ~~ THEN BEGIN 145
  SAY @41335
  IF ~~ THEN EXTERN ~USPAIRJ~ 22
END

IF ~~ THEN BEGIN 146
  SAY @41337
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",24)~ THEN BEGIN 147
  SAY @41338
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ24","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 65
END

IF ~~ THEN BEGIN 148
  SAY @41340
  IF ~~ THEN EXTERN ~USVUNAJ~ 66
END

IF ~~ THEN BEGIN 149
  SAY @41343
  IF ~~ THEN EXTERN ~USVUNAJ~ 68
END

IF ~~ THEN BEGIN 150
  SAY @41345
  IF ~~ THEN EXTERN ~USVUNAJ~ 69
END

IF ~~ THEN BEGIN 151
  SAY @41348
  IF ~~ THEN EXTERN ~USSERSJ~ 16
END

IF ~~ THEN BEGIN 152
  SAY @41350
  IF ~~ THEN GOTO 153
END

IF ~~ THEN BEGIN 153
  SAY @41351
  IF ~~ THEN EXTERN ~USSERSJ~ 17
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",25)~ THEN BEGIN 154
  SAY @41353
  IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ25","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 91
END

IF ~~ THEN BEGIN 155
  SAY @41355
  IF ~~ THEN EXTERN ~USGEOFJ~ 92
END

IF ~~ THEN BEGIN 156
  SAY @41357
  IF ~~ THEN EXTERN ~USGEOFJ~ 93
END

IF ~~ THEN BEGIN 157
  SAY @41359
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSREIGJ","GLOBAL",26)~ THEN BEGIN 158
  SAY @41561
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ26","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USZACK)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ26","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USZACKJ~ 77
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ26","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVEIRJ~ 53
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVREK)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ26","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVREKJ~ 48
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ26","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 93
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN DO ~SetGlobal("DIDBANTERUSREIGJ26","GLOBAL",1)
SetGlobal("BANTERUSREIGJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 99
END

IF ~~ THEN BEGIN 159
  SAY @41650
  IF ~~ THEN EXTERN ~12TARRAN~ 6
END