mirror of
https://github.com/pret/poketcg2.git
synced 2026-09-30 13:07:16 -05:00
51edd23b093bcaaae7f442a982bcb83d58752de3
Phase 1 pilot on bank 04's xref-referenced cluster. Named the two per-frame "frame functions" and their Set/Unset stack wrappers, using tcg2's existing FrameFunc_* / Set..FrameFunc / Unset..FrameFunc convention and confirming each by callers + named callees: Func_3a39 -> FrameFunc_Overworld (UpdateOWScroll + sprite anims + FadePalettes) Func_1109f -> SetOverworldFrameFunc (pushes it; OverworldLoop / CreditsCmd_InitOW) Func_110a8 -> UnsetOverworldFrameFunc (pops it; CreditsCmd_DeinitOW ...) Func_3a81 -> FrameFunc_AnimationQueue (gated on wActiveScreenAnim) Func_110b9 -> SetAnimationQueueFrameFunc (ResetAnimationQueue) Func_110c2 -> UnsetAnimationQueueFrameFunc (FinishQueuedAnimations) make compare: poketcg2.gbc OK (symbol-only, byte-identical). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Description
Languages
Assembly
98%
Python
1.8%
C
0.2%