5
edits
(correct and add fields) |
|||
Line 99: | Line 99: | ||
| 0x00 | | 0x00 | ||
| 1 | | 1 | ||
| | | Index | ||
|- style="background: #dddddd; text-align: center;" | |- style="background: #dddddd; text-align: center;" | ||
| 0x01 | | 0x01 | ||
| 1 | | 1 | ||
| | | Count | ||
|} | |} | ||
Line 211: | Line 211: | ||
| 8 | | 8 | ||
| [[#Player name, rival name|Rival name]] | | [[#Player name, rival name|Rival name]] | ||
|- style="background: #dddddd; text-align: center;" | |||
| 0x2601 | |||
| 1 | |||
| [[#Options|Options]] | |||
|- style="background: #eeeeee; text-align: center;" | |- style="background: #eeeeee; text-align: center;" | ||
| 0x2605 | | 0x2605 | ||
Line 227: | Line 231: | ||
| 1 | | 1 | ||
| [[#Current PC Box|Current PC Box]] | | [[#Current PC Box|Current PC Box]] | ||
|- style="background: #eeeeee; text-align: center;" | |||
| 0x2850 | |||
| 2 | |||
| [[#Casino coins|Casino coins]] | |||
|- style="background: #eeeeee; text-align: center;" | |- style="background: #eeeeee; text-align: center;" | ||
| 0x2CEE | | 0x2CEE | ||
Line 330: | Line 338: | ||
This figure is still big-endian. | This figure is still big-endian. | ||
===Casino coin=== | |||
Represents how much coins the character has. The figure is a 4-digit number, 2 digits per byte, encoded as {{wp|binary-coded decimal}}, where each digit is allocated a full 4 bits. | |||
This figure is still big-endian. | |||
===Options=== | |||
Options are stored in one byte: | |||
* bit 7 (MSB): battle effects ('1' for '''<sc>No</sc>''', '0' for '''<sc>Yes</sc>''') | |||
* bit 6: battle style ('1' for '''<sc>Set</sc>''', '0' for '''<sc>Switch</sc>''') | |||
* bit 4: sound ('0' for '''<sc>Mono</sc>''', '1' for '''<sc>Stereo</sc>''') | |||
* bit 2-0: text speed ('001' for '''<sc>Fast</sc>''', '011' for '''<sc>Normal</sc>''', '101' for '''<sc>Slow</sc>''') | |||
In Pokémon Yellow: | |||
* bit 5-4: sound ('00' for '''<sc>Mono</sc>''', '01' for '''<sc>Earphone1</sc>''', '10' for '''<sc>Earphone2</sc>''', '11' for '''<sc>Earphone3</sc>''') | |||
Print options are stored somewhere else. | |||
===Pikachu Friendship=== | ===Pikachu Friendship=== |
edits