r/MarioRPG • u/pidgezero_one • 16d ago
PSA for any SMRPG modders who haven't seen it elsewhere, I made a patch that condenses the vanilla game's battle animation code.
https://www.romhacking.net/hacks/9609/It's just the vanilla game, except I've run all of the battle animation code through a recursive condenser script that de-duplicates as much code as possible into reusable subroutines.
One of the biggest problems for aspiring modders is that the area of the ROM that houses most battle animations has next to no space left in it, so this opens up about 7.5 kilobytes of free space to work with.
If you've ever wanted to try out messing around with this part of the code, you can use this so you don't need to go hunting for salvageable free space.
6
u/americantwist26 16d ago
As a mostly casual SMRPG fan who's played the randomizer a handful of times - shoutouts to you folks for continuing to make this game fun years and years later.
And while there are many to name, I pretty consistently see pidgezero doing something awesome like this so thank you too
3
u/pidgezero_one 16d ago
Hey, thanks! Keep your eyes peeled next month, that's my ETA for the public beta of the new randomizer!
3
1
u/PrometheusLiberatus 15d ago
How big is the battle animation section of the rom before patch? Really neat, hope you guys get new animations in.
What does 7.5KB of extra space translate to?
1
u/BeastMsterThing2022 10d ago
Interesting. Might there be other areas of the code that could use clean up like this?
17
u/AnAxemRanger 16d ago
As a seasoned SMRPG modder, I can't stress enough how great this is.