From fc196f2b20239821e295ee4081c08d3957f193a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miquel=20Ra=C3=AFch?= Date: Fri, 31 Jul 2026 10:53:51 +0200 Subject: [PATCH] docs: document PokemonForm trigger_conditions and base_form MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add the trigger_conditions field to the Pokémon Form resource (previously undocumented) plus a PokemonFormCondition model, including the new base_form field and its null behaviour (null = applies from the default form). --- src/docs/pokemon.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/src/docs/pokemon.json b/src/docs/pokemon.json index 7d448df..b8c4e54 100644 --- a/src/docs/pokemon.json +++ b/src/docs/pokemon.json @@ -1800,6 +1800,42 @@ "type": "list", "of": "Name" } + }, + { + "name": "trigger_conditions", + "description": "A list of the conditions that trigger this (usually battle-only) form, such as holding a Mega Stone or having a specific Ability. Empty for forms that are not triggered.", + "type": { + "type": "list", + "of": "PokemonFormCondition" + } + } + ] + }, + { + "name": "PokemonFormCondition", + "fields": [ + { + "name": "trigger", + "description": "The kind of trigger that produces this form (for example \"held-item\", \"ability\" or \"gigantamax-factor\").", + "type": "string" + }, + { + "name": "name", + "description": "The name of the item, ability or move that triggers this form, if any.", + "type": "string" + }, + { + "name": "url", + "description": "The URL of the item, ability or move that triggers this form, if any.", + "type": "string" + }, + { + "name": "base_form", + "description": "The specific sibling form the Pokémon must already be in for this transformation, or null if it applies from the default form. For example, Ultra Necrozma lists Dusk Mane and Dawn Wings here, whereas Mega Charizard X (reached from the default form) is null.", + "type": { + "type": "NamedAPIResource", + "of": "PokemonForm" + } } ] },