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

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

IF WEIGHT #1 /* Triggers after states #: 35 even though they appear after this state */
~Global("TalkedTozGorDemo","GLOBAL",0)
Global("OdrenRitualDone","GLOBAL",0)
Global("zGorDemoJob","GLOBAL",0)~ THEN BEGIN 0 // from:
  SAY #62802 /* ~As you step into the chamber, a feeling of palpable power washes over you.  You get a sensation that *something* has turned its attention towards you, gaining an alien interest in your presence that forces your insides to clench reflexively.~ */
  IF ~~ THEN GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #62852 /* ~You do not see anything physical within the chamber... but you feel its presence all around you.  A phantasmal hand brushes your cheek, a curious gesture that startles you and is gone just as quickly.~ */
  IF ~True()~ THEN GOTO 2
  IF ~IsValidForPartyDialog("Keldorn")
GlobalGT("Chapter","GLOBAL",7)
~ THEN EXTERN ~KELDO25J~ 6
  IF ~IsValidForPartyDialog("Viconia")
GlobalGT("Chapter","GLOBAL",7)
~ THEN EXTERN ~VICON25J~ 26
  IF ~IsValidForPartyDialog("Anomen")
GlobalGT("Chapter","GLOBAL",7)
~ THEN EXTERN ~ANOME25J~ 25
  IF ~IsValidForPartyDialog("Aerie")
GlobalGT("Chapter","GLOBAL",7)
~ THEN EXTERN ~AERIE25J~ 25
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #62853 /* ~The presence then moves away slightly, as if considering.  You hear it speak within your mind.  Its speech, however, is not in words.  It is a mix of indecipherable emotions that burn across your brain, leaving an impression that is clear:

'I am the Imprisoned One.  You intrude upon my solace, mortal.'~ [DEMOG06] */
  IF ~~ THEN REPLY #62854 /* ~What are you?!  Why have you been imprisoned here?~ */ DO ~SetGlobal("TalkedTozGorDemo","GLOBAL",1)~ GOTO 3
  IF ~~ THEN REPLY #62855 /* ~Get out of my mind!  Show yourself!!~ */ DO ~SetGlobal("TalkedTozGorDemo","GLOBAL",1)~ GOTO 3
  IF ~~ THEN REPLY #62856 /* ~I am here to seal your cage forever, monster!~ */ DO ~SetGlobal("TalkedTozGorDemo","GLOBAL",1)~ GOTO 4
  IF ~~ THEN REPLY #62857 /* ~I... meant no disrespect, Imprisoned One.  I was sent to perform a task, that is all.~ */ DO ~SetGlobal("TalkedTozGorDemo","GLOBAL",1)~ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 2.1 2.0
  SAY #62862 /* ~Impressions assault your mind briefly... knowing amusement combined with bitterness and images that your mind's eye refuses to recognize and turns away from.  Deeper impressions instill a sense of one name that the being prefers... one that applies to you and it both: prisoner.~ */
  IF ~~ THEN REPLY #62873 /* ~I am no prisoner, here!  What do you imply?~ */ GOTO 7
  IF ~~ THEN REPLY #62874 /* ~I refuse to listen to your lies!  The ritual will keep you prisoner forever!~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 15.1 14.3 11.2 10.0 5.2 3.1 2.2
  SAY #62875 /* ~The presence reels from your mind with disdain and outrage, settling to amused acceptance.  It calmly tells you to read the scroll of the false Helmites, but warns you not to be surprised if the results are not what you expect.~ */
  IF ~~ THEN REPLY #62879 /* ~What do you mean?  Explain yourself!~ */ GOTO 7
  IF ~~ THEN REPLY #62883 /* ~And that's exactly what I'm going to do!~ */ GOTO 6
END

