Wario Land 3/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
** Note: This value is stored as a decimal value; for example, when you have 99 coins, this is stored as 99 in hex, not 63 as you might expect.
** Note: This value is stored as a decimal value; for example, when you have 99 coins, this is stored as 99 in hex, not 63 as you might expect.
* <tt>0xCA06</tt> = Current Level
* <tt>0xCA06</tt> = Current Level
* <tt>0xCA39</tt> = Number of treasures (first digit)
* <tt>0xCA3A</tt> = Number of treasures (last two digits)
** Note: This value is stored as a decimal value; for example, when you have 99 treasures, this is stored as 99 in hex, not 63 as you might expect.
* <tt>0xCA3B</tt> = Day/Night (day when bit 0 = 0; night when bit 0 = 1)
* <tt>0xCA3B</tt> = Day/Night (day when bit 0 = 0; night when bit 0 = 1)
* <tt>0xCA3C</tt> = Wario's power-ups (values 0A-0C do not affect Wario, but they do change the Action Help screen to the special screens for certain situations)
* <tt>0xCA3C</tt> = Wario's power-ups (values 0A-0C do not affect Wario, but they do change the Action Help screen to the special screens for certain situations)
* <tt>0xCA46</tt> = Language (00 = Japanese; 01 = English)
* <tt>0xCA46</tt> = Language (Japanese when bit 0 = 0; English when bit 0 = 1)


* <tt>0xCA5B</tt> = Keys
* <tt>0xCA5B</tt> = Keys

Revision as of 03:11, 21 April 2015

Chip tiny.png The following article is a RAM map for Wario Land 3.

General

  • 0xCA04 = Coins (first digit)
  • 0xCA05 = Coins (last two digits)
    • Note: This value is stored as a decimal value; for example, when you have 99 coins, this is stored as 99 in hex, not 63 as you might expect.
  • 0xCA06 = Current Level
  • 0xCA39 = Number of treasures (first digit)
  • 0xCA3A = Number of treasures (last two digits)
    • Note: This value is stored as a decimal value; for example, when you have 99 treasures, this is stored as 99 in hex, not 63 as you might expect.
  • 0xCA3B = Day/Night (day when bit 0 = 0; night when bit 0 = 1)
  • 0xCA3C = Wario's power-ups (values 0A-0C do not affect Wario, but they do change the Action Help screen to the special screens for certain situations)
  • 0xCA46 = Language (Japanese when bit 0 = 0; English when bit 0 = 1)
  • 0xCA5B = Keys
This is a 4-bit binary value. The format is as follows:
xxxx.... - Unused
....x... - Blue Key
.....x.. - Green Key
......x. - Red Key
.......x - Gray Key
This value is then translated into hex.
Example 1: You have only a gray key. The binary value would be 00000001. In hex, this would be 01.
Example 2: You have both the blue and green keys. The binary value would be 00001100. In hex, this would be 0C.
Example 3: You have all the keys. The binary value would be 00001111. In hex, this would be 0F.
  • 0xCA5C = Musical Coins