diff options
| author | dannye <corrnondacqb@yahoo.com> | 2015-07-17 02:52:25 -0500 |
|---|---|---|
| committer | dannye <corrnondacqb@yahoo.com> | 2015-07-17 02:52:25 -0500 |
| commit | fb559f1f4e0104bfc59350359a2fb82fbe88ebba (patch) | |
| tree | 8f0a248d06139fe584ca6381ceea2a3fd5f248e7 /engine/overworld/movement.asm | |
| parent | Fix Safari Zone check labels (diff) | |
| download | pokeyellow-fb559f1f4e0104bfc59350359a2fb82fbe88ebba.tar.gz pokeyellow-fb559f1f4e0104bfc59350359a2fb82fbe88ebba.tar.xz pokeyellow-fb559f1f4e0104bfc59350359a2fb82fbe88ebba.zip | |
More direction constants
facing directions, npc movement, joypad
Diffstat (limited to 'engine/overworld/movement.asm')
| -rw-r--r-- | engine/overworld/movement.asm | 4 |
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] |
