mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +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
|
|
@ -314,7 +314,7 @@ RocketHideout2Script3:
|
|||
ret
|
||||
|
||||
LoadSpinnerArrowTiles::
|
||||
ld a, [wSpriteStateData1 + 2]
|
||||
ld a, [wSpritePlayerStateData1ImageIndex]
|
||||
srl a
|
||||
srl a
|
||||
ld hl, SpinnerPlayerFacingDirections
|
||||
|
|
@ -322,7 +322,7 @@ LoadSpinnerArrowTiles::
|
|||
ld b, $0
|
||||
add hl, bc
|
||||
ld a, [hl]
|
||||
ld [wSpriteStateData1 + 2], a
|
||||
ld [wSpritePlayerStateData1ImageIndex], a
|
||||
ld a, [wCurMapTileset]
|
||||
cp FACILITY
|
||||
ld hl, FacilitySpinnerArrows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue