Alright so I'm pretty annoyed because i just simply cant get double battles for trainers to work. I even copied the double battle trainer in route 3 and it doesn't even work, its just a regular old single battle. I have a section of my game where you team up with someone and then if you go in a wild battle then 2 pokemon appear instead of one. But if you battle a trainer its just a single battle. Heres my trainer script:
pbTrainerBattle(:LASS,"Crissy",_I("You didn't have to win so convincingly!"),true)
Edit: I just tested the double trainer battle in an unedited version of pokemon essentials, it works there but not in my game. I have elite battle system 4 as well as gen 6 and 7 pokes but I have no idea if that has anything to do with it.
Edit 2: Ok i fixed it, i just pokebattle_battle from the unedited pokemon essentials and now it works fine :)