This will keep the pokemon without the "Level" evolution method (or any other you added on the check part I shared on my last post) from evolving:
View attachment 23189
The only problem is that it will not keep the pokemon from going back to the preevolved form if you have the
INCLUDE_PREVIOUS_STAGES
as true in settings.
As for the scaling, it's done by
AutomaticLevelScaling.setNewLevel(pokemon)
if I'm not mistaken. So if you put that into a conditional that checks if
has_other_evolving_method
is false (you'll have to store whether it's true or not in a variable for that), it should keep the pokemon that use the "firstEvolutionLevel" and "secondEvolutionLevel" from scaling.
Something like this, for example:
View attachment 23194
The "includePreviousStages" is there to fix the preevolved problem from before.
And this is what you would need to add to the script for it to work:
View attachment 23191
You can change the switch number or use a variable you create especifically for this, but the idea would be the same.
As an extra note, slowpoke will never evolve to slowbro because slowking is marked as "has_other_evolving_method". So you may want to add this code in the wild pokemon handler:
if pokemon.isSpecies?(:SLOWPOKE) && pokemon.form == 0
AutomaticLevelScaling.setTemporarySetting("includePreviousStages", true)
AutomaticLevelScaling.setTemporarySetting("firstEvolutionLevel", 37)
$game_switches[2] = true
AutomaticLevelScaling.setNewLevel(pokemon)
end
The "includePreviousStages" is there so you can define slowbro as a wild encounter and still appear as a slowpoke when with low levels.
And in the script, change this:
View attachment 23192
to this:
View attachment 23193
This way, slowpoke can evolve to slowbro by leveling up when on a wild battle (the switch is used to tell the plugin if it's a wild battle or a trainer battle).
The same method can be done with any other pokemon with branched evolution where at least one of the evolutions would count for
has_other_evolving_method
.
I hope I explained it all clearly. It seems clear for me, but doesn't mean it'll be for others.