Is it possible to make a state that causes another state

I've been using Yanfly's Selection Control plugin to create a backstab skill. Basically, it can only target people who have the distracted state. I want the distracted state to be caused by just about any other negative state. I've looked through the traits section of RPG Maker, and through Yanfly's Buffs and States Core plugin, and have found nothing (although it's possible I just missed it, as I'm a little rusty with RPG Maker).
Is there a way to do this? Or is there another way to make the back stab skill work with any one state?
Yanfly buff and state core, state notetag:

Code:
<Custom Apply Effect>
this.addState(4);
</Custom Apply Effect>

This will apply state 4 immediately after the first state is applied.

EDIT:

Yanfly's Selection Control may also be useful for you, this should allow you to make backstab only target enemies with a specific state applied (ie. distracted):

http://yanfly.moe/2016/04/22/yep-94-selection-control/

I imagine the skill notetag would be:

Code:
<Select Conditions>
State: 4
</Select Conditions>

or

Code:
<Custom Select Condition>

if (target.isStateAffected(4)) {

condition = true;

} else {

condition = false;

}

</Custom Select Condition>

I don't have this plugin to test these but they should work.
T
Yanfly buff and state core, state notetag:

Code:
<Custom Apply Effect>
this.addState(4);
</Custom Apply Effect>

This will apply state 4 immediately after the first state is applied.

EDIT:

Yanfly's Selection Control may also be useful for you, this should allow you to make backstab only target enemies with a specific state applied (ie. distracted):

http://yanfly.moe/2016/04/22/yep-94-selection-control/

I imagine the skill notetag would be:

Code:
<Select Conditions>
State: 4
</Select Conditions>

or

Code:
<Custom Select Condition>

if (target.isStateAffected(4)) {

condition = true;

} else {

condition = false;

}

</Custom Select Condition>

I don't have this plugin to test these but they should work.

Thank you, this works perfectly.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-make-a-state-that-causes-another-state.104342/