Crash at jade tower

Im getting a script is taking too long crash at the gym battle in the jade tower just when the battle should start the game just stops

I have the same problem

Dude I figured it out, just change the game speed up mode to hyper in options and try again.

Well for me it didnt worked , i passed the jade tower but now every gym says to me the script is hanging