diff options
author | pikalaxalt <PikalaxALT@gmail.com> | 2016-05-04 11:46:23 -0400 |
---|---|---|
committer | pikalaxalt <PikalaxALT@gmail.com> | 2016-05-04 11:46:23 -0400 |
commit | 3713b71d9e3f3f1bc099d4704910cb9c1d172dcf (patch) | |
tree | 03069bd1fb4576c16b773b23bab0071aabb7cabd /engine/mart.asm | |
parent | 82f1534925c5fe1f0d876ea88119b0121cfa65a6 (diff) |
More splitting of main.asm; remove unneeded rept 2
Diffstat (limited to 'engine/mart.asm')
-rwxr-xr-x | engine/mart.asm | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/engine/mart.asm b/engine/mart.asm index f756d3bc2..dfe7d89cd 100755 --- a/engine/mart.asm +++ b/engine/mart.asm @@ -145,9 +145,8 @@ GetMart: ; 15b31 .IsAMart: ld hl, Marts -rept 2 add hl, de -endr + add hl, de ld e, [hl] inc hl ld d, [hl] @@ -393,9 +392,8 @@ LoadBuyMenuText: ; 15c7d pop af ld e, a ld d, 0 -rept 2 add hl, de -endr + add hl, de ld a, [hli] ld h, [hl] ld l, a @@ -405,9 +403,8 @@ endr MartAskPurchaseQuantity: ; 15c91 call GetMartDialogGroup ; gets a pointer from GetMartDialogGroup.MartTextFunctionPointers -rept 2 inc hl -endr + inc hl ld a, [hl] and a jp z, StandardMartAskPurchaseQuantity |