For the modular routines:
https://dl.dropboxusercontent.com/u/92273434/FE%20Hacking%2C%20Public%20Files/Modular%20Battle/Specifications%20For%20Custom%20Routines.txt
I actually avoided handing you the defender data in the might, hit and crit routines, because for just a single character, like in the stats screen, it had some weird effects. But I’ve got them documented now so, idk, maybe I’ll add it back in.
If you meant the original routines, which i modified: [FE7] Charting the Battle Stat Computations
(In which the originals are, yeah, basically what you said)