HI, I'm trying to put your ASM Inheriting IVs from parents in my hack rom that I saw on the ASM Resource Thread, but as soon as the NPC gives me the egg, the game just freezes, I'm using the Mr'sDollSteak patch, you know what it can be ?
It crashed on vanilla firered.
I don't think it can be an issue in the link process, as all the hooks look okay.
What I did was:
1. (Say, we use mGBA here) I load the game without a save file and play until the protagonist saw his mom the first time and talked to her.
3. Quit mGBA.
4. Reopen mGBA and Load the game. It will crash after start menu.
It's also possible that something goes wrong in the compiling process tho, like, some symbol's value is not correctly assigned when the object gets linked
I can test it tomorrow on a clean firered ROM and tell you the result.
Actually it's hard to decide what to do at this point except contributing to PRET projects. Development is more like non sense because with pokeemerald documentation (and some easy function port if we still want to work on FR) it's way too easy and can only encourage people to apply this kind of stuff blindly. For research and documentation PRET people and egg has already did great work and we'd better rely on those information
Many files can be directly ported from pokeem (like, 50% functions in those files with a EM counterpart are direct copy (with some renaming tho) 30% need some tweaks and 20% need a complete rewrite or is tossed in emerald)
The real problem is that (almost) only pikalax and garak were contributing to the repo :/
sure there're lots of content directly 'incbin'ed from the baserom, but many can be done at this point. I already contributed 2 files and now am waiting for garak to finish porting npc MACROs/DECLs from pokeem.