/* CONTENTS */
/* Friend Talk 1 */
/* Friend Talk 2 */
/* Kivan's Dance */
/* Friend Talk 3 */
/* Friend Talk 5 */
/* Friend Talk 4 */
/* Kivan Bhaal Talk */
/* Goodnight Deheriana */
/* drink with Xan */
/* Montaron scandal */
/* Branwen's sleep aid */
/* Garrick's recital */
/* Imoen - totem animal */
/* Safana's escape */
/* Fighting practice with Shar-Teel */
/* Ajantis banter */
/* Alora banters */
/* Branwen banter */
/* Coran banters */
/* Dynaheir banter */
/* Edwin banters */
/* Faldorn banter */
/* Imoen banters */
/* Jaheira banters */
/* Kagain banter */
/* Khalid banter */
/* Minsc banter */
/* Quayle banter */
/* Skie banters */
/* Tiax banters */
/* Viconia banters */
/* Xan banter */
/* Xzar banter */
/* Drunk banter */
/* Montaron tools */

ADD_TRANS_ACTION ~%tutu_var%TAMOKO~ BEGIN 14 END BEGIN END
~SetGlobal("X#HalfBrotherRevealed","GLOBAL",1)~

REPLACE_SAY ~%VICONIA_BANTER%~ %BGTBVICONState0% @0

REPLACE_SAY ~%VICONIA_BANTER%~ %BGTBVICONState8% @1

REPLACE_SAY ~%VICONIA_BANTER%~ %BGTBVICONState9% @2

REPLACE_SAY ~%VICONIA_BANTER%~ %BGTBVICONState10% @3

REPLACE_SAY ~%KIVAN_BANTER%~ 4 @4
REPLACE_TRANS_ACTION ~%KIVAN_BANTER%~ BEGIN 4 END BEGIN END ~SetGlobal("Kivanfight","GLOBAL",1)~ ~SetGlobal("X#KivanfightBanterBlocked","GLOBAL",1)~ 

APPEND ~%KIVAN_JOINED%~

/* Friend Talk 1 */
IF WEIGHT #-2 ~%BGT_VAR% Global("P#KiFriendTalk","GLOBAL",2)~ THEN BEGIN KIPC1
SAY @5
IF ~Race(Player1,ELF)~ THEN REPLY @6 DO ~SetGlobal("P#KIPC1","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",3) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC1.1
IF ~Race(Player1,HALF_ELF)~ THEN REPLY @6 DO ~SetGlobal("P#KIPC1","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",3) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC1.1
IF ~Race(Player1,ELF)~ THEN REPLY @7 DO ~SetGlobal("P#KIPC1","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",3) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC1.2
IF ~Race(Player1,HALF_ELF)~ THEN REPLY @7 DO ~SetGlobal("P#KIPC1","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",3) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC1.2
IF ~~ THEN REPLY @8 DO ~SetGlobal("P#KIPC1","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",3) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC1.3
IF ~~ THEN REPLY @9 DO ~SetGlobal("P#KIPC1","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",3) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC1.4
IF ~~ THEN REPLY @10 DO ~SetGlobal("P#KIPC1","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",3) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC1.5
IF ~~ THEN REPLY @11 DO ~SetGlobal("P#KIPC1","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",3) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC1.6
END

IF ~~ THEN BEGIN KIPC1.1
SAY @12
IF ~~ THEN REPLY @13 GOTO KIPC1.7
IF ~~ THEN REPLY @14 GOTO KIPC1.8
IF ~~ THEN REPLY @15 GOTO KIPC1.9
END

IF ~~ THEN BEGIN KIPC1.2
SAY @16
IF ~~ THEN REPLY @17 GOTO KIPC1.10
IF ~~ THEN REPLY @18 GOTO KIPC1.11
IF ~~ THEN REPLY @19 GOTO KIPC1.12
END

IF ~~ THEN BEGIN KIPC1.3
SAY @20
IF ~~ THEN REPLY @17 GOTO KIPC1.10
IF ~~ THEN REPLY @18 GOTO KIPC1.11
IF ~~ THEN REPLY @19 GOTO KIPC1.12
END

IF ~~ THEN BEGIN KIPC1.4
SAY @21
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC1.5
SAY @22
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC1.6
SAY @23
IF ~~ THEN REPLY @17 GOTO KIPC1.10
IF ~~ THEN REPLY @18 GOTO KIPC1.11
IF ~~ THEN REPLY @19 GOTO KIPC1.12
END

IF ~~ THEN BEGIN KIPC1.7
SAY @24
IF ~Gender(Player1,MALE)~ THEN REPLY @25 DO ~SetGlobal("P#KIPC1","LOCALS",1)~ GOTO KIPC1.13MALE
IF ~Gender(Player1,FEMALE)~ THEN REPLY @26 DO ~SetGlobal("P#KIPC1","LOCALS",1)~ GOTO KIPC1.13FEMALE
IF ~~ THEN REPLY @27 GOTO KIPC1.14
END

IF ~~ THEN BEGIN KIPC1.8
SAY @28
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC1.9
SAY @29
IF ~~ THEN REPLY @17 GOTO KIPC1.10
IF ~~ THEN REPLY @18 GOTO KIPC1.11
IF ~~ THEN REPLY @19 GOTO KIPC1.12
END

IF ~~ THEN BEGIN KIPC1.10
SAY @30
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC1.11
SAY @31
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC1.12
SAY @32
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC1.13MALE
SAY @33
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC1.13FEMALE
SAY @34
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC1.14
SAY @35
IF ~~ THEN EXIT
END

/* Friend Talk 2 */
IF WEIGHT #-2 ~%BGT_VAR% Global("P#KiFriendTalk","GLOBAL",4)~ THEN BEGIN KIPC2
SAY @36
IF ~~ THEN REPLY @37 DO ~SetGlobal("P#KIPC2","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",5) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC2.1
IF ~~ THEN REPLY @38 DO ~SetGlobal("P#KIPC2","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",5) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC2.2
IF ~~ THEN REPLY @39 DO ~SetGlobal("P#KIPC2","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",5) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC2.3
IF ~~ THEN REPLY @40 DO ~SetGlobal("P#KIPC2","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",5) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC2.3
IF ~~ THEN REPLY @41 DO ~SetGlobal("P#KIPC2","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",5) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC2.4
IF ~Class(Player1,BARD)~ THEN REPLY @42 DO ~SetGlobal("P#KIPC2","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",5) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC2.5
END

IF ~~ THEN BEGIN KIPC2.1
SAY @43
IF ~Gender(Player1,MALE)~ THEN REPLY @44 GOTO KIPC2.3
IF ~Gender(Player1,FEMALE)~ THEN REPLY @45 GOTO KIPC2.3
IF ~~ THEN REPLY @46 GOTO KIPC2.6
END

IF ~~ THEN BEGIN KIPC2.2
SAY @47
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC2.3
SAY @48
IF ~~ THEN REPLY @49 GOTO KIPC2.7
IF ~~ THEN REPLY @50 GOTO KIPC2.8
IF ~~ THEN REPLY @51 GOTO KIPC2.2
END

IF ~~ THEN BEGIN KIPC2.4
SAY @52
IF ~~ THEN REPLY @53 GOTO KIPC2.2
IF ~~ THEN REPLY @54 GOTO KIPC2.9
IF ~~ THEN REPLY @55 GOTO KIPC2.3
IF ~~ THEN REPLY @56 GOTO KIPC2.3
END

IF ~~ THEN BEGIN KIPC2.5
SAY @57
IF ~~ THEN REPLY @58 GOTO KIPC2.10
IF ~~ THEN REPLY @59 GOTO KIPC2.3
END

IF ~~ THEN BEGIN KIPC2.6
SAY @60
IF ~~ THEN REPLY @49 GOTO KIPC2.7
IF ~~ THEN REPLY @50 GOTO KIPC2.8
IF ~~ THEN REPLY @51 GOTO KIPC2.2
END

IF ~~ THEN BEGIN KIPC2.7
SAY @61
= @62
IF ~~ THEN REPLY @63 GOTO KIPC2.2
IF ~~ THEN REPLY @50 GOTO KIPC2.8
IF ~~ THEN REPLY @64 GOTO KIPC2.11
END

