Closed ChristopherPH closed 6 years ago
Hello, it looks like I jumped to my conclusion a little too fast. I was getting Flag7 / Bit7 confused.
However, the import of a version 2 character just doesn't look at the score flag for setting the puzzle points. The character sheet shows 114, the character was saved with 498 points (114+128+256=498).
Flag 7 / (Bit 7, 0 based) is unused as skills are masked with 0x7F during save.
Byte 5 Flag 7 is used to calculate the score / puzzle points for saving in the character file
The score value at the end of the game is calculated by:
score = byte 4 (0-127) score = score + 128 if the ScoreFlag / Flag7 is set then score = score + 256