/* BGII part!! */

APPEND ACASC

IF ~%BGT_VAR2%Global("ACACSPAWN2","LOCALS",0)~ THEN BEGIN ASCI.2
SAY @1
++ @2 DO ~SetGlobal("ACACSPAWN2","LOCALS",2)~ + ASCI.3
++ @3 DO ~SetGlobal("ACACSPAWN2","LOCALS",2)~ + ASCII
++ @4 DO ~SetGlobal("ACACSPAWN2","LOCALS",2)~ + ASCEND
END

IF ~~ THEN BEGIN ASCI.3
SAY @5
++ @3 + ASCII
++ @4 + ASCEND
END

IF ~True()~ THEN BEGIN ASCII
SAY @6
IF ~InParty("Jaheira")~ THEN REPLY @7 + ASCJA
IF ~InParty("Imoen2")~ THEN REPLY @12 + ASCIM
IF ~InParty("Viconia")~ THEN REPLY @14 + ASCVI
IF ~InParty("ACBre")~ THEN REPLY @18 + ASCBRE
IF ~InParty("Aerie")~ THEN REPLY @31 + 1
IF ~InParty("Anomen")~ THEN REPLY @32 + 2
IF ~InParty("Cernd")~ THEN REPLY @33 + 3
IF ~InParty("Edwin")~ THEN REPLY @34 + 4
IF ~InParty("HaerDalis")~ THEN REPLY @35 + 5
IF ~InParty("Jan")~ THEN REPLY @36 + 8
IF ~InParty("Keldorn")~ THEN REPLY @37 + 9
IF ~InParty("Korgan")~ THEN REPLY @38 + 10
IF ~InParty("Mazzy")~ THEN REPLY @39 + 11
IF ~InParty("Minsc")~ THEN REPLY @40 + 12
IF ~InParty("Nalia")~ THEN REPLY @41 + 13
IF ~InParty("Valygar")~ THEN REPLY @42 + 14
IF ~InParty("Yoshimo")~ THEN REPLY @43 + 16
++ @44 + ASCEND
END


IF ~~ THEN BEGIN ASCEND
SAY @45
IF ~~ THEN EXIT
END


END

CHAIN
IF ~~ THEN ACASC ASCJA
@46 = @47
==JAHEIRAJ @48
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC ASCIM
@62 = @63
==IMOEN2J @64
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC ASCVI
@68 = @69
==VICONIJ @70
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC ASCBRE
@80 = @81
==ACBREJ @82
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 1
@120 = @121
==BAERIE @122
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 2
@123 = @124
==BANOMEN @125
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 3
@126 = @127
==BCERND @128
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 4
@129 = @130
==BEDWIN @131
==ACASC @132
==BEDWIN @133
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 5
@134 = @135
==BHAERDA @136
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 8
@137 = @138
==BJAN @139
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 9
@140 = @141
==BKELDOR @142
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 10
@143 = @144
==BKORGAN @145
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 11
@146 = @147
==BMAZZY @148
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 12
@149 = @150
==BMINSC @151
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 13
@152 = @153
==BNALIA @154
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 14
@155 = @156
==BVALYGA @157
END
IF ~~ + ASCII

CHAIN
IF ~~ THEN ACASC 16
@158
==BYOSHIM @159
==ACASC @160
==BYOSHIM @161
END
IF ~~ + ASCII