IF ~~ THEN BEGIN KIPC2.8
SAY @65
= @66
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC2.9
SAY @67
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC2.10
SAY @68
= @69
IF ~~ THEN REPLY @63 GOTO KIPC2.2
IF ~~ THEN REPLY @50 GOTO KIPC2.8
IF ~~ THEN REPLY @64 GOTO KIPC2.11
END

IF ~~ THEN BEGIN KIPC2.11
SAY @70
IF ~~ THEN EXIT
END

/* Kivan's Dance */
IF WEIGHT #-2 ~%BGT_VAR% Global("P#KiDance","GLOBAL",1)~ THEN BEGIN KIPC3
SAY @71
IF ~~ THEN REPLY @72 DO ~SetGlobal("P#KIPC3","LOCALS",1) SetGlobal("P#KiDance","GLOBAL",2)~ GOTO KIPC3.1
IF ~~ THEN REPLY @73 DO ~SetGlobal("P#KIPC3","LOCALS",1) SetGlobal("P#KiDance","GLOBAL",2)~ GOTO KIPC3.2
IF ~~ THEN REPLY @74 DO ~SetGlobal("P#KIPC3","LOCALS",1) SetGlobal("P#KiDance","GLOBAL",2)~ GOTO KIPC3.3
IF ~Class(Player1,BARD)~ THEN REPLY @75 DO ~SetGlobal("P#KIPC3","LOCALS",1) SetGlobal("P#KiDance","GLOBAL",2)~ GOTO KIPC3.4
END

IF ~~ THEN BEGIN KIPC3.1
SAY @76
IF ~~ THEN REPLY @77 GOTO KIPC3.5
IF ~~ THEN REPLY @78 GOTO KIPC3.6
IF ~~ THEN REPLY @79 GOTO KIPC3.7
END

IF ~~ THEN BEGIN KIPC3.2
SAY @80
= @81
IF ~~ THEN REPLY @82 GOTO KIPC3.5
IF ~~ THEN REPLY @78 GOTO KIPC3.6
IF ~~ THEN REPLY @79 GOTO KIPC3.7
END

IF ~~ THEN BEGIN KIPC3.3
SAY @83
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC3.4
SAY @84
= @85
IF ~~ THEN REPLY @77 GOTO KIPC3.5
IF ~~ THEN REPLY @78 GOTO KIPC3.6
IF ~~ THEN REPLY @79 GOTO KIPC3.7
END

IF ~~ THEN BEGIN KIPC3.5
SAY @86
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC3.6
SAY @87
IF ~~ THEN REPLY @88 GOTO KIPC3.5
IF ~~ THEN REPLY @89 GOTO KIPC3.8
END

IF ~~ THEN BEGIN KIPC3.7
SAY @90
= @91
IF ~~ THEN REPLY @92 GOTO KIPC3.9
IF ~~ THEN REPLY @93 GOTO KIPC3.10
IF ~~ THEN REPLY @94 GOTO KIPC3.5
END

IF ~~ THEN BEGIN KIPC3.8
SAY @95
= @96
IF ~~ THEN REPLY @92 GOTO KIPC3.9
IF ~~ THEN REPLY @93 GOTO KIPC3.10
IF ~~ THEN REPLY @94 GOTO KIPC3.5
END

IF ~~ THEN BEGIN KIPC3.9
SAY @97
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC3.10
SAY @98
IF ~~ THEN EXIT
END

/* Friend Talk 3 */
IF WEIGHT #-2 ~%BGT_VAR% Global("P#KiFriendTalk","GLOBAL",6)~ THEN BEGIN KIPC4
SAY @99
IF ~~ THEN REPLY @100 DO ~SetGlobal("P#KIPC4","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",7) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC4.1
IF ~~ THEN REPLY @101 DO ~SetGlobal("P#KIPC4","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",7) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC4.2
IF ~~ THEN REPLY @102 DO ~SetGlobal("P#KIPC4","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",7) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC4.3
IF ~~ THEN REPLY @103 DO ~SetGlobal("P#KIPC4","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",7) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC4.4
END

IF ~~ THEN BEGIN KIPC4.1
SAY @104
IF ~~ THEN REPLY @105 GOTO KIPC4.4
IF ~~ THEN REPLY @106 GOTO KIPC4.5
IF ~~ THEN REPLY @107 GOTO KIPC4.5
END

IF ~~ THEN BEGIN KIPC4.2
SAY @108
IF ~~ THEN REPLY @105 GOTO KIPC4.4
IF ~~ THEN REPLY @106 GOTO KIPC4.5
IF ~~ THEN REPLY @107 GOTO KIPC4.5
END

IF ~~ THEN BEGIN KIPC4.3
SAY @109
IF ~~ THEN REPLY @110 GOTO KIPC4.6
IF ~~ THEN REPLY @111 GOTO KIPC4.7
IF ~~ THEN REPLY @112 GOTO KIPC4.8
IF ~~ THEN REPLY @113 GOTO KIPC4.4
END

IF ~~ THEN BEGIN KIPC4.4
SAY @114
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC4.5
SAY @115
IF ~~ THEN REPLY @110 GOTO KIPC4.6
IF ~~ THEN REPLY @111 GOTO KIPC4.7
IF ~~ THEN REPLY @112 GOTO KIPC4.8
IF ~~ THEN REPLY @113 GOTO KIPC4.4
END

IF ~~ THEN BEGIN KIPC4.6
SAY @116
IF ~~ THEN REPLY @117 GOTO KIPC4.9
IF ~~ THEN REPLY @118 GOTO KIPC4.10
IF ~~ THEN REPLY @119 GOTO KIPC4.11
IF ~Gender(Player1,FEMALE)~ THEN REPLY @120 GOTO KIPC4.12
END

IF ~~ THEN BEGIN KIPC4.7
SAY @121
IF ~~ THEN REPLY @117 GOTO KIPC4.9
IF ~~ THEN REPLY @118 GOTO KIPC4.10
IF ~~ THEN REPLY @122 GOTO KIPC4.11
IF ~Gender(Player1,FEMALE)~ THEN REPLY @123 GOTO KIPC4.12
END

IF ~~ THEN BEGIN KIPC4.8
SAY @124
IF ~~ THEN REPLY @117 GOTO KIPC4.9
IF ~~ THEN REPLY @118 GOTO KIPC4.10
IF ~~ THEN REPLY @125 GOTO KIPC4.11
IF ~Gender(Player1,FEMALE)~ THEN REPLY @126 GOTO KIPC4.12
END

IF ~~ THEN BEGIN KIPC4.9
SAY @127
IF ~~ THEN REPLY @128 GOTO KIPC4.13
IF ~~ THEN REPLY @129 GOTO KIPC4.14
IF ~~ THEN REPLY @130 GOTO KIPC4.4
IF ~~ THEN REPLY @131 GOTO KIPC4.16
END

IF ~~ THEN BEGIN KIPC4.10
SAY @132
IF ~~ THEN REPLY @129 GOTO KIPC4.14
IF ~~ THEN REPLY @133 GOTO KIPC4.4
IF ~~ THEN REPLY @131 GOTO KIPC4.16
END

IF ~~ THEN BEGIN KIPC4.11
SAY @134
IF ~~ THEN REPLY @129 GOTO KIPC4.14
IF ~~ THEN REPLY @133 GOTO KIPC4.4
IF ~~ THEN REPLY @131 GOTO KIPC4.16
END

IF ~~ THEN BEGIN KIPC4.12
SAY @135
IF ~~ THEN REPLY @129 GOTO KIPC4.14
IF ~~ THEN REPLY @133 GOTO KIPC4.4
IF ~~ THEN REPLY @131 GOTO KIPC4.16
END

IF ~~ THEN BEGIN KIPC4.13
SAY @136
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC4.14
SAY @137
= @138
= @139
IF ~~ THEN REPLY @140 GOTO KIPC4.16
IF ~~ THEN REPLY @141 GOTO KIPC4.16
IF ~~ THEN REPLY @142 GOTO KIPC4.17
IF ~~ THEN REPLY @143 GOTO KIPC4.18
IF ~~ THEN REPLY @144 GOTO KIPC4.19
END

