Ok I will try and explain what happend (cause I'm not home right now so i can't provide you with a picture)
I was in the Old School building, with the Squirtle on top, and i was at the floor with the barrels on the stairs ( IIRC it was the 3rd or 4th floor) and i wanted to go back and heal my mons cause of almost no pp. But when I walked down I got stuck. There was a punk I battled before and was now blocking me from getting down and when I took a step to the right it would trigger me to go up to the next floor, so it was an endless loop, if you still understand what I am talking about. I