If you are still using the old URL (datacrystal.romhacking.net), please update your bookmarks! The old URL may stop working soon.
The current URL is datacrystal.tcrf.net.
The current URL is datacrystal.tcrf.net.
Pokémon Trading Card Game/RAM map
Jump to navigation
Jump to search
The following article is a RAM map for Pokémon Trading Card Game.
Address Size Description ------- ---- ----------- A101 227 Cards (including built decks) (SRAM) C001 227 Cards (excluding built decks) C200 60 P1 card positions during battle C27E 60 P1 deck card order during battle C2BB 6 P1 Pokémon on the field IDs C2C8 6 P1 Pokémon HPs C300 60 P2 card positions during battle C37E 60 P2 deck card order during battle C3BB 6 P2 Pokémon on the field IDs C3C8 6 P2 Pokémon HPs C400 60 During battle : P1 deck Out of battle : Booster pack C480 60 P2 deck C591 20 Text to be copied to VRAM CAC5 1 Time (frames) CAC6 1 Time (seconds) CAC7 1 Time (minutes) CAC8 2 Time (hours) CACA 2 Pseudo Random Number Its value changes on: • coin toss (once) • deck shuffle (once) • random Attack (e. g. Lv. 68 Zapdos's Big Thunder) (once) • random Pokémon Power (e. g. L. 40 Moltres's Firegiver) (once) • CPU cheating (rerolled until desired result) • Tutorial battle (set to predetermined value) • new game / continue menu (every frame) • start menu (every frame) • building (every 60 frames) CACC 1 PRNG advance in menus and buildings CC0B 1 Amount of Energy cards played this turn CC0D 1 Current player's turn CDD2 1 P1 Prizes left CF68 32 Amount of each card in selected color (deck builder) CFEF 20 Deck name D0BB 1 Room ID D0BC 1 x coordinate D0BD 1 y coordinate D11E 14 Mail ID D32F 1 Room ID (Copy) D3D2 1 Medals 1:D334 1 Direction of character 00 : Up 01 : Right 02 : Down 03 : Left 1:D4D5 1 Direction of character 1E : Up 1F : Right 20 : Down 21 : Left 1:D4D7 1 Direction of character 05 : Up DA : Right E9 : Down 00 : Left