BEGIN ~60MADAE~

IF ~~ THEN BEGIN 0
  SAY #29361
  IF ~~ THEN EXTERN ~61ISAIR~ 1
END

IF ~~ THEN BEGIN 1
  SAY #29363
  IF ~~ THEN REPLY #29364 EXTERN ~61ISAIR~ 11
  IF ~~ THEN REPLY #29365 EXTERN ~61ISAIR~ 11
  IF ~~ THEN REPLY @6350 GOTO NoArmyIntimidateM
  IF ~~ THEN REPLY #29367 GOTO 17
END

IF ~~ THEN BEGIN 2
  SAY #29368
  IF ~~ THEN REPLY #29369 EXTERN ~61ISAIR~ 12
  IF ~~ THEN REPLY #29370 EXTERN ~61ISAIR~ 12
  IF ~~ THEN REPLY #29371 EXTERN ~61ISAIR~ 12
  IF ~~ THEN REPLY #29367 GOTO 17
END

IF ~~ THEN BEGIN 3
  SAY #29372
  IF ~~ THEN REPLY #29373 EXTERN ~61ISAIR~ 12
  IF ~~ THEN REPLY #29374 EXTERN ~61ISAIR~ 12
  IF ~~ THEN REPLY #29375 GOTO 13
  IF ~~ THEN REPLY #29367 GOTO 17
END

IF ~~ THEN BEGIN 4
  SAY #29376
  IF ~~ THEN REPLY #29377 GOTO 13
  IF ~~ THEN REPLY #29378 GOTO 13
  IF ~~ THEN REPLY #29379 GOTO 13
  IF ~~ THEN REPLY #29367 GOTO 17
END

IF ~~ THEN BEGIN 5
  SAY #29380
  IF ~~ THEN REPLY #29381 GOTO 13
  IF ~~ THEN REPLY #29382 GOTO 13
  IF ~~ THEN REPLY #29383 GOTO 13
  IF ~~ THEN REPLY #29367 GOTO 17
END

IF ~~ THEN BEGIN 6
  SAY #29384
  IF ~~ THEN REPLY #29385 EXTERN ~61ISAIR~ 14
  IF ~~ THEN REPLY #29386 GOTO 13
  IF ~~ THEN REPLY #29387 GOTO 13
  IF ~~ THEN REPLY #29367 GOTO 17
END

IF ~~ THEN BEGIN 7
  SAY #29388
  IF ~~ THEN REPLY @6350 GOTO NoArmyIntimidateM
  IF ~~ THEN REPLY #29390 GOTO 13
  IF ~~ THEN REPLY #29391 GOTO 13
  IF ~~ THEN REPLY #29367 GOTO 17
  IF ~~ THEN REPLY @6351 GOTO QuestionMotivesStartM
END

IF ~~ THEN BEGIN 8
  SAY #29392
  IF ~~ THEN REPLY #29389 EXTERN ~61ISAIR~ 11
  IF ~~ THEN REPLY #29390 GOTO 13
  IF ~~ THEN REPLY #29391 GOTO 13
  IF ~~ THEN REPLY #29367 GOTO 17
END

IF ~~ THEN BEGIN 9
  SAY #29393
  IF ~~ THEN REPLY #29394 EXTERN ~61ISAIR~ 15
  IF ~~ THEN REPLY #29395 EXTERN ~61ISAIR~ 16
  IF ~  SubRace(Protagonist,HUMAN_AASIMAR)
~ THEN REPLY #29396 EXTERN ~61ISAIR~ 16
  IF ~  SubRace(Protagonist,HUMAN_TIEFLING)
~ THEN REPLY #29396 EXTERN ~61ISAIR~ 16
  IF ~~ THEN REPLY #29367 GOTO 17
END

IF ~~ THEN BEGIN 10
  SAY #29397
  IF ~~ THEN REPLY #29394 EXTERN ~61ISAIR~ 15
  IF ~~ THEN REPLY #29395 EXTERN ~61ISAIR~ 16
  IF ~  SubRace(Protagonist,HUMAN_AASIMAR)
~ THEN REPLY #29396 EXTERN ~61ISAIR~ 16
  IF ~  SubRace(Protagonist,HUMAN_TIEFLING)
~ THEN REPLY #29396 EXTERN ~61ISAIR~ 16
  IF ~~ THEN REPLY #29367 GOTO 17
END

IF ~~ THEN BEGIN 11
  SAY #29398
  IF ~~ THEN REPLY #29394 EXTERN ~61ISAIR~ 15
  IF ~~ THEN REPLY #29395 EXTERN ~61ISAIR~ 16
  IF ~  SubRace(Protagonist,HUMAN_AASIMAR)