IF ~~ THEN BEGIN KIPC4.16
SAY @145
IF ~~ THEN REPLY @146 GOTO KIPC4.20
IF ~~ THEN REPLY @133 GOTO KIPC4.4
IF ~~ THEN REPLY @147 GOTO KIPC4.18
END

IF ~~ THEN BEGIN KIPC4.17
SAY @148
IF ~~ THEN REPLY @146 GOTO KIPC4.20
IF ~~ THEN REPLY @133 GOTO KIPC4.4
IF ~~ THEN REPLY @147 GOTO KIPC4.18
END

IF ~~ THEN BEGIN KIPC4.18
SAY @149
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC4.19
SAY @150
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC4.20
SAY @151
IF ~~ THEN EXIT
END

/* Friend Talk 5 */
IF WEIGHT #-2 ~%BGT_VAR% Global("P#KiFriendTalk","GLOBAL",10)~ THEN BEGIN KIPC5
SAY @152
IF ~~ THEN REPLY @153 DO ~SetGlobal("P#KIPC5","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",11)~ GOTO KIPC5.1
IF ~~ THEN REPLY @154 DO ~SetGlobal("P#KIPC5","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",11)~ GOTO KIPC5.2
IF ~~ THEN REPLY @155 DO ~SetGlobal("P#KIPC5","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",11)~ GOTO KIPC5.3
END

IF ~~ THEN BEGIN KIPC5.1
SAY @156
IF ~~ THEN REPLY @157 GOTO KIPC5.4
IF ~~ THEN REPLY @158 GOTO KIPC5.4
IF ~~ THEN REPLY @159 GOTO KIPC5.5
END

IF ~~ THEN BEGIN KIPC5.2
SAY @160
IF ~~ THEN REPLY @157 GOTO KIPC5.4
IF ~~ THEN REPLY @158 GOTO KIPC5.4
IF ~~ THEN REPLY @159 GOTO KIPC5.5
END

IF ~~ THEN BEGIN KIPC5.3
SAY @161
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC5.4
SAY @162
= @163
= @164
= @165
IF ~~ THEN REPLY @166 GOTO KIPC5.6
IF ~~ THEN REPLY @167 GOTO KIPC5.7
IF ~~ THEN REPLY @168 GOTO KIPC5.7
IF ~Gender(Player1,FEMALE)~ THEN REPLY @169 GOTO KIPC5.8
IF ~~ THEN REPLY @170 GOTO KIPC5.9
END

IF ~~ THEN BEGIN KIPC5.5
SAY @171
= @172
= @164
= @173
IF ~~ THEN REPLY @166 GOTO KIPC5.6
IF ~~ THEN REPLY @167 GOTO KIPC5.7
IF ~~ THEN REPLY @168 GOTO KIPC5.7
IF ~Gender(Player1,FEMALE)~ THEN REPLY @169 GOTO KIPC5.8
IF ~~ THEN REPLY @170 GOTO KIPC5.9
END

IF ~~ THEN BEGIN KIPC5.6
SAY @174
IF ~~ THEN REPLY @175 GOTO KIPC5.14
IF ~~ THEN REPLY @176 GOTO KIPC5.10
IF ~~ THEN REPLY @177 GOTO KIPC5.3
END

IF ~~ THEN BEGIN KIPC5.7
SAY @178
= @179
= @180
IF ~~ THEN REPLY @181 GOTO KIPC5.11
IF ~Gender(Player1,FEMALE)~ THEN REPLY @182 GOTO KIPC5.11
IF ~~ THEN REPLY @183 GOTO KIPC5.12
IF ~~ THEN REPLY @184 GOTO KIPC5.13
END

IF ~~ THEN BEGIN KIPC5.8
SAY @185
= @186
= @187
IF ~~ THEN REPLY @181 GOTO KIPC5.11
IF ~~ THEN REPLY @182 GOTO KIPC5.11
IF ~~ THEN REPLY @183 GOTO KIPC5.12
IF ~~ THEN REPLY @184 GOTO KIPC5.13
END

IF ~~ THEN BEGIN KIPC5.9
SAY @188
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC5.10
SAY @189
IF ~~ THEN REPLY @190 GOTO KIPC5.3
IF ~~ THEN REPLY @191 GOTO KIPC5.14
IF ~~ THEN REPLY @192 GOTO KIPC5.7
END

IF ~~ THEN BEGIN KIPC5.11
SAY @193
IF ~~ THEN REPLY @194 GOTO KIPC5.15

IF ~~ THEN REPLY @195 GOTO KIPC5.16
IF ~~ THEN REPLY @196 GOTO KIPC5.13
IF ~~ THEN REPLY @197 GOTO KIPC5.17
END

IF ~~ THEN BEGIN KIPC5.12
SAY @198
IF ~~ THEN REPLY @199 GOTO KIPC5.15
IF ~~ THEN REPLY @195 GOTO KIPC5.16
IF ~~ THEN REPLY @196 GOTO KIPC5.13
IF ~~ THEN REPLY @200 GOTO KIPC5.17
END

IF ~~ THEN BEGIN KIPC5.13
SAY @201
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC5.14
SAY @202
= @203
IF ~~ THEN REPLY @199 GOTO KIPC5.15
IF ~~ THEN REPLY @204 GOTO KIPC5.16
IF ~~ THEN REPLY @196 GOTO KIPC5.13
IF ~~ THEN REPLY @197 GOTO KIPC5.17
END

IF ~~ THEN BEGIN KIPC5.15
SAY @205
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC5.16
SAY @206
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC5.17
SAY @207
IF ~~ THEN EXIT
END

/* Friend Talk 4 */
IF WEIGHT #-2 ~%BGT_VAR% Global("P#KiFriendTalk","GLOBAL",8)~ THEN BEGIN KIPC6
SAY @208
IF ~~ THEN REPLY @209 DO ~SetGlobal("P#KIPC6","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",9) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC6.1
IF ~~ THEN REPLY @210 DO ~SetGlobal("P#KIPC6","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",9) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC6.2
IF ~~ THEN REPLY @211 DO ~SetGlobal("P#KIPC6","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",9) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC6.2
IF ~~ THEN REPLY @212 DO ~SetGlobal("P#KIPC6","LOCALS",1) SetGlobal("P#KiFriendTalk","GLOBAL",9) SetGlobal("P#KiFriendCheck","GLOBAL",0) RealSetGlobalTimer("P#KiFriendTalkTime","GLOBAL",3600)~ GOTO KIPC6.3
END

IF ~~ THEN BEGIN KIPC6.1
SAY @213
IF ~~ THEN REPLY @214 GOTO KIPC6.4
IF ~~ THEN REPLY @215 GOTO KIPC6.5
IF ~~ THEN REPLY @216 GOTO KIPC6.6
END

IF ~~ THEN BEGIN KIPC6.2
SAY @217
IF ~~ THEN REPLY @218 GOTO KIPC6.7
IF ~~ THEN REPLY @219 GOTO KIPC6.8
IF ~~ THEN REPLY @216 GOTO KIPC6.6
END

IF ~~ THEN BEGIN KIPC6.3
SAY @220
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC6.4
SAY @221
IF ~~ THEN REPLY @218 GOTO KIPC6.7
IF ~~ THEN REPLY @219 GOTO KIPC6.8
IF ~~ THEN REPLY @222 GOTO KIPC6.9
IF ~~ THEN REPLY @223 GOTO KIPC6.10
END

IF ~~ THEN BEGIN KIPC6.5
SAY @224
IF ~~ THEN REPLY @218 GOTO KIPC6.7
IF ~~ THEN REPLY @219 GOTO KIPC6.8
IF ~~ THEN REPLY @222 GOTO KIPC6.9
IF ~~ THEN REPLY @223 GOTO KIPC6.10
END

IF ~~ THEN BEGIN KIPC6.6
SAY @225
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC6.7
SAY @226
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC6.8
SAY @227
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC6.9
SAY @228
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC6.10
SAY @229
IF ~~ THEN EXIT
END

