Decompilation of Pokémon Emerald
Go to file
AZero13 22b7864531 makefile: For modern, use -fno-strict-aliasing
So much type-punning causes things to not work on modern compilers. Additionally, -fno-toplevel-reorder is only needed for files with COMMON, as otherwise gcc will break this, so only have them for the two files that need it.

Resulting rom tested on real hardware and mGBA.
2026-04-05 13:58:19 -04:00
.github Use apt update before installing bin utils 2026-01-18 20:14:16 +01:00
asm Added macro for Surf/Muddy Water's animation (#2232) 2026-02-06 10:08:20 -05:00
constants Document m4a xcmd_0C 2025-12-27 01:11:40 +00:00
data Added macro for Surf/Muddy Water's animation (#2232) 2026-02-06 10:08:20 -05:00
docs Cleaned trailing whitespace 2022-09-11 14:14:49 -04:00
graphics Renamed building and stadium palettes to be more accurate 2026-01-18 18:19:03 -05:00
include Make codebase more friendly to modern ARM compilers 2026-04-05 13:58:19 -04:00
libagbsyscall Fix $(AR) define, remove \u warns on macOS. 2021-01-04 11:35:59 -05:00
sound Use -E for all midis 2026-03-21 10:14:58 -05:00
src Make codebase more friendly to modern ARM compilers 2026-04-05 13:58:19 -04:00
tools Add --set-agbl option to wav2agb 2025-12-28 08:50:34 -06:00
.gitattributes Add missing files to .gitattributes. 2020-11-08 20:13:21 -05:00
.gitignore Ignore mGBA screenshots 2024-10-01 10:07:45 +02:00
asmdiff.ps1 Remove debug printing 2019-04-07 19:18:42 -05:00
asmdiff.sh Don't assume bash is at /bin/bash 2024-05-29 19:32:17 -04:00
audio_rules.mk Convert .aif files to .wav (#2213) 2025-12-01 09:01:26 -06:00
build_tools.sh Update deprecated build_tools script 2019-08-27 09:15:44 -04:00
charmap.txt Review changes 2023-03-05 17:17:39 -03:00
graphics_file_rules.mk switched from head -c 12 to dd bs=1 count=12, to successful compiling with OpenBSD (#2091) 2025-10-14 09:35:53 +01:00
INSTALL.md add arm-none-eabi-newlib to required arch linux packages 2025-11-20 09:46:02 +01:00
json_data_rules.mk Generate heal location constants automatically, move data back to a single file. 2025-02-03 20:25:11 -05:00
ld_script_modern.ld chore(linker): add dwarf5 line number section to ld script (#2235) 2026-02-15 15:03:12 +00:00
ld_script.ld Convert last 3 .s files to .midi 2026-03-21 09:35:45 -05:00
make_tools.mk Convert .aif files to .wav (#2213) 2025-12-01 09:01:26 -06:00
Makefile makefile: For modern, use -fno-strict-aliasing 2026-04-05 13:58:19 -04:00
map_data_rules.mk Generate heal location constants automatically, move data back to a single file. 2025-02-03 20:25:11 -05:00
README.md Replaced decomp list with pret.github.io link 2023-08-30 00:08:19 -04:00
rom.sha1 Make rom.sha1 lowercase to fix erroneous comparison results on *nix 2017-09-06 09:20:49 -04:00
spritesheet_rules.mk Add spritesheet rules for healthbox graphics (#2180) 2025-10-19 18:32:19 +01:00
sym_bss.txt remove gflib 2024-09-18 10:37:34 -04:00
sym_common.txt Remove explicit symbol sizes in sym_common.txt 2024-09-25 16:14:10 -04:00
sym_ewram.txt remove gflib 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.