Update: after googling I finally understood how to run the batch editor properly because Ranch don't have party, and using all boxes would replace information from Hayley's pokemons, and I didn't wanted that, I made a folder, stored there my pokemons and tried using that folder. The good news is the batch editor recognized them. But the bad news are that after acknowledging them, I tried using your commands, replacing handling trainer tid, sid and name. But since I really don't know hot to get the integer of the Mii owning the pokemon, I used your value of ownership status (set=2). And now I've got this message.
Hope you understood what I did, and thanks in advance if you're reading this.