CTD error when opening chests with gold

I have a non-script system set up in my game that alters the amount of gold in chests based on the player's level. Up until level 20-21 it's going fine, but suddenly whenever I try to open a chest with gold in it I get a CTD with this error message:
Spoiler
3uPfhxc.png

For reference, here's the chest event:

Spoiler
DA0eCH1.png

Can anyone help me figure this out?
there is no increase_currency call in Ace.
are you sure it's 100% non-script?
there must be a plugin redirecting that instruction.
That's just it. I can't find any plugin I have that involves such a thing. Here's the list of plugins (VE = Victor Engine, YEA = Yanfly Engine Ace):
that instruction is coming from somewhere.
do a broad search in the editor, for that instruction (ctrl-shift-f)
that instruction is coming from somewhere.
do a broad search in the editor, for that instruction (ctrl-shift-f)
I get results for "increase" and "Currency", but nowhere is there a "increase_currency".
any common events containing a script block?
Nope
what's the page that triggers when switch A turns on?
OH CRAP That's where it was! A leftover script call from another page! Welp, now I'll of course have to go through every single chest in the game to make sure I get rid of the rest...
🙂
a 1411 in an unmodified interpreter is a faulty eval() instruction within a script call.
since script calls are separate blocks, they won't be searched by a broad search.

if the error is a call to a non-existent instruction, that instruction has to be written somewhere.
if it's not in the script list, it's in a script call within an event.

Original thread: https://forums.rpgmakerweb.com/threads/ctd-error-when-opening-chests-with-gold.146678/