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

BEGIN ~PALLON~

IF ~  True()
~ THEN BEGIN 0 // from:
  SAY #18297 /* ~I know why you're here. It's the same reason everyone else comes to see me, and you shall get the same answer. I do NOT know when the iron shortage will let up, I have NO CLUE as to who controls the bandits in the area, and I have NO INTEREST in accompanying you to the gambling tables in Baldur's Gate.~ */
  IF ~~ THEN REPLY #18321 /* ~Pardon me, but if you do not trouble yourself with the events of the day, what purpose do your star-gazings serve?~ */ GOTO 3
  IF ~~ THEN REPLY #18324 /* ~What good are your musings if they do not have practical use? Perhaps your predictions are not as accurate as you would have people believe?~ */ GOTO 2
  IF ~~ THEN REPLY #18325 /* ~I've no wish to disturb you further, and shall be on my way.~ */ GOTO 1
  IF ~Global("X#SafanaPallon1","GLOBAL",0)
Gender(Player1,MALE)
InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SafanaPallon1","GLOBAL",1)~ EXTERN ~SAFANJ~ 25
END

IF ~~ THEN BEGIN 1 // from: 0.2
  SAY #18327 /* ~I... I am sorry for my rudeness. It would seem that I was quite disturbed even before you came anywhere near me. I simply get tired of the asking, especially when people find the answers too vague. The stars are not a reference book with everything laid out plain. Were it so, anyone could pick the page they wished and there would be no need for one such as me. As it is, I have little to say of our current troubles.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~Global("X#ImoenPallon2","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenPallon2","GLOBAL",1)~ EXTERN ~IMOEN2~ 215
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #18334 /* ~Perhaps they are not accurate? Specific they may not be, but do not presume to question my accuracy! I recognize rotations and alignments more accurately than most people recognize their children! You are indeed a short-minded fool if you discount me just because I don't concern myself with parlor tricks! The nerve! Leave me, and don't darken my path again.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~Global("X#PALLON2","GLOBAL",0)
InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON2","GLOBAL",1)~ GOTO 8
  IF ~Global("X#PALLON2","GLOBAL",0)
InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON2","GLOBAL",1)~ EXTERN ~EDWINJ~ 201
  IF ~Global("X#PALLON2","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON2","GLOBAL",1)~ GOTO 10
  IF ~Global("X#PALLON2","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON2","GLOBAL",1)~ EXTERN ~IMOEN2~ 436
  IF ~Global("X#PALLON2","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON2","GLOBAL",1)~ EXTERN ~IMOEN2~ 437
  IF ~Global("X#PALLON2","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON2","GLOBAL",1)~ EXTERN ~IMOEN2~ 439
END

IF ~~ THEN BEGIN 3 // from: 0.0
  SAY #18338 /* ~What purpose? The Sword Coast is by no means the center of the universe. Lives and dramas are lived out across the realms. There are lands closer than you would think that neither know nor care about our little problems.~ */
  IF ~~ THEN REPLY #18346 /* ~I have no time for the problems of lands far away. I can barely keep up with domestic concerns as it is.~ */ GOTO 5
  IF ~~ THEN REPLY #18347 /* ~And what of these lands? What intrigues lay beyond our borders?~ */ GOTO 4
  IF ~Global("X#PALLON3","GLOBAL",0)
InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON3","GLOBAL",1)~ EXTERN ~SAFANJ~ 47
  IF ~Global("X#PALLON3","GLOBAL",0)
InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON3","GLOBAL",1)~ EXTERN ~EDWINJ~ 206
END

IF ~~ THEN BEGIN 4 // from: 3.1
  SAY #18344 /* ~Well, just across the southern mountains there are troubles brewing in great Amn that will make our current concerns seem small by comparison. To the far north there is a city where winter never rears its ugly head: a city that has not been seen nor heard from for many a year, but will soon welcome the return of a multitude of citizens. Both of these events will unfold regardless of our current troubles. Great may be our concerns, but much more is on the horizon. Leave me be, I have much to think upon.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~Global("X#PALLON4","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON4","GLOBAL",1)~ GOTO 18
  IF ~Global("X#PALLON4","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON4","GLOBAL",1)~ EXTERN ~GARRIJ~ 198
  IF ~Global("X#PALLON4","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON4","GLOBAL",1)~ GOTO 20
  IF ~Global("X#PALLON4","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON4","GLOBAL",1)~ EXTERN ~IMOEN2~ 442
  IF ~Global("X#PALLON4","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON4","GLOBAL",1)~ EXTERN ~IMOEN2~ 443
  IF ~Global("X#PALLON4","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#PALLON4","GLOBAL",1)~ EXTERN ~IMOEN2~ 445
END

IF ~~ THEN BEGIN 5 // from: 3.0
  SAY #18353 /* ~Your focus will benefit you in the short term, but there will come a time when the Sword Coast is at peace once again. As long as you do not dwell upon the past, simply because it used to be your present. Oh dear, I may have confused myself with that last piece of... wisdom. I should really not stare at the stars quite so vigorously. Leave me, I must rest.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~Global("X#ImoenPallon1","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenPallon1","GLOBAL",1)~ EXTERN ~IMOEN2~ 218
END

IF ~~ THEN BEGIN 6 // from:
  SAY #47051 /* ~You will see. Farewell.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #47051 /* ~You will see. Farewell.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 2.1
  SAY #50145 /* ~Begone!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 9 // from:
  SAY #50145 /* ~Begone!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 10 // from: 2.3
  SAY #49833 /* ~Hmf!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 11
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~EDWINJ~ 202
END

IF ~~ THEN BEGIN 11 // from: 10.1
  SAY #50145 /* ~Begone!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 12 // from:
  SAY #49833 /* ~Hmf!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 13
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~EDWINJ~ 203
END

IF ~~ THEN BEGIN 13 // from: 12.1
  SAY #50145 /* ~Begone!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 14 // from:
  SAY #49833 /* ~Hmf!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 15
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~EDWINJ~ 204
END

IF ~~ THEN BEGIN 15 // from: 14.1
  SAY #50145 /* ~Begone!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 16 // from:
  SAY #49833 /* ~Hmf!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 17
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~EDWINJ~ 205
END

IF ~~ THEN BEGIN 17 // from: 16.1
  SAY #50145 /* ~Begone!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 18 // from: 4.1
  SAY #50150 /* ~That there is. Mayhap one day some of you will be a part of it. Think on that.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 19 // from:
  SAY #50150 /* ~That there is. Mayhap one day some of you will be a part of it. Think on that.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 20 // from: 4.3
  SAY #50148 /* ~So you see.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN GOTO 21
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 199
END

IF ~~ THEN BEGIN 21 // from: 20.1
  SAY #50150 /* ~That there is. Mayhap one day some of you will be a part of it. Think on that.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 22 // from:
  SAY #50148 /* ~So you see.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN GOTO 23
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 200
END

IF ~~ THEN BEGIN 23 // from: 22.1
  SAY #50150 /* ~That there is. Mayhap one day some of you will be a part of it. Think on that.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 24 // from:
  SAY #50148 /* ~So you see.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN GOTO 25
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 201
END

IF ~~ THEN BEGIN 25 // from: 24.1
  SAY #50150 /* ~That there is. Mayhap one day some of you will be a part of it. Think on that.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 26 // from:
  SAY #50148 /* ~So you see.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN GOTO 27
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 202
END

IF ~~ THEN BEGIN 27 // from: 26.1
  SAY #50150 /* ~That there is. Mayhap one day some of you will be a part of it. Think on that.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END
