// creator  : weidu.exe (version 23600)
// argument : FAMIL2.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~FAMIL2~

IF ~  !InPartySlot(LastTalkedToBy,0)
~ THEN BEGIN 0 // from:
  SAY #31547 /* ~The creature stares with open derision, sticking out its forked tongue rudely. It scoots off to <CHARNAME>. Obviously it doesn't want to talk to you...~ */
  IF ~~ THEN DO ~MoveToObject(Player1)
~ EXIT
END

IF ~  InPartySlot(LastTalkedToBy,0)
CheckStat(Myself,0,POLYMORPHED)
~ THEN BEGIN 1 // from:
  SAY #31548 /* ~The impish creature regards you suspiciously, wary of a kick or slap headed its way, before sidling a step or two closer. "Yeah, boss? You want something?"~ */
  IF ~  Alignment(Player1,MASK_LAWFUL)
!InventoryFull(Player1)
CheckStat(Myself,0,POLYMORPHED)
~ THEN REPLY #31549 /* ~Come here. You're going in my pack, for now.~ */ GOTO 2
  IF ~  Range(LastTalkedToBy,3)
~ THEN REPLY #31550 /* ~Don't be so frightened of me, idiot. *pet the familiar*~ */ GOTO 3
  IF ~  Range(LastTalkedToBy,3)
~ THEN REPLY #31551 /* ~*slap it in the head*~ */ GOTO 12
  IF ~  Alignment(Player1,MASK_LCNEUTRAL)
!InventoryFull(Player1)
CheckStat(Myself,0,POLYMORPHED)
~ THEN REPLY #31552 /* ~Come here. You're going in my pack, for now.~ */ GOTO 16
  IF ~  Alignment(Player1,MASK_CHAOTIC)
!InventoryFull(Player1)
CheckStat(Myself,0,POLYMORPHED)
~ THEN REPLY #31553 /* ~Come here. You're going in my pack, for now.~ */ GOTO 17
  IF ~~ THEN REPLY #31554 /* ~Are you all right, familiar? All is well?~ */ GOTO 4
  IF ~~ THEN REPLY #31555 /* ~Never mind. Just keep moving.~ */ GOTO 11
END

IF ~~ THEN BEGIN 2 // from: 14.0 13.0 12.0 3.0 1.0
  SAY #31556 /* ~"Oh, sure. Stick me in your smelly pack. Ever thought of putting some mint in there? Baaah..." Reluctantly, the imp crawls into your pack.~ */
  IF ~~ THEN DO ~GivePartyAllEquipment()
GiveItemCreate("FAMIMP",Player1,0,0,0)
DestroySelf()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 18.0 1.1
  SAY #31557 /* ~It seems disgusted as you pat it on the head. "Oh, now I'm a cute little bunny? Give me a break, boss." The imp darts away and does a heebie-jeebie dance.~ */
  IF ~  Alignment(Player1,MASK_LAWFUL)
!InventoryFull(Player1)
CheckStat(Myself,0,POLYMORPHED)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 2
  IF ~  Range(LastTalkedToBy,3)
~ THEN REPLY #31551 /* ~*slap it in the head*~ */ GOTO 12
  IF ~  Alignment(Player1,MASK_LCNEUTRAL)
!InventoryFull(Player1)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 16
  IF ~  Alignment(Player1,MASK_CHAOTIC)
!InventoryFull(Player1)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 17
  IF ~~ THEN REPLY #31559 /* ~Is all well down there?~ */ GOTO 4
  IF ~~ THEN REPLY #31560 /* ~All right, let's just keep going.~ */ GOTO 11
END

IF ~~ THEN BEGIN 4 // from: 18.2 14.1 13.1 12.4 3.4 1.5
  SAY #31561 /* ~It looks at you suspiciously, its sulfur eyes squinting. "Hmph. Since when are you so interested in me, boss? Up 'til now it's all been you you you."~ */
  IF ~  HPPercentLT(Myself,65)
!HPPercentLT(Myself,35)
~ THEN GOTO 5
  IF ~  HPPercentLT(Myself,35)
~ THEN GOTO 6
  IF ~  !HPPercentLT(Myself,65)
RandomNum(4,1)
~ THEN GOTO 7
  IF ~  !HPPercentLT(Myself,65)
RandomNum(4,2)
~ THEN GOTO 8
  IF ~  !HPPercentLT(Myself,65)
RandomNum(4,3)
~ THEN GOTO 9
  IF ~  !HPPercentLT(Myself,65)
RandomNum(4,4)
~ THEN GOTO 10
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #31562 /* ~"But if you're really concerned, you could get me some healing. I got scratches, you know... you wouldn't want me to die, would you? I'm too useful!"~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from: 4.1
  SAY #31563 /* ~"But since you're asking, I could use healing. Ichor's running bad... you wouldn't want to send me back to the planes, would you? *That* would be a shame..."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 4.2
  SAY #31564 /* ~"But, hmmmn, let me see. I'm kinda hungry. How about a puppy sandwich? A steak? A chicken sacrifice? C'mon, throw me a bone here, sheesh!"~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from: 4.3
  SAY #31565 /* ~"But since you asked, I think you should get more gold. I wanna sleep in a BIG bag of gold. I could swim in it... yeah, that's it, swim in the gold... yeah..."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from: 4.4
  SAY #31566 /* ~"But I would like to say that you run around too much. Here, there, back again... sheesh! Don't you ever stop a while, set up shop? Gimme a break, boss!"~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from: 4.5
  SAY #31567 /* ~"But since you asked, I wanna register a complaint. Where's all *my* magical stuff? I want a big sword... and a bag of holding... and some wands, yeah, wands..."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11 // from: 18.3 14.2 13.2 12.5 3.5 1.6
  SAY #31568 /* ~It looks ahead and sighs, scratching its rear luridly. "Oh, sure. Only, what, another fifty years of wanderin' around? Don't you ever settle down? Sheesh..."~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 12 // from: 18.1 3.1 1.2
  SAY #31569 /* ~The imp reels from the blow. "HeeEEYY! Cripes! What wuz that for?! I did everything you told me to, boss! Sheesh! Some people..."~ */
  IF ~  Alignment(Player1,MASK_LAWFUL)
