summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-16 10:34:39 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-16 10:34:39 -0300
commit01a5aea68556e8f720cec37668510d458ac869a8 (patch)
treea133fc6c10bef7b6149ba8e62b5c5372d768d485
parent2eff154690fb5e3205ed21ab94b4a3764775a634 (diff)
downloadserverdata-01a5aea68556e8f720cec37668510d458ac869a8.tar.gz
serverdata-01a5aea68556e8f720cec37668510d458ac869a8.tar.bz2
serverdata-01a5aea68556e8f720cec37668510d458ac869a8.tar.xz
serverdata-01a5aea68556e8f720cec37668510d458ac869a8.zip
Test nº 2
-rw-r--r--npc/commands/debug-look.txt31
1 files changed, 16 insertions, 15 deletions
diff --git a/npc/commands/debug-look.txt b/npc/commands/debug-look.txt
index c22140bde..fa1a4d0b7 100644
--- a/npc/commands/debug-look.txt
+++ b/npc/commands/debug-look.txt
@@ -1,23 +1,24 @@
function script BarberDebug {
function setGender {
- //clear;
- //setnpcdialogtitle l("Appearance Debug - Sex Change");
- //mes l("Please choose the desired gender:");
- //next;
- //menuint
- // l("Male"), G_MALE,
- // l("Female"), G_FEMALE,
- // l("Other"), G_OTHER;
-
- //Sex = @menuret; // FIXME: make this work like in tmwAthena
- //return;
-
+ clear;
+ setnpcdialogtitle l("Appearance Debug - Sex Change");
+ mes l("Please choose the desired gender:");
+ next;
+ menuint
+ l("Male"), G_MALE,
+ l("Female"), G_FEMALE,
+ l("Legacy"), 99;
- // ^ Future code, Doesn't work yet
- closedialog;
- changecharsex;
+ if (@menuret == 99) {
+ closedialog;
+ changecharsex;
+ } else {
+ setparam(Sex, @menuret);
+ return;
+ }
}
+
function setStyle {
clear;
setnpcdialogtitle l("Appearance Debug - Barber");