summaryrefslogtreecommitdiff
path: root/npc/merchants/hair_dyer.txt
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2016-01-06 16:38:43 +0800
committerHaru <haru@dotalux.com>2016-01-16 19:57:34 +0100
commita1310e2d8c098fcbeb485314a4bafa5d6659be7e (patch)
tree7ebba2392df11cbf008b24e4bb9402cc89c2433e /npc/merchants/hair_dyer.txt
parente3c680b76bf2d13de6286f3b486d946b25b7bdb1 (diff)
downloadhercules-a1310e2d8c098fcbeb485314a4bafa5d6659be7e.tar.gz
hercules-a1310e2d8c098fcbeb485314a4bafa5d6659be7e.tar.bz2
hercules-a1310e2d8c098fcbeb485314a4bafa5d6659be7e.tar.xz
hercules-a1310e2d8c098fcbeb485314a4bafa5d6659be7e.zip
Remove VAR_ constants
- there are 2 same constants for setlook script command, remove the wrong one - VAR_ constant added by lone_wolf is invalid https://github.com/HerculesWS/Hercules/commit/f4278f36db32f35e535a0ea8feb1cf83ca95019e, so use the LOOK_ constant
Diffstat (limited to 'npc/merchants/hair_dyer.txt')
-rw-r--r--npc/merchants/hair_dyer.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/merchants/hair_dyer.txt b/npc/merchants/hair_dyer.txt
index db261c215..1a786b415 100644
--- a/npc/merchants/hair_dyer.txt
+++ b/npc/merchants/hair_dyer.txt
@@ -97,7 +97,7 @@ prt_in,243,168,4 script Jovovich 4_F_02,{
close;
}
- if (.@headpalette == getlook(VAR_HEADPALETTE)) {
+ if (.@headpalette == getlook(LOOK_HAIR_COLOR)) {
mes "[Hairdresser Jovovich]";
mes "Eh? But that's the hair color you already have. Please choose a different color.";
next;
@@ -130,7 +130,7 @@ prt_in,243,168,4 script Jovovich 4_F_02,{
case 8: delitem Scarlet_Dyestuffs,1; break;
}
Zeny -= 1000;
- setlook VAR_HEADPALETTE,.@headpalette;
+ setlook LOOK_HAIR_COLOR,.@headpalette;
.@choose_success = 1;
break;
}
@@ -275,7 +275,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
}
break;
}
- if (getlook(VAR_HEADPALETTE) == .@headpalette) {
+ if (getlook(LOOK_HAIR_COLOR) == .@headpalette) {
mes "[Rossa]";
mes "Hmm, your hair color";
mes "is still fine, so there's";
@@ -388,7 +388,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{
else if (.@headpalette == 6) delitem White_Dyestuffs,1;
else if (.@headpalette == 7) delitem Black_Dyestuffs,1;
Zeny -= 1000;
- setlook VAR_HEADPALETTE,.@headpalette;
+ setlook LOOK_HAIR_COLOR,.@headpalette;
.@choose_success = 1;
break;
}