// creator  : weidu.exe (version 23100)
// argument : _MELICA.DLG
// game		 : .
// source	 : ./override/_MELICA.DLG
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

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

IF WEIGHT #1 /* Triggers after states #: 27 even though they appear after this state */
~!Dead("chickenwolf")
~ THEN BEGIN 0 // from:
  SAY #86463 /* ~CLUUUUUUCK!!!  Bwaaaaaa!!~ */
  IF ~~ THEN GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #86464 /* ~Buc-becaw!  HELLLLP-becaw!~ */
  IF ~~ THEN EXIT
  IF ~Global("X#MELICA1","GLOBAL",0)
InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MELICA1","GLOBAL",1)~ GOTO 41
  IF ~Global("X#MELICA1","GLOBAL",0)
InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MELICA1","GLOBAL",1)~ EXTERN ~_FALDOJ~ 180
  IF ~Global("X#MELICA1","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MELICA1","GLOBAL",1)~ EXTERN ~_SHARTJ~ 176
END

IF WEIGHT #2 /* Triggers after states #: 27 even though they appear after this state */
~Global("TalkedToChicken","GLOBAL",0)
Dead("chickenwolf")
~ THEN BEGIN 2 // from:
  SAY #86465 /* ~Th... Thank ye *cluck*.  You have saved *cluck* me.~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
  IF ~Global("X#MELICA2","GLOBAL",0)
InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MELICA2","GLOBAL",1)~ GOTO 44
  IF ~Global("X#MELICA2","GLOBAL",0)
InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MELICA2","GLOBAL",1)~ EXTERN ~_EDWINJ~ 197
  IF ~Global("X#MELICA2","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MELICA2","GLOBAL",1)~ EXTERN ~_GARRIJ~ 213
  IF ~Global("X#MELICA2","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MELICA2","GLOBAL",1)~ GOTO 47
  IF ~Global("X#MELICA2","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MELICA2","GLOBAL",1)~ EXTERN ~_GARRIJ~ 215
  IF ~Global("X#MELICA2","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MELICA2","GLOBAL",1)~ GOTO 51
  IF ~Global("X#MELICA2","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MELICA2","GLOBAL",1)~ EXTERN ~_GARRIJ~ 219
END

IF ~~ THEN BEGIN 3 // from: 56.2 55.2 54.2 53.2 52.2 51.2 50.2 49.2 48.2 47.2 46.2 45.2 44.2 2.2 _GARRIJ:221.2 _GARRIJ:220.2 _GARRIJ:219.2 _GARRIJ:218.2 _GARRIJ:217.2 _GARRIJ:216.2 _GARRIJ:215.2 _GARRIJ:214.2 _GARRIJ:213.2
  SAY #86469 /* ~If you are quite *cluck* through with the thea-*cluck*-trics, my situation is indeed quite *cluck* grave!~ */
  IF ~~ THEN REPLY #86470 /* ~My apologies good... um... chicken.  What has caused your current accursed state?~ */ GOTO 10
  IF ~~ THEN REPLY #86471 /* ~No, I refuse to let this conversation go a step further.  If it should get around that I spend my days speaking with livestock, I should be the laughing stock of Baldur's Gate. I am sorry.~ */ GOTO 9
  IF ~ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN REPLY #86472 /* ~Might I first pose a query?  Which came first, and what side of the road did you start on?  (snicker)~ */ GOTO 6
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN REPLY #86472 /* ~Might I first pose a query?  Which came first, and what side of the road did you start on?  (snicker)~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 56.1 55.1 54.1 53.1 52.1 51.1 50.1 49.1 48.1 47.1 46.1 45.1 44.1 3.3 2.1 _GARRIJ:221.1 _GARRIJ:220.1 _GARRIJ:219.1 _GARRIJ:218.1 _GARRIJ:217.1 _GARRIJ:216.1 _GARRIJ:215.1 _GARRIJ:214.1 _GARRIJ:213.1
  SAY #86473 /* ~Thank you.  Yes *cluck*, that was just what I needed in my *cluck* hour of need.  You laugh it up while I *cluck* learn to cope with passing eggs.~ */
  IF ~~ THEN REPLY #86470 /* ~My apologies good... um... chicken.  What has caused your current accursed state?~ */ GOTO 10
  IF ~~ THEN REPLY #86471 /* ~No, I refuse to let this conversation go a step further.  If it should get around that I spend my days speaking with livestock, I should be the laughing stock of Baldur's Gate. I am sorry.~ */ GOTO 6
