Files
pokepinballrs/tools/scripts
Cyphgirl f2b1ebdcd5 Extract the ruby ramp Makuhita frames from baserom
gRubyMakuhitaGfx is 10 frames of 0x300 streamed over tile 428 by ruby_ramp.c.
gRubyMakuhitaSpriteSet draws a frame as a 32x32 at the origin, an 8x32 beside it
and a 32x8 under it offset 8px right, which is a 5x5 block with the bottom-left
tile unused -- so it takes an oam-shape with one spacer rather than -mwidth.

Worth noting the shape is not guessable from round-tripping: a plain 4-wide
render of this sheet also comes back byte-exact and still looks like a Makuhita,
because the 8x32 column is narrow enough to pass at a glance. Only the sprite
set settles it. Ruby's intro sheet reaches the same art as two segments,
makuhita_top and makuhita_feet, which is not an option here -- the frames would
have to interleave.

Rebuilt sheet matches the ROM blob, objpalette derives bank 8 from the slot,
check passes, make compare passes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-08 08:41:12 -04:00
..