Medarot 3/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
Line 16: Line 16:


* 5:D150 = Name of first medal
* 5:D150 = Name of first medal
==RNG==
* C4A0 = Randomly generated number (Sum of both seeds)
* C460 = Frame counter (used for random number generation)
* C4BC = Seed #1 for RNG
* C4BD = Seed #2 for RNG


==SRAM==
==SRAM==

Latest revision as of 02:30, 31 January 2025

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

  • C116 = PLAYX (Player's X position)
  • C117 = PLAYY (Player's Y position)
  • C480-C483? = State machine
  • C620 = Map ID high byte
  • C621 = Map ID low byte
  • C62A = MAPX (Horizontal scroll position)
  • C62B = MAPY (Vertical scroll position)
  • C670-C671 = Money (Big endian)
  • C7A5 = Current shop
  • 5:D150 = Name of first medal

RNG

  • C4A0 = Randomly generated number (Sum of both seeds)
  • C460 = Frame counter (used for random number generation)
  • C4BC = Seed #1 for RNG
  • C4BD = Seed #2 for RNG

SRAM

  • 0:A000-A00F = ASCII string, used to determine if save exists
  • 0:A000-BFEF = Checksum region
  • 0:BFFD = Save file present
  • 0:BFEE-BFEF = 16-bit big endian checksum