END

IF ~~ THEN BEGIN 5 // from: 56.0 55.0 54.0 53.0 52.0 51.0 50.0 49.0 48.0 47.0 46.0 45.0 44.0 2.0 _GARRIJ:221.0 _GARRIJ:220.0 _GARRIJ:219.0 _GARRIJ:218.0 _GARRIJ:217.0 _GARRIJ:216.0 _GARRIJ:215.0 _GARRIJ:214.0 _GARRIJ:213.0
  SAY #86474 /* ~I certainly hope you are *cluck* jesting with me.  Indeed I am "no ordinary talking chicken," and I am in need of your *cluck* help.~ */
  IF ~~ THEN REPLY #86470 /* ~My apologies good... um... chicken.  What has caused your current accursed state?~ */ GOTO 10
  IF ~~ THEN REPLY #86471 /* ~No, I refuse to let this conversation go a step further.  If it should get around that I spend my days speaking with livestock, I should be the laughing stock of Baldur's Gate. I am sorry.~ */ GOTO 6
  IF ~Global("X#VicMeli","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#VicMeli","GLOBAL",1)~ EXTERN ~_VICONJ~ 111
END

IF ~~ THEN BEGIN 6 // from: 5.1 4.1 3.2
  SAY #86475 /* ~... *sigh*.  Methinks I'll go *cluck* find another wolf.  Thank ye for your *cluck* "concern."~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 8 23 27 even though they appear after this state */
~Global("TalkedToChicken","GLOBAL",1)
Global("TransformedChicken","GLOBAL",0)
~ THEN BEGIN 7 // from:
  SAY #86476 /* ~Ye again?  Come to make more *cluck* light of my predicament?  I can *cluck* do without your kind of *cluck* help.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 27 even though they appear after this state */
~Global("TalkedToChicken","GLOBAL",1)
Global("TransformedChicken","GLOBAL",0)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
Global("LeftChicken","GLOBAL",0)
~ THEN BEGIN 8 // from:
  SAY #86477 /* ~What now I *cluck* wonder?  Have ye *cluck* come to pester jester once again *cluck*, or can I count on some simple charity?~ */
  IF ~~ THEN REPLY #86470 /* ~My apologies good... um... chicken.  What has caused your current accursed state?~ */ GOTO 10
  IF ~~ THEN REPLY #86478 /* ~I fear your situation is no less the joke than it was before.  I cannot help thee.~ */ GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 15.2 14.1 10.1 8.1 3.1
  SAY #86479 /* ~Just carry on your *cluck* way then!  Don't mind me at *cluck* all!  I'll just wander about 'till another "kind" *cluck* wolf offers assistance!  *BecaW!*~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from: 8.0 5.0 4.0 3.0
  SAY #86480 /* ~Thank the *cluck* Mother of all Magic, mayhaps now I might end this *cluck* nightmare.  I am Melicamp of Beregost, a *cluck* mage adept in the mystical arts.  A... misread... incantation seems to be *cluck* the source of my troubling form. 'Tis been over an month since I *cluck* uttered a polymorph spell, and I simply cannot return to my normal *cluck* form!~ */
  IF ~~ THEN REPLY #86481 /* ~I have a passing knowledge of magery.  Can you not dispel this *ahem* foul condition?~ */ GOTO 11
  IF ~~ THEN REPLY #86482 /* ~It's most likely a godly retribution for some past offence or indiscretion!  I'll not meddle in such affairs!~ */ GOTO 9
  IF ~~ THEN REPLY #86483 /* ~Is there anyone that might be able to assist you?  I fear I have little in the way of magical power myself.~ */ GOTO 13
END

