The rain gym is glitched

so when i get to goodra, im able to use items, and goodra doesnt even get a turn. its just free item use after free item use. is this something that should be looked into?

even when i use a move, goodra still doesnt do anything. its weird

it finally used a move when it got to red health. a full restore was even used on it