diff options
author | Emistry <Equinox1991@gmail.com> | 2016-01-25 23:00:26 +0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-29 01:52:22 +0100 |
commit | 05a2538114972de94352e66586f6f2a5affea9c6 (patch) | |
tree | f39d3e659d9b3801cc42a7b14e41aeec16c93ddf /npc/events/valentinesday_2009.txt | |
parent | 75ba7024fe3b68718d0f0a289a68ea0719054d3b (diff) | |
download | hercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.gz hercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.bz2 hercules-05a2538114972de94352e66586f6f2a5affea9c6.tar.xz hercules-05a2538114972de94352e66586f6f2a5affea9c6.zip |
Replaced the SEX_FEMALE/SEX_MALE constants to scripts, where appropriate
Diffstat (limited to 'npc/events/valentinesday_2009.txt')
-rw-r--r-- | npc/events/valentinesday_2009.txt | 6 |
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?"; |