Test User 51edd23b09 Func_* labeling: name the overworld/animation frame-function cluster
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>
2026-06-06 17:48:27 -04:00
2022-05-14 17:42:59 -05:00
2021-10-15 12:43:42 -05:00
2025-12-06 15:09:54 -06:00
2026-03-29 08:49:21 -05:00
2021-10-15 12:43:42 -05:00

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
Disassembly of Pokémon TCG 2
Readme 36 MiB
Languages
Assembly 98%
Python 1.8%
C 0.2%