Hey lads I'm making a simple Crystal mod for my brother cause he wanted a mostly vanilla game with some changes. I'm using SourCrystal as a base (
https://github.com/SoupPotato/Sourcrystal) and wanted to port this code from Polishedcrystal (
https://github.com/Rangi42/polishedcrystal/commit/0b0843a8aff10163c807ed78d01fef85d57a031b) to Sour, the one that allows a mon to learn egg while holding an item.
I'm no stranger to using the disassembly and I've written and ported some code before but I've hit a wall here and this is literally the only thing missing to finish the hack. Thanks