I keep getting an error after winning a battle that says "script YEA victoryaftermath line 421: nomethoderror occurred". Also I haven't changed anything in the script.
VXAce YEA Victory Aftermath Error
RGSSx Script SupportI'm fairly sure that the script (available here) does not have such issue.
Line 421 is
Which should run without crashing as long as HEADER_TEXT is defined with at least "%s" inside.
Have you tried the script on a blank project just to be sure? If it still fails, then you have a modified version of the script, if so, you might post the modified script here if you need help with debugging.
If the script does not fail on a blank project, then there is something in your script list that is interfering, in that case, I suggest you disable the scripts of your project one by one until the problem is not happening to find out which script interferes.
Line 421 is
text = "" + sprintf(YEA::VICTORY_AFTERMATH::HEADER_TEXT, actor.name)Which should run without crashing as long as HEADER_TEXT is defined with at least "%s" inside.
Have you tried the script on a blank project just to be sure? If it still fails, then you have a modified version of the script, if so, you might post the modified script here if you need help with debugging.
If the script does not fail on a blank project, then there is something in your script list that is interfering, in that case, I suggest you disable the scripts of your project one by one until the problem is not happening to find out which script interferes.
Thx, found out it was another script causing the issue.
Original thread: https://forums.rpgmakerweb.com/threads/yea-victory-aftermath-error.177863/