summaryrefslogtreecommitdiff
path: root/npc/032-1
diff options
context:
space:
mode:
Diffstat (limited to 'npc/032-1')
-rw-r--r--npc/032-1/episode.txt19
1 files changed, 12 insertions, 7 deletions
diff --git a/npc/032-1/episode.txt b/npc/032-1/episode.txt
index 0655d5e0a..f028c453c 100644
--- a/npc/032-1/episode.txt
+++ b/npc/032-1/episode.txt
@@ -73,6 +73,9 @@ OnFin:
sleep2(1500);
warp "017-3", 72, 69;
// Nothing else needs to be done, quest was closed earlier
+ // So we just fix your bank account
+ BankVault += #MerchantBank;
+ #MerchantBank = 0;
end;
OnInit:
@@ -542,6 +545,8 @@ OnInit:
}
032-1,114,194,0 script Imec#EP NPC_LOF_TRAVMERC,{
+ #MerchantBank+=#MerchantBank;
+ #MerchantBank=0;
.@q = (getq(LoFQuest_EPISODE) == 15 ? getq2(LoFQuest_EPISODE) : 99);
.@x = getq3(LoFQuest_EPISODE);
.@met_banu = (.@x & 1);
@@ -567,14 +572,14 @@ OnInit:
next;
menuint
l("I'm sure the Doctor has a trick... No loans, thanks."), 0,
- rif(BankVault > 1250, l("1,000 GP")), 1000,
- rif(BankVault > 3125, l("2,500 GP")), 2500,
- rif(BankVault > 6250, l("5,000 GP")), 5000,
- rif(BankVault > 12500, l("10,000 GP")), 10000,
- rif(BankVault > 62500, l("50,000 GP")), 50000,
- rif(BankVault > 312500, l("250,000 GP")), 250000;
+ rif(#MerchantBank > 1250, l("1,000 GP")), 1000,
+ rif(#MerchantBank > 3125, l("2,500 GP")), 2500,
+ rif(#MerchantBank > 6250, l("5,000 GP")), 5000,
+ rif(#MerchantBank > 12500, l("10,000 GP")), 10000,
+ rif(#MerchantBank > 62500, l("50,000 GP")), 50000,
+ rif(#MerchantBank > 312500, l("250,000 GP")), 250000;
mes "";
- BankVault -= @menuret * 125 / 100;
+ #MerchantBank -= @menuret * 125 / 100;
Zeny += @menuret;
mesn;
mesq l("...As you wish.");