Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Pokémon Trading Card Game/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 37: Line 37:
   CDD2      1    P1 Prizes left
   CDD2      1    P1 Prizes left
   CF68    32    Amount of each card in selected color (deck builder)
   CF68    32    Amount of each card in selected color (deck builder)
   CFF0     20    Deck name
   CFEF     20    Deck name
   D0BB      1    [[Pokémon Trading Card Game:Notes#Room_IDs|Room ID]]
   D0BB      1    [[Pokémon Trading Card Game:Notes#Room_IDs|Room ID]]
   D0BC      1    x coordinate
   D0BC      1    x coordinate

Revision as of 19:21, 3 August 2015

Chip tiny.png 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