/* Kivan Bhaal Talk */
IF WEIGHT #-2 ~%BGT_VAR% Global("P#KiBhaal","GLOBAL",1)~ THEN BEGIN KIPC7
SAY @230
IF ~~ THEN REPLY @231 DO ~SetGlobal("P#KIPC7","LOCALS",1) SetGlobal("P#KiBhaal","GLOBAL",2)~ GOTO KIPC7.1
IF ~~ THEN REPLY @232 DO ~SetGlobal("P#KIPC7","LOCALS",1) SetGlobal("P#KiBhaal","GLOBAL",2)~ GOTO KIPC7.2
IF ~~ THEN REPLY @233 DO ~SetGlobal("P#KIPC7","LOCALS",1) SetGlobal("P#KiBhaal","GLOBAL",2)~ GOTO KIPC7.2
IF ~~ THEN REPLY @234 DO ~SetGlobal("P#KIPC7","LOCALS",1) SetGlobal("P#KiBhaal","GLOBAL",2)~ GOTO KIPC7.3
IF ~~ THEN REPLY @235 DO ~SetGlobal("P#KIPC7","LOCALS",1) SetGlobal("P#KiBhaal","GLOBAL",2)~ GOTO KIPC7.4
IF ~~ THEN REPLY @236 DO ~SetGlobal("P#KIPC7","LOCALS",1) SetGlobal("P#KiBhaal","GLOBAL",2)~ GOTO KIPC7.5
END

IF ~~ THEN BEGIN KIPC7.1
SAY @237
IF ~~ THEN REPLY @238 GOTO KIPC7.6
IF ~~ THEN REPLY @239 GOTO KIPC7.7
IF ~~ THEN REPLY @240 GOTO KIPC7.8
END

IF ~~ THEN BEGIN KIPC7.2
SAY @241
IF ~~ THEN REPLY @242 GOTO KIPC7.9
IF ~~ THEN REPLY @243 GOTO KIPC7.10
IF ~~ THEN REPLY @244 GOTO KIPC7.3
END

IF ~~ THEN BEGIN KIPC7.3
SAY @245
IF ~~ THEN REPLY @246 GOTO KIPC7.11
IF ~~ THEN REPLY @247 GOTO KIPC7.12
END

IF ~~ THEN BEGIN KIPC7.4
SAY @248
IF ~~ THEN REPLY @249 GOTO KIPC7.13
IF ~~ THEN REPLY @250 GOTO KIPC7.5
IF ~~ THEN REPLY @251 GOTO KIPC7.14
IF ~InParty("minsc") InMyArea("minsc") !StateCheck("minsc",CD_STATE_NOTVALID)~ THEN REPLY @252 GOTO KIPC7.15
END

IF ~~ THEN BEGIN KIPC7.5
SAY @253
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC7.6
SAY @254
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC7.7
SAY @255
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC7.8
SAY @256
IF ~~ THEN REPLY @257 GOTO KIPC7.2
IF ~~ THEN REPLY @258 GOTO KIPC7.2
IF ~~ THEN REPLY @259 GOTO KIPC7.3
IF ~~ THEN REPLY @260 GOTO KIPC7.4
IF ~~ THEN REPLY @236 GOTO KIPC7.5
END

IF ~~ THEN BEGIN KIPC7.9
SAY @261
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC7.10
SAY @262
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC7.11
SAY @263
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC7.12
SAY @264
IF ~~ THEN REPLY @265 GOTO KIPC7.16
IF ~~ THEN REPLY @266 GOTO KIPC7.11
IF ~~ THEN REPLY @267 GOTO KIPC7.17
END

IF ~~ THEN BEGIN KIPC7.13
SAY @268
= @269
= @270
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC7.14
SAY @271
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC7.15
SAY @272
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC7.16
SAY @273
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIPC7.17
SAY @274
IF ~~ THEN EXIT
END

/* Dream Script */
/* Goodnight Deheriana */
IF WEIGHT #-2 ~%BGT_VAR% Global("X#KIPC8","GLOBAL",1)~ THEN BEGIN KIPC8
SAY @275
IF ~~ THEN REPLY @276 DO ~SetGlobal("X#KIPC8","GLOBAL",2)~ GOTO KIPC8.1
IF ~~ THEN REPLY @277 DO ~SetGlobal("X#KIPC8","GLOBAL",2)~ GOTO KIPC8.2
IF ~~ THEN REPLY @278 DO ~SetGlobal("X#KIPC8","GLOBAL",2)~ GOTO KIPC8.3
IF ~Gender(Player1,FEMALE)~ THEN REPLY @279 DO ~SetGlobal("X#KIPC8","GLOBAL",2)~ GOTO KIPC8.4
IF ~Gender(Player1,FEMALE)~ THEN REPLY @280 DO ~SetGlobal("X#KIPC8","GLOBAL",2)~ GOTO KIPC8.5
END

IF ~~ THEN BEGIN KIPC8.1
SAY @281
IF ~~ THEN REPLY @282 GOTO KIPC8.6
IF ~~ THEN REPLY @283 GOTO KIPC8.7
IF ~~ THEN REPLY @284 GOTO KIPC8.8
END

IF ~~ THEN BEGIN KIPC8.2
SAY @285
IF ~~ THEN REPLY @282 GOTO KIPC8.6
IF ~~ THEN REPLY @286 GOTO KIPC8.8
IF ~Gender(Player1,FEMALE)~ THEN REPLY @287 GOTO KIPC8.5
END

IF ~~ THEN BEGIN KIPC8.3
SAY @288
IF ~~ THEN DO ~RestParty()~
EXIT
END

IF ~~ THEN BEGIN KIPC8.4
SAY @289
IF ~~ THEN REPLY @290 GOTO KIPC8.9
IF ~~ THEN REPLY @291 GOTO KIPC8.10
IF ~~ THEN REPLY @292 GOTO KIPC8.11
IF ~~ THEN REPLY @293 GOTO KIPC8.8
END

IF ~~ THEN BEGIN KIPC8.5
SAY @294
IF ~~ THEN REPLY @290 GOTO KIPC8.9
IF ~~ THEN REPLY @291 GOTO KIPC8.10
IF ~~ THEN REPLY @292 GOTO KIPC8.11
IF ~~ THEN REPLY @295 GOTO KIPC8.8
END

IF ~~ THEN BEGIN KIPC8.6
SAY @296
IF ~~ THEN DO ~RestParty()~
EXIT
END

IF ~~ THEN BEGIN KIPC8.7
SAY @297
IF ~~ THEN REPLY @298 GOTO KIPC8.6
IF ~~ THEN REPLY @299 GOTO KIPC8.8
END

IF ~~ THEN BEGIN KIPC8.8
SAY @300
= @301
= @302
IF ~~ THEN REPLY @303 GOTO KIPC8.12
IF ~~ THEN REPLY @304 GOTO KIPC8.13
IF ~~ THEN REPLY @305 GOTO KIPC8.14
END

IF ~~ THEN BEGIN KIPC8.9
SAY @306
IF ~~ THEN REPLY @307 GOTO KIPC8.15
IF ~~ THEN REPLY @308 GOTO KIPC8.16
IF ~~ THEN REPLY @309 GOTO KIPC8.17
IF ~~ THEN REPLY @310 GOTO KIPC8.18
END

IF ~~ THEN BEGIN KIPC8.10
SAY @311
IF ~~ THEN DO ~RestParty()~
EXIT
END

IF ~~ THEN BEGIN KIPC8.11
SAY @312
IF ~~ THEN DO ~RestParty()~
EXIT
END

IF ~~ THEN BEGIN KIPC8.12
SAY @313
= @314
IF ~~ THEN DO ~RestParty()~
EXIT
END

IF ~~ THEN BEGIN KIPC8.13
SAY @315
IF ~~ THEN DO ~RestParty()~
EXIT
END


IF ~~ THEN BEGIN KIPC8.14
SAY @316
IF ~~ THEN DO ~RestParty()~
EXIT
END

IF ~~ THEN BEGIN KIPC8.15
SAY @317
IF ~~ THEN DO ~RestParty()~
EXIT
END

IF ~~ THEN BEGIN KIPC8.16
SAY @318
IF ~~ THEN REPLY @319 GOTO KIPC8.17
IF ~~ THEN REPLY @320 GOTO KIPC8.19
IF ~~ THEN REPLY @321 GOTO KIPC8.20
END

