Hello! I’m looking to commission a talented ASM / code expert to create a patch that gives the Wary Fighter skill independent of SkillSys (so I can add it to an essentially “vanilla” FE GBA experience).
I would want this patch to be F2U, but I’m also interested in an exclusive version of that skill that would only work on enemy-initiated attacks for my project specifically!
I added the first two lines. Done on mobile so format looks bad.
I forget if it’s int class = gBattleTarget.unit.pClassData.number; or int class = gBattleTarget.unit.pClassData->number; , usually the compiler tells me when I mess it up.
Note that this only stops knights / generals under attack from being doubled, I think. They can still double when attacking, and maybe be doubled on counterattacks. You can finesse it how you like by learning a tiny bit of C code.
Equally here’s a version that lets you run both versions of wary fighter, and apply them to whatever units and classes you like without needing to edit the code.