State that affects everyone in battle

I'm not sure how to word this exactly, but I'm trying to figure out to be able to make sort of a "weather" or terrain effect in a battle that affects both all enemies and allies. Something like in Pokemon, if I had to reference something, I guess.
use a troop event to apply that weather and have the effect done by applying states or whatever else to both sides

Original thread: https://forums.rpgmakerweb.com/threads/state-that-affects-everyone-in-battle.171175/