From b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 10 Nov 2013 04:28:03 +0100 Subject: Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4 - Consolidated case in variables, labels, constants. Signed-off-by: Haru --- npc/quests/quests_13_2.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/quests/quests_13_2.txt') diff --git a/npc/quests/quests_13_2.txt b/npc/quests/quests_13_2.txt index 3cf920833..16a4a6aa6 100644 --- a/npc/quests/quests_13_2.txt +++ b/npc/quests/quests_13_2.txt @@ -4821,11 +4821,11 @@ man_in01,372,221,5 script Scientist#lifeguard 4_MAN_BENKUNI,{ function script find_13_2 { switch (getarg(0)) { - case 0: setarray .@Check[0],2,10; set .@str$,"Mt. Mjolnir"; break; - case 1: setarray .@Check[0],3,5; set .@str$,"Abyss Lake"; break; - case 2: setarray .@Check[0],4,5; set .@str$,"Thor Volcano"; break; + case 0: setarray .@check[0],2,10; set .@str$,"Mt. Mjolnir"; break; + case 1: setarray .@check[0],3,5; set .@str$,"Abyss Lake"; break; + case 2: setarray .@check[0],4,5; set .@str$,"Thor Volcano"; break; } - if (ep13_2_tre != .@Check[0] || countitem(6076) != 1 || countitem(6077) >= .@Check[1]) end; + if (ep13_2_tre != .@check[0] || countitem(6076) != 1 || countitem(6077) >= .@check[1]) end; mes "- Just arrived at "+.@str$+". I think I can find the mineral by using the Mineral Detector in the Portable Toolbox. -"; next; switch(select("Check current location.:Do nothing.")) { -- cgit v1.2.3-70-g09d2