• 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.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
In-Depth Pokedex Data Page [v21.1]

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

xDracolich

Novice
Member
Joined
Jun 2, 2019
Posts
44
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:

Lucidious89

Champion
Member
Joined
Nov 12, 2020
Posts
1,266
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

Champion
Member
Joined
Nov 12, 2020
Posts
1,266
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...
 
Back
Top