in the case of durability and stamina, only the display values work (visual numbers), but with them you can easily find the real values, because this values change position in memory (they don't have the same distance -fixed position- as the others, that's why when you recalculate it doesn't work),I would have to make a script to work and that takes too much time to do in the emulator.
I got the first display to work, but the 2nd display, doesn't seem to work
it didn't have to be there, I just left it. the second value is just a reference of the distance from one item to the other, for example, if you scan the item from top to bottom, or from right to left, the second 'display' will be different.