Why I Had to Update The Script
Ever since RMXP came out, scripters had to deal with the dreadful Interpreter#command_355 aka script call method bug that made the maker get frozen if there was a single line call that ever returned a false value, not a falsey value like nil as Zeriab reminded us in another thread, but a pure false value (FalseClass object).
For about 2 decades all scripters including your servitor had been dealing with the symptoms but NEVER the actual illness this bug was causing. To better understand the issue, I'll explain it here from the very beginning.
Several bug fixes dealt with the result variable's false value that would freeze the script call event command by changing the if statement or by making it irrelevant aka non existing at all like it was the case in my now old solution. And there was Zeriab's own answer to the issue that relied on a wait command of sorts to get out of that horrible loop.
So far they seemed to work as intended, even if some people claimed that some solutions didn't consider all possible caveats for any given reason.
You see guys, THAT was the ACTUAL PROBLEM!

This new version released on February 26th, 2025 finally dealt with the issue the way it should have been from the very beginning!

The problem was NEVER the if result == false conditional statement itself whenever you let it evaluate a single line of code.
Nope guys, that was the distraction that pesky


The actual issue was a lot simpler than that!

The command_355 method interrupted the @indes += 1 update the loop included if there was no other line of code included after the first one, that curiously has a different event command code that additional script call commands. THIS WAS THE REAL ISSUE!

Now my bug fix adds a @index += 1 fix under 1 single condition: to never find a secondary script call command right after the initial one (with a different event command code).
This means the following: RMXP no longer gets stuck there interpreting the same old script call event command forever and ever!


It's very simple indeed!


SPECIAL THANKS
I want to thank Zeriab


EDIT
I had to update the latest version of my bug fixes because the command_355 fix actually introduced a new



"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
![[Image: SP1-Scripter.png]](https://www.save-point.org/images/userbars/SP1-Scripter.png)
![[Image: SP1-Writer.png]](https://www.save-point.org/images/userbars/SP1-Writer.png)
![[Image: SP1-Poet.png]](https://www.save-point.org/images/userbars/SP1-Poet.png)
![[Image: SP1-PixelArtist.png]](https://www.save-point.org/images/userbars/SP1-PixelArtist.png)
![[Image: SP1-Reporter.png]](https://i.postimg.cc/GmxWbHyL/SP1-Reporter.png)
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
![[Image: SP1-Scripter.png]](https://www.save-point.org/images/userbars/SP1-Scripter.png)
![[Image: SP1-Writer.png]](https://www.save-point.org/images/userbars/SP1-Writer.png)
![[Image: SP1-Poet.png]](https://www.save-point.org/images/userbars/SP1-Poet.png)
![[Image: SP1-PixelArtist.png]](https://www.save-point.org/images/userbars/SP1-PixelArtist.png)
![[Image: SP1-Reporter.png]](https://i.postimg.cc/GmxWbHyL/SP1-Reporter.png)
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE