Skip to content

Pokemon Predicate

Provi edited this page Aug 3, 2026 · 7 revisions

A predicate tested against a Pokemon. Contains several inner predicates and all must pass for this predicate to pass.

Field Type Default Description
species_showdown_ids String Predicate optional Ran against the Showdown ID of the species. Alolan Vulpix -> "vulpix"
form_showdown_ids String Predicate optional Ran against the "form only" Showdown ID of the form. Alolan Vulpix -> "alola"
speciesform_showdown_ids String Predicate optional Ran against the species-form Showdown ID. Alolan Vulpix -> "vulpixalola"
aspects String Predicate optional Ran against the list of aspects held by the Pokemon.
moves String Predicate optional Ran against the list of moves in the Pokemon's moveset, as their Showdown IDs.
ability String Predicate optional Ran against the ability of the Pokemon.
level Integer Predicate optional Ran against the Pokemon's level.
friendship Integer Predicate optional Ran against the Pokemon's friendship.
fullness Integer Predicate optional Ran against the Pokemon's fullness.
species_labels String Predicate optional Ran against labels on the Pokemon's species.
form_labels String Predicate optional Ran against the labels on the Pokemon's form.
EVs Stats Predicate optional Ran against the EVs.
IVs Stats Predicate optional Ran against the IVs.
held_item Held Item Predicate optional Ran against the held item or null.
has_evolution Boolean optional Whether or not the Pokemon should have a possible evolution for it's species/form.
has_pre-evolution Boolean optional Whether or not the Pokemon should have a pre-evolution for it's species/form.

Procedure

Each predicate is tested in sequence, any missing predicate is treated as passing. If all predicates pass then so does this one.

Examples

This example passes for a Gardevoir that is over level 50 and knows the move Shadow Ball.

{
  "species_showdown_ids": {
    "whitelist": ["gardevoir"],
  },
  "moves": {
    "whitelist": ["shadowball"],
    "whitelist_is_subset": true
  },
  "level": {
    "comparison": "GREATER_THAN",
    "compare_to": 50
  }
}

Clone this wiki locally