IF ~~ THEN BEGIN 11 // from: 10.0
  SAY #86484 /* ~I would but dispel is beyond my... er... rather, I exhausted my *cluck* memorized spells earlier, and now I cannot... access my spellbook.  Have you or a member of your party the *cluck* ability to cast such a spell?~ */
  IF ~~ THEN REPLY #86485 /* ~Perhaps... but what shall be our reward?  'Twould seem such a spell would be worth much to you, at this particular time especially.~ */ GOTO 12
  IF ~~ THEN REPLY #86486 /* ~Of course, we shall have you restored in short order.  Do not move until the casting be done.~ */ GOTO 15
  IF ~~ THEN REPLY #86487 /* ~It's a spell neither I, nor my comrades can cast at this time.  Is there another way I might assist you?~ */ GOTO 13
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #86488 /* ~REWARD?!  Forgive me*cluck*, but I seem to have left my purse in my other robe!  *sigh*  Free me and I shall give you what *cluck* gold I have.  'Tis a meager amount, but 'tis *cluck* yours.~ */
  IF ~~ THEN REPLY #86489 /* ~Then we shall have you restored post haste.  Hold still while the casting is done.~ */ GOTO 15
  IF ~~ THEN REPLY #86490 /* ~Now that it's determined you have money to give, I confess we do not have that spell available to us.  I will aid you as best I can some other way, for the same reward of course.~ */ GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.1 11.2 10.2
  SAY #86491 /* ~Blast it all!  Well, there is nothing else I *cluck* can do except my most hated option.  There is a tower directly to the west of *cluck* Beregost, about which can be found the mage Thalantyr.  I am his... apprentice, and I am... certain he will *cluck* aid me.~ */
  IF ~~ THEN REPLY #86492 /* ~Then to his abode we shall go.  I will escort you.~ */ GOTO 16
  IF ~~ THEN REPLY #86493 /* ~For being his apprentice you seem unsure of his willingness to help you.~ */ GOTO 14
  IF ~~ THEN REPLY #86494 /* ~It's too far afield for us.  You will have to find your own way.~ */ EXIT
END

IF ~~ THEN BEGIN 14 // from: 15.1 13.1
  SAY #86495 /* ~Oh, 'tis nothing *cluck*... REALLY!  Um, often the relationship between *cluck* apprentice and master is... strained.  He will help.  I am... certain.~ */
  IF ~~ THEN REPLY #86492 /* ~Then to his abode we shall go.  I will escort you.~ */ GOTO 16
  IF ~~ THEN REPLY #86496 /* ~Regardless, it's too far out of our way.  You will have to make your own way there.~ */ GOTO 9
END

IF ~~ THEN BEGIN 15 // from: 12.0 11.1
  SAY #86497 /* ~It didn't *cluck* work!  Bother and Blast, your skill is no better than mi... um... rather, I fear that *cluck* you have not the ability to release... my enchantment.  My only *cluck* recourse now is to find my... master.  Would you take me to the *cluck* tower near Beregost?  'Tis there we will find Thalantyr.  He might hel... er... should be able to deal with *cluck* this.~ */
  IF ~~ THEN REPLY #86492 /* ~Then to his abode we shall go.  I will escort you.~ */ GOTO 16
  IF ~~ THEN REPLY #86493 /* ~For being his apprentice you seem unsure of his willingness to help you.~ */ GOTO 14
  IF ~~ THEN REPLY #86494 /* ~It's too far afield for us.  You will have to find your own way.~ */ GOTO 9
END

IF ~~ THEN BEGIN 16 // from: 15.0 14.0 13.0
  SAY #86498 /* ~Thank you!  It's located just to the west of Beregost.  Thalantyr lives in a large manor there.  I'll just nestle in your pack until we get there.~ */
  IF ~~ THEN DO ~GiveItemCreate("_MISC49",LastTalkedToBy,0,0,0)
EraseJournalEntry(86582)
DestroySelf()
~ UNSOLVED_JOURNAL #86499 /* ~Melicamp the chicken

I have met an unfortunate wizard in the shape of a chicken.  I am to take him to see Thalantyr, just to the west of Beregost.~ */ EXIT
END

IF ~~ THEN BEGIN 17 // from:
  SAY #86500 /* ~Yes, Master Thalantyr; it is *cluck* I.~ */
  IF ~~ THEN EXTERN ~_THALAN~ 16
END

IF ~~ THEN BEGIN 18 // from:
  SAY #86501 /* ~You speak of so much, but show so little!  I only wished to *cluck* learn a fraction of the power you possess!~ */
  IF ~~ THEN EXTERN ~_THALAN~ 18
END

IF ~~ THEN BEGIN 19 // from:
  SAY #86502 /* ~I have progressed much since then... and I *cluck* "borrowed" a few items to speed the process.~ */
  IF ~~ THEN EXTERN ~_THALAN~ 19
END

IF ~~ THEN BEGIN 20 // from:
  SAY #86503 /* ~Nothing too valuable, I swear!  Just some *cluck* components, a few scrolls, a beat-up pair of bracers, a blank spellbook, some parchment...~ */
  IF ~~ THEN EXTERN ~_THALAN~ 20
