Use PLAYER_NAME_LENGTH constant

This commit is contained in:
DizzyEggg 2019-05-14 13:10:00 +02:00 committed by huderlem
parent d9115ada86
commit 20841a9f87

View File

@ -295,7 +295,7 @@ struct BattlePokemon
/*0x2E*/ u16 item;
/*0x30*/ u8 nickname[POKEMON_NAME_LENGTH + 1];
/*0x3B*/ u8 ppBonuses;
/*0x3C*/ u8 otName[8];
/*0x3C*/ u8 otName[PLAYER_NAME_LENGTH + 1];
/*0x44*/ u32 experience;
/*0x48*/ u32 personality;
/*0x4C*/ u32 status1;