Skip to content

Pokemon Predicate

Provi edited this page Aug 14, 2026 · 7 revisions

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

Fields

Field Type Default Description
species Pokemon Species Predicate optional Ran against the species/form properties of the Pokemon.
instance Pokemon Instance Predicate optional Ran against the instance properties of the Pokemon.

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": {
    "species_showdown_ids": {
      "whitelist": [ "gardevoir" ],
    }
  },
  "instance": {
    "moves": {
      "whitelist": [ "shadowball" ],
      "whitelist_is_subset": true
    },
    "level": {
      "comparison": "GREATER_THAN",
      "compare_to": 50
    }
  }
}

Clone this wiki locally