summaryrefslogtreecommitdiff
path: root/engine/mart.asm
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2016-01-27 12:25:12 -0500
committerPikalaxALT <PikalaxALT@gmail.com>2016-01-27 12:25:12 -0500
commitb272c0c3754012f83129c23c2c546013cd1e80ef (patch)
tree6d9911898f8d6947ef59f71d08a78276cab6a631 /engine/mart.asm
parentd02c9e39dd5138aa2d5e11178fcef7e2a58d4230 (diff)
Fix marts using hard-coded bank number
Diffstat (limited to 'engine/mart.asm')
-rwxr-xr-xengine/mart.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/mart.asm b/engine/mart.asm
index 143ba38cd..5ee700951 100755
--- a/engine/mart.asm
+++ b/engine/mart.asm
@@ -139,7 +139,7 @@ GetMart: ; 15b31
ld a, e
cp (MartsEnd - Marts) / 2
jr c, .IsAMart
- ld b, $5
+ ld b, BANK(DefaultMart)
ld de, DefaultMart
ret
@@ -151,7 +151,7 @@ endr
ld e, [hl]
inc hl
ld d, [hl]
- ld b, $5
+ ld b, BANK(Marts)
ret
; 15b47