~ THEN REPLY #29396 EXTERN ~61ISAIR~ 16
  IF ~  SubRace(Protagonist,HUMAN_TIEFLING)
~ THEN REPLY #29396 EXTERN ~61ISAIR~ 16
  IF ~~ THEN REPLY #29367 GOTO 17
END

IF ~~ THEN BEGIN 12
  SAY #29399
  IF ~~ THEN EXTERN ~61ISAIR~ 19
END

IF ~~ THEN BEGIN 13
  SAY #29400
  IF ~~ THEN EXTERN ~61ISAIR~ 19
END

IF ~~ THEN BEGIN 14
  SAY #29401
  IF ~~ THEN EXTERN ~61ISAIR~ 17
END

IF ~~ THEN BEGIN 15
  SAY #29402
  IF ~~ THEN EXTERN ~61ISAIR~ 18
END

IF ~~ THEN BEGIN 16
  SAY #29403
  IF ~~ THEN DO ~Enemy()~ EXIT
END

IF ~~ THEN BEGIN 17
  SAY #29404
  IF ~~ THEN DO ~Enemy()~ EXIT
END

IF ~~ THEN BEGIN 18
  SAY #29405
  IF ~~ THEN DO ~StartCutSceneMode()
StartCutScene("63cFB02")~ EXIT
END

IF ~~ THEN BEGIN 19
  SAY #29406
  IF ~~ THEN EXTERN ~61ISAIR~ 22
END

IF ~~ THEN BEGIN 20
  SAY #29407
  IF ~~ THEN EXTERN ~61ISAIR~ 24
END

IF ~~ THEN BEGIN 21
  SAY #29408
  IF ~~ THEN EXTERN ~64ORRICK~ 67
END

IF ~~ THEN BEGIN 22
  SAY #29409
  IF ~~ THEN EXTERN ~64ORRICK~ 69
END

IF ~~ THEN BEGIN 23
  SAY #29410
  IF ~~ THEN EXTERN ~64ORRICK~ 70
END

IF ~~ THEN BEGIN 24
  SAY #29411
  IF ~~ THEN GOTO 25
END

IF ~~ THEN BEGIN 25
  SAY #29412
  IF ~~ THEN EXTERN ~60ISELOR~ 51
END

IF ~~ THEN BEGIN 26
  SAY #29413
  IF ~~ THEN EXTERN ~60ISELOR~ 52
END

IF ~~ THEN BEGIN 27
  SAY #29414
  IF ~~ THEN GOTO 28
END

IF ~~ THEN BEGIN 28
  SAY #29415
  IF ~~ THEN DO ~SetGlobal("60Party_Entered","GLOBAL",1)
StartCutsceneMode()
StartCutscene("60CCMI2")~ EXIT
END

IF ~  Global("60Party_Entered","GLOBAL",1)
~ THEN BEGIN 29
  SAY #29416
  IF ~~ THEN REPLY #29417 GOTO 30
  IF ~~ THEN REPLY #29418 GOTO 31
  IF ~~ THEN REPLY #29419 GOTO 32
  IF ~~ THEN REPLY #29420 GOTO 33
END

IF ~~ THEN BEGIN 30
  SAY #29421
  IF ~~ THEN EXTERN ~60ISELOR~ 53
END

IF ~~ THEN BEGIN 31
  SAY #29424
  IF ~~ THEN EXTERN ~60ISELOR~ 53
END

IF ~~ THEN BEGIN 32
  SAY #29425
  IF ~~ THEN EXTERN ~60ISELOR~ 53
END

IF ~~ THEN BEGIN 33
  SAY #29426
  IF ~~ THEN EXTERN ~60ISELOR~ 53
END

IF ~~ THEN BEGIN 34
  SAY #29427
  IF ~~ THEN DO ~Enemy()
StartCutsceneMode()
StartCutscene("60CCMI3")~ EXIT
END

IF ~~ THEN BEGIN 35
  SAY #32053
  IF ~~ THEN EXIT
END


IF ~~ THEN BEGIN NoArmyIntimidateM
SAY @6352
  IF ~~ THEN EXTERN ~61ISAIR~ NoArmyIntimidateI
END

IF ~~ THEN BEGIN QuestionMotivesStartM
SAY @6353
  IF ~~ THEN REPLY @6354 GOTO QuestionMotivesStartM1A
  IF ~~ THEN REPLY @6355 GOTO QuestionMotivesStartM2A
  IF ~SubRace(Protagonist,ELF_DROW)~ THEN REPLY @6356 GOTO QuestionMotivesStartM3A
  IF ~Race(Protagonist,HALFORC)~ THEN REPLY @6357 GOTO QuestionMotivesStartM3A
  IF ~SubRace(Protagonist,HUMAN_TIEFLING)~ THEN REPLY @6358 GOTO QuestionMotivesStartM3A
