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

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

Revision as of 16:00, 1 August 2010

  • 0xC093 - Controller input
The format is as follows:
x....... - Down
.x...... - Up
..x..... - Left
...x.... - Right
....x... - Start
.....x.. - Select
......x. - B
.......x - A
  • 0xC094 - Controller input (for one frame)
  • 0xCA04 - Coins (a 2-byte value stored in decimal)
  • 0xCA5B - Treasures & keys for the current area
The format is as follows:
x....... - Blue treasure
.x...... - Green treasure
..x..... - Red treasure
...x.... - Gray treasure
....x... - Blue key
.....x.. - Green key
......x. - Red key
.......x - Gray key
  • 0xCA5C - Music coins