

To hold larger values, the variable would have to become, say, a 2-byte unsigned integer, allowing values from 0 to c. If that variable is a 1-byte unsigned integer, then the number can vary from 0 to 255. Every character in the game has one variable containing the number for each of their attributes. a "short int" is generally defined to have 2 bytes).


A variable belonging to a given integer type always has the same size regardless of the actual number contained in it (e.g. The integer type (and thus its size) is chosen by the programmer. Not quite that has nothing to do with whether the game is 32-bit or 64-bit*.
