Treasure Master/RAM map

From Data Crystal
< Treasure Master
Revision as of 03:38, 7 October 2009 by 69.165.144.64 (talk) (rom->ram)
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Treasure Master.

Note: There may be an anti-cheat system to detect modifications to these variables.

Player status

  • $F5 - number of lives
  • $f6 - Health
  • $4D2 - Current item (See http://codepad.org/AZx35dWe for items)
  • $3E4 - invulnerability time
  • $435 - Oxygen level - max 0x80.
  • $3E4 - Character "state" (e.g. 00=normal, 01=Falling into water, 02=Swimming, 04=Sub)
  • $472+<item code> - inventory. (See http://codepad.org/AZx35dWe for current codes).
  • $4A2 - Bomb timer

Password

The password should be "3HDJL9DNQV2WYTV4S91RXR86". Serial number is located on the game registration card, which differs from each copy.

  • $016A to $0189 - Password/serial number information.
  • Password appears first in memory. Serial number is added after the password.

To convert password from memory format to human readable format, look at these conversions: 0'=00 '1'=01 '2'=02 '3'=03 '4'=04 '5'=05 '6'=06 '7'=07 '8'=08 '9'=09 'Q'=10 'Z'=12 'W'=13 'S'=14 'X'=15 'D'=17 'C'=18 'R'=19 'F'=20 'V'=21 'T'=22 'G'=23 'B'=24 'Y'=25 'H'=26 'N'=27 'J'=29 'M'=30 'K'=32 'L'=34 'P'=35 '!'=38

Alternatively, check the PPU when looking at the password screen.

Other

  • $F3 - Current map
  • $558 - X