mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Fix spritestatedata macros to be prefixed with w.
This commit is contained in:
parent
f386dea5d8
commit
c085aa4a2a
2 changed files with 38 additions and 44 deletions
|
|
@ -29,7 +29,7 @@ PewterJigglypuffText:
|
|||
ld bc, JigglypuffFacingDirectionsEnd - JigglypuffFacingDirections
|
||||
call CopyData
|
||||
|
||||
ld a, [Sprite03SpriteImageIdx]
|
||||
ld a, [wSprite03StateData1ImageIndex]
|
||||
ld hl, wJigglypuffFacingDirections
|
||||
.findMatchingFacingDirectionLoop
|
||||
cp [hl]
|
||||
|
|
@ -43,7 +43,7 @@ PewterJigglypuffText:
|
|||
pop hl
|
||||
.loop
|
||||
ld a, [hl]
|
||||
ld [Sprite03SpriteImageIdx], a
|
||||
ld [wSprite03StateData1ImageIndex], a
|
||||
|
||||
; rotate the array
|
||||
push hl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue