summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2018-11-19 13:50:07 -0600
committerGitHub <noreply@github.com>2018-11-19 13:50:07 -0600
commit90430e6dee9e207dc0b618d07566f83617343f60 (patch)
treea7bb211dbc174b5ad9a9866ca163f4bd00c5341e /scripts
parentf386dea5d8cb816f3cbc941e81e8acdaae710a99 (diff)
parentc43bd68f01b794f61025ac2e63c9e043634ffdc8 (diff)
Merge pull request #193 from luckytyphlosion/master
Fix spritestatedata macros and clean up pre-linkerscript remnants.
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