//Sword:
Code:
[NestHole Purple Beam (Hold R)]
04000000 0136C7AC B9400048
04000000 0136C7B4 B9400048
80000080
04000000 0136C7AC 52800048
04000000 0136C7B4 52800048
20000000
[NestHole Is Empty (Hold L)]
04000000 0136C81C 39C1C900
80000040
04000000 0136C81C 52800000
20000000
//Shield:
Code:
[NestHole Purple Beam (Hold R)]
04000000 0136C7DC B9400048
04000000 0136C7E4 B9400048
80000080
04000000 0136C7DC 52800048
04000000 0136C7E4 52800048
20000000
[NestHole Is Empty (Hold L)]
04000000 0136C84C 39C1C900
80000040
04000000 0136C84C 52800000
20000000
Note1: Den's internal name is NestHole
Note2: It needs a button activator, because after you catch/defeat the raid pokemon, the same function is called gain to set the value to 0, but the cheat would prevent this and create a permanent raid battle on the map and other bugs.
Note3: These raid won't clear if you activate a different den, so the "Is Empty" is needed to quickly cycle between raids.
Note4: Yes you can generate Gigantamax with this code, tested in Sword with the Kingler Den.