summaryrefslogtreecommitdiff
path: root/npc/re/cities
diff options
context:
space:
mode:
Diffstat (limited to 'npc/re/cities')
-rw-r--r--npc/re/cities/dewata.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/re/cities/dewata.txt b/npc/re/cities/dewata.txt
index 8c2551a2b..7817db3b8 100644
--- a/npc/re/cities/dewata.txt
+++ b/npc/re/cities/dewata.txt
@@ -548,7 +548,7 @@ dewata,89,191,6 script Small Shrine#dew1 CLEAR_NPC,{
next;
} else if (.@stat & 128) {
mes "- The shrine envelops you in a loving aura. -";
- if ((Sex == 0 && compare(.@wish$,.@wishes$[26])) || (Sex == 1 && compare(.@wish$,.@wishes$[27])))
+ if ((Sex == SEX_FEMALE && compare(.@wish$,.@wishes$[26])) || (Sex == SEX_MALE && compare(.@wish$,.@wishes$[27])))
specialeffect2 EF_LIGHTSPHERE;
next;
}
@@ -749,7 +749,7 @@ OnTouch:
dewata,269,208,4 script Little Kid in Town#dew 4_M_DEWBOY,2,3,{
OnTouch:
mes "[Kid]";
- mes "Hey "+((Sex)?"bro":"sis")+", look at that man!";
+ mes "Hey "+ (Sex == SEX_MALE ? "bro" : "sis") +", look at that man!";
next;
mes "[Kid]";
mes "He's been lying there for a week doin' nothin'...";