!InventoryFull(Player1)
CheckStat(Myself,0,POLYMORPHED)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 2
  IF ~  RandomNum(3,1)
~ THEN REPLY #31570 /* ~*slap it again*~ */ GOTO 13
  IF ~  RandomNum(3,2)
~ THEN REPLY #31570 /* ~*slap it again*~ */ GOTO 14
  IF ~  RandomNum(3,3)
~ THEN REPLY #31570 /* ~*slap it again*~ */ GOTO 15
  IF ~~ THEN REPLY #31559 /* ~Is all well down there?~ */ GOTO 4
  IF ~~ THEN REPLY #31560 /* ~All right, let's just keep going.~ */ GOTO 11
  IF ~  Alignment(Player1,MASK_LCNEUTRAL)
!InventoryFull(Player1)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 16
  IF ~  Alignment(Player1,MASK_CHAOTIC)
!InventoryFull(Player1)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 17
END

IF ~~ THEN BEGIN 13 // from: 12.1
  SAY #31571 /* ~Another slap sends it to the floor, frantically covering its head. "Gaaah! Okay! You're the boss-<PRO_MANWOMAN>! YOU boss, ME just little follower! I get it!"~ */
  IF ~  Alignment(Player1,MASK_LAWFUL)
!InventoryFull(Player1)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 2
  IF ~~ THEN REPLY #31559 /* ~Is all well down there?~ */ GOTO 4
  IF ~~ THEN REPLY #31560 /* ~All right, let's just keep going.~ */ GOTO 11
  IF ~  Alignment(Player1,MASK_LCNEUTRAL)
!InventoryFull(Player1)
CheckStat(Myself,0,POLYMORPHED)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 16
  IF ~  Alignment(Player1,MASK_CHAOTIC)
!InventoryFull(Player1)
CheckStat(Myself,0,POLYMORPHED)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 17
END

IF ~~ THEN BEGIN 14 // from: 12.2
  SAY #31572 /* ~"Ow! Dammit, stop it! I'll do whatever you say, just stop slappin'!" It takes steps away, muttering something about "abusive codependent relationships" or similar.~ */
  IF ~  Alignment(Player1,MASK_LAWFUL)
!InventoryFull(Player1)
CheckStat(Myself,0,POLYMORPHED)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 2
  IF ~~ THEN REPLY #31559 /* ~Is all well down there?~ */ GOTO 4
  IF ~~ THEN REPLY #31560 /* ~All right, let's just keep going.~ */ GOTO 11
  IF ~  Alignment(Player1,MASK_LCNEUTRAL)
!InventoryFull(Player1)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 16
  IF ~  Alignment(Player1,MASK_CHAOTIC)
!InventoryFull(Player1)
~ THEN REPLY #31558 /* ~Come here, then. Get in my pack.~ */ GOTO 17
END

IF ~~ THEN BEGIN 15 // from: 12.3
  SAY #31573 /* ~The imp darts away at the last second. "Nyah! Thhhppppfffttt! You couldn't hit the broad side of a barn! You suck!" It dashes away before a reprisal can come.~ */
  IF ~~ THEN DO ~RunAwayFromNoLeaveArea(LastTalkedToBy,30)
~ EXIT
END

IF ~~ THEN BEGIN 16 // from: 14.3 13.3 12.6 3.2 1.3
  SAY #31574 /* ~It rolls its eyes. "Oh, sure. Stick me in your smelly pack. Ever thought of sticking some mint in there? Baaah..." It reluctantly crawls in.~ */
  IF ~~ THEN DO ~GivePartyAllEquipment()
GiveItemCreate("FAMDUST",Player1,0,0,0)
DestroySelf()
~ EXIT
END

IF ~~ THEN BEGIN 17 // from: 14.4 13.4 12.7 3.3 1.4
  SAY #31574 /* ~It rolls its eyes. "Oh, sure. Stick me in your smelly pack. Ever thought of sticking some mint in there? Baaah..." It reluctantly crawls in.~ */
  IF ~~ THEN DO ~GivePartyAllEquipment()
GiveItemCreate("FAMQUAS",Player1,0,0,0)
DestroySelf()
~ EXIT
END

IF ~  True()
~ THEN BEGIN 18 // from:
  SAY #27880 /* ~...~ */
  IF ~~ THEN REPLY #31550 /* ~Don't be so frightened of me, idiot. *pet the familiar*~ */ GOTO 3
  IF ~~ THEN REPLY #31551 /* ~*slap it in the head*~ */ GOTO 12
  IF ~~ THEN REPLY #31554 /* ~Are you all right, familiar? All is well?~ */ GOTO 4
  IF ~~ THEN REPLY #31555 /* ~Never mind. Just keep moving.~ */ GOTO 11
END
