From 51642e0cd9b15b004cbd1cce880b6684deeb688d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 1 May 2021 14:40:32 -0300 Subject: Oooh I think I see the typos now --- npc/029-1/valon.txt | 6 ++++-- npc/functions/clear_vars.txt | 2 ++ npc/functions/global_event_handler.txt | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/npc/029-1/valon.txt b/npc/029-1/valon.txt index 91cb7892..13d066f2 100644 --- a/npc/029-1/valon.txt +++ b/npc/029-1/valon.txt @@ -45,7 +45,8 @@ L_QuestAskAgain: mesq l("Hello, Adventurer! Have you come back to help?"); menu "Yes. I will help with the island beasts.", L_Accept, - "Maybe some other time.", L_close; + "Maybe some other time.", -; + close; L_QuestAsk: mesn; @@ -60,7 +61,8 @@ L_QuestAsk: ResetValonCntMask(); menu "YES!!! let me at them!", L_Accept, - "Maybe some other time.", L_close; + "Maybe some other time.", -; + close; L_Accept: setq CandorQuest_Valon, 2; 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; } diff --git a/npc/functions/global_event_handler.txt b/npc/functions/global_event_handler.txt index d0014b87..3d8156c4 100644 --- a/npc/functions/global_event_handler.txt +++ b/npc/functions/global_event_handler.txt @@ -6,7 +6,7 @@ OnPCLoginEvent: @login_event = 1; adddefaultskills(); //callfunc "fixHeadStyles"; // convert headstyles - //callfunc "ClearVariables"; // removes / converts old variables + callfunc "ClearVariables"; // removes / converts old variables DisplayMOTD(); // send the motd to the client, if enabled // add more here @login_event = 2; -- cgit v1.2.3-60-g2f50