summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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