summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/012-1_Woodland_Hills/injured-mouboo.txt12
1 files changed, 9 insertions, 3 deletions
diff --git a/npc/012-1_Woodland_Hills/injured-mouboo.txt b/npc/012-1_Woodland_Hills/injured-mouboo.txt
index 1967711e..3b0bd240 100644
--- a/npc/012-1_Woodland_Hills/injured-mouboo.txt
+++ b/npc/012-1_Woodland_Hills/injured-mouboo.txt
@@ -101,9 +101,9 @@ L_give:
setarray @items$, "CactusDrink", "CactusPotion", "ChocolateBar", "Milk", "OrangeCupcake", "RedApple", "Beer", "BottleOfWater", "TinyHealingPotion", "SmallHealingPotion", "MediumHealingPotion", "LargeHealingPotion";
setarray @itemeat, 0, 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0;
- setarray @menuItems$, "", "", "", "", "", "", "", "", "", "", "", "";
+ setarray @menuItems$, "", "", "", "", "", "", "", "", "", "", "", "", "";
set @choices_nr, 0;
- setarray @menuNames$, "", "", "", "", "", "", "", "", "", "", "", "";
+ setarray @menuNames$, "", "", "", "", "", "", "", "", "", "", "", "", "";
setarray @choice_eat, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0;
set @n, 0;
@@ -125,6 +125,8 @@ L_nloop_skip:
if (@n < @items_nr)
goto L_nloop;
+ set @menuItems$[@ct], "Nevermind";
+
menu @menuItems$[0], -,
@menuItems$[1], -,
@menuItems$[2], -,
@@ -136,9 +138,13 @@ L_nloop_skip:
@menuItems$[8], -,
@menuItems$[9], -,
@menuItems$[10], -,
- @menuItems$[11], -;
+ @menuItems$[11], -,
+ @menuItems$[12], -;
set @menu, @menu - 1;
+
+ if (@menu == @ct) goto L_menu;
+
set @choice$, @menuNames$[@menu];
set @verb$, "drinks";
if (@choice_eat[@menu])