END

IF ~~ THEN BEGIN QuestionMotivesStartM1A
SAY @6359
  IF ~~ THEN EXTERN ~61ISAIR~ QuestionMotivesStartI1A
END

IF ~~ THEN BEGIN QuestionMotivesStartM2A
SAY @6360
  IF ~~ THEN REPLY @6361 GOTO QuestionMotivesStartM2B
END

IF ~~ THEN BEGIN QuestionMotivesStartM2B
SAY @6362
  IF ~CheckSkillGT(Protagonist,21,Diplomacy)~ THEN REPLY @6363 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI2A
  IF ~~ THEN REPLY @6364 EXTERN ~61ISAIR~ FailedQuestionMotivesI2A
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM2C
SAY @6365
  IF ~Gender(Protagonist,MALE)~ THEN REPLY @6366 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI2D
  IF ~!Gender(Protagonist,MALE)~ THEN REPLY @6366 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI2E
END

IF ~~ THEN BEGIN QuestionMotivesStartM2C
SAY @6365
  IF ~~ THEN REPLY @6366 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI2D
END

IF ~~ THEN BEGIN QuestionMotivesStartM2D
SAY @6367
  IF ~~ THEN REPLY @6368 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI2G
END

IF ~~ THEN BEGIN QuestionMotivesStartM3A
SAY @6369
  IF ~~ THEN REPLY @6370 GOTO FailedQuestionMotivesRaceAny
  IF ~SubRace(Protagonist,ELF_DROW)
CheckSkillGT(Protagonist,9,Bluff)~ THEN REPLY @6371 GOTO SuccessfulQuestionMotivesM3B
  IF ~Race(Protagonist,HALFORC)
CheckSkillGT(Protagonist,8,Bluff)~ THEN REPLY @6372 GOTO SuccessfulQuestionMotivesM3B
  IF ~SubRace(Protagonist,HUMAN_TIEFLING)
CheckSkillGT(Protagonist,6,Bluff)~ THEN REPLY @6373 GOTO SuccessfulQuestionMotivesM3B
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3B
SAY @6374
  IF ~~ THEN EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI3A
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3C
SAY @6375
  IF ~Global("US_EGENIA_FULL", "GLOBAL", 1)
CheckSkillGT(Protagonist,9,Diplomacy)~ THEN REPLY @6376 GOTO SuccessfulQuestionMotivesM3CC
  IF ~~ THEN REPLY @6377 EXTERN ~61ISAIR~ FailedQuestionMotives3C
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3CC
SAY @6378
  IF ~~ THEN REPLY @6379 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI3C
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3D
SAY @6380
  IF ~~ THEN REPLY @6381 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI3D
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3E
SAY @6382
  IF ~~ THEN REPLY @6383 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI3E
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3F
SAY @6384
  IF ~~ THEN REPLY @6385 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI3F
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3G
SAY @6386
  IF ~~ THEN REPLY @6387 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI3I
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3H
SAY @6388
  IF ~~ THEN REPLY @6389 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI3J
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3I
SAY @6390
  IF ~~ THEN EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI3K
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3J
SAY @6391
  IF ~~ THEN EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI3M
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3JJ
SAY @6392
  IF ~~ THEN EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI3N
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM3K
SAY @6393
  IF ~~ THEN DO ~SetGlobal("Ready_To_Retreat","GLOBAL",1)
SetGlobal("WarpSequenceHP25","MYAREA",1)
SetGlobal("Final_Battle_Progress","GLOBAL",2)
SetGlobal("US_Final_Battle_Alternate","GLOBAL",1)
StartCutSceneMode()
StartCutScene("US63CFB5")~ EXIT
END

IF ~~ THEN BEGIN FailedQuestionMotivesRaceAny
SAY @6394
  IF ~~ THEN EXTERN ~61ISAIR~ FailedQuestionMotivesRaceAnyI
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM1A
SAY @6395
  IF ~~ THEN EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI1A
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM1B
SAY @6396
IF ~~ THEN EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI1C
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM1C
SAY @6397
IF ~~ THEN REPLY @6398 EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI1E
END

IF ~~ THEN BEGIN SuccessfulQuestionMotivesM1D
SAY @6399
IF ~~ THEN EXTERN ~61ISAIR~ SuccessfulQuestionMotivesI1F
END

IF ~~ THEN BEGIN FailedQuestionMotivesM1A
SAY @6400
  IF ~~ THEN EXTERN ~61ISAIR~ FailedQuestionMotivesI1A
END

IF ~~ THEN BEGIN FailedQuestionMotivesM1B
  SAY @6401
  IF ~~ THEN DO ~Enemy()~ EXIT
END
