From c0ba38cd4b68491e28e467889804ebc09c9c002e Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Wed, 2 Apr 2014 11:06:32 -0700 Subject: Clean up main scripts --- world/map/npc/052-2/chest.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'world/map/npc/052-2/chest.txt') diff --git a/world/map/npc/052-2/chest.txt b/world/map/npc/052-2/chest.txt index 59fe8ae4..84c5a5cd 100644 --- a/world/map/npc/052-2/chest.txt +++ b/world/map/npc/052-2/chest.txt @@ -40,21 +40,19 @@ L_ResumePick: "... and quickly.", L_GetReward, "... or maybe not. I am out of time.", L_AskLeaving, "... but I can't carry more stuff.", L_AskLeaving, - "... no, wait a minute.", -; - close; + "... no, wait a minute.", L_Close; L_Pick: menu "Let's take what I deserve for all this.", L_GetReward, - "Wait.", -; - close; + "Wait.", L_Close; L_GetReward: if (@illia_got_rewards == 0) goto L_GetCommonReward; if (@illia_got_rewards == 1) goto L_GetUniqueReward; - close; + goto L_Close; L_GetCommonReward: if (@illia_current_num_rewards == $@illia_num_common_reward_items) @@ -133,8 +131,7 @@ L_PrepareLeaving: mes "Use Valia's ring to teleport now?"; menu "Yes. Time to make her pay for her trick!", L_Leave, - "No, I still need to see things here.", -; - close; + "No, I still need to see things here.", L_Close; L_Leave: set @illia_got_rewards, 3; @@ -174,4 +171,7 @@ L_ScheduleEnd: cmdothernpc "#IlliaDaemon", "Toggle"; end; +L_Close: + close; + } -- cgit v1.2.3-60-g2f50