pret / pokepinballrs Goto Github PK
View Code? Open in Web Editor NEWDecompilation of Pokémon Pinball: Ruby & Sapphire
Decompilation of Pokémon Pinball: Ruby & Sapphire
Once we have reached 100% code decompilation, some cleanup actions will need to be taken.
extern
and static
as appropriate)
Data decompilation and symbol documentation are not on this list, as they will still be calculated by calcrom after 100% code decompilation.
02000030: spare balls (0-9)
02000040-3: score increment/decrement
02000044-7: score
02000192: coins
020001C6: spinner turns (00-A8)
020001C8: Pikachu charge? gets continuously incremented and capped to spinner value?
02000296-7: clock time remaining (catch, evo, bonus)
02000306: (Sapphire) Pelipper status (0 idle, 1 cocked, 3-6 starting Spheal game, ?-9 ending Spheal game)
02000308-9: bumper hits (resets on new ball, after Spheal bonus, etc)
0200062A-E: end of ball bonus counters (pokemon caught, evolved, travel count, slots played, pikachu saves) (00-FF work fine, unsure if there's a soft cap)
0200070E: bonus multiplier
02000724-5: Ball Saver time remaining
0200072E: EVO loops (0-3)
0200072F: GET loops (0-3)
0200B0C0: what you apparently call gMain
0200B0CF: 2 pause | 4 debug
0200B134-200: pokedex (01 seen = blacked and no data, 02 traded? = dimmed and description only, 03 traded? = dimmed and no h/w, 04 caught) (you apparently call this gMain_saveData.pokedexFlags[])
0200B201: language (EUR: 0-4, invalid values cause graphics corruption)
0200B204: button layout preset (0-4)
0200B206-19: custom button layout (2 bytes per button, up to 2 ANDed buttons per action in on-screen order, nonstandard scancodes)
0200B21C-39B: highscore table (4 bytes (!) per character, 8 bytes for score)
Don't take the multibyte ones for granted (32 bit score and 64 bit highscore? yet it works...)
Hope you'll find them useful though :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.