I'm using 16.x (I don't know if 17.x has an elite battle system equivalent, if it does please tell me so I can switch)
I do not know why or how, but some IF lines in my essentials are making the conditions true before checking said contidions. and it even modifies pokemon.PBS when I run the game.
if pokemon.ballused = 26
makes the pokemon's ballused value 26 and then checks if the value is 26.
replaces the pokemon in question's ability for sturdy before checking, modifying the pokemon.PBS
this wrecked my PBS file and I had to remake it, please halp u.u
oh... I'm more of a noob than I thought XD thanks!
and my PBS tends to replace abilities for sturdy and some others, testing does have the ability to alter the PBS. it even turns off "read only" on the PBS files and displays a warning message.