summaryrefslogtreecommitdiff
path: root/npc/functions/clear_vars.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-01 14:40:32 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-01 14:40:32 -0300
commit51642e0cd9b15b004cbd1cce880b6684deeb688d (patch)
tree534ecd7e72635300c2c84f2528927f5ce94d284c /npc/functions/clear_vars.txt
parentf92335a4c2024993899188d3548eaa7d6dbd7444 (diff)
downloadserverdata-51642e0cd9b15b004cbd1cce880b6684deeb688d.tar.gz
serverdata-51642e0cd9b15b004cbd1cce880b6684deeb688d.tar.bz2
serverdata-51642e0cd9b15b004cbd1cce880b6684deeb688d.tar.xz
serverdata-51642e0cd9b15b004cbd1cce880b6684deeb688d.zip
Oooh I think I see the typos now
Diffstat (limited to 'npc/functions/clear_vars.txt')
-rw-r--r--npc/functions/clear_vars.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/functions/clear_vars.txt b/npc/functions/clear_vars.txt
index 4b85640c..8f2729b0 100644
--- a/npc/functions/clear_vars.txt
+++ b/npc/functions/clear_vars.txt
@@ -9,6 +9,7 @@ function script ClearVariables {
// Don't ask me what code below does
// ----------------------------------
+ /*
if (#BankAccount >= 0) return;
if (Zeny >= -#BankAccount) {
Zeny = Zeny + #BankAccount;
@@ -18,6 +19,7 @@ function script ClearVariables {
// Partial fix
#BankAccount = #BankAccount + Zeny;
Zeny = 0;
+ */
return;
}