END

IF ~~ THEN BEGIN 21 // from:
  SAY #86504 /* ~I know I stole from you, but you can't leave me like this!  Please Master Thalantyr, please... *cluck*~ */
  IF ~~ THEN EXTERN ~_THALAN~ 21
END

IF ~~ THEN BEGIN 22 // from:
  SAY #86505 /* ~Reincarnate?  But does that spell not require *cluck* the recipient to be dead?~ */
  IF ~~ THEN EXTERN ~_THALAN~ 25
END

IF WEIGHT #4 /* Triggers after states #: 27 even though they appear after this state */
~Global("TransformedChicken","GLOBAL",1)
~ THEN BEGIN 23 // from:
  SAY #86506 /* ~I have arms!!  Arms and hands and feet and and... OH, thank you master Thalantyr, thank you!~ */
  IF ~~ THEN DO ~SetGlobal("TransformedChicken","GLOBAL",2)
~ EXTERN ~_THALAN~ 29
  IF ~Global("X#GarMel2","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarMel2","GLOBAL",1)~ EXTERN ~_GARRIJ~ 91
END

IF ~~ THEN BEGIN 24 // from:
  SAY #86507 /* ~I... I think so.~ */
  IF ~~ THEN EXTERN ~_THALAN~ 31
END

IF ~~ THEN BEGIN 25 // from:
  SAY #86508 /* ~Yes, Master Thalantyr.~ */
  IF ~~ THEN DO ~AddexperienceParty(2000)
ReputationInc(1)
EraseJournalEntry(86499)
EraseJournalEntry(86561)
~ SOLVED_JOURNAL #86509 /* ~Melicamp restored

Thalantyr has successfully transformed Melicamp.  Hopefully the young mage has learned his lesson.~ */ EXTERN ~_THALAN~ 32
END

IF WEIGHT #6 /* Triggers after states #: 27 even though they appear after this state */
~True()
~ THEN BEGIN 26 // from:
  SAY #86510 /* ~I've a lot to learn, but at least I'll live to learn it.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
Global("TransformedChicken","GLOBAL",1)
~ THEN BEGIN 27 // from:
  SAY #86511 /* ~Master Thalantyr has been most gracious since the incident.  Thank you for that.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 28 // from:
  SAY #75411 /* ~You've made no friends here!  Move along!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 29 // from:
  SAY #103146 /* ~Er... of course. I... I apologize, druid.~ */
  IF ~~ THEN EXTERN ~_THALAN~ 54
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 53
END

IF ~~ THEN BEGIN 30 // from:
  SAY #103146 /* ~Er... of course. I... I apologize, druid.~ */
  IF ~~ THEN EXTERN ~_THALAN~ 56
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 55
END

IF ~~ THEN BEGIN 31 // from:
  SAY #103144 /* ~And good thing it is...~ */
  IF ~~ THEN EXTERN ~_THALAN~ 58
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 57
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 32
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 126
END

IF ~~ THEN BEGIN 32 // from: 31.2
  SAY #103146 /* ~Er... of course. I... I apologize, druid.~ */
  IF ~~ THEN EXTERN ~_THALAN~ 58
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 57
END

IF ~~ THEN BEGIN 33 // from:
  SAY #103144 /* ~And good thing it is...~ */
  IF ~~ THEN EXTERN ~_THALAN~ 60
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 59
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 34
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 128
END

IF ~~ THEN BEGIN 34 // from: 33.2
  SAY #103146 /* ~Er... of course. I... I apologize, druid.~ */
  IF ~~ THEN EXTERN ~_THALAN~ 60
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 59
END

IF ~~ THEN BEGIN 35 // from: _GARRIJ:176.4
  SAY #103144 /* ~And good thing it is...~ */
  IF ~~ THEN EXTERN ~_THALAN~ 62
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 61
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 36
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 130
END

IF ~~ THEN BEGIN 36 // from: 35.2 _GARRIJ:176.2
  SAY #103146 /* ~Er... of course. I... I apologize, druid.~ */
  IF ~~ THEN EXTERN ~_THALAN~ 62
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 61
END

IF ~~ THEN BEGIN 37 // from: _GARRIJ:177.4
  SAY #103144 /* ~And good thing it is...~ */
  IF ~~ THEN EXTERN ~_THALAN~ 65
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 64
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 38
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 132
END

