Yes, another Status effect question from me...
This one, which I dubbed "Drowsy" not only lowers the effected guy/girl's speed and attack strength... But once it clears he or she will fall asleep or manage to fight off the drowsiness... But, this one has a tiny upside! There's another status effect that if you DO fall asleep, you can still act on your turn!
Honestly, it's like Yawn from Pokémon as it's own special status effect.
The way I coded most of my status effects is have them as number variables that determine how long the effect will last, and some are booleans such as Nightmare because Nightmare only works on sleeping foes.