summaryrefslogtreecommitdiff
path: root/npc/re/quests/quests_dewata.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-02-29 01:53:24 +0100
committerHaru <haru@dotalux.com>2016-02-29 01:53:24 +0100
commit12a85a011c2008ea92b9197e79646aaa6ece5a41 (patch)
treef39d3e659d9b3801cc42a7b14e41aeec16c93ddf /npc/re/quests/quests_dewata.txt
parent844d429119e671f8abbdb335233eba1bb156721c (diff)
parent05a2538114972de94352e66586f6f2a5affea9c6 (diff)
downloadhercules-12a85a011c2008ea92b9197e79646aaa6ece5a41.tar.gz
hercules-12a85a011c2008ea92b9197e79646aaa6ece5a41.tar.bz2
hercules-12a85a011c2008ea92b9197e79646aaa6ece5a41.tar.xz
hercules-12a85a011c2008ea92b9197e79646aaa6ece5a41.zip
Merged pull request #1123 - Add Constant for Gender.
Closes #1123 as merged
Diffstat (limited to 'npc/re/quests/quests_dewata.txt')
-rw-r--r--npc/re/quests/quests_dewata.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/re/quests/quests_dewata.txt b/npc/re/quests/quests_dewata.txt
index 460666f12..a78427f12 100644
--- a/npc/re/quests/quests_dewata.txt
+++ b/npc/re/quests/quests_dewata.txt
@@ -1696,7 +1696,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
}
if (dew_weapon == 0) {
mes "[Gatti]";
- mes "Hey there, young "+((Sex)?"man":"lady")+"~ Are you from around here?";
+ mes "Hey there, young "+ (Sex == SEX_MALE ? "man" : "lady") +"~ Are you from around here?";
next;
select("No, I'm not.");
mes "[Gatti]";
@@ -1812,7 +1812,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
end;
}
mes "[Gatti]";
- if(Sex == 0)
+ if (Sex == SEX_FEMALE)
mes "Lady, you possess a strong energy.";
else
mes "You possess a strong energy.";
@@ -1857,7 +1857,7 @@ dew_fild01,127,240,4 script Gatti#weapon 2_M_OLDBLSMITH,{
next;
mes "[Gatti]";
mes "Oh yes! Finally.";
- if (Sex == 0)
+ if (Sex == SEX_FEMALE)
mes "Lady, you also possess a strong energy.";
else
mes "You also possess a strong energy.";