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/cities/louyang.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/cities/louyang.txt') diff --git a/npc/cities/louyang.txt b/npc/cities/louyang.txt index 71a9d0e0e..dca5f0376 100644 --- a/npc/cities/louyang.txt +++ b/npc/cities/louyang.txt @@ -146,7 +146,7 @@ lou_fild01,190,100,7 script Girl#1lou 4_F_CHNDRESS1,{ mes "stay and enjoy the"; mes "the food and the sights!"; next; - if (Sex) { + if (Sex == SEX_MALE) { mes "[Girl]"; mes "And by sights..."; mes "I mean girls!"; @@ -162,7 +162,7 @@ lou_fild01,190,100,7 script Girl#1lou 4_F_CHNDRESS1,{ //== Generic Louyang NPCs ================================== louyang,297,167,2 script Muscular Woman#lou 4_F_CHNDRESS1,{ - if (!Sex) { + if (Sex == SEX_FEMALE) { mes "[Zhi Ching Li]"; mes "All the members of the Maiden Palace, including myself and our master, are all female."; next; -- cgit v1.2.3-70-g09d2