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

BEGIN ~_PALIN~

IF ~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #83098 /* ~Good day to you, strangers. Excuse my, umm, abruptness but I would ask your assistance. Just east of this place there are monsters. They are attacking a small group of people. Please, if you have hearts, come and help me fight.~ */
  IF ~~ THEN REPLY #83099 /* ~Lead the way. Let us show these beasts the face of fear.~ */ GOTO 1
  IF ~~ THEN REPLY #83100 /* ~Who cares? Get thee gone, beggar!~ */ GOTO 2
  IF ~~ THEN REPLY #83101 /* ~Sure, I'll help. Of course, my party will claim any and all treasure collected in this little diversion.~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 3.0 0.0
  SAY #83102 /* ~This way, this way!~ */
  IF ~~ THEN DO ~DialogueInterrupt(FALSE)
MoveToPoint([2010.3323])
SetGlobal("PalinMove","GLOBAL",1)
DialogueInterrupt(TRUE)
~ UNSOLVED_JOURNAL #83103 /* ~Palin and the monsters

Villainy is afoot!  I have agreed to help a young man rout some 'monsters' before they can do any harm.  He leads the way as I write!~ */ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #83104 /* ~As you will. Come, my brothers, let us feast.~ */
  IF ~~ THEN DO ~CreateCreature("_WOLFWE",[2336.3292],0)
CreateCreature("_WOLFWE",[2352.3450],0)
CreateCreature("_WOLFWE",[2255.3480],0)
CreateCreature("_OLFWEGL",[2135.3516],0)
EraseJournalEntry(83103)
Enemy()
MoveToPoint([1994.3323])
~ SOLVED_JOURNAL #83105 /* ~Palin and the monsters

Ambushed!  These creatures are cagey opponents!~ */ EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #83112 /* ~Of course. Whatever you wish.~ */
  IF ~~ THEN GOTO 1
END

IF ~Global("PalinMove","GLOBAL",1)
~ THEN BEGIN 4 // from:
  SAY #83113 /* ~Here we be.~ */
  IF ~~ THEN REPLY #83114 /* ~I see no battle. State your purpose.~ */ DO ~SetGlobal("PalinMove","GLOBAL",2)
~ GOTO 6
  IF ~~ THEN REPLY #83115 /* ~Where might these fearsome monsters be?~ */ DO ~SetGlobal("PalinMove","GLOBAL",2)
~ GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.1
  SAY #83116 /* ~They are here. Come out, brothers.~ */
  IF ~~ THEN DO ~CreateCreature("_WOLFWE",[2336.3292],0)
CreateCreature("_WOLFWE",[2352.3450],0)
CreateCreature("_WOLFWE",[2255.3480],0)
CreateCreature("_OLFWEGL",[2135.3516],0)
EraseJournalEntry(83103)
Enemy()
~ SOLVED_JOURNAL #83105 /* ~Palin and the monsters

Ambushed!  These creatures are cagey opponents!~ */ EXIT
  IF ~Global("X#VicPalin","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#VicPalin","GLOBAL",1)~ EXTERN ~_VICONJ~ 59
END

IF ~~ THEN BEGIN 6 // from: 4.0
  SAY #83117 /* ~This is battle. Brothers, join the slaughter.~ */
  IF ~~ THEN DO ~CreateCreature("_WOLFWE",[2336.3292],0)
CreateCreature("_WOLFWE",[2352.3450],0)
CreateCreature("_WOLFWE",[2255.3480],0)
CreateCreature("_OLFWEGL",[2135.3516],0)
EraseJournalEntry(83103)
Enemy()
~ SOLVED_JOURNAL #83105 /* ~Palin and the monsters

Ambushed!  These creatures are cagey opponents!~ */ EXIT
END

IF ~~ THEN BEGIN 7 // from: _VICONJ:59.1
  SAY #98453 /* ~At them!~ */
  IF ~~ THEN DO ~CreateCreature("_WOLFWE",[2336.3292],0)
CreateCreature("_WOLFWE",[2352.3450],0)
CreateCreature("_WOLFWE",[2255.3480],0)
CreateCreature("_OLFWEGL",[2135.3516],0)
EraseJournalEntry(83103)
Enemy()
~ SOLVED_JOURNAL #83105 /* ~Palin and the monsters

Ambushed!  These creatures are cagey opponents!~ */ EXIT
END
