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/merchants/elemental_trader.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'npc/merchants/elemental_trader.txt') diff --git a/npc/merchants/elemental_trader.txt b/npc/merchants/elemental_trader.txt index 518f782a9..a1f255743 100644 --- a/npc/merchants/elemental_trader.txt +++ b/npc/merchants/elemental_trader.txt @@ -79,8 +79,8 @@ ama_in02,61,27,7 script Alchemist#ama 4_M_ALCHE_B,{ mes "[Laspuchin Gregory]"; mes "Uh-huh, what did you bring?"; next; - setarray .@Items[1],995,997,994,996; - set .@i, .@Items[select("Mystic Frozen:Great Nature:Flame Heart:Rough Wind")]; + setarray .@items[1],995,997,994,996; + set .@i, .@items[select("Mystic Frozen:Great Nature:Flame Heart:Rough Wind")]; mes "[Laspuchin Gregory]"; if (countitem(.@i) > 7) { mes "I will take 8 of them and"; @@ -93,7 +93,7 @@ ama_in02,61,27,7 script Alchemist#ama 4_M_ALCHE_B,{ next; set .@menu$, ""; for(set .@j,1; .@j<5; set .@j,.@j+1) { - if (.@Items[.@j] != .@i) set .@menu$, .@menu$+getitemname(.@Items[.@j]); + if (.@items[.@j] != .@i) set .@menu$, .@menu$+getitemname(.@items[.@j]); set .@menu$, .@menu$+":"; } set .@menu$, .@menu$+"Cancel the trade"; @@ -130,7 +130,7 @@ ama_in02,61,27,7 script Alchemist#ama 4_M_ALCHE_B,{ } else { delitem .@i,8; - getitem .@Items[.@j],1; + getitem .@items[.@j],1; mes "Keheheh! You've chosen a good one!"; mes "Use it well..."; mes "Bring me other stones if you have them!"; -- cgit v1.2.3-70-g09d2