From 20841a9f870b95d13d7194958fa1be3b92683fb4 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Tue, 14 May 2019 13:10:00 +0200 Subject: [PATCH] Use PLAYER_NAME_LENGTH constant --- include/pokemon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pokemon.h b/include/pokemon.h index c5fea6df78..6ad1314f89 100644 --- a/include/pokemon.h +++ b/include/pokemon.h @@ -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;