summaryrefslogtreecommitdiff
path: root/npc/003-10/arnea.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-10/arnea.txt')
-rw-r--r--npc/003-10/arnea.txt21
1 files changed, 15 insertions, 6 deletions
diff --git a/npc/003-10/arnea.txt b/npc/003-10/arnea.txt
index 5277335ae..47b83591f 100644
--- a/npc/003-10/arnea.txt
+++ b/npc/003-10/arnea.txt
@@ -24,15 +24,16 @@ L_NewArena:
mesn;
if (Zeny < .price) {
mesq l("You need @@ GP to use this arena.", .price);
- } else {
- mesq l("Okay, which arena will you rent? Cost is @@ GP.", .price);
- menu
- rif(Zeny > 1000, l("Rent arena")), -,
- l("Give Up"), L_Quit;
+ goto L_Menu;
}
+ mesq l("Okay, which arena will you rent? Cost is @@ GP.", .price);
+ menu
+ rif(Zeny > .price, l("Rent arena")), -,
+ l("Give Up"), L_Quit;
+
// Register to HTTable $@ARENAS (or override existing entry) your ID and a password
- .@PASSWORD=getcharid(0)**1.137;
+ .@PASSWORD=(getcharid(0)**1.137);
htput($@ARENAS, .@PASSWORD, getcharid(0));
// XXX - Important Note - XXX
@@ -53,8 +54,16 @@ L_NewArena:
.@instanceMapName$ = instance_attachmap("003-13", .@INSTID, 0, .@MAP$);
instance_set_timeout(1800, 1800, .@INSTID);
instance_init(.@INSTID);
+
+ Zeny=Zeny-.price;
+
dispbottom l("Arena created, it can be used for 10 minutes.");
dispbottom l("Room password: @@", .@PASSWORD);
+ mes "";
+ mesn;
+ mes l("Arena created, it can be used for 10 minutes.");
+ mes l("Room password: @@", .@PASSWORD);
+ next;
goto L_Menu;