The first battle I had with my rival he had the correct pokemon (I chose Cyndaquil so he got Totodile). After that each time my rival battles me he battles me twice and after the second battle the game crashes. For example, the battle in Azalea town he battles me one time with a ghastly, quilava and some other pokemon. After the first battle is over, a new one starts (my pokemon still keep damage) and this time instead of a quilava he has a Crockanaw.