the first thing I noticed was one of those routines that stores the value into RAM and does a whole lot of ROL-ing... So I have that kind of headache to look forward to 
Are they bank 3 routines? I have some thoughts what a few of those do in that bank. For example, one that uses ROLs, 03:8407 I think is a 16-bit division, which produces a 16-bit integer division result and possibly a modulo or remainder.
I (on some level) figured that the ROLs had something to do with generating the proper integers. I think what I have to do is take care of everything else first, then just spend a bunch of time studying the inputs and outputs of these routines to see how they can be manipulated to serve my needs. If you're keeping an eye turned in this direction, avalanche, I may bend your ear when I get to that point, since you seem to know more about this kind of thing than I.
The good news here - it's actually quite easy to make the game
display five digits. Only requires changing three bytes in ROM that essentially were there to set the upper limit to four digits. It's almost as if their original plan was to use five digits but then was scrapped - most likely because other workings of the game made 99,999 impossible and/or impractical.
So anyway, I've got that part taken care of, and I was originally pretty worried about that.
I know the info about how to change the actual damage limit is out there somewhere, so that'll be next (as I recall, it needs to be changed for several different routines... One for fight, one for magic, etc, but just taking care of one should be enough for the testing phase of this project).
Probably won't get to work on that too much more today, but this is coming along better than I expected so far!