I was playing earlier today and logged out while in the middle of the Lavaridge Town gym in Hoenn. My team was as follows:
Pidgeot (lvl 45)
Rapidash (lvl 45)
Sceptile (lvl 40)
Seedot (lvl 19) Halloween
Primeape (lvl 20)
I just recently logged back on, and Pidgeot has been replaced with a lvl 40 Sceptile, and the original Sceptile has been replaced with a lvl 37 Sceptile. Makes the gym harder when replacing a flying type with another grass type!
I have had some strange rollbacks with this Sceptile including it rollling back all the way to a lvl 5 Treecko.