Yu-Gi-Oh! The Sacred Cards/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Yu-Gi-Oh! The Sacred Cards.

EU version

Address  Size    Description
-------- ----    -----------
 201FCB0    1    Whether or not the display is up to date
                 0 - Not updated
                 1 - Updated
 2020771         Cards in Trunk
 2020B0C    4    Current Card Cost
 2020B10    2    Current Card ID
 2020B1A    2    ? (magic_card_effect_id ?)
 2020C38    2    ? (retrieved by instruction at 0x30368)
 2020C3C    4    Deck Capacity
 2020C40    2    Duelist Level
 2020C58    1    Number of cards in Player's Deck
 2020C5A   80    Player's Deck
 2020D70    2    Player's Initial Life Points
 2020D72    2    CPU's Initial Life Points
 2020DA0         Money
 2023126    2    AI - Player's Life Points
 202312E    2    Current damage being dealt
 2023138    1    Damage type
                 1 - 
                 2 - 
                 3 - 
                 4 - 
                 5 - 
                 6 - 
                 7 - 
                 8 - 
                 9 - Direct damage spell
 2023188   10    CPU Monster Zones cards IDs
 20231A8         AI - ?
 20231B0         Player's Monster card zone
 20231D8         Player's Spell & Trap zone
 2023250    1    Field
                 0 - Arena
                 1 - Forest
                 2 - Wasteland
                 3 - Mountain
                 4 - Sogen
                 5 - Umi
                 6 - Yami
 2023260    4    ? (4-byte pointer to another RAM address)
 2023270         ? (bunch of 4-bytes pointers to RAM addresses)
 2023284         ? (4-bytes pointers to RAM addresses, used in card effect at function 0x2C6FA)
 2023298    4    ? (4-bytes pointer to a RAM address, used in unused card effect at function 0x2E50A)
 2023390   80    Player's deck
 20233E0    1    Number of cards remaining in Player's Deck
 20233E4   80    CPU's deck
 2023434    1    Number of cards remaining in CPU's Deck
 2023448         Player's sacrifices
 202347C    2    Player's Life Points
 202347E    2    CPU's Life Points
 2023490    2    ? (retrieved by function 0x306FE)
 2023492    2    ? (retrieved by function 0x306FE)
 2023494    2    ? (retrieved by function 0x306FE)
 20249F0    ?    ? (referenced at address 0x22590)