Randomized Pokemon have no moves?

Hey y’all. So, I used pk3ds to randomize Pokemon Alpha Sapphire. I’ve done this before and lost because I left a STAB move setting on and couldn’t get past May hahaha. But this time I didn’t change anything in the move settings. Only issue is all of the trainer Pokemon (except gym leader and important trainers) have no moves. They only have struggle. Is there any way to fix this and keep my save file? Would a save state work? Thanks in advance!