Decompilation of Pokémon Emerald
Go to file
2023-03-13 17:51:35 -04:00
.github Merge branch 'master' into followers 2023-01-29 18:44:06 -05:00
asm
common_syms
constants
data Fixed bug with applymovement not hiding followers after a battle. 2023-03-13 17:51:35 -04:00
docs
gflib Merge branch 'master' into followers 2023-01-29 18:44:06 -05:00
graphics Merge branch 'master' into followers 2023-01-29 18:44:06 -05:00
include Merge branch 'master' into followers 2023-01-29 18:44:06 -05:00
libagbsyscall
sound
src Cherry-pick of d6bac9895: Fixed contest palette load errors. 2023-02-19 01:13:57 -05:00
tools Report JSON field names in errors 2023-01-17 16:25:33 -05:00
.gitattributes
.gitignore
asmdiff.ps1
asmdiff.sh
build_tools.sh
charmap.txt
compile_flags.txt
emotions.txt
extract_sprites.py
follower_emotions.py
front_palette.py
graphics_file_rules.mk
INSTALL.md
json_data_rules.mk
ld_script_modern.txt
ld_script.txt
make_tools.mk
Makefile
map_data_rules.mk
palette.py
README.md Updated README with new branches. 2023-02-10 19:59:02 -05:00
remote_build.sh
rom.sha1
songs.mk
spritesheet_rules.mk
sym_bss.txt
sym_common.txt
sym_ewram.txt

Pokémon Emerald

This is a fork of the matching decompilation at PRET.

This fork tries to maintain vanilla compatibility whenever possible. It doesn't increase the size of any save data structure or the object event structure.

There are several branches, each with one main feature (and sometimes some extra stuff):

followers branch:

  • HGSS-style pokémon followers for all 386 pokémon, including emotes, the 28 Unown forms and a majority of follower messages.
  • Dynamic overworld palettes & reflections compatible with vanilla berry trees.
  • PID (but not legitimacy) preserving Pokémon nature-changing function
  • Function to detect modern emulators/GBA hardware.

icons branch:

  • Everything from the followers branch.
  • All pokemon icons updated to Gen 6, based on this repo
  • This includes compatibility with the PC, trade, contests, mail, Battle Dome. Examples: PC Party Contest
  • Icons share palettes with front sprites, meaning that shiny pokemon will also have shiny icons!

lighting branch:

  • Everything from the followers branch.
  • Day/night shading compatible with weather.
  • GSC-style window lights.
  • WIP interframe-blended lamp lights at night, i.e in Rustboro.
  • HGSS-style alpha-blended shadows for object events.

Additional branches to mention:

  • followers-expanded-id - like followers, but includes backwards-compatible 16-bit graphics IDs for object events.
  • lighting-expanded-id - like the above but for lighting.

To set up the repository, see INSTALL.md.

See also

Other disassembly and/or decompilation projects:

Contacts

You can find PRET on Discord and IRC.