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

BEGIN ~HAIRTO~

IF ~~ THEN BEGIN 0 // from: GNARL:0.0
  SAY #688 /* ~Yeah, you pay... 200 for all heads, or lose heads!~ */
  IF ~  PartyGoldGT(199)
~ THEN REPLY #6979 /* ~Yes! I'll pay! Just leave me to go on my way!~ */ DO ~TakePartyGold(200)
~ GOTO 2
  IF ~~ THEN REPLY #6980 /* ~Isn't 200 gold a little steep? I mean, do I look like I have that kind of coin?~ */ GOTO 1
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Dead("dynaheir")
!InParty("dynaheir")
~ THEN DO ~SetGlobal("X#MinscGnarl","GLOBAL",1)
~ EXTERN ~MINSCJ~ 52
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Global("X#EdwinHairtooth","GLOBAL",0)
~ THEN DO ~SetGlobal("X#EdwinHairtooth","GLOBAL",1)
~ EXTERN ~EDWINJ~ 90
END

IF ~~ THEN BEGIN 1 // from: 0.1
  SAY #689 /* ~Okay, maybe 200 gold too much. Maybe you pay... 100 gold!~ */
  IF ~~ THEN EXTERN ~GNARL~ 1
END

IF ~~ THEN BEGIN 2 // from: 0.0
  SAY #690 /* ~Okay, you pass, right?~ */
  IF ~~ THEN EXTERN ~GNARL~ 2
END

IF ~~ THEN BEGIN 3 // from: GNARL:3.0
  SAY #691 /* ~Now go away, smart head, before we charge for standing!~ */
  IF ~~ THEN DO ~ActionOverride("Gnarl",EscapeArea())
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: GNARL:4.0
  SAY #692 /* ~Yeah! We kill you, take stuff, and get gold anyway! Dumb head!~ */
  IF ~~ THEN DO ~ActionOverride("Gnarl",Enemy())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: GNARL:2.0 11.0
  SAY #693 /* ~Yeah, you smart! We take heads anyway, and get lots gold!~ */
  IF ~~ THEN DO ~ActionOverride("Gnarl",Enemy())
Enemy()
~ EXIT
END

IF ~  True()
~ THEN BEGIN 6 // from:
  SAY #6988 /* ~You shoulda ran when we gave you chance. Now we take yer money AND heads!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #46569 /* ~Yeah, you think you big! You want to fight? We take heads anyway, and get lots gold!~ */
  IF ~~ THEN DO ~SetGlobal("X#MinscGnarl","GLOBAL",2)
ActionOverride("gnarl",Enemy())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 8 // from:
  SAY #46652 /* ~Oh... yeah. Close your eyes!~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #46653 /* ~One...~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.0
  SAY #46654 /* ~Two...~ */
  IF ~~ THEN EXTERN ~EDWINJ~ 91
END

IF ~~ THEN BEGIN 11 // from:
  SAY #46656 /* ~Four...~ */
  IF ~~ THEN GOTO 5
END
