blob: 61268afd6f0691b0a2f689d06c750e5091f96793 (
plain) (
tree)
|
|
function script ClearVariables {
if(@login_event != 1) goto L_Deprecated;
if(#BankAccount >= 0) return;
if (Zeny >= -#BankAccount) {
Zeny = Zeny + #BankAccount;
#BankAccount = 0;
}
// Partial fix
#BankAccount = #BankAccount + Zeny;
Zeny = 0;
return;
}
|