summaryrefslogtreecommitdiff
path: root/npc/merchants/hair_dyer.txt
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/merchants/hair_dyer.txt
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/merchants/hair_dyer.txt')
-rw-r--r--npc/merchants/hair_dyer.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/npc/merchants/hair_dyer.txt b/npc/merchants/hair_dyer.txt
index 62916ac28..bd07727fb 100644
--- a/npc/merchants/hair_dyer.txt
+++ b/npc/merchants/hair_dyer.txt
@@ -41,15 +41,15 @@ prt_in,243,168,4 script Jovovich 4_F_02,{
mes "How may I help you?";
next;
mes "[Hairdresser Jovovich]";
- if (Sex) mes "Oh, no! Your hair is damaged. It seems as if you may need professional treatment. Come sit over here, please. Come.";
- else {
- if (rand(20) > 11) {
- mes "Eh!? Oh my! Oh no no no no! Your hair is sooo damaged! It's not good if you leave your hair like this.";
- next;
- mes "[Hairdresser Jovovich]";
- mes "Would you let me treat your hair? Please?";
- }
- else mes "Wow! Your hair would be perfect once it's dyed~ How about dying your hair for a change?";
+ if (Sex == SEX_MALE) {
+ mes "Oh, no! Your hair is damaged. It seems as if you may need professional treatment. Come sit over here, please. Come.";
+ } else if (rand(20) > 11) {
+ mes "Eh!? Oh my! Oh no no no no! Your hair is sooo damaged! It's not good if you leave your hair like this.";
+ next;
+ mes "[Hairdresser Jovovich]";
+ mes "Would you let me treat your hair? Please?";
+ } else {
+ mes "Wow! Your hair would be perfect once it's dyed~ How about dying your hair for a change?";
}
next;
while(1) {
@@ -176,7 +176,7 @@ S_NoDye:
//== Lighthalzen ===========================================
lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
mes "[Rossa]";
- if (Sex == 1) {
+ if (Sex == SEX_MALE) {
mes "Welcome, come in~";
mes "Oh, I see that you take";
mes "much better care of your";