BEGIN ~USVREKJ~

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",1)~ THEN BEGIN 0
  SAY @40568
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")
IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40571 DO ~SetGlobal("DIDBANTERUSVREKJ1","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 66
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")
IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40572 DO ~SetGlobal("DIDBANTERUSVREKJ1","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 71
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40573 DO ~SetGlobal("DIDBANTERUSVREKJ1","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")
IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40574 DO ~SetGlobal("DIDBANTERUSVREKJ1","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USGEOFJ~ 72
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USGEOF)")~ THEN REPLY @40574 DO ~SetGlobal("DIDBANTERUSVREKJ1","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")~ THEN REPLY @40575 DO ~SetGlobal("DIDBANTERUSVREKJ1","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVUNA)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ1","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USVUNAJ~ 3
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ1","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 11
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ1","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USREIGJ~ 79
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ1","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USVEIRJ~ 0
END

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",2)~ THEN BEGIN 1
  SAY @40715
  IF ~~ THEN REPLY @40716 DO ~SetGlobal("DIDBANTERUSVREKJ2","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 2
  IF ~~ THEN REPLY @40717 DO ~SetGlobal("DIDBANTERUSVREKJ2","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 3
  IF ~~ THEN REPLY @40718 DO ~SetGlobal("DIDBANTERUSVREKJ2","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 4
  IF ~PartyHasItem("30WSPIDQ")~ THEN REPLY @40719 DO ~SetGlobal("DIDBANTERUSVREKJ2","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)
TakePartyItem("30WSPIDQ")
DestroyItem("30WSPIDQ")
AddXPVar("Level_5_Easy",40732)~ GOTO 6
  IF ~!PartyHasItem("30WSPIDQ")
PartyHasItem("30WSPIDR")~ THEN REPLY @40719 DO ~SetGlobal("DIDBANTERUSVREKJ2","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)
TakePartyItem("30WSPIDR")
DestroyItem("30WSPIDR")
AddXPVar("Level_5_Easy",40732)~ GOTO 6
END

IF ~~ THEN BEGIN 2
  SAY @40720
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3
  SAY @40721
  IF ~~ THEN REPLY @40722 EXIT
  IF ~~ THEN REPLY @40723 DO ~SetGlobal("US_Promise_Vrek_Eat_Pondmuk","GLOBAL",1)~ GOTO 5
  IF ~~ THEN REPLY @40724 GOTO 2
END

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

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

IF ~~ THEN BEGIN 6
  SAY @40727
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7
  SAY @40728
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8
  SAY @40727
  IF ~~ THEN REPLY @40729 GOTO 5
  IF ~~ THEN REPLY @40730 EXIT
  IF ~~ THEN REPLY @40731 EXIT
END

IF ~~ THEN BEGIN 9
  SAY @40733
  IF ~~ THEN DO ~ApplySpellRES("USCHUNK","Pondmuk")
AddXPVar("Level_5_Easy",40734)~ EXIT
END

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",3)~ THEN BEGIN 10
  SAY @40814
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")~ THEN REPLY @40817 DO ~SetGlobal("DIDBANTERUSVREKJ3","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")~ THEN REPLY @40819 DO ~SetGlobal("DIDBANTERUSVREKJ3","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")
CheckSkillGT(Protagonist,9,Wilderness_Lore)~ THEN REPLY @40820 DO ~SetGlobal("DIDBANTERUSVREKJ3","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")~ THEN REPLY @40821 DO ~SetGlobal("DIDBANTERUSVREKJ3","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 11
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USREIG)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ3","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USREIGJ~ 98
END

IF ~~ THEN BEGIN 11
  SAY @40835
  IF ~~ THEN REPLY @40836 GOTO 12
  IF ~~ THEN REPLY @40837 GOTO 13
END

IF ~~ THEN BEGIN 12
  SAY @40838
  IF ~~ THEN REPLY @40839 GOTO 15
  IF ~~ THEN REPLY @40840 GOTO 15
END

IF ~~ THEN BEGIN 13
  SAY @40841
  IF ~~ THEN REPLY @40842 GOTO 12
  IF ~~ THEN REPLY @40843 GOTO 14
END

IF ~~ THEN BEGIN 14
  SAY @40844
  IF ~~ THEN REPLY @40845 EXIT
  IF ~~ THEN REPLY @40846 GOTO 12
END

IF ~~ THEN BEGIN 15
  SAY @40847
  IF ~~ THEN REPLY @40848 GOTO 16
  IF ~~ THEN REPLY @40849 GOTO 17
END

IF ~~ THEN BEGIN 16
  SAY @40850
  IF ~~ THEN REPLY @40851 GOTO 18
END

IF ~~ THEN BEGIN 17
  SAY @40852
  IF ~~ THEN REPLY @40853 GOTO 18
END

IF ~~ THEN BEGIN 18
  SAY @40854
  IF ~CheckSkillLT(Protagonist,10,Knowledge_Arcana)~ THEN REPLY @40882 EXIT
  IF ~CheckSkillGT(Protagonist,9,Knowledge_Arcana)~ THEN REPLY @40855 EXIT
END

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",4)~ THEN BEGIN 19
  SAY @41073
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ4","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USXHAA)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ4","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USXHAAJ~ 20
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USZACK)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ4","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USZACKJ~ 48
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USSERS)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ4","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USSERSJ~ 1
END

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",5)~ THEN BEGIN 20
  SAY @41078
    IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USPAIR)")
Or(3)
  Alignment(Protagonist,MASK_GOOD)
  LevelInClassGT(Protagonist,0,PALADIN)
  LevelInClassGT(Protagonist,0,DRUID)~ THEN REPLY @41081 DO ~SetGlobal("DIDBANTERUSVREKJ5","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
    IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USPAIR)")~
 THEN REPLY @41083 DO ~SetGlobal("DIDBANTERUSVREKJ5","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 21
    IF ~!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")
!IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USPAIR)")
LevelInClassGT(Protagonist,0,DRUID)~ THEN REPLY @41085 DO ~SetGlobal("DIDBANTERUSVREKJ5","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USEMMA)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ5","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USEMMAJ~ 76
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USPAIR)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ5","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USPAIRJ~ 13
END

IF ~~ THEN BEGIN 21
  SAY @41088
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",6)~ THEN BEGIN 22
  SAY @41246
  IF ~~ THEN REPLY @41247 DO ~SetGlobal("DIDBANTERUSVREKJ6","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 23
  IF ~~ THEN REPLY @41248 DO ~SetGlobal("DIDBANTERUSVREKJ6","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 24
  IF ~~ THEN REPLY @41249 DO ~SetGlobal("DIDBANTERUSVREKJ6","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 25
END

IF ~~ THEN BEGIN 23
  SAY @41250
  IF ~~ THEN EXIT
END

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

IF ~~ THEN BEGIN 25
  SAY @41252
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",7)~ THEN BEGIN 26
  SAY @41253
  IF ~~ THEN REPLY @41254 DO ~SetGlobal("DIDBANTERUSVREKJ7","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 27
  IF ~~ THEN REPLY @41256 DO ~SetGlobal("DIDBANTERUSVREKJ7","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~~ THEN REPLY @41257 DO ~SetGlobal("DIDBANTERUSVREKJ7","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 28
END

IF ~~ THEN BEGIN 27
  SAY @41258
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 28
  SAY @41259
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",8)~ THEN BEGIN 29
  SAY @41260
  IF ~~ THEN REPLY @41261 DO ~SetGlobal("DIDBANTERUSVREKJ8","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 30
  IF ~~ THEN REPLY @41262 DO ~SetGlobal("DIDBANTERUSVREKJ8","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 31
  IF ~~ THEN REPLY @41263 DO ~SetGlobal("DIDBANTERUSVREKJ8","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
END

IF ~~ THEN BEGIN 30
  SAY @41264
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 31
  SAY @41265
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",9)~ THEN BEGIN 32
  SAY @41266
  IF ~~ THEN REPLY @41267 DO ~SetGlobal("DIDBANTERUSVREKJ9","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 33
  IF ~~ THEN REPLY @41268 DO ~SetGlobal("DIDBANTERUSVREKJ9","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 34
  IF ~CheckSkillGT(Protagonist,7,Wilderness_Lore)~ THEN REPLY @41269 DO ~SetGlobal("DIDBANTERUSVREKJ9","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~Or(2)
  CheckSkillGT(Protagonist,11,Wilderness_Lore)
  CheckSkillGT(Protagonist,13,Knowledge_Arcana)~ THEN REPLY @41270 DO ~SetGlobal("DIDBANTERUSVREKJ9","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 35
END

IF ~~ THEN BEGIN 33
  SAY @41271
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 34
  SAY @41272
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 35
  SAY @41273
  IF ~~ THEN EXIT
END

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",10)~ THEN BEGIN 36
  SAY @41302
  IF ~~ THEN REPLY @41303 DO ~SetGlobal("DIDBANTERUSVREKJ10","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 37
  IF ~~ THEN REPLY @41304 DO ~SetGlobal("DIDBANTERUSVREKJ10","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 38
  IF ~~ THEN REPLY @41305 DO ~SetGlobal("DIDBANTERUSVREKJ10","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 42
  IF ~~ THEN REPLY @41306 DO ~SetGlobal("DIDBANTERUSVREKJ10","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ GOTO 43
END

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

IF ~~ THEN BEGIN 38
  SAY @41308
  IF ~~ THEN REPLY @41309 GOTO 39
  IF ~~ THEN REPLY @41310 GOTO 40
  IF ~~ THEN REPLY @41311 GOTO 41
END

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

IF ~~ THEN BEGIN 40
  SAY @41313
  IF ~~ THEN EXIT
END

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

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

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

IF ~~ THEN BEGIN 44
  SAY @41318
  IF ~~ THEN EXTERN ~USZACKJ~ 57
END

IF ~~ THEN BEGIN 45
  SAY @41320
  IF ~~ THEN EXTERN ~USZACKJ~ 58
END

IF ~~ THEN BEGIN 46
  SAY @41322
  IF ~~ THEN EXTERN ~USZACKJ~ 59
END

IF ~~ THEN BEGIN 47
  SAY @41324
  IF ~~ THEN EXTERN ~USZACKJ~ 60
END

IF ~InParty(Myself)
Global("BANTERUSVREKJ","GLOBAL",11)~ THEN BEGIN 48
  SAY @41564
    IF ~~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ11","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXIT
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USZACK)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ11","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USZACKJ~ 77
  IF ~IEex_LuaTrigger("return IEex_IfValidForPartyDialogue(USVEIR)")~ THEN DO ~SetGlobal("DIDBANTERUSVREKJ11","GLOBAL",1)
SetGlobal("BANTERUSVREKJ","GLOBAL",0)~ EXTERN ~USVEIRJ~ 53
END