(Yanfly Plugins) Can a state change opacity?

Is it possible to have a state change the opacity of the one who has it, and the opacity goes back to normal when it wears off?


Using a basic example of "Stealth". User casts it on himself, the state reduces his opacity to 50/255, next attack removes the Stealth state and opacity returns to 255/255.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-plugins-can-a-state-change-opacity.65013/