Fix spritestatedata macros to be prefixed with w.

This commit is contained in:
luckytyphlosion 2018-11-18 17:54:46 -05:00
parent f386dea5d8
commit c085aa4a2a
2 changed files with 38 additions and 44 deletions

View file

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