Actually I did change map coordinates(I use charwizard fly on another save file the Cut and paste coords)I just copied stuff like,rotom name,amount of steps highest wormhole travel distance, times laid down in lusamine's bed.What are story flags?Thanks for the quick response

[Staff Edit] I found a pokemon ultra moon file file. However,it was a boy so I used a route 1 girl save file and then edited it to be the same as that save file. When I logged in everything was the same but I had no rotom and on the menu only two options were avalible: pokemon and something else. Pokemon rides were not there to. Where are these functions located? Why can't we change gender?