mirror of
https://github.com/breadbored/Pokemon-Distribution-ROM.git
synced 2026-04-25 15:35:26 -05:00
Fix leftover space default values for names.
Originally leftover space is filled with 0x50, not 0x00.
This commit is contained in:
parent
ce1a19afa6
commit
02ce886855
16
comm.c
16
comm.c
|
|
@ -40,18 +40,18 @@ unsigned char nicknames[11] = {
|
|||
pokechar_E,
|
||||
pokechar_W,
|
||||
pokechar_STOP_BYTE,
|
||||
pokechar_NULL_BYTE,
|
||||
pokechar_NULL_BYTE,
|
||||
pokechar_NULL_BYTE,
|
||||
pokechar_NULL_BYTE,
|
||||
pokechar_NULL_BYTE,
|
||||
pokechar_NULL_BYTE,
|
||||
pokechar_NULL_BYTE,
|
||||
pokechar_STOP_BYTE,
|
||||
pokechar_STOP_BYTE,
|
||||
pokechar_STOP_BYTE,
|
||||
pokechar_STOP_BYTE,
|
||||
pokechar_STOP_BYTE,
|
||||
pokechar_STOP_BYTE,
|
||||
pokechar_STOP_BYTE,
|
||||
};
|
||||
|
||||
typedef struct TraderPacket {
|
||||
// Name must not exceed 10 characters + 1 STOP_BYTE
|
||||
// Any leftover space after STOP_BYTE must be filled with NULL_BYTE
|
||||
// Any leftover space after must be filled with STOP_BYTE
|
||||
unsigned char name[11];
|
||||
struct SelectedPokemon selected_pokemon;
|
||||
struct PartyMember pokemon[6];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user