- Joined
 - Jun 2, 2019
 
- Posts
 - 48
 
Ah! That's what was missing. Thank you!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.
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:
			
		
		
		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:
			
		
		
		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:
			
		
		
		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: