// creator  : weidu.exe (version 23100)
// argument : MGBILL01.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~MGBILL01~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #42280 /* ~When I was asked to speak with the graduating class of 1369DR, I was of course flattered. To see the new generation spread their wings... is a wonderful thing.~ */
  IF ~OR(3)
Dead("mgappr01")
Dead("mgappr02")
Dead("mgappr03")~ THEN GOTO 1
  IF ~!Dead("mgappr01")
!Dead("mgappr02")
!Dead("mgappr03")~ THEN GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #42281 /* ~Of course a few feathers have been plucked... but that is to be expected. Nary a graduating class can escape losing a student or two. Why, my own class had its roster drastically cut, but no one was really to blame.~ */
  IF ~~ THEN GOTO 3
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #42282 /* ~That all of the students lived is an even more remarkable thing. Why, in my very own class there were several fatalities, and I must reiterate that no one was really to blame.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 3 // from: 1.0
  SAY #42913 /* ~At least, that is what the wisdom of the courts decided.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 4 // from: 2.0
  SAY #42914 /* ~At least, that is what the wisdom of the courts decided.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #42915 /* ~Anyway, it is with great honor that I welcome our graduates to the... er... stage.  Morul, Larz, Nara, you are mages today.~ */
  IF ~~ THEN EXTERN ~MGAPPR02~ 112
END

IF ~~ THEN BEGIN 6 // from: MGAPPR03:50.0
  SAY #42919 /* ~Yes, I can see how you would. Well, now you take a step into the real world, a world where you are actually restricted from using the skills you have studied.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #42920 /* ~But under the benevolent yoke of the Cowled Wizards you will be somewhat protected from arrest. Go forth into that brave new world, quietly and carefully.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #42921 /* ~The Graduating class of 1369DR, we salute you.~ */
  IF ~~ THEN EXTERN ~MGAPPR02~ 113
END

IF ~~ THEN BEGIN 9 // from: MGAPPR03:51.0
  SAY #42925 /* ~Hehe, oh those wacky kids. Celebrations all around!~ */
  IF ~~ THEN DO ~AddExperienceParty(50000)
StartCutSceneMode()
StartCutScene("cut33c")
EraseJournalEntry(55633)
EraseJournalEntry(55627)
EraseJournalEntry(55634)
~ SOLVED_JOURNAL #55636 /* ~Mage Stronghold: Graduation was great.

It was a great opportunity to see my apprentices graduating from their studies. They seemed genuinely appreciative, and I thanked them for their kind words. I hope they fare well, despite the Cowled Wizards lording over them.  I look forward to seeing what they can do...~ */ EXIT
END

IF ~~ THEN BEGIN 10 // from: 3.0
  SAY #42926 /* ~Regardless, it is a happy day for at least some of the class. Let's let them have their say on this fine day, shall we?~ */
  IF ~!Dead("mgappr02")
Dead("mgappr01")
Dead("mgappr03")~ THEN GOTO 11
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 11 // from: 10.0
  SAY #42927 /* ~Let's welcome the honorary valedictorian, by virtue of him being the only surviving member. Morul, have you a few words for your mentor?~ */
  IF ~~ THEN EXTERN ~MGAPPR02~ 114
END

IF ~~ THEN BEGIN 12 // from: 10.1
  SAY #42928 /* ~Morul, have you a few words for your mentor?~ */
  IF ~~ THEN EXTERN ~MGAPPR02~ 116
END

IF ~~ THEN BEGIN 13 // from: MGAPPR02:114.0
  SAY #42930 /* ~Oooh, that burns. Anyway, that's it for our ceremonies. Morul, you can now look forward to a long career under the benevolent yoke of the Cowled Wizards.~ */
  IF ~~ THEN DO ~EraseJournalEntry(55633)
EraseJournalEntry(55627)
EraseJournalEntry(55634)~ SOLVED_JOURNAL #55637 /* ~Mage Stronghold: Graduation was somber.

I tried to keep a smile during the ceremony. It is good to see the young making their own way in the world. It's just a pity that they couldn't all have lived to see this day. Not that life under the yoke of the Cowled Wizards would have been all that great, but it would have been interesting. Oh well. I guess you can only wish well who you can, and say a word in memorandum for the rest.~ */ GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 13.0
  SAY #42931 /* ~Go softly and quietly into the real world, and I'm sure you will be mostly safe from arrest and persecution.~ */
  IF ~~ THEN EXTERN ~MGAPPR02~ 115
END

IF ~~ THEN BEGIN 15 // from: 17.0 MGAPPR02:115.0
  SAY #42933 /* ~Graduating class of 1369DR, we salute you.~ */
  IF ~~ THEN DO ~StartCutSceneMode()
StartCutScene("cut33c")
~ EXIT
END

IF ~~ THEN BEGIN 16 // from: MGAPPR02:116.0
  SAY #42935 /* ~Oooh, that burns.~ */
  IF ~!Dead("mgappr01")
Dead("mgappr03")~ THEN DO ~EraseJournalEntry(55633)
EraseJournalEntry(55627)
EraseJournalEntry(55634)
~ SOLVED_JOURNAL #55637 /* ~Mage Stronghold: Graduation was somber.

I tried to keep a smile during the ceremony. It is good to see the young making their own way in the world. It's just a pity that they couldn't all have lived to see this day. Not that life under the yoke of the Cowled Wizards would have been all that great, but it would have been interesting. Oh well. I guess you can only wish well who you can, and say a word in memorandum for the rest.~ */ EXTERN ~MGAPPR01~ 51
  IF ~!Dead("mgappr03")
Dead("mgappr01")~ THEN DO ~EraseJournalEntry(55633)
EraseJournalEntry(55627)
EraseJournalEntry(55634)
~ SOLVED_JOURNAL #55637 /* ~Mage Stronghold: Graduation was somber.

I tried to keep a smile during the ceremony. It is good to see the young making their own way in the world. It's just a pity that they couldn't all have lived to see this day. Not that life under the yoke of the Cowled Wizards would have been all that great, but it would have been interesting. Oh well. I guess you can only wish well who you can, and say a word in memorandum for the rest.~ */ EXTERN ~MGAPPR03~ 52
  IF ~Dead("mgappr03")
Dead("mgappr01")~ THEN DO ~EraseJournalEntry(55633)
EraseJournalEntry(55627)
EraseJournalEntry(55634)
~ SOLVED_JOURNAL #55637 /* ~Mage Stronghold: Graduation was somber.

I tried to keep a smile during the ceremony. It is good to see the young making their own way in the world. It's just a pity that they couldn't all have lived to see this day. Not that life under the yoke of the Cowled Wizards would have been all that great, but it would have been interesting. Oh well. I guess you can only wish well who you can, and say a word in memorandum for the rest.~ */ EXTERN ~MGAPPR02~ 115
END

IF ~~ THEN BEGIN 17 // from: MGAPPR03:52.0 MGAPPR01:51.0
  SAY #42937 /* ~Well... that would conclude our ceremony. You are officially mages, and are about to begin your lives under the benevolent yoke of the Cowled Wizards.~ */
  IF ~~ THEN GOTO 15
END
