summaryrefslogtreecommitdiff
path: root/npc/merchants/hair_style.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_style.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_style.txt')
-rw-r--r--npc/merchants/hair_style.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/merchants/hair_style.txt b/npc/merchants/hair_style.txt
index 7bfefadf4..2d61d02db 100644
--- a/npc/merchants/hair_style.txt
+++ b/npc/merchants/hair_style.txt
@@ -995,7 +995,7 @@ lhz_in02,100,143,3 script Hair Dresser#li 2_M_DYEINGER,{
mes "you soooooooo beautiful!";
close;
}
- else if (getlook(VAR_HEAD) == .@input) {
+ else if (getlook(LOOK_HAIR) == .@input) {
mes "[Prince Shammi]";
mes "Oh dear me, you're not";
mes "going to waste money for";
@@ -1017,7 +1017,7 @@ lhz_in02,100,143,3 script Hair Dresser#li 2_M_DYEINGER,{
next;
switch(select("Yes.:No.")) {
case 1:
- if (getlook(VAR_HEADPALETTE) == 0) {
+ if (getlook(LOOK_HAIR_COLOR) == 0) {
mes "[Prince Shammi]";
mes "Oh, Sweet Christmas,";
mes "I almost forgot! Would";
@@ -1072,8 +1072,8 @@ lhz_in02,100,143,3 script Hair Dresser#li 2_M_DYEINGER,{
delitem Long_Hair,100;
delitem Golden_Hair,100;
delitem Glossy_Hair,100;
- setlook VAR_HEAD,.@input;
- setlook VAR_HEADPALETTE,.@headpalette;
+ setlook LOOK_HAIR,.@input;
+ setlook LOOK_HAIR_COLOR,.@headpalette;
mes "[Prince Shammi]";
mes "Well, we're all finished!";
mes "And my, oh my, you look even";
@@ -1272,8 +1272,8 @@ lhz_in02,91,155,5 script Assistant Beautician#li 4_F_LGTGIRL,{
mes "^333333*Pant Pant Pant*^000000";
next;
Zeny -= 250000;
- setlook VAR_HEAD,.@style_r;
- setlook VAR_HEADPALETTE,.@color_r;
+ setlook LOOK_HAIR,.@style_r;
+ setlook LOOK_HAIR_COLOR,.@color_r;
mes "[Assistant Beautician]";
mes "Bwahahaha! Success!";
if (.@input == .@style_r) {