diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2019-05-14 13:10:00 +0200 |
---|---|---|
committer | huderlem <huderlem@gmail.com> | 2019-05-15 16:53:59 -0500 |
commit | 20841a9f870b95d13d7194958fa1be3b92683fb4 (patch) | |
tree | bb54126717756dadc2aae70b2059588f76ca65d5 | |
parent | d9115ada86efcdf2cb07690c794cece15119a7c6 (diff) |
Use PLAYER_NAME_LENGTH constant
-rw-r--r-- | include/pokemon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pokemon.h b/include/pokemon.h index c5fea6df7..6ad1314f8 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; |