Yu-Gi-Oh! The Sacred Cards/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
Line 8: Line 8:
   2020B10    2    Current Card ID
   2020B10    2    Current Card ID
   2020B1A    2    ? (magic_card_effect_id ?)
   2020B1A    2    ? (magic_card_effect_id ?)
  2020C38    2    ? (retrieved by instruction at 0x30368)
   2020C3C    4    Deck Capacity
   2020C3C    4    Deck Capacity
   2020C40    2    Duelist Level
   2020C40    2    Duelist Level

Revision as of 08:36, 1 December 2022

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

EU version

Address  Size    Description
-------- ----    -----------
 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)
 2023448         Player's sacrifices
 202347C    2    Player's Life Points
 202347E    2    CPU's Life Points
 20249F0    ?    ? (referenced at address 0x22590)