IF ~~ THEN BEGIN 5 // from: 2.3
  SAY #62878 /* ~Impressions again flood through your mind... it knows why you have come and warns you that you will join it in its imprisonment unless you are smarter than those who sent you.~ */
  IF ~~ THEN REPLY #62887 /* ~Smarter than... the Knights of the Vigil?  Explain yourself!~ */ GOTO 7
  IF ~~ THEN REPLY #62892 /* ~Why would I be imprisoned?~ */ GOTO 7
  IF ~~ THEN REPLY #62889 /* ~Your tricks shall not protect you from the ritual!~ */ GOTO 4
END

IF ~~ THEN BEGIN 6 // from: 17.1 4.1
  SAY #62893 /* ~All of the impressions in your mind become more vague as it withdraws from you, waiting for you to commit your act.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 19.0 5.1 5.0 4.0 3.0
  SAY #62894 /* ~Low power suddenly thrums throughout the room as the presence gains a measure of respect for your willingness to listen.  Faint anger and outrage flood through you, directed towards something other than yourself.  It is simple, your mind interprets... you are being deceived.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #62899 /* ~Another image forms in your mind, and you recognize dour men in armor... and further, behind them, lurks a sinister purpose.  Helmites, you are told, the Knights of the Vigil.  There is bitterness and anger in the presence as it conveys its unjust imprisonment by a sect who do not worship Helm at all, but secretly take succor from Helm's darkest enemies.  You are told that this is why the Imprisoned One is kept here, to keep their secret.~ */
  IF ~~ THEN GOTO 9
END

IF ~~ THEN BEGIN 9 // from: 8.0
  SAY #62905 /* ~Echoes stir in your mind as it asks why you think the Knights would send you into this place instead of coming themselves. You are told to ask yourself what will occur when the seals are strengthened.  Impressions of amusement swirl as you are asked if you believe the holy symbol will truly let you leave, then?~ */
  IF ~~ THEN REPLY #62941 /* ~Why should I trust you?  The Knights have given me no reason to be suspicious.~ */ GOTO 10
  IF ~~ THEN REPLY #62942 /* ~You are merely trying to dissuade me from reading the scroll!~ */ GOTO 10
  IF ~~ THEN REPLY #62943 /* ~I, too, wonder about their motives.  What do you propose?~ */ GOTO 14
  IF ~~ THEN REPLY #62944 /* ~If that is so, then I shall deal with you directly.  Show yourself, so I may end your existence!~ */ GOTO 11
END

IF ~~ THEN BEGIN 10 // from: 9.1 9.0
  SAY #62945 /* ~An alien chuckling rings through your head as the presence draws closer.  It smells murder on you and names you as the spawn of Bhaal... a being to be feared.  What better a pawn for the false Helmites to send for this task?  Why imprison only one dangerous being?  Why not imprison two?~ */
  IF ~~ THEN REPLY #62946 /* ~I shall read the scroll, then... I trust you less than anything else.~ */ GOTO 4
  IF ~~ THEN REPLY #62947 /* ~Then what do you propose to do about it?~ */ GOTO 14
  IF ~~ THEN REPLY #62948 /* ~Fine, then.  But I will deal with you directly... show yourself, so I may end your existence!~ */ GOTO 11
END

IF ~~ THEN BEGIN 11 // from: 21.1 19.3 15.2 14.4 10.2 9.3
  SAY #62949 /* ~The images in your mind take on a dangerous glint as the air suddenly electrifies.  You are warned quite clearly that demanding such a thing is dangerous.  Peaceful talk is preferable, but the Imprisoned One seems perfectly willing to appear... if that is what you truly wish.~ */
  IF ~~ THEN REPLY #62956 /* ~That is what I wish!  Show yourself!~ */ GOTO 12
  IF ~~ THEN REPLY #62959 /* ~Perhaps not.  If you have a proposal to make, then make it.~ */ GOTO 14
  IF ~~ THEN REPLY #62960 /* ~I don't need to fight you, whatever you are.  Reading this scroll will do the trick.~ */ GOTO 4
