summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-11-18 17:54:46 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-11-18 17:54:46 -0500
commitc085aa4a2a5529f9c82e97ebe7912dfa509787f3 (patch)
tree536e5f06347c8a0f0e1f3c4726721b0423e26ce4 /scripts
parentf386dea5d8cb816f3cbc941e81e8acdaae710a99 (diff)
Fix spritestatedata macros to be prefixed with w.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pewterpokecenter.asm4
1 files changed, 2 insertions, 2 deletions
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