-
Notifications
You must be signed in to change notification settings - Fork 0
Pokemon Instance Predicate
Provi edited this page Aug 14, 2026
·
1 revision
A predicate tested against a Pokemon, testing the properties unique to that individual. Contains several inner predicates and all must pass for this predicate to pass.
| Field | Type | Default | Description |
|---|---|---|---|
| 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. |
| marks | String Predicate | optional | Ran against the identifiers of the marks on 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. |
| 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. |
Each predicate is tested in sequence, any missing predicate is treated as passing. If all predicates pass then so does this one.
Succeeds for a Pokemon with a level between 60 to 80 and knows the moves Shadow Ball and Sludge Wave.
{
"level": {
"comparison": "INCLUSIVE_RANGE",
"compare_to": 60,
"second_compare_to": 80
},
"moves": {
"whitelist": [
"shadowball",
"sludgewave"
],
"whitelist_is_subset": true
}
}