Hi, can someone find a way to develop Wild Areas like the ones in Pokèmon SwSh? I mean, areas in which wild Pokèmons change (because of different conditions like the day of the week, getting past a certain point in the story, ecc.). Not necessarily with Pokèmon wandering in the Overworld, even tho that would be great
I have been experimenting with Pokemon spawning in the over-world with much success, the only real issue I am running into is I don't know how to check the player coordinates on the map so I don't spawn a Pokemon on top of the player.
As for the Pokemon generated in the grass, I believe you can use a RNG to create modified encounters based on a number of variables.
This sounds like a fun project, shoot me a pm if you're interested in some help build a Wilds Area.
In the script editor find PField_EncounterModifiers.
Right underneath this.
This will just turn the Pokemon into Bulbasaur, but you can choose which ever Pokemon you want.
However it doesn't end there, this will only change the species you will also need to adjust the nickname, moves, and various other elements to make the Pokemon look like they were spawned normally. For what you can change go here. https://essentialsdocs.fandom.com/wiki/Editing_a_Pok%C3%A9mon
Now to use a RNG to get multiple kinds of Pokemon you would need to tweak the code like this.
if $game_switches[Your_Switch] && $game_map.map_id == 5 #checks if your event switch is on and your are on the right map.
r = rand(6) #set how many different outcomes you can have
pokemon.form=1 #spawns Alolan Meowth
for event in $game_map.events.values
$game_self_switches[[$game_map.map_id,event.id,"A"]] = false
$game_self_switches[[$game_map.map_id,event.id,"B"]] = false
$game_self_switches[[$game_map.map_id,event.id,"C"]] = false
$game_self_switches[[$game_map.map_id,event.id,"D"]] = false
$game_map.need_refresh = true
but you also need to set some events on the map named "WildPokemon" to this work and with conditions to check what pokemon just "spawned"
and depending on what spawned activate one of the self variables, and in the new event page change the event's sprite and make it call a wild battle of the pokemon it is
call resetecounters wherever you want to reset the encounters (i wanted to find a way to call this on map reset or something)
also, you need to add an encounter type called "StaticEncounter" and probably just four possibilities (as there are only four self variables)