// creator  : weidu.exe (version 23100)
// argument : _EURIC.DLG
// game		 : .
// source	 : ./override/_EURIC.DLG
// dialog	 : ./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 #81378 /* ~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~ 56
END

IF WEIGHT #0 ~Global("GivenEuricQuest","GLOBAL",1)
PartyHasItem("_AMUL14")
Global("HelpEuric","GLOBAL",0)
~ THEN BEGIN 1 // from:
  SAY #81379 /* ~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)
TakePartyItem("_AMUL14")
AddexperienceParty(1100)
~ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #81380 /* ~Mom set you up to this, didn't she... Alright, alright, 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 #88935 /* ~Nadine and Euric

I brought Nadine's amulet to Euric, as she asked me to do.  He accepted it grudgingly, and bade me tell his mother that he misses her.  Perhaps I should return to Nadine to let her know her son is safe, and the amulet delivered.~ */ 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~ 55
END

IF WEIGHT #1 ~False()
~ THEN BEGIN 3 // from:
  SAY #81381 /* ~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~ 50
END

IF WEIGHT #3 ~True()
~ THEN BEGIN 4 // from:
  SAY #81382 /* ~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~ 48
END

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

IF ~~ THEN BEGIN 6 // from: _ALORAJ:50.8
  SAY #100207 /* ~...errr...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 54
  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~ 53
  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~ 52
  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~ 51
END

IF ~~ THEN BEGIN 7 // from: 6.6 _ALORAJ:51.6 _ALORAJ:50.6
  SAY #100209 /* ~...umm...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 54
  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~ 53
  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~ 52
END

IF ~~ THEN BEGIN 8 // from: 7.4 6.4 _ALORAJ:52.4 _ALORAJ:51.4 _ALORAJ:50.4
  SAY #100211 /* ~...well...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 54
  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~ 53
END

IF ~~ THEN BEGIN 9 // from: 8.2 7.2 6.2 _ALORAJ:53.2 _ALORAJ:52.2 _ALORAJ:51.2 _ALORAJ:50.2
  SAY #100213 /* ~...uh, thanks. I guess.~ */
  IF ~~ THEN EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 54
END

IF ~~ THEN BEGIN 10 // from: _ALORAJ:55.1
  SAY #100216 /* ~Sure thing, Miss Alora.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #88935 /* ~Nadine and Euric

I brought Nadine's amulet to Euric, as she asked me to do.  He accepted it grudgingly, and bade me tell his mother that he misses her.  Perhaps I should return to Nadine to let her know her son is safe, and the amulet delivered.~ */ EXIT
END

IF ~~ THEN BEGIN 11 // from: _ALORAJ:56.5
  SAY #100218 /* ~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~ 58
  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~ 57
END

IF ~~ THEN BEGIN 12 // from: 11.3 _ALORAJ:57.3 _ALORAJ:56.3
  SAY #100220 /* ~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~ 58
END

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