MV setBattlerImage not working

Hello, I'm attempting to run the following script but it does not change the battler image:

Script
--$gameActors.actor(0001).setBattlerImage(Knight_Red_Big);
--$gamePlayer.refresh();


When attempting to run it via an event I'm getting the following errors in the console:

YEP_X_ExtDoT.js:381 ReferenceError: Knight_Red_Big is not defined
at eval (eval at Game_Interpreter.command355 (YEP_CoreEngine.js:1852), <anonymous>:1:41)
at Game_Interpreter.command355 (YEP_CoreEngine.js:1852)
at Game_Interpreter.executeCommand [as ALIAS__executeCommand] (rpg_objects.js:8930)
at Game_Interpreter._.executeCommand (Alpha_NETZ_MV.js:5468)
at Game_Interpreter.update (rpg_objects.js:8838)
at Game_Interpreter._.update (Alpha_NETZ_MV.js:5436)
at Game_Map.updateInterpreter (rpg_objects.js:6115)
at Game_Map.update (rpg_objects.js:6022)
at Game_Map._.update (Alpha_NETZ_MV.js:6024)
at Scene_Map.updateMain (rpg_scenes.js:608)


Is there some way for me to use this script while keeping my plugins intact or should I plan to implement a workaround instead? Thank you!
First of all, you don't need the leading zeroes on the actor ID, just 1 is fine. Secondly, you need to put quotes around the image filename.
I'm no longer getting errors in the console, but it's still not changing the battler image. Switches 64 and 65 are turning on. Does "Knight_Red_Big" need to be changed to "Knight_Red_Big.png"?

1641964683197.png
Why don't you just use the Change Actor Images command?

Is this a common event that gets called during battle, or are you running it while still on the map?

$gamePlayer is a map thing, not a battler thing.
Battler images are checked when the battle begins, not half way through.

So running those commands in the middle of a battle is not going to change the current battle.
It's a one-time autorun event for character creation running while on the map.

Change Actor Images is also not changing the battler image:

1641965342679.png
Can you throw a Show Text in there before the Change Actor Images, to make sure the command is actually being run?

Where does the MainChar variable get set?
I'm watching the variables change to their correct values before, during and after the event - see above post for proof that I checked that a couple of dummy switches were firing as well.

Actor1 is the southmost Knight, named Knight, who should be red rather than the default blue.

1641965922930.png

1641965965200.png
What if you try this in a brand new project with no plugins?

If the event runs on the map, prior to the battle starting, I don't see any issues in the event list that would cause it to not work. So I'm wondering if there are plugins interfering.

Original thread: https://forums.rpgmakerweb.com/threads/setbattlerimage-not-working.143867/