So I was doing a gym fight (water) when out of no where I was able to glitch out of the battle and start walking around
What the glitch looks like:
https://www. youtube.com/watch?v=xaqGnEUjznc&feature=youtu.be
I was using /endbattle a lot so maybe that has something to do with it
what happened with the glitch: my opponents pokemon was in the open but I couldn't attack them at all, couldn't lose hunger, couldn't use console commands, couldn't take damage from a fall,hunger,drowning,lava and etc
Here's what I could/couldn't do
I could | I couldn't
Walk Around | Battle another pokemon
Jump | Battle that trainers pokemon that was already out
Swim | Take damage (fall, underwater too long, lava, etc)
use items | use commands to get out of the glitch
heal | run for to long before I would get interrupted and walk slowly again