Added a constant for NPC trainer name length (#1712)

This commit is contained in:
LOuroboros
2022-07-25 23:59:13 -03:00
committed by GitHub
parent a8c93dcf35
commit b59f7aed7f
7 changed files with 10 additions and 10 deletions

View File

@@ -5,7 +5,7 @@
struct TrainerHillTrainer
{
u8 name[HILL_TRAINER_NAME_LENGTH];
u8 name[TRAINER_NAME_LENGTH + 1];
u8 facilityClass;
bool32 unused; // Set to TRUE on JP trainers
u16 speechBefore[EASY_CHAT_BATTLE_WORDS_COUNT];