Decompilation of Pokémon Emerald
Go to file
2022-06-28 21:01:48 -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 Merge branch 'romhack' into lighting 2022-06-28 00:07:23 -04:00
docs
gflib Added LoadPaletteFast function. 2022-04-18 00:23:15 -04:00
graphics Merge branch 'romhack' into lighting 2022-06-28 00:07:23 -04:00
include Merge branch 'romhack' into lighting 2022-05-18 20:14:22 -04:00
libagbsyscall
sound
src Fixed time of day optimization. 2022-06-28 21:01:48 -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 Added time-of-day related follower messages. 2022-05-03 23:20:43 -04:00
extract_sprites.py
follower_emotions.py Added time-of-day related follower messages. 2022-05-03 23:20:43 -04:00
front_palette.py
graphics_file_rules.mk
INSTALL.md
json_data_rules.mk
ld_script_modern.txt
ld_script.txt Added system for conditional follower messages. 2022-05-03 23:01:02 -04: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 Updated remote_build to use --force-with-lease instead of --force. 2022-05-01 14:23:45 -04:00
rom.sha1
songs.mk
spritesheet_rules.mk Added follower transform effect and Castform forms. Credit: larryturbo 2022-05-18 19:12:30 -04:00
sym_bss.txt
sym_common.txt
sym_ewram.txt

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.