IF ~~ THEN BEGIN 38 // from: 37.2 _GARRIJ:177.2
  SAY #103146 /* ~Er... of course. I... I apologize, druid.~ */
  IF ~~ THEN EXTERN ~_THALAN~ 65
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 64
END

IF ~~ THEN BEGIN 39 // from: _GARRIJ:179.4 _GARRIJ:178.4
  SAY #103144 /* ~And good thing it is...~ */
  IF ~~ THEN EXTERN ~_THALAN~ 68
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 67
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 40
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 134
END

IF ~~ THEN BEGIN 40 // from: 39.2 _GARRIJ:179.2 _GARRIJ:178.2
  SAY #103146 /* ~Er... of course. I... I apologize, druid.~ */
  IF ~~ THEN EXTERN ~_THALAN~ 68
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_THALAN~ 67
END

IF ~~ THEN BEGIN 41 // from: 1.1
  SAY #103466 /* ~Buc-becaw-kill-the-wolf! Buc-becaw-stupid!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 42 // from:
  SAY #103466 /* ~Buc-becaw-kill-the-wolf! Buc-becaw-stupid!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 43 // from:
  SAY #103466 /* ~Buc-becaw-kill-the-wolf! Buc-becaw-stupid!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 44 // from: 2.3
  SAY #103473 /* ~*cluck* The wolf! The wolf is coming!~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
END

IF ~~ THEN BEGIN 45 // from:
  SAY #103473 /* ~*cluck* The wolf! The wolf is coming!~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
END

IF ~~ THEN BEGIN 46 // from: _GARRIJ:213.3
  SAY #103473 /* ~*cluck* The wolf! The wolf is coming!~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
END

IF ~~ THEN BEGIN 47 // from: 2.6
  SAY #103470 /* ~Gaaaaaah! *cluck*~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 48
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 199
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 214
END

IF ~~ THEN BEGIN 48 // from: 47.3 _GARRIJ:214.3
  SAY #103473 /* ~*cluck* The wolf! The wolf is coming!~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
END

IF ~~ THEN BEGIN 49 // from: _GARRIJ:215.6
  SAY #103470 /* ~Gaaaaaah! *cluck*~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 50
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 200
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 216
END

IF ~~ THEN BEGIN 50 // from: 49.3 _GARRIJ:216.3 _GARRIJ:215.3
  SAY #103473 /* ~*cluck* The wolf! The wolf is coming!~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
END

IF ~~ THEN BEGIN 51 // from: 2.8
  SAY #103468 /* ~Fowl? *cluck* You've no idea how much I'm *cluck* going to hate these paltry jokes when *cluck* I get out of this!~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 53
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 201
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 218
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN GOTO 52
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 217
END

IF ~~ THEN BEGIN 52 // from: 51.6 _GARRIJ:217.6
  SAY #103470 /* ~Gaaaaaah! *cluck*~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 53
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 201
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 218
END

IF ~~ THEN BEGIN 53 // from: 52.3 51.3 _GARRIJ:218.3 _GARRIJ:217.3
  SAY #103473 /* ~*cluck* The wolf! The wolf is coming!~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
END

IF ~~ THEN BEGIN 54 // from: _GARRIJ:219.8
  SAY #103468 /* ~Fowl? *cluck* You've no idea how much I'm *cluck* going to hate these paltry jokes when *cluck* I get out of this!~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 56
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 202
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 221
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN GOTO 55
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 220
END

IF ~~ THEN BEGIN 55 // from: 54.6 _GARRIJ:220.6 _GARRIJ:219.6
  SAY #103470 /* ~Gaaaaaah! *cluck*~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 56
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 202
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 221
END

IF ~~ THEN BEGIN 56 // from: 55.3 54.3 _GARRIJ:221.3 _GARRIJ:220.3 _GARRIJ:219.3
  SAY #103473 /* ~*cluck* The wolf! The wolf is coming!~ */
  IF ~~ THEN REPLY #86466 /* ~Forsooth!  Methinks you are no ordinary talking chicken!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 5
  IF ~~ THEN REPLY #86467 /* ~I fear I have taken one too many blows to the head.  Next I'll be hearing hamsters speak.~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 4
  IF ~~ THEN REPLY #86468 /* ~Aaaaahhh!!  Unholy magics are afoot!  This chicken is possessed!  This bird is FOUL!~ */ DO ~SetGlobal("TalkedToChicken","GLOBAL",1)
~ GOTO 3
END
