If you prefer not to use a PC, is a Homebrew application that runs directly on the 3DS.
: Before editing, use Checkpoint to create a "vanilla" backup. If the file is corrupted, you can restore the original.
The Ultimate Guide to Pokémon Moon Save Editors: Customizing Your Alolan Adventure