User:Dr. Dos/ZZT High Score Format
Jump to navigation
Jump to search
Hey sorry if I'm doing this wrong. I touch wiki pages like once a year max.
| Offset | Hex | Data type | Description |
|---|---|---|---|
| 0 | 0x0 | UNIT8 | NameLength Length of the name entered for the high score. |
| 1 | 0x01 | char[50] | Name Name associated with the high score |
| 4 | 0x004 | INT16LE | PlayerAmmo Player's ammunition. |
| 6 | 0x006 | INT16LE | PlayerGems Player's gems. |
| 8 | 0x008 | char[7] | PlayerKeys Player's keys. A nonzero value means the player has the specified key. The keys are in this order: Blue, Green, Cyan, Red, Purple, Yellow, White. |
| 15 | 0x00F | INT16LE | PlayerHealth Player's health. |
| 17 | 0x011 | INT16LE | PlayerBoard In a world file, this will be the starting board for the player (the title screen, board 0, is always shown first). In a saved game, this will be the board that the player is currently on. |