More direction constants

facing directions, npc movement, joypad
This commit is contained in:
dannye 2015-07-17 02:52:25 -05:00
parent 77ba61cb17
commit fb559f1f4e
38 changed files with 445 additions and 247 deletions

View file

@ -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]