Difference between revisions of "Wario Land 3:RAM map"

From Data Crystal
Jump to: navigation, search
(Undo revision 23006 by K3fka (Talk))
Line 1: Line 1:
 
{{rammap|game=Wario Land 3}}
 
{{rammap|game=Wario Land 3}}
* <tt>0xC093</tt> - Controller input
+
* <tt>0xCA04</tt> = Coins (first digit)
The format is as follows:
+
* <tt>0xCA05</tt> = Coins (last two digits)
x....... - Down
+
** 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.
.x...... - Up
 
..x..... - Left
 
...x.... - Right
 
....x... - Start
 
.....x.. - Select
 
......x. - B
 
.......x - A
 
  
* <tt>0xC094</tt> - Controller input (for one frame)
+
* <tt>0xCA5B</tt> = Keys
 
+
This is a 4-bit binary value. The format is as follows:
* <tt>0xCA04</tt> - Coins (a 2-byte value stored in decimal)
+
  xxxx.... - Unused
 
+
  ....x... - Blue Key
* <tt>0xCA5B</tt> - Treasures & keys for the current area
+
  .....x.. - Green Key
The format is as follows:
+
  ......x. - Red Key
  x....... - Blue treasure
+
  .......x - Gray Key
  .x...... - Green treasure
+
  This value is then translated into hex.
  ..x..... - Red treasure
+
Example 1: You have only a gray key. The binary value would be 00000001. In hex, this would be 01.
  ...x.... - Gray treasure
+
  Example 2: You have both the blue and green keys. The binary value would be 00001100. In hex, this would be 0C.
  ....x... - Blue key
+
  Example 3: You have all the keys. The binary value would be 00001111. In hex, this would be 0F.
  .....x.. - Green key
+
* <tt>0xCA5C</tt> = Musical Coins
  ......x. - Red key
 
  .......x - Gray key
 
 
 
* <tt>0xCA5C</tt> - Music coins
 
  
 
[[Category: Wario Land 3]]
 
[[Category: Wario Land 3]]

Revision as of 16:01, 1 August 2010

  • 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.
  • 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