I would also like to add, for current users of the plugin, that in a future update (which would come with the need to fix some issues or implement a new feature and not right away), I will probably change the name of some of the settings and methods so that they can be a little bit more...
There are multiple possible causes for this problem, I'll list some of them.
Parameter names seem to be written without the _ between words, which would cause a syntax error.
I see you change the difficulty before changing settings with setSettings, if you're not doing this for a specific...
Thank you for reporting the issue, even if you can avoid it, it can always help other people.
I tried testing the conditions you described and the script seemed to work just fine, avoiding the slowking evolution even when it was provided directly in the PBS, with INCLUDE_NON_NATURAL_METHODS...
The problem might be related to the order in which commands are set up. You should use the setSettings function before the specific battle you want to change settings and disable settings afterward if you're not using the temporary setting.
If you changed the INCLUDE_NEXT_STAGES setting to...
setTemporarySetting uses camelCase for parameters and setSettings uses underscore_case. So, please write proportional_scaling and only_scale_if_higher when using setSettings.
It should be working, no other additional steps are necessary. Try recompiling the game by pressing control while it loads, also check if you are running the event before the fight starts. Those are some common problems during setup, but if it doesn't work, I would need some more information to...
I tested the code you provided, and it seemed to work fine. Can you describe what you are trying to do and what is actually happening in more detail?
Just for clarification, include_previous_stages is true by default, unless changed in 002_Settings.rb. If it's set to false, pokemon will not go...
To use moves defined in the PBS instead of automatically selected, you need to call AutomaticLevelScaling.setTemporarySetting("updateMoves", false) before the trainer battle.
I tested using regional forms and it worked fine, the form defined in the PBS was the one selected by the plugin. Maybe...
Add evolution level for all natural evolution methods. If there's more than one natural evolution with different levels, the lowest level is considered for all evolutions (I don't think this ever happens among all pokemon up to this point).
If INCLUDE_NON_NATURAL_EVOLUTIONS is false, now natural...
Benitex updated Automatic Level Scaling with a new update entry:
Add the includeNextStages setting, update natural methods evolutions and more
Read the rest of this update entry...
This feature is not implemented yet, but I think your idea is great.
I also managed to find a way to evolve pokemon with level-up methods and specific conditions ignoring their conditions.
Both features will be added in the next update.
Yeah, time-dependent evolutions can be a little weird, I didn't change the way they work. I think it's up to each one to decide if they should include them as natural or not. In my opinion, they can bring a little bit more variety, but maybe someone would prefer to remove them from the array for...
Pokemon with regional forms finally evolve using their default evolution methods instead of the default evolution levels. The POKEMON_WITH_REGIONAL_FORMS array is not necessary anymore (no bugs would happen if you include it by accident either).
Like pokemon with multiple evolutions, if you...
Benitex updated Automatic Level Scaling with a new update entry:
Add include_non_natural_evolutions setting and update regional forms implementation
Read the rest of this update entry...
I'll post an update fixing some bugs and adding this feature, which cannot be added easily in the current state of the plugin, and more people than I imagined are interested in this. Thank you for the suggestion!
Variables 099 and 100 are already set up from the get-go, they don't get named automatically, but you can change their values to one of the predefined difficulties IDs and it will activate the script. Also, maybe you are using the Control Switches instead of Control Variables event command...
Benitex updated Automatic Level Scaling with a new update entry:
Fix settings reset after the first setNewLevel of a trainer
Read the rest of this update entry...