Decompilation of Pokémon Pinball: Ruby & Sapphire
Go to file
Δelta a1ddcdc356
Some checks are pending
CI / build (push) Waiting to run
Decompile functions: sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, sub_50B80, added variables and fixed currentpinballgame struct (#127)
* Decompiled sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, and sub_50B80 added gUnknown_0200C668,gUnknown_0200EA58,gUnknown_0200BAE8,gUnknown_0200BBA0 to variables.h

* Correct PinballGame struct field at offset 0x1BC thanks to @Retn
Correct struct access in sub_50B80
Remove section .text50AD4 from linker script

* Deleted expected objects

* cleanup

---------

Co-authored-by: THCFree <me@thcfree.dev>
Co-authored-by: Marcus Huderle <huderlem@gmail.com>
2025-07-05 10:27:15 -05:00
.github Update PR template; minor style fix 2025-02-15 10:52:04 -06:00
asm Decompile functions: sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, sub_50B80, added variables and fixed currentpinballgame struct (#127) 2025-07-05 10:27:15 -05:00
common_syms convert hardcoded ROM addresses to symbols in asm 2019-08-04 10:34:11 -05:00
constants Revoke execute permissions 2023-06-16 20:18:38 -05:00
data define several const vals (#120) 2025-06-30 08:52:00 -05:00
expected_objs Decompile functions: sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, sub_50B80, added variables and fixed currentpinballgame struct (#127) 2025-07-05 10:27:15 -05:00
graphics add unk13BC struct 2025-06-10 08:04:16 -05:00
include Decompile functions: sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, sub_50B80, added variables and fixed currentpinballgame struct (#127) 2025-07-05 10:27:15 -05:00
src Decompile functions: sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, sub_50B80, added variables and fixed currentpinballgame struct (#127) 2025-07-05 10:27:15 -05:00
tools add unk13BC struct 2025-06-10 08:04:16 -05:00
.gitattributes replace build_tools.sh with make tools 2020-07-21 19:37:41 -05:00
.gitignore Decompile sub_2414 2025-02-15 10:52:04 -06:00
asmdiff.sh through sub_2768 2021-07-23 09:32:38 -05:00
baserom.xdelta Create build workflow 2021-07-23 10:49:36 -04:00
charmap.txt Revoke execute permissions 2023-06-16 20:18:38 -05:00
extract.py Dump Gb Player screen data 2025-05-31 12:13:15 -05:00
graphics_rules.mk Revoke execute permissions 2023-06-16 20:28:40 -05:00
INSTALL.md Revoke execute permissions 2023-06-16 20:18:38 -05:00
ld_script.sed Revoke execute permissions 2023-06-16 20:18:38 -05:00
ld_script.txt Decompile functions: sub_50F04, nullsub_20 sub_50DE8, sub_50DB8, sub_50B80, added variables and fixed currentpinballgame struct (#127) 2025-07-05 10:27:15 -05:00
Makefile Read C constants in asm (credit: shinny) 2025-02-01 20:43:07 -03:00
objdiff.json Add expected_objs 2024-09-27 20:55:53 -05:00
permuter_settings.toml Update permuter_settings.toml 2023-08-13 15:05:18 -05:00
pokepinballrs.sha1 Revoke execute permissions 2023-06-16 20:18:38 -05:00
README.md Replaced decomp list with pret.github.io link 2023-08-30 18:37:40 -04:00
sym_bss.txt Revoke execute permissions 2023-06-16 20:18:38 -05:00
sym_common.txt Revoke execute permissions 2023-06-16 20:18:38 -05:00
sym_ewram.txt Decompile sub_195C4, sub_19734 and sub_19894 (#125) 2025-06-30 08:40:49 -05:00

Pokémon Pinball: Ruby & Sapphire

This is a disassembly of Pokémon Pinball: Ruby & Sapphire.

It builds the following rom:

  • pokepinballrs.gba sha1: 9fec81ce2c5df589e0371a0bf2f92a5fe8db730b

To set up the repository, see INSTALL.md.

For contacts and other pret projects, see pret.github.io.