mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
More direction constants
facing directions, npc movement, joypad
This commit is contained in:
parent
77ba61cb17
commit
fb559f1f4e
38 changed files with 445 additions and 247 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue