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

View File

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