RAM: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Torchickens
No edit summary
Line 4: Line 4:
The RAM, like scratch paper is a database of writable variables in the game that are usually (except for SRAM) not kept when the game is powered off.
The RAM, like scratch paper is a database of writable variables in the game that are usually (except for SRAM) not kept when the game is powered off.


Example of RAM addresses include the current level and species of a wild Pokémon in battle, the player's current coordinates, the current music data and so on.
Examples of RAM addresses include the current level and species of a wild Pokémon in battle, the player's current coordinates, the current music data and so on.


The location of a RAM address in Game Boy games (like ROM addresses) are represented by two bytes, for example D059 in English Pokémon Red and Blue controls which Pokemon or Trainer will be encountered by the player.
The location of a RAM address in Game Boy games (like ROM addresses) are represented by two bytes, for example D059 in English Pokémon Red and Blue controls which Pokemon or Trainer will be encountered by the player.