Martin Griffin 731ad5bfd6 Report SaveBlock1/SaveBlock2/PokemonStorage usage (#2364)
Memory region         Used Size  Region Size  %age Used
           EWRAM:      249700 B       256 KB     95.25%
           IWRAM:       30892 B        32 KB     94.27%
             ROM:    14929764 B        32 MB     44.49%
      SaveBlock1:       15752 B      15872 B     99.24%
      SaveBlock2:        3884 B       3968 B     97.88%
  PokemonStorage:       33744 B      35712 B     94.49%

If the 'struct' doesn't fit the space allocated for it you'll get an
error, e.g. increasing 'TOTAL_BOXES' to 15 causes:
  arm-none-eabi-ld: region `PokemonStorage' overflowed by 444 bytes

The Hall of Fame, Recorded Battle, and Trainer Hill regions are not
included in the memory region output.

'memory.txt' may contain 'cpp' directives. Any output from '#include'd
files is discarded.
2026-10-01 20:02:13 +01:00
2025-12-27 01:11:40 +00:00
2022-09-11 14:14:49 -04:00
2026-06-17 14:14:19 +01:00
2019-04-07 19:18:42 -05:00
2024-05-29 19:32:17 -04:00
2026-07-20 13:42:58 +01:00
2024-09-18 10:37:34 -04:00
2024-09-18 10:37:34 -04:00

Pokémon Emerald

This is a decompilation of Pokémon Emerald.

It builds the following ROM:

To set up the repository, see INSTALL.md.

For contacts and other pret projects, see pret.github.io.

Languages
C 75.6%
Assembly 20.1%
C++ 3.9%
Linker Script 0.2%
Makefile 0.2%