Check these value in heap: 45072B10 and see if it's your pokedex address. if the number changes when you select another pokemon in the pokedex than it's the right address. otherwise your game me be having another address for pokedex
It took me some time to figure it out why the cheat was not working and sharing information for those who might struggle.
I always thought the cheat code was in order due to the other cheats working 100%. To keep things short it had to do with an error in the atmosphere/contents folder.
In a last effort, even with a clean switch, the error was nx-ovlloader or Tesla Menu. I re-downloaded both files:
nx-ovlloader: https://github.com/WerWolv/nx-ovlloader
Tesla Menu: https://github.com/WerWolv/Tesla-Menu
Deleted to original folders and placed both files on the Switch and voila the cheatcode did not shutdown my Switch anymore. So it has nothing to do with custom themes, other mods, pokemon mods etc. I placed a back-up with all original files (except nx-ovlloader and Tesla Menu) back. And I could use everything again, including the codes.
Thank you @burhansalih and @patjenova for thinking along.
Last edited by Theone5000,