summaryrefslogtreecommitdiff
path: root/npc/events
diff options
context:
space:
mode:
authorEmistry <Equinox1991@gmail.com>2016-01-25 23:00:26 +0800
committerHaru <haru@dotalux.com>2016-02-29 01:52:22 +0100
commit05a2538114972de94352e66586f6f2a5affea9c6 (patch)
treef39d3e659d9b3801cc42a7b14e41aeec16c93ddf /npc/events
parent75ba7024fe3b68718d0f0a289a68ea0719054d3b (diff)
downloadhercules-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')
-rw-r--r--npc/events/christmas_2005.txt2
-rw-r--r--npc/events/christmas_2008.txt8
-rw-r--r--npc/events/valentinesday_2009.txt6
3 files changed, 8 insertions, 8 deletions
diff --git a/npc/events/christmas_2005.txt b/npc/events/christmas_2005.txt
index a39fe5851..db2423e8f 100644
--- a/npc/events/christmas_2005.txt
+++ b/npc/events/christmas_2005.txt
@@ -953,7 +953,7 @@ prontera,156,242,0 script Oholy#pron::OholyDup 1_F_PRIEST,{
mes "The Lord has come.";
specialeffect EF_GLORIA;
next;
- if (Sex) {
+ if (Sex == SEX_MALE) {
mes "[Oholy]";
mes "Merry Christmas!";
mes "Dear brother, what comes in";
diff --git a/npc/events/christmas_2008.txt b/npc/events/christmas_2008.txt
index c575cb9c6..64f3efa93 100644
--- a/npc/events/christmas_2008.txt
+++ b/npc/events/christmas_2008.txt
@@ -65,7 +65,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
next;
mes "[Caroller]";
mes "Merry Christmas!";
- if (Sex) {
+ if (Sex == SEX_MALE) {
mes "Hey, boy! What comes to mind when";
} else {
mes "Hey, girl! What comes to mind when";
@@ -476,7 +476,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
case 2:
mes "[Santa Claus]";
- if (Sex) {
+ if (Sex == SEX_MALE) {
mes "Ho ho ho! What a good boy!";
} else {
mes "Ho ho ho! What a good girl!";
@@ -709,7 +709,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
next;
mes "[Santa Claus]";
mes "........................";
- if (Sex) {
+ if (Sex == SEX_MALE) {
mes "Oh! Poor boy...";
} else {
mes "Oh! Poor girl...";
@@ -717,7 +717,7 @@ prontera,226,306,4 script Caroller#iROxmas08 1_F_PRIEST,{
next;
mes "[Santa Claus]";
mes "........................";
- if (Sex) {
+ if (Sex == SEX_MALE) {
mes "Oh! Poor boy...";
} else {
mes "Oh! Poor girl...";
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?";