END

IF ~~ THEN BEGIN 12 // from: 32.0 27.1 17.2 11.0
  SAY #62962 /* ~The swirling images clarify suddenly, overwhelming your mind with a strong sensation of evil... it crawls along your consciousness like the blackest of oils.  The stench of sulphur and sweet carrion fill the room as a form begins to take shape before you.~ */
  IF ~~ THEN GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #62964 /* ~One last, fleeting thought comes... words from an ancient evil so alien to your awareness that communication is barely possible.  But this thought sears into your consciousness clearly...

'Know me then by my best name, mortal.  You face Demogorgon, Prince of Demons.'~ [DEMOG07] */
  IF ~~ THEN DO ~ReallyForceSpell(Myself,DEMOGORGON_CHANGE)
SetGlobal("DemogorgonChange","GLOBAL",1)
TriggerActivation("DemoGorgonInfo",FALSE)
~ EXIT
END

IF ~~ THEN BEGIN 14 // from: 19.1 11.1 10.1 9.2
  SAY #62965 /* ~The feelings in your mind grow suddenly hopeful.  You are told that the Imprisoned One wishes only its own freedom.  A further impression follows it... the wish for the presence to get revenge for the wrong done to it.  And a chance for you to gain revenge for being manipulated, as well.~ */
  IF ~~ THEN REPLY #62967 /* ~But I do not wish to take any revenge.~ */ GOTO 15
  IF ~~ THEN REPLY #62969 /* ~Revenge is fine, but rewards interest me more.~ */ GOTO 15
  IF ~~ THEN REPLY #62970 /* ~What can I do?~ */ GOTO 17
  IF ~~ THEN REPLY #62973 /* ~I don't trust you... I'm going to read the scroll.~ */ GOTO 4
  IF ~~ THEN REPLY #62975 /* ~I've heard enough!  Show yourself, whatever you are, so I might destroy you!~ */ GOTO 11
END

IF ~~ THEN BEGIN 15 // from: 14.1 14.0
  SAY #62976 /* ~You get the impression of a definite promise from this being.  If revenge is not enough, once the Imprisoned One is free it will have power to offer whatever you wish.  Images of wealth and magic... as well as an offer of information on your godly heritage and its true powers...~ */
  IF ~~ THEN REPLY #62977 /* ~All right, I'm interested.  What do you need me to do?~ */ GOTO 17
  IF ~~ THEN REPLY #62978 /* ~I don't trust you... I'm going to read the scroll.~ */ GOTO 4
  IF ~~ THEN REPLY #62979 /* ~I've heard enough!  Show yourself, whatever you are, so I might destroy you!~ */ GOTO 11
  IF ~~ THEN REPLY #62980 /* ~None of these things interest me... but neither does helping the Knights.  I'm leaving.~ */ GOTO 16
END

IF ~~ THEN BEGIN 16 // from: 21.2 15.3
  SAY #62981 /* ~The presence withdraws from your mind, watching you warily... but says nothing.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 17 // from: 15.0 14.2
  SAY #62982 /* ~A series of images take you a moment to understand.  The Imprisoned One wishes you to go to the leader of the Knights... tell him that you have destroyed it.  He will wish to enter the Keep to confirm this.  The Imprisoned One will kill him... and with his death it shall be free at long last.  The false Helmites will be destroyed and justice shall be done.~ */
  IF ~~ THEN REPLY #62983 /* ~Very well.  I will do this.~ */ GOTO 18
  IF ~~ THEN REPLY #62984 /* ~No... I will not be manipulated by you.  I will read the scroll and be done with it.~ */ GOTO 6
  IF ~~ THEN REPLY #62985 /* ~No, I will not take part in your plan.  Show yourself, whatever you are... I shall destroy you here and now.~ */ GOTO 12
END

