mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellow
This commit is contained in:
parent
7ab43f4d17
commit
2b2ed54bbf
62 changed files with 182 additions and 179 deletions
|
|
@ -88,7 +88,7 @@ GetCoordsInFrontOfPlayer:
|
|||
ld d, a
|
||||
ld a, [wXCoord]
|
||||
ld e, a
|
||||
ld a, [wSpriteStateData1 + 9] ; player's sprite facing direction
|
||||
ld a, [wSpritePlayerStateData1FacingDirection]
|
||||
and a
|
||||
jr nz, .notFacingDown
|
||||
; facing down
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue