Fix TRAINER_TYPE_SEE_ALL_DIRECTIONS (#7779)

This commit is contained in:
DizzyEggg 2025-09-23 14:30:07 +02:00 committed by GitHub
parent 1d11a2cb0a
commit 4963c4317c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -373,7 +373,7 @@ bool8 CheckForTrainersWantingBattle(void)
if (!gObjectEvents[i].active)
continue;
if (gObjectEvents[i].trainerType != TRAINER_TYPE_NORMAL && gObjectEvents[i].trainerType != TRAINER_TYPE_BURIED)
if (gObjectEvents[i].trainerType != TRAINER_TYPE_NORMAL && gObjectEvents[i].trainerType != TRAINER_TYPE_SEE_ALL_DIRECTIONS && gObjectEvents[i].trainerType != TRAINER_TYPE_BURIED)
continue;
numTrainers = CheckTrainer(i);