From c085aa4a2a5529f9c82e97ebe7912dfa509787f3 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Sun, 18 Nov 2018 17:54:46 -0500 Subject: Fix spritestatedata macros to be prefixed with w. --- scripts/pewterpokecenter.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/pewterpokecenter.asm b/scripts/pewterpokecenter.asm index 5de1e6b7..4dd63559 100755 --- a/scripts/pewterpokecenter.asm +++ b/scripts/pewterpokecenter.asm @@ -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 -- cgit v1.2.3