summaryrefslogtreecommitdiff
path: root/world/map/npc/002-2/eurni.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/002-2/eurni.txt')
-rw-r--r--world/map/npc/002-2/eurni.txt29
1 files changed, 27 insertions, 2 deletions
diff --git a/world/map/npc/002-2/eurni.txt b/world/map/npc/002-2/eurni.txt
index f965b84b..c9735ad0 100644
--- a/world/map/npc/002-2/eurni.txt
+++ b/world/map/npc/002-2/eurni.txt
@@ -18,14 +18,39 @@
next;
menu
- "Please do.", L_Change,
+ "Please do.", L_Change_Menu,
"Leave my family treasures alone!", L_Close;
+L_Change_Menu:
+ menu
+ "Female.", L_Female,
+ "Male.", L_Male,
+ "Non-binary.", L_NonBinary;
+
+L_Female:
+ set @sex, 0;
+ goto L_Change;
+
+L_Male:
+ set @sex, 1;
+ goto L_Change;
+
+L_NonBinary:
+ set @sex, 3;
+ goto L_Change;
+
L_Change:
+ if (Sex == @sex)
+ goto L_Already_Change;
if (Zeny < @SERVICES_ZENY)
goto L_NoMoney;
set Zeny, Zeny - @SERVICES_ZENY;
- set Sex, !Sex;
+ set Sex, @sex;
+ close;
+
+L_Already_Change:
+ mes "[Eurni the Surgeon]";
+ mes "\"Umm, you are that gender already.\"";
close;
L_TooYoung: