Decompilation of Pokémon Emerald
Go to file
2022-04-19 15:55:10 -04:00
.github Merge branch 'master' into romhack 2021-12-18 17:14:52 -05:00
asm Merge branch 'master' into romhack 2021-12-18 17:14:52 -05:00
berry_fix
common_syms Added day/night palette swapping. 2022-04-18 00:23:11 -04:00
constants
data Added day/night palette swapping. 2022-04-18 00:23:11 -04:00
docs
gflib Added LoadPaletteFast function. 2022-04-18 00:23:15 -04:00
graphics Added day/night palette swapping. 2022-04-18 00:23:11 -04:00
include Fixed shadow brightness during battle transition. 2022-04-19 15:55:10 -04:00
libagbsyscall
sound
src Fixed shadow brightness during battle transition. 2022-04-19 15:55:10 -04:00
tools
.gitattributes
.gitignore Merge branch 'master' into romhack 2021-12-18 17:14:52 -05:00
asmdiff.ps1
asmdiff.sh
build_tools.sh
charmap.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 Merge branch 'master' into romhack 2021-12-18 17:14:52 -05:00
make_tools.mk
Makefile
map_data_rules.mk
palette.py
README.md Updated README.md. 2021-12-22 23:28:27 -05:00
remote_build.sh
rom.sha1
songs.mk
spritesheet_rules.mk Added more follower footprint types. Credit: Sonikku-DatH 2022-02-07 23:06:38 -05:00
sym_bss.txt
sym_common.txt
sym_ewram.txt Rename pokenav_match_call_ui 2021-11-15 00:21:40 -05:00

Pokémon Emerald

This is a fork of the matching decompilation at PRET.

The general philosophy of this fork is to maintain vanilla behavior & compatibility where possible, especially in terms of data structures. For that reason, this fork does not increase the size of the save data structure or the object event structure, nor does it add a nature field to the Pokémon structure.

There are several branches, each with additional features compared to vanilla:

romhack 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.
  • A way to change a pokemon's nature while mangling its PID as little as possible.
  • Function to detect newer emulators/new GBA hardware.

icons branch:

  • Everything from the romhack 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 romhack 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.

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.