Well the problem is that the move it was trying to use got completely cancelled and only my Ogerpon ended up attacking. Mudbray did not go down immediately and when I attacked again the error did not show up, so one of Mubrays moves at level 9 just did not work and it seemingly did not try using it again the next turn. The error showed up before either of the Pokemon had attacked and since I went first the second turn I guess Ogerpon was faster. Ogerpons ability has been activating normally in other battles, which is defiant since I am not using a mask. And I have not touched Debug mode, because I don't have the urge to use it.