2010-07-10, 01:20 AM
Random_Overlord Wrote:I thought the maximum for hex and decimals was always:
0000 - 0
000F - 15
00FF - 255
0FFF - 4095
FFFF - 65535 <- Isnt this the absolute maximum value for a variable working under 16 bits?
If Hp goes beyond 32767 which is "8000" in hex and decimals, it's probably working by using the full variable.
Signed bits have a sign. You have 65535 values, 32767 over zero, 32767 under zero, and zero.

