MZ Elements and Status Menu Core VisuStella MZ: Script Call does not work

Hi folks,

I want to have a changeable state using VisuStella (specifically drunkenness replacing the nature states). The state should change depending on items consumed. The default state is "Sober" and it is shown as such in the main menu.

However when I use the script call for a conditional script statement:

$gameActors.actor(1).hasTraitSet('Sober')

in an event, the script gives a 'false' statement. I am using only one actor (ID 0001).

Can anyone please help me?

Thanks!
I'm not sure if you're using the wrong word or if this is what's causing your problem - none of the Trait notetags in that plugin say they can be used in states.

So how is the actor supposed to have the trait?

Original thread: https://forums.rpgmakerweb.com/threads/elements-and-status-menu-core-visustella-mz-script-call-does-not-work.172545/