IF ~~ THEN BEGIN 18 // from: 17.0
  SAY #62986 /* ~The presence is obviously pleased and grateful.  The whispers tell you they will be pleased to await the arrival of the false Helmites, at your leisure.~ */
  IF ~True()~ THEN DO ~SetGlobal("zGorDemoJob","GLOBAL",1)~ UNSOLVED_JOURNAL #62987 /* ~Watcher's Keep

I have encountered the Imprisoned One after opening the final seal and listened to its story of false imprisonment by the Knights of the Vigil and its offer of revenge and reward for its freedom.  According to it, the Knights had planned for me to be sealed up in this place along with the Imprisoned One... something that strikes me as having the ring of truth.  In order to free the Imprisoned One, I will have to go to Odren and tell him that the Imprisoned One is dead... Odren will investigate and the Imprisoned One will kill him.~ */ EXIT
  IF ~IsValidForPartyDialog("HaerDalis")
GlobalGT("Chapter","GLOBAL",7)
~ THEN DO ~SetGlobal("zGorDemoJob","GLOBAL",1)~ UNSOLVED_JOURNAL #62987 /* ~Watcher's Keep

I have encountered the Imprisoned One after opening the final seal and listened to its story of false imprisonment by the Knights of the Vigil and its offer of revenge and reward for its freedom.  According to it, the Knights had planned for me to be sealed up in this place along with the Imprisoned One... something that strikes me as having the ring of truth.  In order to free the Imprisoned One, I will have to go to Odren and tell him that the Imprisoned One is dead... Odren will investigate and the Imprisoned One will kill him.~ */ EXTERN ~HAERD25J~ 7
  IF ~IsValidForPartyDialog("Anomen")
GlobalGT("Chapter","GLOBAL",7)
~ THEN DO ~SetGlobal("zGorDemoJob","GLOBAL",1)~ UNSOLVED_JOURNAL #62987 /* ~Watcher's Keep

I have encountered the Imprisoned One after opening the final seal and listened to its story of false imprisonment by the Knights of the Vigil and its offer of revenge and reward for its freedom.  According to it, the Knights had planned for me to be sealed up in this place along with the Imprisoned One... something that strikes me as having the ring of truth.  In order to free the Imprisoned One, I will have to go to Odren and tell him that the Imprisoned One is dead... Odren will investigate and the Imprisoned One will kill him.~ */ EXTERN ~ANOME25J~ 26
  IF ~IsValidForPartyDialog("Keldorn")
GlobalGT("Chapter","GLOBAL",7)
~ THEN DO ~SetGlobal("zGorDemoJob","GLOBAL",1)~ UNSOLVED_JOURNAL #62987 /* ~Watcher's Keep

I have encountered the Imprisoned One after opening the final seal and listened to its story of false imprisonment by the Knights of the Vigil and its offer of revenge and reward for its freedom.  According to it, the Knights had planned for me to be sealed up in this place along with the Imprisoned One... something that strikes me as having the ring of truth.  In order to free the Imprisoned One, I will have to go to Odren and tell him that the Imprisoned One is dead... Odren will investigate and the Imprisoned One will kill him.~ */ EXTERN ~KELDO25J~ 7
END

IF WEIGHT #2 /* Triggers after states #: 35 even though they appear after this state */
~Global("TalkedTozGorDemo","GLOBAL",1)
Global("OdrenRitualDone","GLOBAL",0)
Global("zGorDemoJob","GLOBAL",0)~ THEN BEGIN 19 // from:
  SAY #62988 /* ~Feelings of faint surprise creep through your mind.  The presence asks if you no longer intend to read the scroll... with clear hope it suggests that perhaps now you are willing to act against the false Helmites?~ */
  IF ~~ THEN REPLY #62989 /* ~Why should I act against them?  What have they done to me?~ */ GOTO 7
  IF ~~ THEN REPLY #62990 /* ~What do you propose?~ */ GOTO 14
  IF ~~ THEN REPLY #62991 /* ~No, I intend to read the ritual.  Begone.~ */ GOTO 20
  IF ~~ THEN REPLY #62992 /* ~No!  I demand that you show yourself!  I will end your existence now!~ */ GOTO 11
