I'm not sure if this is exactly the right thread to post this, but I've got a question surrounding Gen 2 mechanics implemented on Showdown (hence it doesn't really belong in the RoA research thread and it's not really Smogon related hence not asking their SQSA thread). Anyways, I was in a Gen 2 random battle and my opponent had already put my RestTalk Typhlosion to sleep, and a little later they were able to put my Electrode to sleep (thankfully I had a Miracle Berry). Is this somehow a violation of Sleep Clause? The only thing I can think of is that my Typhlosion called Rest with Sleep Talk, but I had yet to wake up at all yet. Does this reset the sleep status to self-induced, allowing another poke to be put to sleep?
Here's the replay in question if it helps:
http://replay.pokemonshowdown.com/gen2randombattle-685192268 (Turn 5 Typhlosion is put to sleep, Turn 6 I call Rest with Sleep Talk and then Turn 19 Electrode is put to sleep, but saved by the Miracle Berry)