IF ~~ THEN BEGIN KIPC8.17
SAY @322
IF ~~ THEN DO ~RestParty()~
EXIT
END

IF ~~ THEN BEGIN KIPC8.18
SAY @323
IF ~~ THEN DO ~RestParty()~
EXIT
END

IF ~~ THEN BEGIN KIPC8.19
SAY @324
IF ~~ THEN DO ~RestParty()~
EXIT
END

IF ~~ THEN BEGIN KIPC8.20
SAY @325
IF ~~ THEN DO ~RestParty()~
EXIT
END

/* drink with Xan */
IF WEIGHT #-2 ~%BGT_VAR% Global("P#KiDrunk","GLOBAL",1)~ THEN BEGIN KIXA2
SAY @326
IF ~~ THEN DO ~SetGlobal("P#KiDrunk","GLOBAL",2)~ EXTERN ~%XAN_BANTER%~ DrunkXan
END

IF ~~ THEN BEGIN KIXA2PC
SAY @327
IF ~~ THEN REPLY @328 DO ~SetGlobal("P#KIXA2","LOCALS",1)~ GOTO KIXA2.1
IF ~~ THEN REPLY @329 DO ~SetGlobal("P#KIXA2","LOCALS",1) SetGlobalTimer("P#DrunkElves","GLOBAL",360)~ GOTO KIXA2.2
END

IF ~~ THEN BEGIN KIXA2.1
SAY @330
IF ~~ THEN REPLY @331 GOTO KIXA2.3
IF ~~ THEN REPLY @332 GOTO KIXA2.4
IF ~~ THEN REPLY @333 GOTO KIXA2.5
END

IF ~~ THEN BEGIN KIXA2.2
SAY @334
IF ~~ THEN REPLY @331 GOTO KIXA2.3
IF ~~ THEN REPLY @332 GOTO KIXA2.4
IF ~~ THEN REPLY @333 GOTO KIXA2.5
END

IF ~~ THEN BEGIN KIXA2.5
SAY @335
IF ~~ THEN EXIT
END

IF ~False()~ THEN BEGIN KIXA2.4PC
SAY @336
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIXA2.3
SAY @337
IF ~~ THEN EXIT
END

/* Montaron scandal */
IF WEIGHT #-2 ~%BGT_VAR% Global("P#KivMont","GLOBAL",1)~ THEN BEGIN KIMO1
SAY @338
IF ~~ THEN DO ~SetGlobal("P#KivMont","GLOBAL",2)~ EXTERN ~%MONTARON_BANTER%~ KiTools
END

IF ~~ THEN BEGIN KIMO1PC
SAY @339
IF ~~ THEN REPLY @340 DO ~SetGlobal("P#KIMO1","LOCALS",1)~ GOTO KIMO1.1
IF ~~ THEN REPLY @341 DO ~SetGlobal("P#KIMO1","LOCALS",1)~ GOTO KIMO1.2
IF ~~ THEN REPLY @342 DO ~SetGlobal("P#KIMO1","LOCALS",1)~ GOTO KIMO1.3
IF ~~ THEN REPLY @343 DO ~SetGlobal("P#KIMO1","LOCALS",1)~ GOTO KIMO1.4
END

IF ~~ THEN BEGIN KIMO1.1PC
SAY @344
IF ~~ THEN REPLY @341 GOTO KIMO1.5
IF ~~ THEN REPLY @342 GOTO KIMO1.3
IF ~~ THEN REPLY @343 GOTO KIMO1.4
END

IF ~~ THEN BEGIN KIMO1.2PC
SAY @345
IF ~~ THEN REPLY @346 GOTO KIMO1.6
IF ~~ THEN REPLY @342 GOTO KIMO1.3
IF ~~ THEN REPLY @343 GOTO KIMO1.4
END

IF ~~ THEN BEGIN KIMO1.5PC
SAY @345
IF ~~ THEN REPLY @346 GOTO KIMO1.6
IF ~~ THEN REPLY @342 GOTO KIMO1.3
IF ~~ THEN REPLY @347 GOTO KIMO1.4
END

IF ~~ THEN BEGIN KIMO1.6
SAY @348
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN KIMO1.3PC
SAY @349
IF ~~ THEN DO ~ActionOverride("montaron",LeaveParty()) ActionOverride("montaron",EscapeArea()) ActionOverride("xzar",LeaveParty()) ActionOverride("xzar",EscapeArea())~
EXIT
END

IF ~~ THEN BEGIN KIMO1.4
SAY @350
IF ~~ THEN DO ~ActionOverride("kivan",LeaveParty()) ActionOverride("kivan",EscapeArea())~
EXIT
END
END

/* Dream Script */
/* Branwen's sleep aid */
CHAIN IF WEIGHT #-2 ~%BGT_VAR% Global("X#KivanBran2","GLOBAL",1)~ THEN ~%KIVAN_JOINED%~ KIBR2
@351
DO ~SetGlobal("X#KivanBran2","GLOBAL",2)~
== ~%BRANWEN_BANTER%~ @352
== ~%KIVAN_BANTER%~ @353
== ~%BRANWEN_BANTER%~ @354
== ~%KIVAN_BANTER%~ @355
== ~%BRANWEN_BANTER%~ @356
== ~%KIVAN_BANTER%~ @357
= @358
== ~%BRANWEN_BANTER%~ @359
DO ~RestParty()~
EXIT

/* Dream Script */
/* Garrick's recital */
CHAIN IF WEIGHT #-2 ~%BGT_VAR% Global("X#KivanGavinRecital","LOCALS",1)~ THEN ~%KIVAN_JOINED%~ KIGA1
@360
DO ~SetGlobal("X#KivanGavinRecital","LOCALS",2)~
== ~%GARRICK_BANTER%~ @361
== ~%KIVAN_BANTER%~ @362
== ~%GARRICK_BANTER%~ @363
== ~%GARRICK_BANTER%~ @364
= @365
== ~%KIVAN_BANTER%~ @366
= @367
= @368
== ~%GARRICK_BANTER%~ @369
== ~%KIVAN_BANTER%~ @370
DO ~RestParty()~
EXIT

/* Dream Script */
/* Imoen - totem animal */
CHAIN IF WEIGHT #-2 ~%BGT_VAR% Global("X#KivImTot","LOCALS",1)~ THEN ~%KIVAN_JOINED%~ KIIM1
@371
DO ~SetGlobal("X#KivImTot","LOCALS",2)~
== ~%IMOEN_BANTER%~ @372
== ~%KIVAN_BANTER%~ @373
== ~%IMOEN_BANTER%~ @374
== ~%KIVAN_BANTER%~ @375
= @376
== ~%IMOEN_BANTER%~ @377
== ~%KIVAN_BANTER%~ @378
== ~%IMOEN_BANTER%~ @379
= @380
== ~%KIVAN_BANTER%~ @381
DO ~RestParty()~
EXIT

/* Dream Script */
/* Safana's escape */
CHAIN IF WEIGHT #-2 ~%BGT_VAR% Global("X#KISA1","LOCALS",1)~ THEN ~%KIVAN_JOINED%~ KISA1
@382
DO ~SetGlobal("X#KISA1","LOCALS",2)~
== ~%SAFANA_BANTER%~ @383
== ~%KIVAN_JOINED%~ @384
== ~%SAFANA_BANTER%~ @385
== ~%KIVAN_JOINED%~ @386
== ~%SAFANA_BANTER%~ @387
== ~%KIVAN_JOINED%~ @388
== ~%SAFANA_BANTER%~ @389
= @390
== ~%KIVAN_JOINED%~ @391
DO ~RestParty()~
EXIT

/* Dream Script */
/* Fighting practice with Shar-Teel */
CHAIN IF WEIGHT #-2 ~%BGT_VAR% Global("X#KISH1","LOCALS",1)~ THEN ~%KIVAN_JOINED%~ KISH1
@392
DO ~SetGlobal("X#KISH1","LOCALS",2)~
== ~%SHARTEEL_BANTER%~ @393
== ~%KIVAN_BANTER%~ @394
== ~%SHARTEEL_BANTER%~ @395
== ~%KIVAN_BANTER%~ @396
== ~%SHARTEEL_BANTER%~ @397
== ~%KIVAN_BANTER%~ @398
== ~%SHARTEEL_BANTER%~ @399
== ~%KIVAN_BANTER%~ @400
DO ~RestParty()~
EXIT