END

IF ~~ THEN BEGIN 20 // from: 21.0 19.2
  SAY #62993 /* ~With disgust, the presence fades a bit, suggesting that you get on with your foolish task if that is your intention.  You will see the truth soon enough.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 35 even though they appear after this state */
~Global("TalkedTozGorDemo","GLOBAL",1)
Global("OdrenRitualDone","GLOBAL",0)
Global("zGorDemoJob","GLOBAL",1)~ THEN BEGIN 21 // from:
  SAY #62994 /* ~You feel faint probes gently pushing at your mind.  You sense that the Imprisoned One is curious as to why you have not yet gone on to the Knights of the Vigil.~ */
  IF ~~ THEN REPLY #62996 /* ~I have decided not to aid you.  I will read this scroll, after all.~ */ DO ~SetGlobal("zGorDemoJob","GLOBAL",0)~ GOTO 20
  IF ~~ THEN REPLY #62997 /* ~I have decided I would rather destroy you, whatever you are.  Show yourself!~ */ DO ~SetGlobal("zGorDemoJob","GLOBAL",0)~ GOTO 11
  IF ~~ THEN REPLY #62999 /* ~I do not wish to help you kill Odren, or help him, either.  I am leaving.~ */ DO ~SetGlobal("zGorDemoJob","GLOBAL",0)~ GOTO 16
  IF ~~ THEN REPLY #63001 /* ~How do I know you are being truthful, that you will keep your end of the bargain?~ */ GOTO 23
  IF ~~ THEN REPLY #63003 /* ~I'm going, don't rush me.~ */ GOTO 22
END

IF ~~ THEN BEGIN 22 // from: 21.4
  SAY #63005 /* ~The presence in the room is faintly suspicious but says nothing.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 23 // from: 21.3
  SAY #63008 /* ~Indecipherable sensations swim about you as the presence considers, nonplussed.  It cannot prove anything to you, it finally decides.  Read the scroll if you wish to learn the truth, it suggests, or confront the Knights themselves.  Until the Imprisoned One is free it has no power to convince you.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 35 even though they appear after this state */
~Global("OdrenRitualDone","GLOBAL",1)
Global("DemogorgonWarned","GLOBAL",0)~ THEN BEGIN 24 // from:
  SAY #63012 /* ~The currents in the room waver as feelings of resentment laced with amusement wash over you.  You interpret the sensations as the Imprisoned One's congratulations... the seals are renewed.  It tells you to attempt to exit, now... and to come back to it when you fail.~ */
  IF ~True()~ THEN DO ~SetGlobal("DemogorgonWarned","GLOBAL",1)~ EXIT
  IF ~IsValidForPartyDialog("Imoen2")
GlobalGT("Chapter","GLOBAL",7)
~ THEN DO ~SetGlobal("DemogorgonWarned","GLOBAL",1)~ EXTERN ~IMOEN25J~ 27
  IF ~IsValidForPartyDialog("Anomen")
GlobalGT("Chapter","GLOBAL",7)
~ THEN DO ~SetGlobal("DemogorgonWarned","GLOBAL",1)~ EXTERN ~ANOME25J~ 27
  IF ~IsValidForPartyDialog("Sarevok")
GlobalGT("Chapter","GLOBAL",7)
~ THEN DO ~SetGlobal("DemogorgonWarned","GLOBAL",1)~ EXTERN ~SAREV25J~ 11
END

