States that affect everyone?

I always thought that states that affected EVERYBODY in the battle were pretty cool in RPGs. Mainly ones that boosted and lowered some attacks and elements. They seemed VERY interesting and strategic.

Is there a way to make a state that affects not only your side of the fight, but also the opponent's? Like ... disasters, weather, ect?
Here is a great Yanfly script to do exactly that:

https://yanflychannel.wordpress.com/rmvxa/gameplay-scripts/field-state-effects

Original thread: https://forums.rpgmakerweb.com/threads/states-that-affect-everyone.36590/