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

BEGIN ~_ALBERT~

IF ~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #76505 /* ~Here wittle doggie.  Aww, why won't you come home...~ */
  IF ~~ THEN DO ~CreateCreature("_RUFIE",[3803.695],0)
~ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #76506 /* ~'Scuse me?  I ever so sowwy to bother, but could you help me?  I've lost my little dog and I can't find him.  He's probably ever so scared right now.~ */
  IF ~~ THEN REPLY #76507 /* ~Sorry child, but I have little time for such a trifling matter.  Find your doggie yourself. And quit your bawling.~ */ GOTO 4
  IF ~~ THEN REPLY #76508 /* ~Have you no parents here to help thee?  It's dangerous to be out alone.~ */ GOTO 2
  IF ~~ THEN REPLY #76509 /* ~Certainly little one, I would be glad to aid you.  How will I recognize him?~ */ GOTO 5
  IF ~Global("X#FATBWTD","GLOBAL",0)
InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#FATBWTD","GLOBAL",1)~ EXTERN ~_FALDOJ~ 100
END

IF ~~ THEN BEGIN 2 // from: _FALDOJ:100.1 9.1 1.1
  SAY #76510 /* ~Parents?  Yes, I'm here with some rewatives, but they away for a moment and I'm lost.  We are thinking of moving here someday, but I don't know my way awound yet.  I can get home ok, but I just gotta get Rufie back.  Please, could you help?~ */
  IF ~~ THEN REPLY #76507 /* ~Sorry child, but I have little time for such a trifling matter.  Find your doggie yourself. And quit your bawling.~ */ GOTO 4
  IF ~~ THEN REPLY #76509 /* ~Certainly little one, I would be glad to aid you.  How will I recognize him?~ */ GOTO 5
  IF ~~ THEN REPLY #76511 /* ~This Rufie, is he... valuable?~ */ GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.2
  SAY #76512 /* ~I have no money to give you, if that is what you mean.  We use different moneys at home.  Please, could you get him?  He's all alone here.~ */
  IF ~~ THEN REPLY #76507 /* ~Sorry child, but I have little time for such a trifling matter.  Find your doggie yourself. And quit your bawling.~ */ GOTO 4
  IF ~~ THEN REPLY #76509 /* ~Certainly little one, I would be glad to aid you.  How will I recognize him?~ */ GOTO 5
  IF ~Global("X#VicAlb","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#VicAlb","GLOBAL",1)~ EXTERN ~_VICONJ~ 73
END

IF ~~ THEN BEGIN 4 // from: _FALDOJ:100.0 9.0 3.0 2.0 1.0
  SAY #76513 /* ~But... as you will.  I guess I will have to wait for Rufie to show on his own.  It's so dangerous out; I hope he's safe.~ */
  IF ~~ THEN SOLVED_JOURNAL #76514 /* ~Albert and his dog

I have met a child named Albert, who wished me to find his dog.  I have no time for such paltry pursuits.~ */ EXIT
END

IF ~~ THEN BEGIN 5 // from: _FALDOJ:100.2 9.2 3.1 2.1 1.2
  SAY #76515 /* ~You will?  Oh thank you so vewy much!  I just know he'll be alright now!  Poor Rufie isn't used to strange places an' people.  You're sure to know him when you see him, cuz he's just the cutest little thing.  Here, take this as well.  His favorite chew-toy it is.  He'll know you're a friend if you have it in your hands.  Thank you so much again!~ */
  IF ~~ THEN DO ~GiveItemCreate("_MISC63",LastTalkedToBy,0,0,0)
SetGlobal("Rufie","GLOBAL",1)
~ UNSOLVED_JOURNAL #76516 /* ~Albert and his dog

I met a child named Albert outside of Nashkel.  He requested that I find his little dog Rufie for him.  He had such an innocent demeanor, how could I refuse?  He gave me a chew-toy to entice the little fellah with.~ */ EXIT
END

IF ~Global("Rufie","GLOBAL",1)
~ THEN BEGIN 6 // from:
  SAY #76517 /* ~Please keep looking for little Rufie.  He's probably sooooo scared right now.~ */
  IF ~~ THEN EXIT
END

IF ~Global("Rufie","GLOBAL",2)
!Dead("rufie")
~ THEN BEGIN 7 // from:
  SAY #76518 /* ~RUFIE!!  Who's a fuzzy Rufie?  Whoooooo's a fuzzy little guy?  Thank you just ever so much!  I better take this lost little puppy home right away.  Here, take this.  It's another of his chew things, but we can get more where we're going.  Thanks again.~ */
  IF ~~ THEN DO ~TakePartyItem("_MISC63")
SetGlobal("Rufie","GLOBAL",3)
AddexperienceParty(1000)
EraseJournalEntry(76516)
EraseJournalEntry(76514)
ClearAllActions()
StartCutSceneMode()
StartCutScene("_UFCUT01")
~ SOLVED_JOURNAL #76519 /* ~Albert and his dog

I, um... rescued "little" Rufie and returned him to the... child... named Albert.  I do not wish to know where they went.  With luck, I will never find out.~ */ EXIT
END

IF ~Dead("rufie")
~ THEN BEGIN 8 // from:
  SAY #76520 /* ~You... you killed Rufie!  I can smell his blood on you!  What kind of monsters would do that to a helpless little puppy?!  The clan is not going to be pleased!  They were right about you Prime people!  I'm not gonna trust your kind no more!~ */
  IF ~~ THEN DO ~TakePartyItem("_MISC63")
SetGlobal("Rufie","GLOBAL",3)
AddexperienceParty(1200)
EraseJournalEntry(76516)
EraseJournalEntry(76514)
ClearAllActions()
StartCutSceneMode()
StartCutScene("_UFCUT02")
~ SOLVED_JOURNAL #76521 /* ~Albert and his dog

I killed the missing "dog" named Rufie, and have made an enemy of its owner.  I really do not wish to know where "little" Albert was from, and I hope never to meet him again.~ */ EXIT
END

IF ~Global("Rufie","GLOBAL",0)
~ THEN BEGIN 9 // from:
  SAY #76522 /* ~Have you changed your mind?  Rufie is still lost and I don't know where.~ */
  IF ~~ THEN REPLY #76507 /* ~Sorry child, but I have little time for such a trifling matter.  Find your doggie yourself. And quit your bawling.~ */ GOTO 4
  IF ~~ THEN REPLY #76508 /* ~Have you no parents here to help thee?  It's dangerous to be out alone.~ */ GOTO 2
  IF ~~ THEN REPLY #76509 /* ~Certainly little one, I would be glad to aid you.  How will I recognize him?~ */ GOTO 5
END

IF ~Global("Rufie","GLOBAL",3)
~ THEN BEGIN 10 // from:
  SAY #76523 /* ~Time to go home Rufie.  You'll like the Nine Hells much better than these cold climes.~ */
  IF ~~ THEN DO ~StartCutSceneMode()
StartCutScene("_UFCUT02")
~ EXIT
END