IF WEIGHT #5 /* Triggers after states #: 35 even though they appear after this state */
~Global("OdrenRitualDone","GLOBAL",1)
Global("DemogorgonWarned","GLOBAL",1)~ THEN BEGIN 25 // from:
  SAY #63014 /* ~The presence dances about you with amused chitter.  It knows that the exits are closed to you, now.  Bhaalspawn and Imprisoned One together, two dangerous entities locked away for the price of one.  Perhaps now you are convinced that the false Helmites intended this all along...~ */
  IF ~Global("zGorDemoJob","GLOBAL",0)~ THEN REPLY #63018 /* ~Alright, then, what do you propose?~ */ DO ~SetGlobal("DemogorgonWarned","GLOBAL",2)~ GOTO 28
  IF ~Global("zGorDemoJob","GLOBAL",1)~ THEN REPLY #63034 /* ~Alright, then, what do you propose?~ */ DO ~SetGlobal("DemogorgonWarned","GLOBAL",2)~ GOTO 29
  IF ~~ THEN REPLY #63019 /* ~I demand to know how to get out of here!~ */ DO ~SetGlobal("zGorDemoJob","GLOBAL",0)
SetGlobal("DemogorgonWarned","GLOBAL",2)~ GOTO 27
  IF ~~ THEN REPLY #63020 /* ~I don't need your help.  I'll find my own way out.~ */ DO ~SetGlobal("zGorDemoJob","GLOBAL",0)
SetGlobal("DemogorgonWarned","GLOBAL",2)~ GOTO 26
END

IF ~~ THEN BEGIN 26 // from: 33.2 32.2 27.2 25.3
  SAY #63027 /* ~The presence roars with amusement and withdraws into the room, the images you receive you interpret as it wondering if you will continue to amuse it like this throughout all the rest of the years that you survive, here.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 27 // from: 33.1 25.2
  SAY #63029 /* ~Images flow through your mind as the presence considers.  It offers that there are two ways to exit.  The first is to listen to its offer.  The second is to destroy it... without the Imprisoned One, the presence imagines that the prison would be once again open.  Behind this feeling is muffled amusement.~ */
  IF ~~ THEN REPLY #63030 /* ~Let me hear your offer, then.~ */ GOTO 28
  IF ~~ THEN REPLY #63031 /* ~Then show yourself so I can destroy you!~ */ GOTO 12
  IF ~~ THEN REPLY #63032 /* ~Forget it.  I'll find my own way out of here.~ */ GOTO 26
END

IF ~~ THEN BEGIN 28 // from: 33.0 27.0 25.0
  SAY #63033 /* ~The presence is now far more intent, hope seizing upon opportunity.  You have been deceived, you are told... you know that now.  Deceived by the unworthy false Helmites, just as they imprisoned it.  It wishes to be free... and it also wishes revenge.~ */
  IF ~~ THEN GOTO 29
END

IF ~~ THEN BEGIN 29 // from: 28.0 25.1
  SAY #63035 /* ~More images flood in, telling you that the Imprisoned One has been slowly marshaling its power to free itself... a process that would take an eon all told.  But it has enough power now to open the smallest of holes in the seal... not enough for it, but enough for you.~ */
  IF ~~ THEN GOTO 30
END

IF ~~ THEN BEGIN 30 // from: 29.0
  SAY #63037 /* ~Pleased images swirl in your mind, telling you to go to the Knights of the Vigil and tell their leader that the Imprisoned One is destroyed.  Then it may have its revenge.  With his death, it will be free... and it will reward you handsomely.  Indeed... various fleeting images hint to you that it has knowledge of how to unlock the powers of Bhaal within you.~ */
  IF ~~ THEN REPLY #63041 /* ~Very well, I will do this.~ */ GOTO 31
  IF ~~ THEN REPLY #63043 /* ~No, I will not take part in such a plan!  There must be another way out!~ */ GOTO 32
END

IF ~~ THEN BEGIN 31 // from: 32.1 30.0
  SAY #63045 /* ~The presence is pleased and hopeful that you will keep your word.  An image forms in your mind that you are to leave through the door on this level... the Imprisoned One will ensure that the seal is clear for you.~ */
  IF ~~ THEN DO ~SetGlobal("zGorDemoJob","GLOBAL",1)
