// creator  : weidu.exe (version 23600)
// argument : KRUMM.DLG
// game     : .
// source   : ./override/KRUMM.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~KRUMM~

IF ~~ THEN BEGIN 0 // from:
  SAY #712 /* ~Uh... Yeah!~ */
  IF ~~ THEN REPLY #5053 /* ~I'm afraid I won't be going anywhere. I'll kindly ask you to step away from the tree and leave the area.~ */ EXTERN ~CALDO~ 4
  IF ~~ THEN REPLY #5054 /* ~Forgive my intrusion. I'll be leaving immediately.~ */ EXTERN ~CALDO~ 8
END

IF ~~ THEN BEGIN 1 // from:
  SAY #713 /* ~What?~ */
  IF ~~ THEN DO ~ActionOverride("Caldo",Enemy())
Enemy()
~ EXIT
  IF ~Global("X#AjantisKrumm1","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AjantisKrumm1","GLOBAL",1)~ EXTERN ~AJANTJ~ 95
END

IF ~~ THEN BEGIN 2 // from: JAHEIJ:417.0 JAHEIJ:416.0 JAHEIJ:415.0
  SAY #714 /* ~Uhhhhmmmm...~ */
  IF ~~ THEN EXTERN ~DRYAD~ 5
END

IF ~~ THEN BEGIN 3 // from:
  SAY #715 /* ~Huh?~ */
  IF ~~ THEN DO ~ActionOverride("Caldo",Enemy())
Enemy()
~ EXIT
  IF ~Global("X#AjantisKrumm3","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AjantisKrumm3","GLOBAL",1)~ EXTERN ~AJANTJ~ 96
END

IF ~  Global("X#JaiDryadHostile","GLOBAL",2)
~ THEN BEGIN 4 // from:
  SAY #714 /* ~Uhhhhmmmm...~ */
  IF ~~ THEN EXTERN ~DRYAD~ 5
END

IF ~~ THEN BEGIN 5 // from:
  SAY #46149 /* ~Har har! We fight!~ */
  IF ~~ THEN DO ~ActionOverride("Caldo",Enemy())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 6 // from:
  SAY #46149 /* ~Har har! We fight!~ */
  IF ~~ THEN DO ~ActionOverride("Caldo",Enemy())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #46670 /* ~Uh-huh, that may be.~ */
  IF ~~ THEN REPLY #5044 /* ~Let's do it, big fella! Riches beyond the dreams of avarice await, I am sure!~ */ EXTERN ~CALDO~ 6
  IF ~~ THEN REPLY #5045 /* ~You don't really want to do this, do you? Just think of how beautiful this tree is. It's truly a wonder of nature.~ */ EXTERN ~CALDO~ 5
  IF ~~ THEN REPLY #5046 /* ~I'll not let you harm a branch on this tree! You'll have to go through me first!~ */ EXTERN ~CALDO~ 2
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~CALDO~ 12
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~EDWINJ~ 98
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~CALDO~ 11
END
