mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
TrainerWalkToPlayer
should reference wSeenTrainerDistance
(#1020)
This commit is contained in:
parent
f7d26fbe9c
commit
c4e3f2bbc2
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user