summaryrefslogtreecommitdiff
path: root/world/map/npc/010-2/dimonds.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-04-02 22:33:31 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-04-02 22:33:31 -0700
commita00579f57be4f02cd2a60ecd9468277ba6631e78 (patch)
treebc1117ddede14e61b030bfe7a337d323ddea75c2 /world/map/npc/010-2/dimonds.txt
parentc0ba38cd4b68491e28e467889804ebc09c9c002e (diff)
downloadserverdata-a00579f57be4f02cd2a60ecd9468277ba6631e78.tar.gz
serverdata-a00579f57be4f02cd2a60ecd9468277ba6631e78.tar.bz2
serverdata-a00579f57be4f02cd2a60ecd9468277ba6631e78.tar.xz
serverdata-a00579f57be4f02cd2a60ecd9468277ba6631e78.zip
Fix style (split for more readable diff)
Diffstat (limited to 'world/map/npc/010-2/dimonds.txt')
-rw-r--r--world/map/npc/010-2/dimonds.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/world/map/npc/010-2/dimonds.txt b/world/map/npc/010-2/dimonds.txt
index d422cf03..e51213ae 100644
--- a/world/map/npc/010-2/dimonds.txt
+++ b/world/map/npc/010-2/dimonds.txt
@@ -382,7 +382,7 @@ event_done:
next;
mes "\"Well, that was the poem. What do you think of it?\"";
menu
- "It was a bit long and kind of hard to understand, but thanks for reading.", leave;
+ "It was a bit long and kind of hard to understand, but thanks for reading.", L_Close;
L_Full_Inv:
mes "[Shannon]";
@@ -463,28 +463,28 @@ L_nobeer:
L_MenuItems:
set @choose, @menu - 1;
if (@choice_idx[@choose] == 0)
- goto leave;
+ goto L_Close;
if ((countitem("Steak") != 0) && (@choice_idx[@choose] == @C_steak))
- goto rem_item;
+ goto L_RmItem;
if ((countitem("ChickenLeg") != 0) && (@choice_idx[@choose] == @C_chickenleg))
- goto rem_item;
+ goto L_RmItem;
if ((countitem("RedApple") != 0) && (@choice_idx[@choose] == @C_redapple))
- goto rem_item;
+ goto L_RmItem;
if ((countitem("GreenApple") != 0) && (@choice_idx[@choose] == @C_greenapple))
- goto rem_item;
+ goto L_RmItem;
if ((countitem("Beer") != 0) && (@choice_idx[@choose] == @C_beer))
- goto rem_item;
+ goto L_RmItem;
// fallthrough only when player remove the items while in menu, trying to cheat
// the quest will need to be started again
mes "\"What you are offering, you do not have. Do not try to betray me. Come back when you have better morals.\"";
close;
-rem_item:
+L_RmItem:
delitem @choice_idx[@choose], 1;
return;
-leave:
+L_Close:
close;
}