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/custom/itembind.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/custom/itembind.txt') diff --git a/npc/custom/itembind.txt b/npc/custom/itembind.txt index a95de3577..f30455123 100644 --- a/npc/custom/itembind.txt +++ b/npc/custom/itembind.txt @@ -19,7 +19,7 @@ prontera,144,174,4 script Bound Items 429,{ next; mes "What would you like to do?"; if(select("Bind:Unbind") == 1) { - if(zeny < .bindprice) { + if(Zeny < .bindprice) { mes "You don't have enough zeny to bind an item."; close; } @@ -55,7 +55,7 @@ prontera,144,174,4 script Bound Items 429,{ next; mes "Are you sure you'd like to bind your "+ getitemname(@inventorylist_id[.@item]) +" to your "+.boundtypes$[.@boundtype]+"?"; if(select("Yes:No") == 1) { - zeny -= .bindprice; + Zeny -= .bindprice; delitem2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item]; getitembound2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item],.@boundtype; mes "All done!"; @@ -70,7 +70,7 @@ prontera,144,174,4 script Bound Items 429,{ countbound(2); if(.unbindprice) { mes "Unbinding an item has a fee of ^0000FF"+.unbindprice+"^000000 zeny."; - if(zeny < .unbindprice) { + if(Zeny < .unbindprice) { mes "You don't have enough to unbind an item."; close; } @@ -102,7 +102,7 @@ prontera,144,174,4 script Bound Items 429,{ next; mes "Are you sure you'd like to unbind your "+ getitemname(@inventorylist_id[.@item]) +"?"; if(select("Yes:No") == 1) { - zeny -= .unbindprice; + Zeny -= .unbindprice; delitem2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item]; getitem2 @inventorylist_id[.@item],@inventorylist_amount[.@item],@inventorylist_identify[.@item],@inventorylist_refine[.@item],@inventorylist_attribute[.@item],@inventorylist_card1[.@item],@inventorylist_card2[.@item],@inventorylist_card3[.@item],@inventorylist_card4[.@item]; mes "All done!"; @@ -130,4 +130,4 @@ OnInit: .boundtypes$[2] = "guild"; .boundtypes$[4] = "character"; end; -} \ No newline at end of file +} -- cgit v1.2.3-60-g2f50