- 10
- Posts
- 16
- Years
- Seen Sep 7, 2023
I have a section in PField_EncounterModifiers:
I'm currently using it to test wild encounters with different Pokémon forms. It appears to work fine with most Pokémon with alternate forms (e.g. Basculin, Wormadam), but the exception causing my issue is that Burmy in particular will not change form regardless of whether the switch is on or off.
Burmy defaults to "Trash Cloak" form when I trigger a battle either via Debug mode or a regular in-game wild encounter. This form is listed as "BURMY-2" in the pokemonforms PBS, and is "412_2.png" etc in Battler sprites. The switch is currently off and should be showing "Plant Cloak" Burmy (default form/form 0) and if it were on it would be showing "Sandy Cloak" Burmy (form 1). Regardless of whether the switch is on or off, only "Trash Cloak" Burmy appears.
As mentioned before, I've checked with the switch on and off and the encounters work as expected for Wormadam, which has the same gimmick, with either "Plant Cloak" or "Sandy Cloak" appearing as normal.
I'm honestly not sure what would be causing this if the only Pokemon it affects is Burmy. I can link additional scripts if anyone has an idea where the issue might be occurring. I'm using Essentials v17.2 with a few additions.
Code:
# Wild Form Change
Events.onWildPokemonCreate+=proc {|sender,e|pokemon=e[0]
if $game_switches[76]
pokemon.form=1
else
pokemon.form=0
end
I'm currently using it to test wild encounters with different Pokémon forms. It appears to work fine with most Pokémon with alternate forms (e.g. Basculin, Wormadam), but the exception causing my issue is that Burmy in particular will not change form regardless of whether the switch is on or off.
Burmy defaults to "Trash Cloak" form when I trigger a battle either via Debug mode or a regular in-game wild encounter. This form is listed as "BURMY-2" in the pokemonforms PBS, and is "412_2.png" etc in Battler sprites. The switch is currently off and should be showing "Plant Cloak" Burmy (default form/form 0) and if it were on it would be showing "Sandy Cloak" Burmy (form 1). Regardless of whether the switch is on or off, only "Trash Cloak" Burmy appears.
As mentioned before, I've checked with the switch on and off and the encounters work as expected for Wormadam, which has the same gimmick, with either "Plant Cloak" or "Sandy Cloak" appearing as normal.
I'm honestly not sure what would be causing this if the only Pokemon it affects is Burmy. I can link additional scripts if anyone has an idea where the issue might be occurring. I'm using Essentials v17.2 with a few additions.