• 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.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Animated Pokemon System [DBK Add-On] [v21.1]

Resource Animated Pokemon System [DBK Add-On] [v21.1] v1.1.1

Hello, sorry for bothering you- Every time i try to compile the game with this plugin added, I receive this error:


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: RuntimeError
Message: Undefined value WYRDEER in GameData::Species
File PBS/pokemon_metrics_Gen_9_Pack.txt, section WYRDEER,1, key SectionName
Backtrace:
Compiler:454:in `checkEnumField'
[v21.1 Hotfixes] Compiler bug fixes.rb:53:in `cast_csv_value'
Compiler:724:in `block (2 levels) in get_csv_record'
Compiler:710:in `each'
Compiler:710:in `block in get_csv_record'
Compiler:708:in `loop'
Compiler:708:in `get_csv_record'
Compiler_CompilePBS:34:in `block (4 levels) in compile_PBS_file_generic'
Compiler_CompilePBS:31:in `each_key'
Compiler_CompilePBS:31:in `block (3 levels) in compile_PBS_file_generic'


And this error:


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: RuntimeError
Message: Unknown exception when compiling.

Backtrace:
Compiler:1104:in `rescue in main'
Compiler:1031:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'
Main:44:in `<main>'
-e:in `eval'


Is there something I did wrong to cause these two errors and how can I fix it? Sorry again for bothering you-
 
Hello, sorry for bothering you- Every time i try to compile the game with this plugin added, I receive this error:


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: RuntimeError
Message: Undefined value WYRDEER in GameData::Species
File PBS/pokemon_metrics_Gen_9_Pack.txt, section WYRDEER,1, key SectionName
Backtrace:
Compiler:454:in `checkEnumField'
[v21.1 Hotfixes] Compiler bug fixes.rb:53:in `cast_csv_value'
Compiler:724:in `block (2 levels) in get_csv_record'
Compiler:710:in `each'
Compiler:710:in `block in get_csv_record'
Compiler:708:in `loop'
Compiler:708:in `get_csv_record'
Compiler_CompilePBS:34:in `block (4 levels) in compile_PBS_file_generic'
Compiler_CompilePBS:31:in `each_key'
Compiler_CompilePBS:31:in `block (3 levels) in compile_PBS_file_generic'


And this error:


[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: RuntimeError
Message: Unknown exception when compiling.

Backtrace:
Compiler:1104:in `rescue in main'
Compiler:1031:in `main'
Main:29:in `mainFunctionDebug'
Main:18:in `block in mainFunction'
Errors:80:in `pbCriticalCode'
Main:18:in `mainFunction'
Main:45:in `block in <main>'
Main:44:in `loop'
Main:44:in `<main>'
-e:in `eval'


Is there something I did wrong to cause these two errors and how can I fix it? Sorry again for bothering you-
The issue is that you added the files for Gen 9 species when your game doesnt have Gen 9 species installed. This plugin assumes by default you already have all the Gen 9 Pack content installed. If you don't, then just remove those files.
 
The issue is that you added the files for Gen 9 species when your game doesnt have Gen 9 species installed. This plugin assumes by default you already have all the Gen 9 Pack content installed. If you don't, then just remove those files.
Ah, thank you! A wonder how i didnt think of that, sorry again!
 
Hello, sorry to bother. But when I try to do anything that would load a sprite, it throws this error and crashes.

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[[DBK] Animated Pokémon System] [004] Game Data.rb:138:in `front_sprite_speed'
[[DBK] Animated Pokémon System] [008] Deluxe Bitmap.rb:30:in `initialize'
[[DBK] Animated Pokémon System] [004] Game Data.rb:228:in `new'
[[DBK] Animated Pokémon System] [004] Game Data.rb:228:in `front_sprite_bitmap'
Species_files:89:in `sprite_bitmap'
Pokemon_Sprites:66:in `setSpeciesBitmap'
[[DBK] Animated Pokémon System] [005] Pokemon Sprites.rb:54:in `setSpeciesBitmap'
[[DBK] Animated Pokémon System] [003] Pokemon UI.rb:79:in `setIconBitmap'
UI_Pokedex_Main:448:in `pbRefresh'
UI_Pokedex_Main:1264:in `block (2 levels) in pbPokedex'



For extra info, the things I've added are
v21.1 Hotfixes
[DBK_000] Deluxe Battle Kit
[DBK_009] Animated Pokemon System
Generation 9 Pack v3.2.9
 
Last edited:
Hello, sorry to bother. But when I try to do anything that would load a sprite, it throws this error and crashes.

[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass

Backtrace:
[[DBK] Animated Pokémon System] [004] Game Data.rb:138:in `front_sprite_speed'
[[DBK] Animated Pokémon System] [008] Deluxe Bitmap.rb:30:in `initialize'
[[DBK] Animated Pokémon System] [004] Game Data.rb:228:in `new'
[[DBK] Animated Pokémon System] [004] Game Data.rb:228:in `front_sprite_bitmap'
Species_files:89:in `sprite_bitmap'
Pokemon_Sprites:66:in `setSpeciesBitmap'
[[DBK] Animated Pokémon System] [005] Pokemon Sprites.rb:54:in `setSpeciesBitmap'
[[DBK] Animated Pokémon System] [003] Pokemon UI.rb:79:in `setIconBitmap'
UI_Pokedex_Main:448:in `pbRefresh'
UI_Pokedex_Main:1264:in `block (2 levels) in pbPokedex'



For extra info, the things I've added are
v21.1 Hotfixes
[DBK_000] Deluxe Battle Kit
[DBK_009] Animated Pokemon System
Generation 9 Pack v3.2.9
Did you recompile?
 
Did you recompile?
Sorry for the super late reply, but yes. I recompiled after each added plugin. The game loads fine, and I can walk around and do stuff, but whenever I try to load the pokedex, enter a battle, etc that would load an animated sprite, it throws that error and crashes. I can load the game fine without the animated sprites add on though.

EDIT: I just wiped everything and reinstalled a clean essentials and all plugins and it worked. There was probably something missing or corrupted.
 
Last edited:
Hi! Sorry for the inconvenience.
I've been wondering if there's a way to add only the "search" section when editing the pokémon metrics, the option to search for them with the Z key.
Is that possible?
 
Hi! Sorry for the inconvenience.
I've been wondering if there's a way to add only the "search" section when editing the pokémon metrics, the option to search for them with the Z key.
Is that possible?
Just look at the sprite positioner code in the plugin to see how it's done and reverse engineer that functionality yourself.
 
Thanks Lucidious89 for your hard work here! You have saved me a ton of work in my project through fixing and creating gifs. I am having an issue that I'm am unsure what is causing it. Have added custom forms for a couple pokemon and a custom pokemon and these spritesheets when added to this plugin still animate the pokemon normally, but their sprites are "scrolling" left or right while animated. Do you know what could cause this when making a spritesheet for this plugin?

 
Thanks Lucidious89 for your hard work here! You have saved me a ton of work in my project through fixing and creating gifs. I am having an issue that I'm am unsure what is causing it. Have added custom forms for a couple pokemon and a custom pokemon and these spritesheets when added to this plugin still animate the pokemon normally, but their sprites are "scrolling" left or right while animated. Do you know what could cause this when making a spritesheet for this plugin?

Each frame has to be a perfect square. Refer to the guide for a more thorough explanation of sprite sheets.
 
Thanks a bunch for contributing this - it runs like a dream.

Question for you about future functionalities - my friend and I were looking to add animated TRAINERS as well, in that "Gen 5" style where they animate once before the ball is thrown. Any plans to implement that in the future?
(We've tried figuring it out ourselves and just can't wrap our heads around it - but if you have an idea of how we'd get started on that, any direction would be appreciated)
 
Thanks a bunch for contributing this - it runs like a dream.

Question for you about future functionalities - my friend and I were looking to add animated TRAINERS as well, in that "Gen 5" style where they animate once before the ball is thrown. Any plans to implement that in the future?
(We've tried figuring it out ourselves and just can't wrap our heads around it - but if you have an idea of how we'd get started on that, any direction would be appreciated)
you could try using Gifs, is not the most fancy way but it works
 
Thanks a bunch for contributing this - it runs like a dream.

Question for you about future functionalities - my friend and I were looking to add animated TRAINERS as well, in that "Gen 5" style where they animate once before the ball is thrown. Any plans to implement that in the future?
(We've tried figuring it out ourselves and just can't wrap our heads around it - but if you have an idea of how we'd get started on that, any direction would be appreciated)
If someone wants to compile sprite strips for all relevant trainers from Gen 5 and send them to me, then sure. Im not really interested in doing it otherwise.

The only reason I even made this plugin was because 90% of the work was already done for me since all the Pokemon sprites were already compiled by EBDX and other resources.
 
If someone wants to compile sprite strips for all relevant trainers from Gen 5 and send them to me, then sure. Im not really interested in doing it otherwise.

The only reason I even made this plugin was because 90% of the work was already done for me since all the Pokemon sprites were already compiled by EBDX and other resources.
Yo! Luka already compiled Gen V trainers in PNG sheet format on his website if you're interested: https://luka-sj.com/res/trpck
 
Found a problem with Genesect's sprites. Sprites of Genesect with burn drive(form 2) and douse drive(form 4) are opposite in all sprites.
 
Lucidious89 updated Animated Pokemon System [DBK Add-On] [v21.1] with a new update entry:

v1.0.9 Update

  • Fixed the file names for the form names for Genesect's sprites.
  • Added 25 sprites of various enemies found in Poke Star Studios to the sprite pack to be used. They're all named STUDIOPROP with various forms. No PBS data is included for these, so you'll have to make your own if you want to use them.
  • Made various changes for compatibility with the upcoming Animated Trainer Intros add-on plugin.

Read the rest of this update entry...
 
You'd have to set the character_hue = to pkmn.super_shiny_hue wherever the code that sets the follower graphic is.
Is there anyone who could explain this a bit more or possibly knows if this works in 21.1? Ive tried in plugins and pbs.
 
Is there anyone who could explain this a bit more or possibly knows if this works in 21.1? Ive tried in plugins and pbs.
It works fine, I already implemented it. I sent the updates to @NoNoNever to include in an update for the Following Pokemon EX plugin. It'll be implemented at some point.
 
Back
Top