• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • A reminder that our new forum software has 2FA! It can be accessed by clicking your username and then "Password and security" from the menu. We strongly suggest not reusing passwords for your online accounts and enabling 2FA if possible.
  • Welcome to PokéCommunity! Register now and join one of the best places on the 'net to talk Pokémon and more! Community members will not see the bottom screen advertisements.
  • Want to share your adventures playing Pokémon?
    Check out our new Travel Journals forum for sharing playthroughs of ROM Hacks, Fan Games, and other Pokémon content!
  • IMPORTANT: Following a takedown request, the following hacks have been delisted from PokéCommunity:

    • Pokémon Glazed
    • Pokémon: Giratina Strikes Back
    • Pokémon Flora Sky
    • Pokémon Stranded
    The downloads and discussion threads for these hacks will no longer be accessible, and staff will be unable to return questions regarding accessing this content.

Script: Improved AI - Pokémon Essentials v20.1

41
Posts
1
Years
I don't know about you, but I've gotten tired of trying to make good, interesting teams for gym leaders only for the AI to pilot it like a braindead possum. And the only improved AI scripts I've been able to find are for previous versions of Essentials and don't work with 20.1, so I went in myself and made some quick tweaks:


  • The AI favors higher-scoring moves much more than before; this scales with trainer skill level
  • Entry hazards have higher scores
  • Weather-setting moves' score logic is more complex. This also accounts for Gen 9 weather changes if you have Caruban's Gen 9 Pack installed, though this plugin also works with base Essentials v20.1.

That's all I've done for now. The RNG element hasn't been removed entirely, especially for trainer classes with lower skill levels, but it is noticeably better. Eventually, I also want to change the switching logic, and I'll probably go through and tweak some more effect scores.

To install, download the file, unzip it, then add it to your plugins folder. Let me know if you have any suggestions or encounter any errors.

Download link
 
Last edited:
41
Posts
1
Years
v1.1.0 update - bug fixes

Fixed some bugs that were causing the script to skip a lot of the logic, especially for lower trainer skill classes. This should fix most of the jankiness (spamming Will-o-Wisp on a statused target, using Fake Out after turn 1, etc.)
 
Last edited:
Back
Top