/* Ajantis banter */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIAJ1","LOCALS",0) CombatCounter(0) InParty("ajantis") !See([ENEMY]) InParty(Myself) See("ajantis") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("ajantis",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIAJ1
@401
DO ~SetGlobal("P#KIAJ1","LOCALS",1)~
== ~%AJANTIS_BANTER%~ @402
== ~%KIVAN_BANTER%~ @403
== ~%AJANTIS_BANTER%~ @404
== ~%KIVAN_BANTER%~ @405
== ~%AJANTIS_BANTER%~ @406
== ~%KIVAN_BANTER%~ @407
EXIT

/* Alora banters */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIAL1","LOCALS",0) CombatCounter(0) InParty("alora") !See([ENEMY]) InParty(Myself) See("alora") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("alora",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIAL1
@408
DO ~SetGlobal("P#KIAL1","LOCALS",1)~
== ~%ALORA_BANTER%~ @409
== ~%KIVAN_BANTER%~ @410
== ~%ALORA_BANTER%~ @411
== ~%KIVAN_BANTER%~ @412
== ~%ALORA_BANTER%~ @413
== ~%KIVAN_BANTER%~ @414
== ~%ALORA_BANTER%~ @415
== ~%KIVAN_BANTER%~ @416
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% CombatCounter(0) InParty("alora") Global("P#KIAL2","LOCALS",0) !See([ENEMY]) InParty(Myself) See("alora") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("alora",CD_STATE_NOTVALID) AreaType(FOREST)~ THEN ~%KIVAN_BANTER%~ KIAL2
@417
DO ~SetGlobal("P#KIAL2","LOCALS",1)~
== ~%ALORA_BANTER%~ @418
== ~%KIVAN_BANTER%~ @419
== ~%ALORA_BANTER%~ @420
== ~%KIVAN_BANTER%~ @421
== ~%ALORA_BANTER%~ @422
== ~%KIVAN_BANTER%~ @423
= @424
EXIT

/* Branwen banter */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIBR1","LOCALS",0) CombatCounter(0) InParty("branwen") !See([ENEMY]) InParty(Myself) See("branwen") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("branwen",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIBR1
@425
DO ~SetGlobal("P#KIBR1","LOCALS",1)~
== ~%BRANWEN_BANTER%~ @426
== ~%KIVAN_BANTER%~ @427
== ~%BRANWEN_BANTER%~ @428
== ~%KIVAN_BANTER%~ @429
== ~%BRANWEN_BANTER%~ @430
== ~%KIVAN_BANTER%~ @431
EXIT

/* Coran banters */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KICO1","LOCALS",0) CombatCounter(0) Global("P#CoranHasBaby","GLOBAL",1) InParty("coran") !See([ENEMY]) InParty(Myself) See("coran") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("coran",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KICO1
@432
DO ~SetGlobal("P#KICO1","LOCALS",1)~
== ~%CORAN_BANTER%~ @433
== ~%KIVAN_BANTER%~ @434
== ~%CORAN_BANTER%~ @435
== ~%KIVAN_BANTER%~ @436
== ~%CORAN_BANTER%~ @437
= @438
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KICO2","LOCALS",0) CombatCounter(0) Global("P#CoranHasBaby","GLOBAL",1) !Global("P#CoranMatch","GLOBAL",1) InParty("coran") !See([ENEMY]) InParty(Myself) See("coran") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("coran",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KICO2
@439
DO ~SetGlobal("P#KICO2","LOCALS",1)~
== ~%CORAN_BANTER%~ @440
== ~%KIVAN_BANTER%~ @441
== ~%CORAN_BANTER%~ @442
== ~%KIVAN_BANTER%~ @443
== ~%CORAN_BANTER%~ @444
= @445
== ~%KIVAN_BANTER%~ @446
= @447
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KICO3","LOCALS",0) CombatCounter(0) Alignment("coran",CHAOTIC_NEUTRAL) Global("P#Briel_Stay","GLOBAL",2) InParty("coran") !See([ENEMY]) InParty(Myself) See("coran") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("coran",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KICO3
@448
DO ~SetGlobal("P#KICO3","LOCALS",1)~
== ~%CORAN_BANTER%~ @449
== ~%KIVAN_BANTER%~ @450
== ~%CORAN_BANTER%~ @451
== ~%KIVAN_BANTER%~ @452
== ~%CORAN_BANTER%~ @453
== ~%KIVAN_BANTER%~ @454
== ~%CORAN_BANTER%~ @455
== ~%KIVAN_BANTER%~ @456
EXIT

/* Dynaheir banter */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIDY1","LOCALS",0) CombatCounter(0) InParty("dynaheir") !See([ENEMY]) InParty(Myself) See("dynaheir") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("dynaheir",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIDY1
@457
DO ~SetGlobal("P#KIDY1","LOCALS",1)~
== ~%DYNAHEIR_BANTER%~ @458
== ~%KIVAN_BANTER%~ @459
== ~%DYNAHEIR_BANTER%~ @460
== ~%KIVAN_BANTER%~ @461
== ~%DYNAHEIR_BANTER%~ @462
== ~%KIVAN_BANTER%~ @463
== ~%DYNAHEIR_BANTER%~ @464
== ~%KIVAN_BANTER%~ IF ~ReputationGT("kivan",12)~ THEN @465
== ~%DYNAHEIR_BANTER%~ IF ~ReputationGT("kivan",12)~ THEN @466
== ~%KIVAN_BANTER%~ IF ~ReputationGT("kivan",12)~ THEN @467
== ~%KIVAN_BANTER%~ IF ~!ReputationGT("kivan",12)~ THEN @468
== ~%DYNAHEIR_BANTER%~ IF ~!ReputationGT("kivan",12)~ THEN @469
== ~%KIVAN_BANTER%~ IF ~!ReputationGT("kivan",12)~ THEN @470
EXIT

/* Edwin banters */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIED1","LOCALS",0) CombatCounter(0) AreaType(FOREST) InParty("edwin") !See([ENEMY]) InParty(Myself) See("edwin") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("edwin",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIED1
@471
DO ~SetGlobal("P#KIED1","LOCALS",1)~
== ~%EDWIN_BANTER%~ @472
== ~%KIVAN_BANTER%~ @473
== ~%EDWIN_BANTER%~ @474
= @475
== ~%KIVAN_BANTER%~ @476
= @477
== ~%EDWIN_BANTER%~ @478
= @479
== ~%KIVAN_BANTER%~ @480
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIED2","LOCALS",0) CombatCounter(0) InParty("edwin") !See([ENEMY]) InParty(Myself) See("edwin") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("edwin",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIED2
@481
DO ~SetGlobal("P#KIED2","LOCALS",1)~
== ~%EDWIN_BANTER%~ @482
== ~%KIVAN_BANTER%~ @483
== ~%EDWIN_BANTER%~ @484
== ~%KIVAN_BANTER%~ @485
== ~%EDWIN_BANTER%~ @486
== ~%KIVAN_BANTER%~ @487
== ~%EDWIN_BANTER%~ @488
== ~%KIVAN_BANTER%~ @489
== ~%EDWIN_BANTER%~ @490
== ~%KIVAN_BANTER%~ @491
EXIT

/* Faldorn banter */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIFA1","LOCALS",0) CombatCounter(0) AreaType(FOREST) InParty("faldorn") !See([ENEMY]) InParty(Myself) See("faldorn") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("faldorn",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIFA1
@492
DO ~SetGlobal("P#KIFA1","LOCALS",1)~
== ~%FALDORN_BANTER%~ @493
== ~%KIVAN_BANTER%~ @494
== ~%FALDORN_BANTER%~ @495
== ~%KIVAN_BANTER%~ @496
== ~%FALDORN_BANTER%~ @497
== ~%KIVAN_BANTER%~ @498
== ~%FALDORN_BANTER%~ @499
== ~%KIVAN_BANTER%~ @500
= @501
EXIT

