diff options
author | Reid <reidyaro@gmail.com> | 2017-08-19 20:52:22 +0200 |
---|---|---|
committer | Reid <reidyaro@gmail.com> | 2017-08-19 20:52:22 +0200 |
commit | 0ea634980d06edb580d9872b71139e60012f5b91 (patch) | |
tree | 44d1105db985fef63984e64a3f670d15ac6485ac /npc/functions/bank.txt | |
parent | 4a3d156faea0b1b4eaa16bb5039327a9862f3449 (diff) | |
download | serverdata-0ea634980d06edb580d9872b71139e60012f5b91.tar.gz serverdata-0ea634980d06edb580d9872b71139e60012f5b91.tar.bz2 serverdata-0ea634980d06edb580d9872b71139e60012f5b91.tar.xz serverdata-0ea634980d06edb580d9872b71139e60012f5b91.zip |
Replace bit flags by constants on narrator and speech functions.
Diffstat (limited to 'npc/functions/bank.txt')
-rw-r--r-- | npc/functions/bank.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/npc/functions/bank.txt b/npc/functions/bank.txt index 95a51842..5b281379 100644 --- a/npc/functions/bank.txt +++ b/npc/functions/bank.txt @@ -8,14 +8,14 @@ function script MerchantGuild_Bank { { if (BankVault > 0) { - speech 1 | 4, + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("You currently have @@ Esperin on your bank account.", format_number(BankVault)), l("What do you want to do with your money?"); } else { - speech 1 | 4, + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("What do you want to do with your money?"); } @@ -27,7 +27,7 @@ function script MerchantGuild_Bank { switch (@menu) { case 1: - speech 1 | 4, + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("How much do you want to deposit?"); menuint @@ -56,7 +56,7 @@ function script MerchantGuild_Bank { { if (@menuret > Zeny) { - speech 1 | 4, + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("You do not have enough Esperin on yourself."); break; } @@ -71,14 +71,14 @@ function script MerchantGuild_Bank { BankVault += .@deposit; // add to bank Zeny -= .@deposit; // remove from inventory - speech 1 | 4, + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("You made a cash deposit of @@ E.", format_number(.@deposit)); } } break; case 2: - speech 1 | 4, + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("How much do you want to withdraw?"); menuint @@ -107,7 +107,7 @@ function script MerchantGuild_Bank { { if (@menuret > BankVault) { - speech 1 | 4, + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("You do not have enough Esperin on your bank account."); break; } @@ -122,7 +122,7 @@ function script MerchantGuild_Bank { Zeny += .@withdrawal; // add to inventory BankVault -= .@withdrawal; // remove from bank - speech 1 | 4, + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("You withdrew a total of @@ E.", format_number(.@withdrawal)); } } |