From a00579f57be4f02cd2a60ecd9468277ba6631e78 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 2 Apr 2014 22:33:31 -0700 Subject: Fix style (split for more readable diff) --- world/map/npc/010-2/dimonds.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'world/map/npc/010-2/dimonds.txt') 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; } -- cgit v1.2.3-60-g2f50