/* Imoen banters */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIIM2","LOCALS",0) Global("X#KivImTot","LOCALS",2) CombatCounter(0) InParty("imoen") !See([ENEMY]) InParty(Myself) See("imoen") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("imoen",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIIM2
@502
DO ~SetGlobal("P#KIIM2","LOCALS",1)~
== ~%IMOEN_BANTER%~ @503
== ~%KIVAN_BANTER%~ @504
== ~%IMOEN_BANTER%~ @505
== ~%KIVAN_BANTER%~ @506
== ~%IMOEN_BANTER%~ @507
== ~%KIVAN_BANTER%~ @508
= @509
== ~%IMOEN_BANTER%~ @510
== ~%KIVAN_BANTER%~ @511
== ~%IMOEN_BANTER%~ @512
== ~%KIVAN_BANTER%~ @513
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIIM3","LOCALS",0) CombatCounter(0) AreaType(DUNGEON) Global("P#KIIM2","LOCALS",1) InParty("imoen") !See([ENEMY]) InParty(Myself) See("imoen") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("imoen",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIIM3
@514
DO ~SetGlobal("P#KIIM3","LOCALS",1)~
== ~%IMOEN_BANTER%~ @515
== ~%KIVAN_BANTER%~ @516
== ~%IMOEN_BANTER%~ @517
== ~%KIVAN_BANTER%~ @518
== ~%IMOEN_BANTER%~ @519
== ~%KIVAN_BANTER%~ @520
EXIT

/* Jaheira banters */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIJA1","LOCALS",0) CombatCounter(0) InParty("jaheira") InParty("khalid") !See([ENEMY]) InParty(Myself) See("jaheira") See("khalid") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("jaheira",CD_STATE_NOTVALID) !StateCheck("khalid",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIJA1
@521
= @522
DO ~SetGlobal("P#KIJA1","LOCALS",1)~
== ~%JAHEIRA_BANTER%~ @523
== ~%KIVAN_BANTER%~ @524
== ~%JAHEIRA_BANTER%~ @525
= @526
== ~%KIVAN_BANTER%~ @527
== ~%JAHEIRA_BANTER%~ @528
= @529
== ~%KIVAN_BANTER%~ @530
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% CombatCounter(0) InParty("jaheira") Global("P#KIJA2","GLOBAL",0) !See([ENEMY]) InParty(Myself) See("jaheira") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("jaheira",CD_STATE_NOTVALID) AreaType(FOREST)~ THEN ~%KIVAN_BANTER%~ KIJA2
@531
DO ~SetGlobal("P#KIJA2","GLOBAL",1)~
== ~%JAHEIRA_BANTER%~ @532
== ~%KIVAN_BANTER%~ @533
== ~%JAHEIRA_BANTER%~ @534
== ~%KIVAN_BANTER%~ @535
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIJA3","LOCALS",0) CombatCounter(0) InParty("jaheira") Global("P#KIJA2","GLOBAL",1) !See([ENEMY]) InParty(Myself) See("jaheira") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("jaheira",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIJA3
@536
DO ~SetGlobal("P#KIJA3","LOCALS",1)~
== ~%JAHEIRA_BANTER%~ @537
== ~%KIVAN_BANTER%~ @538
== ~%JAHEIRA_BANTER%~ @539
== ~%KIVAN_BANTER%~ @540
== ~%JAHEIRA_BANTER%~ @541
== ~%KIVAN_BANTER%~ @542
EXIT

/* Kagain banter */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIKA1","LOCALS",0) CombatCounter(0) AreaType(DUNGEON) InParty("kagain") !See([ENEMY]) InParty(Myself) See("kagain") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("kagain",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIKA1
@543
DO ~SetGlobal("P#KIKA1","LOCALS",1)~
== ~%KAGAIN_BANTER%~ @544
== ~%KIVAN_BANTER%~ @545
== ~%KAGAIN_BANTER%~ @546
== ~%KIVAN_BANTER%~ @547
== ~%KAGAIN_BANTER%~ @548
EXIT

/* Khalid banter */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIKH1","LOCALS",0) CombatCounter(0) InParty("khalid") InParty("jaheira") !See([ENEMY]) InParty(Myself) See("khalid") See("jaheira") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("khalid",CD_STATE_NOTVALID) !StateCheck("jaheira",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIKH1
@549
DO ~SetGlobal("P#KIKH1","LOCALS",1)~
== ~%KHALID_BANTER%~ @550
== ~%KIVAN_BANTER%~ @551
= @552
== ~%KHALID_BANTER%~ @553
== ~%KIVAN_BANTER%~ @554
== ~%KHALID_BANTER%~ @555
EXIT

/* Minsc banter */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIMI1","LOCALS",0) CombatCounter(0) InParty("minsc") !See([ENEMY]) InParty(Myself) See("minsc") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("minsc",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIMI1
@556
DO ~SetGlobal("P#KIMI1","LOCALS",1)~
== ~%MINSC_BANTER%~ @557
== ~%KIVAN_BANTER%~ @558
== ~%MINSC_BANTER%~ @559
== ~%KIVAN_BANTER%~ @560
== ~%MINSC_BANTER%~ @561
== ~%KIVAN_BANTER%~ @562
== ~%MINSC_BANTER%~ @563
EXIT

/* Quayle banter */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIQU1","LOCALS",0) CombatCounter(0) InParty("quayle") !See([ENEMY]) InParty(Myself) See("quayle") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("quayle",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIQU1
@564
DO ~SetGlobal("P#KIQU1","LOCALS",1)~
== ~%QUAYLE_BANTER%~ @565
== ~%KIVAN_BANTER%~ @566
== ~%QUAYLE_BANTER%~ @567
== ~%KIVAN_BANTER%~ @568
== ~%QUAYLE_BANTER%~ @569
== ~%KIVAN_BANTER%~ @570
== ~%QUAYLE_BANTER%~ @571
== ~%KIVAN_BANTER%~ @572
== ~%QUAYLE_BANTER%~ @573
== ~%KIVAN_BANTER%~ @574
EXIT

