• 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.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
In-Depth Pokedex Data Page [v21.1]

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

xDracolich

Novice
Member
Joined
Jun 2, 2019
Posts
40
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,246
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.
 
Back
Top