defelper Posted December 12, 2021 Posted December 12, 2021 Is there a way to change the Pokemon swarm with PKHEX or cheat codes ?
theSLAYER Posted December 12, 2021 Posted December 12, 2021 I presume it’s a byte in event constants that change current spawn, but I’m not sure if anyone tried to document it.
MewTracker Posted December 28, 2021 Posted December 28, 2021 I documented it here: https://github.com/kwsch/PKHeX/issues/3357 Quote Constant 436 is a SWARM_SEED, 32-bit value generated once per day that decides swarm spawns. Formula is simple: SWARM_SEED % 28 = lookup_table_index lookup_table_index ("+" means I tested this value manually, I didn't test every single one because they are clearly sorted based on location): 0+: Doduo (Route 201) 1+: Zigzagoon (Route 202) 2+: Cubone (Route 203) 3+: Nosepass (Route 206) 4: Phanpy (Route 207) 5: Dunsparce (Route 208) 6: Snubbull (Route 209) 7: Absol (Route 213) 8+: Spoink (Route 214) 9: Drowzee (Route 215) 10: Delibird (Route 216) 11: Swinub (Route 217) 12: Voltorb (Route 218) 13: Farfetch'd (Route 221) 14: Skitty (Route 222) 15: Natu (Route 224) 16+: Makuhita (Route 225) 17: Krabby (Route 226) 18+: Spinda (Route 227) 19: Beldum (Route 228) 20+: Pidgey (Route 229) 21: Corsola (Route 230) 22+: Surskit (Lake Verity) 23+: Lickitung (Lake Valor) 24+: Smoochum (Lake Acuity) 25+: Electrike (Valley Windworks) 26+: Slakoth (Eterna Forest) 27+: Magnemite (Fuego Ironworks) 1 1
MewTracker Posted January 2, 2022 Posted January 2, 2022 (edited) On 1/1/2022 at 5:38 AM, paf said: So how Could I change a daily swarm in BD,SP save? You can edit that constant using "Research" tab in Event Flag Editor. EDIT: My PR got merged, so if you build PKHeX from source you can edit named work value (SWARM_SEED) as well. That change is not included in 22.01.01 release. Edited January 3, 2022 by MewTracker 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now