• 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 results of the game jam are out!
    See the Judge's Spotlight choices and vote for your favorites to win Community Choice Spotlight by the 28th! 🫙
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
In-Depth Pokedex Data Page [v21.1]

Resource In-Depth Pokedex Data Page [v21.1] v2.0.3

Does Enchantowl have the correct flag in its PBS to determine the form its previous stage? I forget what the flag is called (I havent opened Essentials in months), but it should be whatever flag Obstagoon has.
Ah! That's what was missing. Thank you!

Speaking of, I realize I touched on this once before, and since then I did get it to mostly work, however, I still have one small issue. I've implemented an evolution method for making a Pokémon evolve when it has a certain status effect, and levels up, and it works perfectly in-game.

Ruby:
Expand Collapse Copy
GameData::Evolution.register({
  :id            => :HasStatus,
  :parameter     => :Status,
  :any_level_up  => true,   # Needs any level up
  :level_up_proc => proc { |pkmn, parameter|
    next pkmn.status == parameter
  }
})

Code:
Expand Collapse Copy
Evolutions = TRAUMATISSE,HasStatus,POISON

But I can't get it to display correctly on the Data Page. In [000]GameData.rb I have added

Ruby:
Expand Collapse Copy
when :HasStatus                              then evo.description = _INTL("while affected by the {1} status")

to the list, but still when I try to view a Pokémon where this evolution method would've applied to, it crashes the game. I assume it's because it's not sure how to call on "poisoned" as a status effect and add it to the text?

How would I add it correctly?
 
Last edited:
Ah! That's what was missing. Thank you!

Speaking of, I realize I touched on this once before, and since then I did get it to mostly work, however, I still have one small issue. I've implemented an evolution method for making a Pokémon evolve when it has a certain status effect, and levels up, and it works perfectly in-game.

Ruby:
Expand Collapse Copy
GameData::Evolution.register({
  :id            => :HasStatus,
  :parameter     => :Status,
  :any_level_up  => true,   # Needs any level up
  :level_up_proc => proc { |pkmn, parameter|
    next pkmn.status == parameter
  }
})

Code:
Expand Collapse Copy
Evolutions = TRAUMATISSE,HasStatus,POISON

But I can't get it to display correctly on the Data Page. In [000]GameData.rb I have added

Ruby:
Expand Collapse Copy
when :HasStatus                              then evo.description = _INTL("while affected by the {1} status")

to the list, but still when I try to view a Pokémon where this evolution method would've applied to, it crashes the game. I assume it's because it's not sure how to call on "poisoned" as a status effect and add it to the text?

How would I add it correctly?
You have to define what the status parameter should display in the big chunk of code that translates all of the description text. I don't have access to my computer anymore, so I don't remember what any of this looks like. But there's a whole complex method in the plugin that deals with translating evolution method parameters into text.
 
Lucidious89 updated In-Depth Pokedex Data Page [v21.1] with a new update entry:

v2.0.2 Update

  • Fixed an issue where having the Terastal add-on plugin installed would cause redundant forms of species to appear when viewing compatible species in the Moves section of the Data page.
  • Made some minor adjustments to the display of special moves that are obtained through non-traditional means, such as Rotom's exclusive form moves. Also eliminated redundant moves that would appear twice for certain species in their move lists.
  • The Pikachu family will now properly display Volt...

Read the rest of this update entry...
 
Edit: I found the reason, I still had an older version of the Pokedex Data Page plugin installed, before it got renamed, so the code messed up because there were several instances of the same code. It's been fixed now.

Hey, I installed the Raid Battles plugin today, and with I updated my version of this plugin to the newest version, along with all the other associated plugins (I think?) that I have in my game associated with the Deluxe Battle Kit, but now whenever I try to compile my game and open it, I get this error message.

Ruby:
Expand Collapse Copy
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]

Error in Plugin: [Pokedex Data Page]
Exception: SystemStackError
Message: stack level too deep

Backtrace:
[[MUI] Pokedex Data Page] [000] GameData.rb:46:in `initialize'
[[MUI] Pokedex Data Page] [000] GameData.rb:46:in `initialize'
[[MUI] Pokedex Data Page] [000] GameData.rb:46:in `initialize'
[[MUI] Pokedex Data Page] [000] GameData.rb:46:in `initialize'
[[MUI] Pokedex Data Page] [000] GameData.rb:46:in `initialize'
[[MUI] Pokedex Data Page] [000] GameData.rb:46:in `initialize'
[[MUI] Pokedex Data Page] [000] GameData.rb:46:in `initialize'
[[MUI] Pokedex Data Page] [000] GameData.rb:46:in `initialize'
[[MUI] Pokedex Data Page] [000] GameData.rb:46:in `initialize'
[[MUI] Pokedex Data Page] [000] GameData.rb:46:in `initialize'

I'm not sure what this error is trying to point at, because I haven't changed anything in the scripts.
 
Last edited:
Back
Top