summaryrefslogtreecommitdiff
path: root/npc/events/valentinesday_2009.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/events/valentinesday_2009.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/events/valentinesday_2009.txt')
-rw-r--r--npc/events/valentinesday_2009.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/events/valentinesday_2009.txt b/npc/events/valentinesday_2009.txt
index 690ab6697..6b964d42c 100644
--- a/npc/events/valentinesday_2009.txt
+++ b/npc/events/valentinesday_2009.txt
@@ -396,7 +396,7 @@ prontera,154,185,5 script Event Ring Maker#Val09 4_F_KAFRA7,{
delitem 7948,1;
Zeny -= 1000;
iROval09ring = 1;
- if (Sex) {
+ if (Sex == SEX_MALE) {
getnameditem 12742,strcharinfo(0);
} else {
getnameditem 12743,strcharinfo(0);
@@ -453,7 +453,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{
break;
}
- if (Sex) {
+ if (Sex == SEX_MALE) {
if (countitem(Valentine_Silver_Ring) > .@input) {
mes "[Valentine Vote Manager]";
mes "Seems like the value you entered is too small.";
@@ -536,7 +536,7 @@ prontera,157,185,4 script Valentine Vote Manager#v 4_F_KAFRA5,{
//== Charles Orleans (Makes Home-Made Chocolates) ==========
prt_castle,42,35,3 script Dessert Manager#Val09 1_M_01,{
- if (Sex) {
+ if (Sex == SEX_MALE) {
mes "[Charles Orleans]";
mes "Monsieur~! What brings you to my beautiful atelier?";
mes "What is it that you want?";