User:MrMissingNo74/RAM map of Red and Green: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
Line 6: Line 6:
==WRAM==
==WRAM==


* C0EF = current sound bank
* C0F0 = saved sound bank
* CC35 = item, move, or Pokémon highlighted with Select
* CC35 = item, move, or Pokémon highlighted with Select
* CD38 = index for joypad simulation, if nonzero, disables collision but doesn't lock player
* CD38 = index for joypad simulation, if nonzero, disables collision but doesn't lock player
Line 14: Line 16:
* D157 to D182 = Pokémon 2
* D157 to D182 = Pokémon 2
* D183 to D1AE = Pokémon 3
* D183 to D1AE = Pokémon 3
* D1AF to D1DA = Pokémon
* D1AF to D1DA = Pokémon 4
* D1DB to D206 = Pokémon 5
* D1DB to D206 = Pokémon 5
* D207 to D232 = Pokémon 6
* D207 to D232 = Pokémon 6

Revision as of 11:15, 25 July 2023

This is a RAM map for Red and Green. When they were developing Red and Blue, they changed most of addresses (like wLastMap, which is D2E4 in these games but is D365 in Red and Blue), but some are still the same, these include CC35, C0EF, C0F0, and CD38.

This RAM map is really for all Japanese Generation I games.

SRAM

WRAM

  • C0EF = current sound bank
  • C0F0 = saved sound bank
  • CC35 = item, move, or Pokémon highlighted with Select
  • CD38 = index for joypad simulation, if nonzero, disables collision but doesn't lock player
  • D11D to D122 = player name
  • D123 = number of Pokémon
  • D124 to D12A = party info
  • D12B to D156 = Pokémon 1
  • D157 to D182 = Pokémon 2
  • D183 to D1AE = Pokémon 3
  • D1AF to D1DA = Pokémon 4
  • D1DB to D206 = Pokémon 5
  • D207 to D232 = Pokémon 6