I've been trying to use certain commands to edit certain info of my Pokémon but can't seem to figure out what I'm doing wrong. now, before anyone askes, yes I have looked through this post and I'm still unable to do what I want. what I'm trying to do is change the Pokémon's OT name, the SID and the origin game, could someone help me by showing me the correct commands to use please?
EDIT: a bit more context, the game I'm editing is Pokémon Pearl. I've transferred my Pokémon from Pokémon Diamond via PKHeX