summaryrefslogtreecommitdiff
path: root/engine/overworld/movement.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-07-17 02:52:25 -0500
committerdannye <corrnondacqb@yahoo.com>2015-07-17 02:52:25 -0500
commitfb559f1f4e0104bfc59350359a2fb82fbe88ebba (patch)
tree8f0a248d06139fe584ca6381ceea2a3fd5f248e7 /engine/overworld/movement.asm
parent77ba61cb17665779673dcd536122271c66614252 (diff)
More direction constants
facing directions, npc movement, joypad
Diffstat (limited to 'engine/overworld/movement.asm')
-rw-r--r--engine/overworld/movement.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/movement.asm b/engine/overworld/movement.asm
index 30793dec..c85a4174 100644
--- a/engine/overworld/movement.asm
+++ b/engine/overworld/movement.asm
@@ -162,8 +162,8 @@ UpdateNPCSprite: ; 4ed1 (1:4ed1)
ld [hl], a ; increment movement byte 1 (movement data index)
dec a
push hl
- ld hl, wcf0f
- dec [hl] ; decrement wcf0f
+ ld hl, wNPCNumScriptedSteps
+ dec [hl] ; decrement wNPCNumScriptedSteps
pop hl
ld de, wNPCMovementDirections
call LoadDEPlusA ; a = [wNPCMovementDirections + movement byte 1]