Go to file
PokeCF 760baec098
Unnest if statements
Overall, it is generally considered bad style to continually nest loops. However, if this is what the decompiler outputted, then why bother touching it?

However, this can be rewritten as returning early if the playtime is less than 60.

The reason for this is not because of the original code, but because it looks better, has the same output, and is easier to understand.
2020-06-08 17:09:54 -04:00
.travis/calcrom Celebratory change to calcrom.pl 2020-03-03 16:29:57 -05:00
asm Sync map header property names with pokefirered 2020-04-28 19:59:08 -05:00
berry_fix consistency with pokefirered 2020-05-27 07:58:04 -05:00
common_syms Document pokedex.c 2020-03-09 16:24:01 -04:00
constants Use constants in io_reg.s 2019-11-04 16:26:09 -06:00
data Use fixed point macros for math util 2020-05-24 08:28:02 -05:00
docs Update bugs_and_glitches.md 2020-05-12 17:21:16 -07:00
gflib Fix the fix 2020-05-20 19:33:40 -07:00
graphics Revert "More transitions documentation" 2020-06-01 18:05:31 -04:00
include shop: document some constants s.t. object events don't break 2020-06-03 19:55:15 -05:00
libagbsyscall libagbsyscall as an actual lib 2019-09-08 21:26:46 -04:00
sound Finalized pull request. 2020-04-15 13:35:12 -04:00
src Unnest if statements 2020-06-08 17:09:54 -04:00
tools Merge pull request #1027 from PikalaxALT/gbagfx_tilemap 2020-05-29 16:49:46 -04:00
.gitattributes Add LF normalization for .sh files 2019-06-16 00:41:35 +01:00
.gitignore Changed to ignore all mGBA's savestates. 2020-03-06 01:28:11 -03:00
.travis.yml Bump devkitARM 2020-04-04 16:09:36 -04:00
asmdiff.ps1 Remove debug printing 2019-04-07 19:18:42 -05:00
asmdiff.sh sub_8024BC8 2019-03-24 17:32:59 -04:00
build_tools.sh Update deprecated build_tools script 2019-08-27 09:15:44 -04:00
charmap.txt consistency with pokefirered 2020-05-27 07:58:04 -05:00
graphics_file_rules.mk make battle transition OK ok Ok oK 2020-06-02 13:30:05 +02:00
INSTALL.md Fix the source of pain and suffering for the last 2 years. 2020-03-09 16:20:53 -04:00
json_data_rules.mk Fix building 2019-05-08 17:06:39 -05:00
ld_script_modern.txt fix modern 2020-02-16 14:24:06 -05:00
ld_script.txt Sync minigame_countdown 2020-04-08 17:23:32 -04:00
Makefile Fix building modern from clean 2020-05-15 09:53:06 -04:00
map_data_rules.mk Fix make to look for .json files instead of folders 2019-03-05 01:46:20 -05:00
README.md Bump discord invite 2019-11-25 18:38:13 -06:00
rom.sha1 Make rom.sha1 lowercase to fix erroneous comparison results on *nix 2017-09-06 09:20:49 -04:00
songs.mk Update se_z_search.mid 2019-03-24 16:37:27 -05:00
spritesheet_rules.mk Update spritesheet rules 2020-02-12 18:07:13 -06:00
sym_bss.txt Sync digit_obj_util 2020-04-08 16:27:11 -04:00
sym_common.txt Port librfu from firered 2020-02-16 13:49:36 -05:00
sym_ewram.txt Sync digit_obj_util 2020-04-08 16:27:11 -04:00

Pokémon Emerald

Build Status

This is a decompilation of Pokémon Emerald.

It builds the following ROM:

To set up the repository, see INSTALL.md.

See also

Other disassembly and/or decompilation projects:

Contacts

You can find us on Discord and IRC.