TrainerWalkToPlayer should reference wSeenTrainerDistance (#1020)

This commit is contained in:
vulcandth 2022-11-22 20:03:24 -06:00 committed by GitHub
parent f7d26fbe9c
commit c4e3f2bbc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,7 +519,7 @@ TrainerWalkToPlayer:
call InitMovementBuffer
ld a, movement_step_sleep
call AppendToMovementBuffer
ld a, [wWalkingIntoNPC]
ld a, [wSeenTrainerDistance]
dec a
jr z, .TerminateStep
ldh a, [hLastTalked]