IF ~%BGT_VAR% IsGabber(Player1) Global("X#AjantisRomanceMatch","GLOBAL",1) Global("X#AjantisRomanceActive","GLOBAL",1) !Detect([ENEMY]) !TimeOfDay(Night) !Alignment(Player2,MASK_EVIL) !Alignment(Player3,MASK_EVIL) !Alignment(Player4,MASK_EVIL) !Alignment(Player5,MASK_EVIL) !Alignment(Player6,MASK_EVIL) GlobalLT("X#AjantisRomanceBadDecision","GLOBAL",5)~ THEN BEGIN ajantisflirts_begin_01
SAY @0
+ ~RandomNum(3,1) GlobalGT("X#AjantisLoveTalk","GLOBAL",25)~ + @1 + flattered_flirt_01
+ ~RandomNum(3,2) GlobalGT("X#AjantisLoveTalk","GLOBAL",25)~ + @1 + flattered_flirt_02
+ ~RandomNum(3,3) GlobalGT("X#AjantisLoveTalk","GLOBAL",25)~ + @1 + flattered_flirt_03
+ ~GlobalGT("X#AjantisLoveTalk","GLOBAL",12) Global("X#AjantisRomanceQueenOfBeauty","GLOBAL",0)~ + @2 + queen_of_beauty
/* @3 */
+ ~!StateCheck("ajantis",STATE_POISONED) HPPercentLT("ajantis",70) HPPercentGT("ajantis",49)~ + @3 + wounded_70_flirt
+ ~!StateCheck("ajantis",STATE_POISONED) HPPercentLT("ajantis",50)~ + @3 + wounded_50_flirt
+ ~StateCheck("ajantis",STATE_POISONED) HPPercentGT("ajantis",49)~ + @3 + wounded_poisoned_flirt
+ ~StateCheck("ajantis",STATE_POISONED) HPPercentLT("ajantis",50)~ + @3 + wounded_50_poisoned_flirt
+ ~HPPercentGT("ajantis",69) OR(3) StateCheck("ajantis",STATE_DISEASED) StateCheck("ajantis",STATE_SLOWED) StateCheck("ajantis",STATE_BLIND) !StateCheck("ajantis",STATE_POISONED)~ + @3 + state_spell_flirt
+ ~RandomNum(2,1) CheckStatGT("ajantis",6,FATIGUE) HPPercentGT("ajantis",69) !StateCheck("ajantis",STATE_POISONED) !StateCheck("ajantis",STATE_DISEASED) !StateCheck("ajantis",STATE_SLOWED) !StateCheck("ajantis",STATE_BLIND)~ + @3 + tired_01_flirt
+ ~RandomNum(2,2) CheckStatGT("ajantis",6,FATIGUE) HPPercentGT("ajantis",69) !StateCheck("ajantis",STATE_POISONED) !StateCheck("ajantis",STATE_DISEASED) !StateCheck("ajantis",STATE_SLOWED) !StateCheck("ajantis",STATE_BLIND)~ + @3 + tired_02_flirt
+ ~RandomNum(4,1) HPPercentGT("ajantis",69) CheckStatLT("ajantis",7,FATIGUE) !StateCheck("ajantis",STATE_DISEASED) !StateCheck("ajantis",STATE_SLOWED) !StateCheck("ajantis",STATE_BLIND) !StateCheck("ajantis",STATE_POISONED)~ + @3 + how_01_flirt
+ ~RandomNum(4,2) HPPercentGT("ajantis",69) CheckStatLT("ajantis",7,FATIGUE) !StateCheck("ajantis",STATE_DISEASED) !StateCheck("ajantis",STATE_SLOWED) !StateCheck("ajantis",STATE_BLIND) !StateCheck("ajantis",STATE_POISONED)~ + @3 + how_02_flirt
+ ~RandomNum(4,3) HPPercentGT("ajantis",69) CheckStatLT("ajantis",7,FATIGUE) !StateCheck("ajantis",STATE_DISEASED) !StateCheck("ajantis",STATE_SLOWED) !StateCheck("ajantis",STATE_BLIND) !StateCheck("ajantis",STATE_POISONED)~ + @3 + how_03_flirt
+ ~RandomNum(4,4) HPPercentGT("ajantis",69) CheckStatLT("ajantis",7,FATIGUE) !StateCheck("ajantis",STATE_DISEASED) !StateCheck("ajantis",STATE_SLOWED) !StateCheck("ajantis",STATE_BLIND) !StateCheck("ajantis",STATE_POISONED)~ + @3 + how_04_flirt
++ @4 + look_flirt
+ ~RandomNum(4,1) GlobalLT("X#AjantisLoveTalk","GLOBAL",26)~ + @5 + begin_flirt_smile_01
+ ~RandomNum(4,2) GlobalLT("X#AjantisLoveTalk","GLOBAL",26)~ + @5 + begin_flirt_smile_02
+ ~RandomNum(4,3) GlobalLT("X#AjantisLoveTalk","GLOBAL",26)~ + @5 + begin_flirt_smile_03
+ ~RandomNum(4,4) GlobalLT("X#AjantisLoveTalk","GLOBAL",26)~ + @5 + begin_flirt_smile_04
+ ~RandomNum(4,1) GlobalGT("X#AjantisLoveTalk","GLOBAL",25)~ + @5 + flirt_smile_01
+ ~RandomNum(4,2) GlobalGT("X#AjantisLoveTalk","GLOBAL",25)~ + @5 + flirt_smile_02
+ ~RandomNum(4,3) GlobalGT("X#AjantisLoveTalk","GLOBAL",25)~ + @5 + flirt_smile_03
+ ~RandomNum(4,4) GlobalGT("X#AjantisLoveTalk","GLOBAL",25)~ + @5 + begin_flirt_smile_04
/* @6 */
+ ~RandomNum(3,1) Class(Player1,PALADIN)~ + @6 + paladin_too_01
+ ~RandomNum(3,2) Class(Player1,PALADIN)~ + @6 + paladin_too_02
+ ~RandomNum(3,3) Class(Player1,PALADIN)~ + @6 + paladin_too_03
/* @7 */
+ ~RandomNum(3,1) !Class(Player1,PALADIN)~ + @7 + paladin_no_evil_01
+ ~RandomNum(3,2) !Class(Player1,PALADIN)~ + @7 + paladin_no_evil_02
+ ~RandomNum(3,3) !Class(Player1,PALADIN)~ + @7 + paladin_no_evil_03
/* @8 */
+ ~RandomNum(4,1)~ + @8 + safer_01
+ ~RandomNum(4,2)~ + @8 + safer_04
+ ~RandomNum(4,3)~ + @8 + safer_03
+ ~RandomNum(4,4)~ + @8 + safer_04
/* @9 */
/* chapter 2 */
+ ~RandomNum(6,1) Global("Chapter","GLOBAL",%tutu_chapter_2%)~ + @9 + suggestions_01
+ ~RandomNum(6,2) Global("Chapter","GLOBAL",%tutu_chapter_2%)~ + @9 + suggestions_02
+ ~RandomNum(6,3) Global("Chapter","GLOBAL",%tutu_chapter_2%)~ + @9 + suggestions_03
+ ~RandomNum(6,4) Global("Chapter","GLOBAL",%tutu_chapter_2%)~ + @9 + suggestions_04
+ ~RandomNum(6,5) Global("Chapter","GLOBAL",%tutu_chapter_2%)~ + @9 + suggestions_24
+ ~RandomNum(6,6) Global("Chapter","GLOBAL",%tutu_chapter_2%)~ + @9 + suggestions_25
/* chapter 3 */
+ ~RandomNum(5,1) Global("Chapter","GLOBAL",%tutu_chapter_3%)~ + @9 + suggestions_05
+ ~RandomNum(5,2) Global("Chapter","GLOBAL",%tutu_chapter_3%)~ + @9 + suggestions_06
+ ~RandomNum(5,3) Global("Chapter","GLOBAL",%tutu_chapter_3%)~ + @9 + suggestions_07
+ ~RandomNum(5,4) Global("Chapter","GLOBAL",%tutu_chapter_3%)~ + @9 + suggestions_24
+ ~RandomNum(5,5) Global("Chapter","GLOBAL",%tutu_chapter_3%)~ + @9 + suggestions_25
/* chapter 4 */
+ ~RandomNum(5,1) Global("Chapter","GLOBAL",%tutu_chapter_4%)~ + @9 + suggestions_08
+ ~RandomNum(5,2) Global("Chapter","GLOBAL",%tutu_chapter_4%)~ + @9 + suggestions_09
+ ~RandomNum(5,3) Global("Chapter","GLOBAL",%tutu_chapter_4%)~ + @9 + suggestions_10
+ ~RandomNum(5,4) Global("Chapter","GLOBAL",%tutu_chapter_4%)~ + @9 + suggestions_24
+ ~RandomNum(5,5) Global("Chapter","GLOBAL",%tutu_chapter_4%)~ + @9 + suggestions_25
/* chapter 5 */
+ ~RandomNum(5,1) Global("Chapter","GLOBAL",%tutu_chapter_5%)~ + @9 + suggestions_13
+ ~RandomNum(5,2) Global("Chapter","GLOBAL",%tutu_chapter_5%)~ + @9 + suggestions_14
+ ~RandomNum(5,3) Global("Chapter","GLOBAL",%tutu_chapter_5%)~ + @9 + suggestions_15
+ ~RandomNum(5,4) Global("Chapter","GLOBAL",%tutu_chapter_5%)~ + @9 + suggestions_24
+ ~RandomNum(5,5) Global("Chapter","GLOBAL",%tutu_chapter_5%)~ + @9 + suggestions_25
/* chapter 6 */
/* before being arrested */
+ ~RandomNum(5,1) Global("Chapter","GLOBAL",%tutu_chapter_6%) !Global("Arrested","GLOBAL",1)~ + @9 + suggestions_18
+ ~RandomNum(5,2) Global("Chapter","GLOBAL",%tutu_chapter_6%) !Global("Arrested","GLOBAL",1)~ + @9 + suggestions_20
+ ~RandomNum(5,3) Global("Chapter","GLOBAL",%tutu_chapter_6%) !Global("Arrested","GLOBAL",1)~ + @9 + suggestions_20
+ ~RandomNum(5,4) Global("Chapter","GLOBAL",%tutu_chapter_6%) !Global("Arrested","GLOBAL",1)~ + @9 + suggestions_24
+ ~RandomNum(5,5) Global("Chapter","GLOBAL",%tutu_chapter_6%) !Global("Arrested","GLOBAL",1)~ + @9 + suggestions_25
/* after being arrested */
+ ~RandomNum(5,1) Global("Chapter","GLOBAL",%tutu_chapter_6%) Global("Arrested","GLOBAL",1)~ + @9 + suggestions_19
+ ~RandomNum(5,2) Global("Chapter","GLOBAL",%tutu_chapter_6%) Global("Arrested","GLOBAL",1)~ + @9 + suggestions_20
+ ~RandomNum(5,3) Global("Chapter","GLOBAL",%tutu_chapter_6%) Global("Arrested","GLOBAL",1)~ + @9 + suggestions_20
+ ~RandomNum(5,4) Global("Chapter","GLOBAL",%tutu_chapter_6%) Global("Arrested","GLOBAL",1)~ + @9 + suggestions_24
+ ~RandomNum(5,5) Global("Chapter","GLOBAL",%tutu_chapter_6%) Global("Arrested","GLOBAL",1)~ + @9 + suggestions_25
/* chapter 7 */
+ ~RandomNum(5,1) Global("Chapter","GLOBAL",%tutu_chapter_7%)~ + @9 + suggestions_21
+ ~RandomNum(5,2) Global("Chapter","GLOBAL",%tutu_chapter_7%)~ + @9 + suggestions_22
+ ~RandomNum(5,3) Global("Chapter","GLOBAL",%tutu_chapter_7%)~ + @9 + suggestions_23
+ ~RandomNum(5,4) Global("Chapter","GLOBAL",%tutu_chapter_7%)~ + @9 + suggestions_24
+ ~RandomNum(5,5) Global("Chapter","GLOBAL",%tutu_chapter_7%)~ + @9 + suggestions_25
++ @10 + touch_hair
++ @11 + stain
++ @12 + bodyhurt_flirt
+ ~Global("X#AjantisSurroundingsFlirt","GLOBAL",0)~ + @13 DO ~IncrementGlobal("X#AjantisSurroundingsFlirt","GLOBAL",1)~ + surroundings_01
+ ~Global("X#AjantisSurroundingsFlirt","GLOBAL",1)~ + @13 DO ~IncrementGlobal("X#AjantisSurroundingsFlirt","GLOBAL",1)~ + surroundings_02
+ ~Global("X#AjantisSurroundingsFlirt","GLOBAL",2)~ + @13 DO ~IncrementGlobal("X#AjantisSurroundingsFlirt","GLOBAL",1)~ + surroundings_03
+ ~Global("X#AjantisSurroundingsFlirt","GLOBAL",3)~ + @13 DO ~IncrementGlobal("X#AjantisSurroundingsFlirt","GLOBAL",1)~ + surroundings_04
+ ~RandomNum(2,1) Global("X#AjantisSurroundingsFlirt","GLOBAL",4)~ + @13 + surroundings_05
+ ~RandomNum(2,2) Global("X#AjantisSurroundingsFlirt","GLOBAL",4)~ + @13 + surroundings_06
+ ~RandomNum(3,1)~ + @14 + hairdo_flirt_01
+ ~RandomNum(3,2)~ + @14 + hairdo_flirt_02
+ ~RandomNum(3,3)~ + @14 + hairdo_flirt_03
+ ~Global("X#AjantisDropItemsFlirt","GLOBAL",0)~ + @15 DO ~IncrementGlobal("X#AjantisDropItemsFlirt","GLOBAL",1)~ + drop_item_flirt_01
+ ~Global("X#AjantisDropItemsFlirt","GLOBAL",1)~ + @15 DO ~IncrementGlobal("X#AjantisDropItemsFlirt","GLOBAL",1)~ + drop_item_flirt_02
+ ~Global("X#AjantisDropItemsFlirt","GLOBAL",2)~ + @15 DO ~IncrementGlobal("X#AjantisDropItemsFlirt","GLOBAL",1)~ + drop_item_flirt_03
+ ~Global("X#AjantisDropItemsFlirt","GLOBAL",3)~ + @15 DO ~IncrementGlobal("X#AjantisDropItemsFlirt","GLOBAL",1)~ + drop_item_flirt_04
+ ~Global("X#AjantisDropItemsFlirt","GLOBAL",4)~ + @15 DO ~IncrementGlobal("X#AjantisDropItemsFlirt","GLOBAL",1)~ + drop_item_flirt_05
+ ~RandomNum(3,1) Global("X#AjantisDropItemsFlirt","GLOBAL",5)~ + @15 + drop_item_flirt_08
+ ~RandomNum(3,2) Global("X#AjantisDropItemsFlirt","GLOBAL",5)~ + @15 + drop_item_flirt_09
+ ~RandomNum(3,3) Global("X#AjantisDropItemsFlirt","GLOBAL",5)~ + @15 + drop_item_flirt_10
++ @16 + flirt_end
++ @17 EXIT
+ ~%VoiceStrange%~ + @33 + AjantisVoice
END