Plays
A play is every card that plays the same in a deck, whatever its picture: one name, and text that works the same way. It answers the deck builder's question: can this older card stand in for that one?
What a play is
The game's rules let you play an older print in place of a card with the same name only when its text works the same. A play is the cards that pass that test together. Base Set's Switch ("Switch 1 of your Benched Pokémon with your Active Pokémon") and Scarlet & Violet's ("Switch your Active Pokémon with 1 of your Benched Pokémon") are worded differently, but they do the same thing, so they are one play, with every Switch printed in between: 65 cards.
A small difference in effect is enough to split them. A card that shuffles 3 cards and one that shuffles up to 3 are two plays, and so are a Rainbow Energy that does 10 damage and one that places a damage counter. When it is unclear whether two cards play the same, they are kept apart.
Each play has a file, plays/{id}.json: its name, its cardCount and its cards, oldest first. Each card is a pointer with what a tile draws (name, number, image) and the painting it prints, so one request is enough to show a "plays the same as" row.
curl https://pokemon.cardcorpus.com/v1/plays/switch-4175.json{
"id": "switch-4175",
"name": "Switch",
"cardCount": 67,
"cards": [
{
"$kind": "card",
"set": "english/base-set",
"id": "95",
"name": "Switch",
"number": { "printed": "95/102" },
"painting": { "$kind": "painting", "id": "switch-jqev" },
"basis": "wording",
// … 2 more fields
},
{
"$kind": "card",
"set": "english/trainer-deck-a",
"id": "95",
"name": "Switch",
"number": { "printed": "95/102" },
"painting": { "$kind": "painting", "id": "switch-jqev" },
"basis": "wording",
// … 2 more fields
},
// … 65 more
]
}A card's play
A card in its set file names its play in play, a pointer with the play's id. Fetch plays/{id}.json to list the rest: Base Set's Potion names potion-3362, so its play is plays/potion-3362.json.
Only plays of two cards or more have a file. A card with no play plays like no other card: no other print, in any set, has its name and text.
switch-4175. It never changes, even as cards join it, so a stored play pointer keeps working.curl https://pokemon.cardcorpus.com/v1/sets/english/base-set.json{
"cards": [
{
"id": "94",
"name": "Potion",
"painting": { "$kind": "painting", "id": "potion-gyu4" },
"play": { "$kind": "play", "id": "potion-3362" },
// … 14 more fields
},
// … 101 more
],
// … 19 more fields
}Why each card is there
Every card in a play says why in basis, judged from what the card itself prints:
| basis | What it means |
|---|---|
identical | It prints the play's wording, word for word. |
wording | It words it differently, in a way that plays the same: Base Set's Switch. |
errata | An official erratum changes how it plays, and with it, it plays the same as the rest. |
unread | Its text isn't read yet, so it is there because it reprints another card of the play. |
The wording each card prints is in its set's printed text.
const get = (path) =>
fetch(`https://pokemon.cardcorpus.com/v1/${path}`).then((res) => res.json());
const set = await get("sets/english/base-set.json");
const potion = set.cards.find((c) => c.name === "Potion");
// No `play` means no other card plays like it
const play = await get(`plays/${potion.play.id}.json`);
console.log(play.name, "·", play.cardCount, "cards play the same");
for (const erratum of play.errata ?? []) {
console.log("Erratum:", erratum.text.join(" "));
}
// Oldest first, each with why it is in the play
for (const card of play.cards.slice(0, 3)) {
console.log(card.set, card.number.printed, "·", card.basis);
}Official errata
The Pokémon Company sometimes corrects a card after printing, and the correction is how it plays from then on. A play follows the official errata. Potion now heals 30 damage, so the old Potions that remove 2 damage counters play as the new one, and every Potion is one play.
A play whose cards play by an erratum lists it in errata. Its scope says what it corrects:
name: every card with that name. Itstextis the corrected text.printing: one printing only. Itspartsname what changed, such asattack1 textorretreat, with the corrected value.rule: a rule for a kind of card, such as every Pokémon Power stopping under any Special Condition.
change says what the erratum changed, and listed when the official errata page listing it was last updated.
curl https://pokemon.cardcorpus.com/v1/plays/potion-3362.json{
"id": "potion-3362",
"name": "Potion",
"cardCount": 54,
"errata": [
{
"id": "potion",
"scope": "name",
"name": "Potion",
"text": ["Heal 30 damage from 1 of your Pokémon."],
"change": "Heals 30 damage instead of 20 damage.",
"listed": "2024-11-07"
}
],
"cards": [
{
"$kind": "card",
"set": "english/base-set",
"id": "94",
"basis": "errata",
// … 5 more fields
},
// … 53 more
]
}Plays and paintings
A painting and a play group the same prints two ways. A painting is one picture on any text; a play is one text under any picture.
| Question | Follow |
|---|---|
| Can I put this card in my deck in place of that one? | play |
| Where else does this artwork appear? | painting |
| Where was this exact card printed again? | reprints, counterparts (Links between cards) |
A reprint always plays the same as its original, so both are in the same play. A play goes further: it also holds cards with new art and the same text, which are not reprints.
English cards, for now
Plays cover English cards only. A translation sometimes words a card so it plays differently from the English, so other languages' cards join plays once their own text has been read. Until then, a card in another language has no play, even when its English counterpart does.
The play object
idstringalways presentswitch-4175. It stays the same as cards join the play.namestringalways presentcardCountintegeralways presentcards.erratalist of objectbasis is errata play by them.cardslist of pointeralways presentA card in a play
setstringalways presentidstringalways presentnamestringalways presentname.numberobjectalways presentnumber. Its number as printed ("4/102", "SWSH001"), and that number without its set total.pictureobjectpaintingpointerbasisenumidentical, it prints the play's wording (the one most of its cards print); wording, it words it differently in a way that plays the same; errata, an official erratum (errata) makes it play the same; unread, its own text isn't read yet, so it is here by being a reprint or by its sources' text.3 more fields
englishNamestringenglishName.subtitlestringsubtitle. The smaller name the card prints beside its own, as it prints it, in its language, where it prints one: "Professeur Chen" on a French Professor's Research, "オーキド博士" on a Japanese one. Where we have no printed subtitle, the English one on a card whose name is its English one (see the guide).englishSubtitlestringenglishSubtitle. The smaller name the card prints beside its own, in English, where it prints one: the professor on a Professor's Research ("Professor Oak"), the boss on a Boss's Orders ("Ghetsis"). It says which of the cards sharing a name this is, but isn't part of the name: a deck counts them all as one card. Always one of the card's characters (see the guide). Our own pages show it joined to the name: "Professor's Research (Professor Oak)".An erratum
idstringalways presentpotion.scopeenumalways presentname, every card of that name; printing, the printing named; rule, a kind of card.namestringalways presenttextlist of stringpartsobjectattack1 text, ability1 text, attack2 cost, retreat, effect), with their corrected value.changestringalways presentlistedstringalways present