// creator  : weidu.exe (version 23100)
// argument : HMELVIN.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~HMELVIN~ 2 // non-zero flags may indicate non-pausing dialogue
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #1 /* Triggers after states #: 6 even though they appear after this state */
~True()
~ THEN BEGIN 0 // from:
  SAY #28060 /* ~'Allo there, pally. I'm Squire Melvin. It's nice t' meet ya.~ */
  IF ~~ THEN REPLY #28063 /* ~The pleasure is mine, Melvin. What is this place?~ */ GOTO 2
  IF ~~ THEN REPLY #28064 /* ~Sorry, Melvin. I'm too busy to talk right now.~ */ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 5.0 4.2 3.0 2.2 0.1
  SAY #28067 /* ~Righty, righty! I'm a blue-bellied goober, then! Cheers!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.0
  SAY #28070 /* ~Dis here's th' Most Noble Order o' the Radiant Heart. I bees the Squire fer learnin' knighty stuff.~ */
  IF ~~ THEN REPLY #28073 /* ~What is the Most Noble Order of the Radiant Heart?~ */ GOTO 3
  IF ~~ THEN REPLY #28078 /* ~How long have you been with the Order?~ */ GOTO 4
  IF ~~ THEN REPLY #28079 /* ~Thanks for the information. Goodbye.~ */ GOTO 1
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #28081 /* ~'Tis an order o' paladins 'n such. Truth, justice, honor, and courage, ye knows.~ */
  IF ~~ THEN REPLY #28087 /* ~Fascinating Melvin, but I've got to be going.~ */ GOTO 1
  IF ~~ THEN REPLY #28089 /* ~How long have you been a Squire of the Order?~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.1 2.1
  SAY #28091 /* ~Two days, give or take. Was cleanin' fish wot not but a week ago. I'm a thinkin' I wants t' be a knight, ye knows.~ */
  IF ~~ THEN REPLY #28095 /* ~You're saying that they've accepted you as a potential knight?~ */ GOTO 5
  IF ~~ THEN REPLY #28097 /* ~Cleaning fish?~ */ GOTO 5
  IF ~~ THEN REPLY #28098 /* ~I must be going. Farewell.~ */ GOTO 1
END

IF ~~ THEN BEGIN 5 // from: 4.1 4.0
  SAY #28100 /* ~Yar! They but seen me skill wit th' fish guttin' knife and they's gonna train me.~ */
  IF ~~ THEN REPLY #28103 /* ~Well, good luck, Melvin.~ */ GOTO 1
END

IF WEIGHT #0 ~InParty("Anomen")
See("Anomen")
!StateCheck("Anomen",STATE_SLEEPING)
Global("Anomen","LOCALS",0)
~ THEN BEGIN 6 // from:
  SAY #28109 /* ~Hoy, Anomen. What's th' good word, eh?~ */
  IF ~~ THEN DO ~SetGlobal("Anomen","LOCALS",1)
~ EXTERN ~ANOMENJ~ 142
END

IF ~~ THEN BEGIN 7 // from:
  SAY #28113 /* ~Aye, ya gots a fine look about ya.~ */
  IF ~~ THEN EXTERN ~ANOMENJ~ 143
END

IF ~~ THEN BEGIN 8 // from:
  SAY #28115 /* ~Nar, I's done 'em yesterday.~ */
  IF ~~ THEN EXTERN ~ANOMENJ~ 144
END

IF ~~ THEN BEGIN 9 // from:
  SAY #28117 /* ~Righty, righty, knighty! I best be gettin' t' work.~ */
  IF ~~ THEN EXTERN ~ANOMENJ~ 145
END
