Fix match call regression (#8227)

Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
This commit is contained in:
FosterProgramming 2025-11-12 22:22:57 +01:00 committed by GitHub
parent 49838a004e
commit eaa768fe79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -474,7 +474,7 @@ static u8 CheckTrainer(u8 objectEventId)
if (GetTrainerFlagFromScriptPointer(trainerBattlePtr))
{
//If there is a rematch, we want to trigger the approach sequence
if (GetRematchFromScriptPointer(trainerBattlePtr))
if (I_VS_SEEKER_CHARGING && GetRematchFromScriptPointer(trainerBattlePtr))
{
trainerBattlePtr = NULL;
numTrainers = 0xFF;