Use PLAYER_NAME_LENGTH constant

This commit is contained in:
DizzyEggg authored and huderlem committed 2019-05-15 16:53:59 -05:00
1 parent d9115ada86
commit 20841a9f87
1 file changed
+1 -1
+1 -1
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;