mirror of
https://github.com/pret/poketcg2.git
synced 2026-07-17 09:27:58 -05:00
Disassembly of Pokémon TCG 2
Finished the last whole-card AI functions straight from the disassembly (make compare proves byte identity); every AITrainerCardLogic row now resolves to named functions. - AIPlay/AIDecide_PokemonRecall ($7a90/$7aa5): decks $12 Overflow and $18 Psychokinesis rescue a discarded evolution whose pre-evo is in play/hand. - AIPlay/AIDecide_ImposterOaksRevenge ($7ec3/$7ed4): decks $48 Eevee Showdown and $6b Ronald's Power play it to disrupt a 5+ card opponent hand. - AIPlay/AIDecide_Digger ($7f30/$7f3c): always plays when able. - AIPlay/AIDecide_Pokedex ($5e94/$5ebd): occasional top-5 reorder (Pokemon, then Trainers, then Energy) + two type-specific energy helpers and GetCardTypeFromDeckIndex that shared the gap. (Disassembler had labeled card $150 as the boot symbol Start since both are $0150; it is really SPEAROW_LV13 -- caught by make compare.) Bank 8: 95.71% -> 99.29%. make compare OK. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .claude/skills/poketcg2-ai | ||
| src | ||
| tools | ||
| .gitattributes | ||
| .gitignore | ||
| .rgbds-version | ||
| CONTRIBUTING.md | ||
| Makefile | ||
| README.md | ||
| rom.sha1 | ||
Pokémon TCG 2
This is a disassembly of Pokémon TCG 2.
It uses the following ROM as a base:
- Pokémon Card GB2 - GR Dan Sanjou! (J) [C][!].gbc
sha1: a7e12bcc5f514e3aad8de570fd511aab0a308822
To assemble, first install RGBDS and put it in your path.
Then copy the above ROM to this directory as "baserom.gbc".
Then run make in your shell.
This will output a file named "poketcg2.gbc".
See also
You can find us on Discord (pret, #poketcg).
For other pret projects, see pret.github.io.