aboutsummaryrefslogtreecommitdiffstats
path: root/home/pathfinding.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/pathfinding.asm')
-rw-r--r--home/pathfinding.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/pathfinding.asm b/home/pathfinding.asm
index 77cb5c4b..12128f68 100644
--- a/home/pathfinding.asm
+++ b/home/pathfinding.asm
@@ -32,15 +32,15 @@ MoveSprite_::
ld [wNPCNumScriptedSteps], a ; number of steps taken
pop bc
- ld hl, wd730
- set 0, [hl]
+ ld hl, wStatusFlags5
+ set BIT_SCRIPTED_NPC_MOVEMENT, [hl]
pop hl
xor a
ld [wOverrideSimulatedJoypadStatesMask], a
ld [wSimulatedJoypadStatesEnd], a
dec a
ld [wJoyIgnore], a
- ld [wUnusedCD3A], a
+ ld [wUnusedOverrideSimulatedJoypadStatesIndex], a
ret
; divides [hDividend2] by [hDivisor2] and stores the quotient in [hQuotient2]