TriggerActivation("Tran3019",TRUE)
TriggerActivation("Tran3000",TRUE)
AmbientActivate("AMB_Portal1",TRUE)
AmbientActivate("AMB_Portal2",TRUE)
SoundActivate("PortalL",TRUE)
SoundActivate("PortalR",TRUE)
~ UNSOLVED_JOURNAL #63049 /* ~Watcher's Keep

I have discovered that the ritual to keep the Imprisoned One sealed, here, has done the same to me, as well... something that the Knights of the Vigil hardly could have not known about.  I have agreed to help free the Imprisoned One, who wants revenge as well and has agreed to open a small hole in the seal so I may escape... in order to free it, I will have to go to Odren and tell him that the Imprisoned One is dead... Odren will investigate and the Imprisoned One will kill him.~ */ EXIT
END

IF ~~ THEN BEGIN 32 // from: 30.1
  SAY #63054 /* ~Various sensations from the presence tell you that this is true... but there is an undertone of faint amusement.  The other way out, it suspects, is to destroy it.  Without the Imprisoned One within, no doubt the prison will open.~ */
  IF ~~ THEN REPLY #63056 /* ~Show yourself then and let us have this over with!~ */ DO ~SetGlobal("zGorDemoJob","GLOBAL",0)~ GOTO 12
  IF ~~ THEN REPLY #63057 /* ~Then I have little choice but to agree to do as you ask.~ */ GOTO 31
  IF ~~ THEN REPLY #63058 /* ~Then I will find some other way out!~ */ DO ~SetGlobal("zGorDemoJob","GLOBAL",0)~ GOTO 26
END

IF WEIGHT #6 /* Triggers after states #: 35 even though they appear after this state */
~Global("OdrenRitualDone","GLOBAL",1)
Global("zGorDemoJob","GLOBAL",0)
Global("DemogorgonWarned","GLOBAL",2)~ THEN BEGIN 33 // from:
  SAY #63059 /* ~The presence appears again, wondering if you have changed your mind yet... or perhaps you have found some other means of leaving?~ */
  IF ~~ THEN REPLY #63061 /* ~I might change my mind.  What, exactly, is your offer?~ */ GOTO 28
  IF ~~ THEN REPLY #63062 /* ~There must be some other way out of here!  Tell me what it is!~ */ GOTO 27
  IF ~~ THEN REPLY #63063 /* ~I'll find my own way out, don't you worry.~ */ GOTO 26
END

IF WEIGHT #7 /* Triggers after states #: 35 even though they appear after this state */
~Global("OdrenRitualDone","GLOBAL",1)
Global("zGorDemoJob","GLOBAL",1)
Global("DemogorgonWarned","GLOBAL",2)~ THEN BEGIN 34 // from:
  SAY #63064 /* ~The presence is faint and tersely informs you to leave while you can... it cannot maintain the hole in the seal for long.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~OR(2)
Global("KnightsInKeep","GLOBAL",1)
Global("KnightsDead","GLOBAL",1)~ THEN BEGIN 35 // from:
  SAY #63065 /* ~White-hot images sear across your mind.  The truth of them is no longer cloaked from you, and the filth of the evil and hate that was hidden is sickening.  One thought becomes dominant over all...

DEMOGORGON IS FREE.  DEATH MY SCEPTER AND PAIN MY CROWN.  THE PRINCE OF DEMONS WILL LOOSE SWEET DESTRUCTION!~ [DEMOG08] */
  IF ~~ THEN DO ~SetGlobal("DemogorgonChange","GLOBAL",1)
TriggerActivation("DemoGorgonInfo",FALSE)
ReallyForceSpell(Myself,DEMOGORGON_CHANGE)
~ EXIT
END