/* Skie banters */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% CombatCounter(0) InParty("skie") InParty("eldoth") Global("P#KISK1","LOCALS",0) !See([ENEMY]) InParty(Myself) See("skie") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("skie",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KISK1
@575
DO ~SetGlobal("P#KISK1","LOCALS",1)~
== ~%SKIE_BANTER%~ @576
== ~%KIVAN_BANTER%~ @577
== ~%SKIE_BANTER%~ @578
== ~%KIVAN_BANTER%~ @579
== ~%SKIE_BANTER%~ @580
== ~%KIVAN_BANTER%~ @581
== ~%ELDOTH_BANTER%~ @582
== ~%SKIE_BANTER%~ @583
== ~%KIVAN_BANTER%~ @584
== ~%ELDOTH_BANTER%~ @585
== ~%SKIE_BANTER%~ @586
== ~%ELDOTH_BANTER%~ @587
== ~%SKIE_BANTER%~ @588
== ~%KIVAN_BANTER%~ @589
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KISK2","LOCALS",0) CombatCounter(0) InParty("skie") InParty("eldoth") !See([ENEMY]) InParty(Myself) See("skie") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("skie",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KISK2
@590
DO ~SetGlobal("P#KISK2","LOCALS",1)~
== ~%SKIE_BANTER%~ @591
== ~%KIVAN_BANTER%~ @592
== ~%SKIE_BANTER%~ @593
== ~%KIVAN_BANTER%~ @594
== ~%SKIE_BANTER%~ @595
== ~%KIVAN_BANTER%~ @596
== ~%SKIE_BANTER%~ @597
EXIT

/* Tiax banters */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KITI1","LOCALS",0) CombatCounter(0) InParty("tiax") !See([ENEMY]) InParty(Myself) See("tiax") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("tiax",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KITI1
@598
DO ~SetGlobal("P#KITI1","LOCALS",1)~
== ~%TIAX_BANTER%~ @599
== ~%KIVAN_BANTER%~ @600
== ~%TIAX_BANTER%~ @601
== ~%VICONIA_BANTER%~ IF ~InParty("viconia") InMyArea("viconia") !StateCheck("viconia",CD_STATE_NOTVALID)~ THEN @602
== ~%KIVAN_BANTER%~ @603
== ~%TIAX_BANTER%~ @604
== ~%KIVAN_BANTER%~ @605
== ~%TIAX_BANTER%~ @606
== ~%KIVAN_BANTER%~ @607
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KITI2","LOCALS",0) CombatCounter(0) InParty("tiax") !See([ENEMY]) InParty(Myself) See("tiax") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("tiax",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KITI2
@608
DO ~SetGlobal("P#KITI2","LOCALS",1)~
== ~%TIAX_BANTER%~ @609
= @610
== ~%KIVAN_BANTER%~ @611
== ~%TIAX_BANTER%~ @612
EXIT

/* Viconia banters */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIVI1","GLOBAL",0) CombatCounter(0) InParty("viconia") Global("X#VIKI1","GLOBAL",1) !See([ENEMY]) InParty(Myself) See("viconia") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("viconia",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIVI1
@613
DO ~SetGlobal("P#KIVI1","GLOBAL",1)~
== ~%VICONIA_BANTER%~ @614
== ~%KIVAN_BANTER%~ @615
== ~%VICONIA_BANTER%~ @616
== ~%KIVAN_BANTER%~ @617
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% CombatCounter(0) InParty("viconia") Global("P#KIVI1","GLOBAL",1) Global("P#KIVI2","GLOBAL",0) !See([ENEMY]) InParty(Myself) See("viconia") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("viconia",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIVI2
@618
DO ~SetGlobal("P#KIVI2","GLOBAL",1)~
== ~%VICONIA_BANTER%~ @619
== ~%KIVAN_BANTER%~ @620
= @621
== ~%VICONIA_BANTER%~ @622
== ~%KIVAN_BANTER%~ @623
== ~%VICONIA_BANTER%~ @624
== ~%KIVAN_BANTER%~ @625
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIVI3","GLOBAL",0) CombatCounter(0) InParty("viconia") Global("P#KIVI2","GLOBAL",1) !See([ENEMY]) InParty(Myself) See("viconia") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("viconia",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIVI3
@626
DO ~SetGlobal("P#KIVI3","GLOBAL",1)~
== ~%VICONIA_BANTER%~ @627
= @628
= @629
== ~%KIVAN_BANTER%~ @630
== ~%VICONIA_BANTER%~ @631
== ~%KIVAN_BANTER%~ @632
== ~%VICONIA_BANTER%~ @633
== ~%KIVAN_BANTER%~ @634
= @635
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("P#KIVI4","GLOBAL",0) CombatCounter(0) InParty("viconia") GlobalGT("Chapter","GLOBAL",%tutu_chapter_4%) Global("P#KIVI3","GLOBAL",1) !See([ENEMY]) InParty(Myself) See("viconia") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("viconia",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIVI4
@636
DO ~SetGlobal("P#KIVI4","GLOBAL",1)~
== ~%VICONIA_BANTER%~ @637
== ~%KIVAN_BANTER%~ @638
== ~%VICONIA_BANTER%~ @639
== ~%KIVAN_BANTER%~ @640
== ~%VICONIA_BANTER%~ @641
== ~%KIVAN_BANTER%~ @642
== ~%VICONIA_BANTER%~ @643
== ~%KIVAN_BANTER%~ @644
== ~%VICONIA_BANTER%~ @645
== ~%KIVAN_BANTER%~ @646
== ~%VICONIA_BANTER%~ @647
EXIT

CHAIN IF WEIGHT #-1 ~%BGT_VAR% CombatCounter(0) GlobalGT("Chapter","GLOBAL",%tutu_chapter_4%) InParty("viconia") Global("P#KIVI4","GLOBAL",1) Global("P#KIVI5","GLOBAL",0) !See([ENEMY]) InParty(Myself) See("viconia") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("viconia",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIVI5
@648
DO ~SetGlobal("P#KIVI5","GLOBAL",1)~
== ~%VICONIA_BANTER%~ @649
== ~%KIVAN_BANTER%~ @650
== ~%VICONIA_BANTER%~ @651
== ~%KIVAN_BANTER%~ @652
== ~%VICONIA_BANTER%~ @653
== ~%KIVAN_BANTER%~ @654
== ~%VICONIA_BANTER%~ @655
== ~%KIVAN_BANTER%~ @656
== ~%VICONIA_BANTER%~ @657
EXIT

/* Xan banter */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% CombatCounter(0) TimeOfDay(NIGHT) AreaType(FOREST) InParty("xan") Global("P#KIXA1","LOCALS",0) !See([ENEMY]) InParty(Myself) See("xan") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("xan",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIXA1
@658
DO ~SetGlobal("P#KIXA1","LOCALS",1) SetGlobal("P#ElvesDrink","GLOBAL",1)~
== ~%XAN_BANTER%~ @659
== ~%KIVAN_BANTER%~ @660
== ~%XAN_BANTER%~ @661
== ~%KIVAN_BANTER%~ @662
== ~%XAN_BANTER%~ @663
== ~%KIVAN_BANTER%~ @664
== ~%XAN_BANTER%~ @665
== ~%KIVAN_BANTER%~ @666
== ~%XAN_BANTER%~ @667
= @668
== ~%KIVAN_BANTER%~ @669
EXIT

/* Xzar banter */
CHAIN IF WEIGHT #-1 ~%BGT_VAR% Global("X#KIXZ1","LOCALS",0) CombatCounter(0) Global("X#XZKI1","GLOBAL",1) InParty("xzar") !See([ENEMY]) InParty(Myself) InMyArea("xzar") !StateCheck(Myself,CD_STATE_NOTVALID) !StateCheck("xzar",CD_STATE_NOTVALID)~ THEN ~%KIVAN_BANTER%~ KIXZ1
@670
DO ~SetGlobal("X#KIXZ1","LOCALS",1)~
== ~%XZAR_BANTER%~ @671
== ~%KIVAN_BANTER%~ @672
== ~%XZAR_BANTER%~ @673
== ~%KIVAN_BANTER%~ @674
== ~%XZAR_BANTER%~ @675
== ~%KIVAN_BANTER%~ @676
== ~%XZAR_BANTER%~ @677
== ~%KIVAN_BANTER%~ @678
EXIT

/* Drunk banter */
CHAIN3 ~%XAN_BANTER%~ DrunkXan
@679
== ~%KIVAN_BANTER%~ @680
== ~%XAN_BANTER%~ @681
== ~%KIVAN_BANTER%~ @682
== ~%KAGAIN_BANTER%~ IF ~InParty("kagain") InMyArea("kagain") !StateCheck("kagain",CD_STATE_NOTVALID)~ THEN @683
== ~%YESLICK_BANTER%~ IF ~InParty("yeslick") InMyArea("yeslick") !StateCheck("yeslick",CD_STATE_NOTVALID)~ THEN @684
END ~%KIVAN_JOINED%~ KIXA2PC

CHAIN3 ~%KIVAN_JOINED%~ KIXA2.4
@685
== ~%XAN_BANTER%~ @686
END ~%KIVAN_JOINED%~ KIXA2.4PC

/* Montaron tools */
CHAIN3 ~%MONTARON_BANTER%~ KiTools
@687
== ~%KIVAN_BANTER%~ @688
== ~%MONTARON_BANTER%~ @689
== ~%KIVAN_BANTER%~ @690
== ~%MONTARON_BANTER%~ @691
== ~%KIVAN_BANTER%~ @692
== ~%MONTARON_BANTER%~ @693
END ~%KIVAN_JOINED%~ KIMO1PC

CHAIN3 ~%KIVAN_JOINED%~ KIMO1.1
@694
== ~%MONTARON_BANTER%~ @695
END ~%KIVAN_JOINED%~ KIMO1.1PC

CHAIN3 ~%KIVAN_JOINED%~ KIMO1.2
@694
== ~%MONTARON_BANTER%~ @696
END ~%KIVAN_JOINED%~ KIMO1.2PC

CHAIN3 ~%KIVAN_JOINED%~ KIMO1.3
@697
== ~%MONTARON_BANTER%~ @698
END ~%KIVAN_JOINED%~ KIMO1.3PC

CHAIN3 ~%KIVAN_JOINED%~ KIMO1.5
@345
== ~%MONTARON_BANTER%~ @696
END ~%KIVAN_JOINED%~ KIMO1.5PC
