first, i am not good using cheats , because i don't know where to look and the address
my idea is this
the shiny Pokemon is tied to your shiny value
The shiny value for each trainer is different from each other
Then shiny value is 4-5 numbers , you can get it using pkhex.
The value of the shiny Pokemon determined once you encounter a Pokemon
So, if you activate the code and mode it to match your id, it should make any Pokemon you encounter is shiny.
This is what i have right now, my coding is bad so i am asking for your help.
of course i am using Gateway cheat engine , if anyone have it please tell me.