Decompilation of Pokémon Emerald
Go to file
DavidJCobb 7fd0029ed7
Add typedefs for MAPSEC and METLOC values (#2183)
Added typedefs: mapsec_t, metloc_t, and variants for MAPSEC and METLOC values. There are some rough edges that could do with smoothing out, but for now, this gets us close to ideal with a ROM that compares equal.

Per feedback, all typedefs to mention the underlying type within the typedef name. The documentation comments reflect and explain the naming convention.

Updated comments to reflect the fact that we're no longer using SET8 for a Pokemon's met locations, in favor of a new macro (added by this PR) that adjusts to match the width of whatever is being set.
2025-10-19 17:37:13 +01:00
.github Fix libpng installation for workflow on Ubuntu 24.04 2024-10-11 13:29:16 -04:00
asm Key split restructure (#2168) 2025-08-02 02:11:50 +01:00
constants Add include guards for assembly constants files 2023-09-03 20:57:54 -04:00
data Rename passive damage hitmarker (#2174) 2025-08-21 13:43:19 +01:00
docs Cleaned trailing whitespace 2022-09-11 14:14:49 -04:00
graphics Fixes for Mirage Tower graphics (#2120) 2025-04-14 08:12:45 +02:00
include Add typedefs for MAPSEC and METLOC values (#2183) 2025-10-19 17:37:13 +01:00
libagbsyscall Fix $(AR) define, remove \u warns on macOS. 2021-01-04 11:35:59 -05:00
sound Key split restructure (#2168) 2025-08-02 02:11:50 +01:00
src Add typedefs for MAPSEC and METLOC values (#2183) 2025-10-19 17:37:13 +01:00
tools Allow names for voicegroups and use a macro for use with drumsets (#2149) 2025-07-30 19:43:08 +01: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 Add missing terminal newlines 2024-08-31 00:53:23 -04: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 INSTALL.MD updated for OpenBSD (#2186) 2025-10-14 12:30:26 +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 Get rid of common syms (#2040) 2024-10-14 23:52:11 -04:00
ld_script.ld Get rid of common syms (#2040) 2024-10-14 23:52:11 -04:00
make_tools.mk Merge branch 'master' of https://github.com/pret/pokeemerald into build-makefile-cleanup 2024-08-31 00:17:07 -04:00
Makefile Fix wrong keep temps files directory in makefile 2025-06-22 11:26:31 +02: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 Color single-palette door anim graphics 2022-05-18 12:41:20 -04: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.