A while back, I was thinking about ways to free up more RAM space for modding use in FF5. The method I had settled on was reducing the size of the inventory. I'm happy to announce that this patch is finally (mostly) ready!
I had thought it would be a relatively simple matter of replacing a few values indicating the size of the list. That was a naively optimistic assumption. Since there are 256 items, and 256 slots, there are a number of instances where it's assumed there will always be somewhere to put an item. Interestingly, there are also some bits of code that actually account for a disparity between the number of items and number of slots. So it wasn't a complete rewrite, but it wasn't completely inline like I wanted. It's not 100% finished, but the rest of the things that need to be done are cosmetic and don't affect the function. Right now it's hard-coded for 128 items; I would like to make this a something you can define when it's assembled.
Speaking of assembly, I have only uploaded the ASM file. I'm not planning on making an IPS patch for this, though I don't mind if others do. Why no IPS? Frankly, this is a patch for experienced modders - if you can't handle assembly (or at least patching asm files) yet, you really don't need this. Use xkas 0.6 or (preferably) asar to compile it. When testing, I used the ROM with RPGe's patch already added; the CRC32 value is 17444605. It should work with most expanded ROMs, although I doubt it will work with the original Japanese ROM. I haven't tested it.
This has mostly been a labor of learning and love (except the optimize function - fuck that code). I mostly started this for two reasons: to learn ASM coding with asar, and to open up some RAM space for the mod I'm working on. Honestly, 128 slots is probably overkill; I'm not sure I really need 256 bytes of RAM. Anyway, if there are any questions, bugs, comments, whatever, feel free to let me know!