From 05a2538114972de94352e66586f6f2a5affea9c6 Mon Sep 17 00:00:00 2001 From: Emistry Date: Mon, 25 Jan 2016 23:00:26 +0800 Subject: Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriate --- npc/jobs/2-2/dancer.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'npc/jobs/2-2/dancer.txt') diff --git a/npc/jobs/2-2/dancer.txt b/npc/jobs/2-2/dancer.txt index b2c38dfd9..9aa3f3d5f 100644 --- a/npc/jobs/2-2/dancer.txt +++ b/npc/jobs/2-2/dancer.txt @@ -153,7 +153,7 @@ job_duncer,43,93,4 script Aile#da 4_F_07,{ cutin "",255; end; } - if (DANC_Q == 0 && Sex == 0 && BaseJob == Job_Archer) { + if (DANC_Q == 0 && Sex == SEX_FEMALE && BaseJob == Job_Archer) { cutin "job_dancer_eir01",2; mes "[Aile]"; mes "Welcome~!"; @@ -228,8 +228,7 @@ job_duncer,43,93,4 script Aile#da 4_F_07,{ close2; cutin "",255; end; - } - else if (Sex == 1) { + } else if (Sex == SEX_MALE) { cutin "job_dancer_eir03",2; mes "[Aile]"; mes "Welco--Mmm?"; -- cgit v1.2.3-70-g09d2