Cyphgirl e19e280e0d Extract the catch target collision map from baserom
gCatchTargetCollisionBitmap is not graphics. CheckCatchTargetCollision indexes it
[y * 48 + x] against the ball's offset from the Jirachi centre, bounds-checked to
48 on both axes, which accounts for the label exactly: 2304 bytes, one per
position. Bit 7 is the solid flag and the low seven bits are the surface angle
the collision answers with, scaled by 512.

So it goes to data/board_data/collision as a .bin with its dimensions in the
name, next to the flipper map and the per-board entity maps, rather than through
gbagfx. tools/collision_viewer already reads that family.

Decoding it confirms the reading: the solid cells form a disc filling 41% of the
square, and the angles of the solid cells run the full range around it, which is
what a round target should look like.

make compare passes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-08 09:55:33 -04:00
2026-02-08 08:54:04 -06:00
2026-07-18 01:12:29 -05:00
2023-06-16 20:18:38 -05:00
2026-07-04 00:10:52 -05:00
2026-07-18 01:12:29 -05:00
2021-07-23 10:49:36 -04:00
2026-03-04 18:14:37 -06:00
2023-06-16 20:18:38 -05:00
2024-09-27 20:55:53 -05:00
2023-06-16 20:18:38 -05:00
2026-01-31 16:05:32 -06:00
2026-07-16 02:14:47 -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.

S
Description
Decompilation of Pokémon Pinball: Ruby & Sapphire
Readme 21 MiB
Languages
C 52.1%
Assembly 42.8%
C++ 2.8%
HTML 1.3%
Python 0.5%
Other 0.5%