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.

Yu-Gi-Oh! Worldwide Edition: Stairway to the Destined Duel/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 6: Line 6:
                   vv wx yy zz
                   vv wx yy zz
                   v - Cards in Trunk
                   v - Cards in Trunk
                   w - Cards in Deck (2 most-significant bits)
                   w - Cards in Sideboard (2 less-significant bits)
                   x - Cards in Sideboard
                   x - Cards in Deck (2 most-significant bits)
   2013C28  160   Player's Deck
                  y - bit 2: Password entered
   2013C28  120  Player's Deck
  2013CBE    40   Player's Fusion Deck
   2013CE8    1  Quantity of cards in Player's Deck
   2013CE8    1  Quantity of cards in Player's Deck
   2013CEA    1  Quantity of cards in Player's Sideboard
   2013CEA    1  Quantity of cards in Player's Sideboard
   2013CF8  112  Number of Wins / Losses against CPU opponents
   2013CF8  112  Number of Wins / Losses against CPU opponents
  2013D7C    2  Duel Points
   2013D7E    1  Event flag ? (4th bit gets set after Pyramid is completed)
   2013D7E    1  Event flag ? (4th bit gets set after Pyramid is completed)
   2013D7F    2  Event handler ? (checked by Pyramid script among other things)
   2013D7F    2  Event handler ? (checked by Pyramid script among other things)
Line 23: Line 26:
                   For example, Mind-Controlled Tea is 0x180; bits 8 and 9 are set
                   For example, Mind-Controlled Tea is 0x180; bits 8 and 9 are set
   2017B21    1  Stars needed to Ritual Summon
   2017B21    1  Stars needed to Ritual Summon
   2018EF4     2  P1 Life Points
   2017FB7    1  ? (bitflags used during card resolution ?)
   2018FE4     ?   ? (loaded at 0x6868E)
  20182C0    1  ? (Card type ID for card being played?)
  20182C8    1  ? (Card subtype ID for card being played?)
  20182C2     2  Remaining amount of points to apply (Life Points gain, Damage, etc.)
   2018ACA     1   ? (probably indicates if the duel is continuing, if it's won or lost)
  2018ACC    ?  ?
  2018FE4    2  P1 Life Points
   2018FE7    1  Quantity of cards in Player's Deck
   2018FE7    1  Quantity of cards in Player's Deck
   20197A8  320  P1 Deck during duel (shuffled)
   20197A8  320  P1 Deck during duel (shuffled)
Line 31: Line 39:
   201A50C  320  P2/CPU Deck during duel (shuffled). card_ids + 0x1000
   201A50C  320  P2/CPU Deck during duel (shuffled). card_ids + 0x1000
   201D4DC    2  Column during a duel
   201D4DC    2  Column during a duel
  201D50C    2  ? (Used in Life Points management subroutine, as bitflags)
   201DE40    2  Position in Trunk
   201DE40    2  Position in Trunk
   201DE64        Player's Trunk
   201DE64        Player's Trunk
Line 39: Line 48:
   Address  Size  Description
   Address  Size  Description
  --------  ----  -----------
  --------  ----  -----------
  3000040    4  Pseudo-Random Number
   3000045    1  Pressed Trigger
   3000045    1  Pressed Trigger
                   FD - R
                   FD - R
Line 54: Line 64:
                   FD - R
                   FD - R
                   FE - L
                   FE - L
   30048B0    1  ?
   30048B0    1  cpu_opponent_internal_id
   3007A48    88  Stores types of cards in Player's deck before a duel begins
   3007A48    88  Stores types of cards in Player's deck before a duel begins


{{Internal Data|game=Yu-Gi-Oh! Worldwide Edition: Stairway to the Destined Duel}}
{{Internal Data|game=Yu-Gi-Oh! Worldwide Edition: Stairway to the Destined Duel}}

Latest revision as of 18:36, 2 April 2024

Chip tiny.png The following article is a RAM map for Yu-Gi-Oh! Worldwide Edition: Stairway to the Destined Duel.

EWRAM

 Address  Size   Description
--------  ----   -----------
 2011C2C  4324   Cards owned
                 vv wx yy zz
                 v - Cards in Trunk
                 w - Cards in Sideboard (2 less-significant bits)
                 x - Cards in Deck (2 most-significant bits)
                 y - bit 2: Password entered
 2013C28   120   Player's Deck
 2013CBE    40   Player's Fusion Deck
 2013CE8     1   Quantity of cards in Player's Deck
 2013CEA     1   Quantity of cards in Player's Sideboard
 2013CF8   112   Number of Wins / Losses against CPU opponents
 2013D7C     2   Duel Points
 2013D7E     1   Event flag ? (4th bit gets set after Pyramid is completed)
 2013D7F     2   Event handler ? (checked by Pyramid script among other things)
 2013D88     1   Card Limit option locked / unlocked (0xF)
 2013E04     2   Current Card ID
 2013E2C     2   Current displayed Monster ATK
 2013E30     2   Current displayed Monster DEF
 2014870     ?   ? (I'm on it atm)
 2014884     ?   ? (I'm on it atm, pointed at by instruction at 0x2C5A)
 2015BEC     4   CPU opponent group flags
                  For example, Mind-Controlled Tea is 0x180; bits 8 and 9 are set
 2017B21     1   Stars needed to Ritual Summon
 2017FB7     1   ? (bitflags used during card resolution ?)
 20182C0     1   ? (Card type ID for card being played?)
 20182C8     1   ? (Card subtype ID for card being played?)
 20182C2     2   Remaining amount of points to apply (Life Points gain, Damage, etc.)
 2018ACA     1   ? (probably indicates if the duel is continuing, if it's won or lost)
 2018ACC     ?   ?
 2018FE4     2   P1 Life Points
 2018FE7     1   Quantity of cards in Player's Deck
 20197A8   320   P1 Deck during duel (shuffled)
 2019D48     2   P2/CPU Life Points
 2019D4B     1   Quantity of cards in CPU's Deck
 201A50C   320   P2/CPU Deck during duel (shuffled). card_ids + 0x1000
 201D4DC     2   Column during a duel
 201D50C     2   ? (Used in Life Points management subroutine, as bitflags)
 201DE40     2   Position in Trunk
 201DE64         Player's Trunk
 201E6E2   160   Player's Deck (60 Deck + 20 Fusion)
 201E782    30   Player's Side Deck

IWRAM

 Address  Size   Description
--------  ----   -----------
 3000040     4   Pseudo-Random Number
 3000045     1   Pressed Trigger
                 FD - R
                 FE - L
 3000048     1   Joypad input
                 01 - A
                 02 - B
                 04 - Select
                 08 - Start
                 10 - →
                 20 - ←
                 40 - ↑ 
                 80 - ↓
 3000049     1   Pressed Trigger
                 FD - R
                 FE - L
 30048B0     1   cpu_opponent_internal_id
 3007A48    88   Stores types of cards in Player's deck before a duel begins