• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Generation 9 Resource Pack [v21.1] (Updated with Mega Dimension contents)

Resource Generation 9 Resource Pack [v21.1] (Updated with Mega Dimension contents) 3.3.5

Yep yesterday I also checked that myself. I think "Everything aside from the target's protective effects is still triggered" pretty much is intending what I previously wrote.
 
Hi. After applying the latest update, I keep fail to launch the game and this error message pops up:

[Pokémon Essentials version 21.1] [v21.1 Hotfixes 1.0.9]
Exception: RuntimeError
Message: Section name 'VENUSAUR_1' is used twice.
File PBS/pokemon_metrics_forms.txt, section VENUSAUR,1, key SuperShinyHue
Backtrace:
Compiler_CompilePBS:57:in `block (3 levels) in compile_PBS_file_generic' Compiler:143:in `block in pbEachFileSection' Compiler:108:in `block in pbEachFileSectionEx' Compiler:100:in `each_line'
Compiler:100:in `pbEachFileSectionEx'
Compiler:142:in `pbEachFileSection'
Compiler_CompilePBS:22:in `block (2 levels) in compile_PBS_file_generic'
Compiler_CompilePBS:16:in `open'
Compiler_CompilePBS:16:in `block in compile_PBS_file_generic'
Compiler_CompilePBS:11:in `each'

I'm wondering if I'm the only one who's getting this error. Could this be just a compatibility issue with other resources I've downloaded?

(Edit)
Re-installing another resource ("Animated Pokemon System" to be specific) after installing the update fixed the issue. I'm new to this and didn't realized in what order you install the resources can have big impact like this. I'll leave this post in case anyone experience the same issue as me.
 
Last edited:
Just installed the newest version of the plugin in a blank project and I've been getting this error message:

=================

[2026-04-30 23:05:36 -0300]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Error in Plugin: [Generation 9 Pack]
Exception: SyntaxError
Message: [Generation 9 Pack] [000] Battle_AI.rb:21: syntax error, unexpected integer literal, expecting '}'
0 => [:PIERCINGDRILL]
^
[Generation 9 Pack] [000] Battle_AI.rb:23: syntax error, unexpected '}', expecting `end'

Backtrace:
Section008:635:in `eval'
Section008:635:in `block (2 levels) in runPlugins'
Section008:625:in `each'
Section008:625:in `block in runPlugins'
Section008:616:in `each'
Section008:616:in `runPlugins'
Section401:28:in `mainFunctionDebug'
Section401:18:in `block in mainFunction'
Section014:80:in `pbCriticalCode'
Section401:18:in `mainFunction'

=================

The only plugins currently in the project are the 21.1 Hotfixes and this one, if it helps.
Thanks for the attention.
 
Just installed the newest version of the plugin in a blank project and I've been getting this error message:

=================

[2026-04-30 23:05:36 -0300]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Error in Plugin: [Generation 9 Pack]
Exception: SyntaxError
Message: [Generation 9 Pack] [000] Battle_AI.rb:21: syntax error, unexpected integer literal, expecting '}'
0 => [:PIERCINGDRILL]
^
[Generation 9 Pack] [000] Battle_AI.rb:23: syntax error, unexpected '}', expecting `end'

Backtrace:
Section008:635:in `eval'
Section008:635:in `block (2 levels) in runPlugins'
Section008:625:in `each'
Section008:625:in `block in runPlugins'
Section008:616:in `each'
Section008:616:in `runPlugins'
Section401:28:in `mainFunctionDebug'
Section401:18:in `block in mainFunction'
Section014:80:in `pbCriticalCode'
Section401:18:in `mainFunction'

=================

The only plugins currently in the project are the 21.1 Hotfixes and this one, if it helps.
Thanks for the attention.
As He said, You should replace these lines with these in the battle_ai.rb in his plugin, since he missed a comma.
Sorry, I missed a comma on line 20. I’ll reupload the corrected file later this weekend.

Ruby:
Expand Collapse Copy
  GEN_9_BASE_ABILITY_RATINGS = {
    9  => [:ORICHALCUMPULSE, :HADRONENGINE, :MEGASOL],
    8  => [:THERMALEXCHANGE,:DRAGONIZE],
    7  => [:EARTHEATER, :TOXICDEBRIS, :PROTOSYNTHESIS, :QUARKDRIVE, :SUPERSWEETSYRUP, :MINDSEYE],
    6  => [:SUPREMEOVERLORD, :SEEDSOWER, :OPPORTUNIST, :SPICYSPRAY],
    5  => [:ARMORTAIL, :ROCKYPAYLOAD, :SHARPNESS, :LINGERINGAROMA, :CUDCHEW,
           :TOXICCHAIN, :POISONPUPPETEER],
    4  => [:PURIFYINGSALT, :WELLBAKEDBODY, :ANGERSHELL, :ELECTROMORPHOSIS, :WINDPOWER],
    3  => [:WINDRIDER, :HOSPITALITY,
           :TABLETSOFRUIN, :SWORDOFRUIN, :VESSELOFRUIN, :BEADSOFRUIN
          ],
    1  => [:EMBODYASPECT, :EMBODYASPECT_1, :EMBODYASPECT_2, :EMBODYASPECT_3,
           :TERASHIFT, :TERASHELL, :TERAFORMZERO
          ],
    0  => [:PIERCINGDRILL]
  }
 
Back
Top