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

BEGIN ~MALLA01~

IF ~Global("MallaCured","GLOBAL",0)~ THEN BEGIN 0 // from:
  SAY #73711 /* ~(the young woman lies unconscious, twitching and whimpering occasionally as if suffering from a very bad dream...)~ */
  IF ~PartyHasItem("amsoul01")~ THEN REPLY #73712 /* ~(Use the soul stone to restore her.)~ */ DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("malla1")~ EXIT
  IF ~PartyHasItem("amsoul01")~ THEN REPLY #73713 /* ~(Do nothing.)~ */ EXIT
  IF ~!PartyHasItem("amsoul01")~ THEN EXIT
END

IF ~Global("MallaCured","GLOBAL",1)~ THEN BEGIN 1 // from:
  SAY #73714 /* ~I... thank you for restoring me, my <LADYLORD>, though your story is a strange one.~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #73715 /* ~With both my mother and my father dead, I do not know what I will do.  I am in a strange land, with nothing...~ */
  IF ~PartyGoldGT(4999)~ THEN REPLY #73716 /* ~Here.  Take this 5,000 gp.  Leave Amkethran and get started elsewhere.  It is what your father would have wanted.~ */ DO ~TakePartyGold(5000)
DestroyGold(5000)~ GOTO 3
  IF ~PartyGoldGT(99)~ THEN REPLY #73717 /* ~Here.  Take 100 gp.  It's better than nothing.~ */ GOTO 4
  IF ~~ THEN REPLY #73718 /* ~Yeah, well, things are tough all over.~ */ GOTO 5
  IF ~~ THEN REPLY #73719 /* ~Cry me a river.  At least you're not dead, ungrateful brat.~ */ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #73720 /* ~You... you are very generous.  I wish there was some way I could repay you.  If... if you are ever in Calimshan, my <LADYLORD>, I would be pleased to offer you lodgings.  Sune's blessing upon you.~ */
  IF ~~ THEN DO ~EraseJournalEntry(73477)
EraseJournalEntry(73526)
EraseJournalEntry(73724)
EraseJournalEntry(73725)
EraseJournalEntry(73727)
EraseJournalEntry(73728)
AddXP2DA("PLOT14B")
ReputationInc(1)
EscapeArea()~ SOLVED_JOURNAL #73733 /* ~The Graveyard Lich

I used the soul-stone to restore Marlowe's daughter.  She will have a tough time getting by with both her parents dead, but at least someone was saved out of all this.~ */ EXIT
END

IF ~~ THEN BEGIN 4 // from: 2.1
  SAY #73722 /* ~I do not wish charity, my <LADYLORD>, but thank you for the offer.  I... I shall find my own way.  I shall pray for my father's soul to be at peace... he meant only well, I am sure.  Good day to you.~ */
  IF ~~ THEN DO ~EraseJournalEntry(73477)
EraseJournalEntry(73526)
EraseJournalEntry(73724)
EraseJournalEntry(73725)
EraseJournalEntry(73727)
EraseJournalEntry(73728)
AddXP2DA("PLOT14B")
EscapeArea()~ SOLVED_JOURNAL #73733 /* ~The Graveyard Lich

I used the soul-stone to restore Marlowe's daughter.  She will have a tough time getting by with both her parents dead, but at least someone was saved out of all this.~ */ EXIT
END

IF ~~ THEN BEGIN 5 // from: 2.3 2.2
  SAY #73723 /* ~I... I shall find my own way, I am sure.  I shall pray for my father's soul to be at peace... he meant only well.  Thank you again for my life and... good-bye.~ */
  IF ~~ THEN DO ~EraseJournalEntry(73477)
EraseJournalEntry(73526)
EraseJournalEntry(73724)
EraseJournalEntry(73725)
EraseJournalEntry(73727)
EraseJournalEntry(73728)
AddXP2DA("PLOT14B")
EscapeArea()~ UNSOLVED_JOURNAL #73733 /* ~The Graveyard Lich

I used the soul-stone to restore Marlowe's daughter.  She will have a tough time getting by with both her parents dead, but at least someone was saved out of all this.~ */ EXIT
END
