pretty sure the max HP was determined in the dat's based on the size of the programming structure used to hold HP. I forgot how this was determined but I read about the idea a while ago and it seemed to make sense.