summaryrefslogtreecommitdiff
path: root/scripts/TradeCenter.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/TradeCenter.asm')
-rwxr-xr-xscripts/TradeCenter.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/TradeCenter.asm b/scripts/TradeCenter.asm
index ddb3061e..3201c8cd 100755
--- a/scripts/TradeCenter.asm
+++ b/scripts/TradeCenter.asm
@@ -8,7 +8,7 @@ TradeCenter_Script:
.next
ld [hSpriteFacingDirection], a
ld a, $1
- ld [H_SPRITEINDEX], a
+ ld [hSpriteIndex], a
call SetSpriteFacingDirection
ld hl, wd72d
bit 0, [hl]