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

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

IF WEIGHT #1 /* Triggers after states #: 7 even though they appear after this state */
~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 0 // from:
  SAY #89744 /* ~I'm just a thief. Sorry, but I don't have much to tell.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 7 even though they appear after this state */
~  Global("P#AloraLoots","GLOBAL",1)
~ THEN BEGIN 1 // from:
  SAY #89745 /* ~Pretty good takin's with none too many bruises. We do pretty good for just meeting! How about we do this again, like all the time? Wanna join up permanent?~ */
  IF ~~ THEN REPLY #89746 /* ~A splendid idea! Welcome aboard.~ */ DO ~SetGlobal("P#AloraLoots","GLOBAL",2)
~ GOTO 11
  IF ~~ THEN REPLY #89747 /* ~I really am sorry, but we've all we need. ~ */ DO ~SetGlobal("P#AloraLoots","GLOBAL",2)
~ GOTO 10
  IF ~~ THEN REPLY #89748 /* ~Laughable! What do I need you for? Our job is done, now get lost!~ */ DO ~SetGlobal("P#AloraLoots","GLOBAL",2)
~ GOTO 8
END

IF WEIGHT #3 /* Triggers after states #: 7 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
!AreaCheck("FW4000")
~ THEN BEGIN 2 // from:
  SAY #89749 /* ~Hey!~ */
  IF ~  ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN GOTO 3
  IF ~  ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN GOTO 4
  IF ~  ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #89750 /* ~Oh! Scared me, you did! I suppose I'm caught, then? I'll go peacefully, I'm not much for fighting... Wait a minute... Holy Leapin' Lavender Lizards! You're not the guard! You're... you're burglaring, just like me! Now this *is* exciting! We should... we should work together! Yeah! I could use the help... uh... I mean, we could just help each other a little bit. Just for this one heist, you keep watch while I point out the good stuff. You can even keep most of it! I got a good tip on where to be looking! Whatcha say?~ */
  IF ~~ THEN REPLY #89751 /* ~That is a good idea. I'll keep watch and help you.~ */ GOTO 9
  IF ~~ THEN REPLY #89752 /* ~I have no interest in a thief so easily caught. Off with you!~ */ GOTO 8
  IF ~~ THEN REPLY #89753 /* ~You've seen me! I'm sorry, but I have to kill you now!~ */ GOTO 12
END

IF ~~ THEN BEGIN 4 // from: 2.1
  SAY #89754 /* ~Holy Kitty Cacophony, you scared the bejeebbers outta me! Sure it's yer job to catch us thievers, but ye need not give me a heart attack too! Hey... you're not the guard! Yeesh! Getting me all in a tizzy when you're here for the same thing as me. Well, since you're here, howz about we work together? Just for this one heist, I mean. You keep watch while I show the stash. I know a secret here and there, but we get equal shares, OK?~ */
  IF ~~ THEN REPLY #89755 /* ~A good plan. Do what you must and I'll keep watch.~ */ GOTO 9
  IF ~~ THEN REPLY #89752 /* ~I have no interest in a thief so easily caught. Off with you!~ */ GOTO 8
  IF ~~ THEN REPLY #89753 /* ~You've seen me! I'm sorry, but I have to kill you now!~ */ GOTO 12
END

IF ~~ THEN BEGIN 5 // from: 2.2
  SAY #89756 /* ~Wha...! Aww, nutbunnies, caught again! Hey, wait... there's no polish on yer boots, no snap in yer suspenders. You're... you're not the guard. They're always so much more... presentable. Well... be on your way, then. I just wanna grab a few things and... be off. There's lots for both of us, so leave me be. Hmph... not so much fun if just anyone can bust in here.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 7 even though they appear after this state */
~  NumberOfTimesTalkedTo(1)
ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
!AreaCheck("FW4000")
~ THEN BEGIN 6 // from:
  SAY #89757 /* ~Just you leave me to my sneakin'. I'm not gonna take the big stuff.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  NumberOfTimesTalkedTo(1)
ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
!AreaCheck("FW4000")
~ THEN BEGIN 7 // from:
  SAY #89758 /* ~Well if your gonna be puppy-doggin after me all night, maybe we should work together. I know this place pretty good; know a few secrets. Could be fun. What say you? Wanna keep watch while I scout for pretties?~ */
  IF ~~ THEN REPLY #87957 /* ~Certainly. Do what you must while I will keep watch.~ */ GOTO 9
  IF ~~ THEN REPLY #89752 /* ~I have no interest in a thief so easily caught. Off with you!~ */ GOTO 8
  IF ~~ THEN REPLY #89753 /* ~You've seen me! I'm sorry, but I have to kill you now!~ */ GOTO 12
END

IF ~~ THEN BEGIN 8 // from: 7.1 4.1 3.1 1.2
  SAY #89759 /* ~Well! There's no need to be rude about it! Hmph! Never meet nice people in this line of work! No wonder people hate thieves! Well, we steal stuff too, *but being jerks doesn't help*! Not one bit! Goodbye!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 7.0 4.0 3.0
  SAY #89760 /* ~Double good and done! Oh, it'll be great fun having someone around to talk to! I don't meet many nice people in this trade. Just because we steal doesn't mean we have to be bad. Mostly I'm just curious what people have. Here, I'll point out a few things and then we can get to sneakin.' He he, such fun!~ */
  IF ~~ THEN DO ~DialogueInterrupt(FALSE)
SetGlobal("P#AloraLoots","GLOBAL",1)
MoveToPoint([769.849])
DialogueInterrupt(TRUE)
~ EXIT
END

IF ~~ THEN BEGIN 10 // from: 1.1
  SAY #89761 /* ~Ah well, easy go, I guess. Never get to keep my friends in this biz. Specially the nice ones. Bye, I guess.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 11 // from: 1.0
  SAY #89762 /* ~Friends we are, and nice ones too! One for all and things like that! Fun for all of us, I just *know* it!~ */
  IF ~~ THEN DO ~JoinParty()
~ EXIT
END

IF ~~ THEN BEGIN 12 // from: 7.2 4.2 3.2
  SAY #89763 /* ~Ahh! I can't fight ya, but I'll call the guard, I will! Rather be in jail than dead from you! Help! Nasty, mean and evil!! ~ */
  IF ~~ THEN DO ~CreateCreature("FLAM",[802.905],3)
CreateCreature("FLAM",[850.886],3)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 13 // from:
  SAY #89764 /* ~Ahh! I can't fight ya, but I'll call the guard, I will! Rather be in jail than dead from you! Help! Nasty, mean and evil!~ */
  IF ~~ THEN DO ~CreateCreature("FLAM",[802.905],3)
CreateCreature("FLAM",[850.886],3)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 14 // from:
  SAY #89765 /* ~If that's the way you want it, then fine, I'll leave! *sniff*~ */
  IF ~~ THEN DO ~ActionOverride("alora",SetLeavePartyDialogueFile())
ActionOverride("alora",ChangeAIScript("",DEFAULT))
LeaveParty()
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 15 // from:
  SAY #87145 /* ~I don't wanna go, but if yer gonna force me, then I guess I'll just mope around here 'till you come back to your senses and come back for me.~ */
  IF ~~ THEN DO ~ActionOverride("alora",SetLeavePartyDialogueFile())
ActionOverride("alora",ChangeAIScript("",DEFAULT))
LeaveParty()
~ EXIT
END
