Pokemon Ultra Sun cheats for spawning specific pokemon?

Sorry if this is the wrong place but would any know if such a cheat exists? I want to be able to spawn say… a Charmander somehow via using a cheat. I remember such cheats existing back in the Black & White days although I’m struggling to find info for Ultra Sun & Moon.

Thanks in advance!

Found my answer, just replying back here to let anyone who may find this while searching for an answer to the same question. Download a save editor file known as “PKHeX” and search for the pokemon in question, set the desired level, hit the reroll button and (this part is not clear but super important) then click and drag the sprite of the pokemon to either you roaster or box. Done!