summaryrefslogtreecommitdiff
path: root/engine/mart.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2015-11-13 18:59:49 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2015-11-13 18:59:49 -0500
commitcc8c36ee149b287b7a1cabb85abb4bf42873a3b2 (patch)
treeeca073a298889f307efc19d27a3d2ee740e102cd /engine/mart.asm
parent01fe51df0ca5c6e2f99df9f34d308ff98516478d (diff)
Creation of constants for OBJECT_09 indices
Diffstat (limited to 'engine/mart.asm')
-rwxr-xr-xengine/mart.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/mart.asm b/engine/mart.asm
index 2c3dac0e7..81ab22d12 100755
--- a/engine/mart.asm
+++ b/engine/mart.asm
@@ -29,7 +29,7 @@ MartDialog: ; 15a61
ld a, 0
ld [EngineBuffer1], a
xor a
- ld [MovementAnimation], a
+ ld [EngineBuffer5], a
call StandardMart
ret
; 15a6e
@@ -129,7 +129,7 @@ LoadMartPointer: ; 15b10
ld bc, 16
call ByteFill
xor a
- ld [MovementAnimation], a
+ ld [EngineBuffer5], a
ld [wBargainShopFlags], a
ld [FacingDirection], a
ret
@@ -157,10 +157,10 @@ endr
StandardMart: ; 15b47
.loop
- ld a, [MovementAnimation]
+ ld a, [EngineBuffer5]
ld hl, .MartFunctions
rst JumpTable
- ld [MovementAnimation], a
+ ld [EngineBuffer5], a
cp $ff
jr nz, .loop
ret