https://replay.pokemonshowdown.com/gen7randombattle-744033836 I got a message saying "Gliscor is in an endless loop" even though its almost impossible to have an "endless loop" in pokemon since Struggle is a thing. The situation i was in was a Gliscor versus Glisor (which started turn 41) and it came to becoming a pp stall fight. By turn 117, the message appeared, it must've thought that Poison Heal would heal more than Struggle damage does, which is untrue since Poison Heal heals 1/8 and Struggle damages 1/4, that means that gliscor will die no matter what, hense it not being "endless". I think this is a bug in the programming of the game thinking that gliscor might outheal the Struggle.