mirror of
https://github.com/breadbored/Pokemon-Distribution-ROM.git
synced 2026-08-23 09:34:01 -05:00
Fix leftover space default values for names. (#2)
* Fix leftover space default values for names. Originally leftover space is filled with 0x50, not 0x00. * Update comm.c
This commit is contained in:
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 must be filled with STOP_BYTE
|
||||
unsigned char name[11];
|
||||
struct SelectedPokemon selected_pokemon;
|
||||
struct PartyMember pokemon[6];
|
||||
|
||||
Reference in New Issue
Block a user