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

BEGIN ~EURIC~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #2 /* Triggers after states #: 1 3 even though they appear after this state */
~  Global("HelpEuric","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #15242 /* ~What? I didn't do anything... just leave me alone!~ */
  IF ~~ THEN EXIT
  IF ~Global("X#AloraEuric1","GLOBAL",0)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AloraEuric1","GLOBAL",1)~ EXTERN ~ALORAJ~ 47
END

IF WEIGHT #0 ~  Global("GivenEuricQuest","GLOBAL",1)
PartyHasItem("AMUL14")
Global("HelpEuric","GLOBAL",0)
~ THEN BEGIN 1 // from:
  SAY #15243 /* ~Hey, what do you want? I didn't do nothin'. Hey, what's that amulet you have there?~ */
  IF ~~ THEN DO ~SetGlobal("HelpEuric","GLOBAL",1)
TakePartyItemNum("AMUL14",1)
AddexperienceParty(1100)
~ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #15244 /* ~Mom set you up to this, didn't she? All right, all right, it looks dumb, but I'll wear it. Tell my mom, Nadine, that I miss her, but I'm not comin' back. Tell her that I'll be safe. Bye-bye now.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #27051 /* ~Nadine and Euric
Euric accepted Nadine's amulet but didn't seem too happy about it. He asked me to return to her with a message that he misses her.~ */ EXIT
  IF ~Global("X#AloraEuric2","GLOBAL",0)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AloraEuric2","GLOBAL",1)~ EXTERN ~ALORAJ~ 46
END

IF WEIGHT #1 ~  False()
~ THEN BEGIN 3 // from:
  SAY #15245 /* ~I ain't afraid of you!~ */
  IF ~~ THEN EXIT
  IF ~Global("X#AloraEuric3","GLOBAL",0)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AloraEuric3","GLOBAL",1)~ EXTERN ~ALORAJ~ 41
END

IF WEIGHT #3 ~  True()
~ THEN BEGIN 4 // from:
  SAY #15246 /* ~Say hi to my mom for me, could you? I'm still doing okay but you can tell her I'll probably be coming home soon.~ */
  IF ~~ THEN EXIT
  IF ~Global("X#AloraEuric4","GLOBAL",0)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AloraEuric4","GLOBAL",1)~ EXTERN ~ALORAJ~ 39
END

IF ~~ THEN BEGIN 5 // from:
  SAY #46853 /* ~Err, what life?~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 40
END

IF ~~ THEN BEGIN 6 // from:
  SAY #46856 /* ~...errr...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 45
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 9
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 44
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 8
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 43
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 7
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 42
END

IF ~~ THEN BEGIN 7 // from: 6.6
  SAY #46858 /* ~...umm...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 45
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 9
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 44
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 8
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 43
END

IF ~~ THEN BEGIN 8 // from: 7.4 6.4
  SAY #46860 /* ~...well...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 45
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 9
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 44
END

IF ~~ THEN BEGIN 9 // from: 8.2 7.2 6.2
  SAY #46862 /* ~...uh, thanks. I guess.~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 45
END

IF ~~ THEN BEGIN 10 // from:
  SAY #46865 /* ~Sure thing, Miss Alora.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #27051 /* ~Nadine and Euric
Euric accepted Nadine's amulet but didn't seem too happy about it. He asked me to return to her with a message that he misses her.~ */ EXIT
END

IF ~~ THEN BEGIN 11 // from:
  SAY #46867 /* ~Umm, hi, Miss Alora. I err... I'm not doing anything...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 13
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 49
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 12
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 48
END

IF ~~ THEN BEGIN 12 // from: 11.3
  SAY #46869 /* ~Nadine, you mean? Well, yeah, I guess.~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN GOTO 13
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~ALORAJ~ 49
END

IF ~~ THEN BEGIN 13 // from: 12.1 11.1
  SAY #46871 /* ~Then tell her to stop nagging so darned much!~ */
  IF ~~ THEN EXIT
END
