Random "TypeError: this.textColor is not a function" after updating Corescript

Hi.

I opened an older project that used Corescript v1.5.0. I used this script to open the Skill menu of the leader:

JavaScript:
// Open the skill screen for the party leader

$gameParty.setMenuActor($gameParty.leader());

SceneManager.push(Scene_Skill);

It worked fine back then but now I get this error with Corescript v1.7.0 .

TypeError: this.textColor is not a function

Redoing the Event with different Event makes this script work.

Does Corescript also effect the Events itself and not just used Javascript inside the Event? Curious about this one. Also cause this.textColor has nothing to do with my used script.
Does Corescript also effect the Events itself and not just used Javascript inside the Event?
No. Events are stored in JSON files and interpreted into the current JavaScript code when they're loaded.

Also cause this.textColor has nothing to do with my used script.
This typically indicates typos/syntax errors in script you've entered. That can be in event script boxes or in code inside of notetags.

Missing something (like a close parenthesis, brace, or bracket) can "bleed over" into other parts of the code, causing something else that is valid to report the error - and this.textColor() is definitely called when drawing the elements of the menu.
for better help than guesses we would have to see the full trace of the error on the console instead of just the message itself.
for better help than guesses we would have to see the full trace of the error on the console instead of just the message itself.
Should make it a habit. Not used to debugging with console.

The culprit was YEP_SkillCore.

Original thread: https://forums.rpgmakerweb.com/threads/random-typeerror-this-textcolor-is-not-a-function-after-updating-corescript.160484/