diff options
author | yenatch <yenatch@gmail.com> | 2016-08-11 15:55:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-11 15:55:32 -0400 |
commit | 700321a7fb2d6c852ffc91cc0b8867526cb76813 (patch) | |
tree | 1a81b2ef5a4d7a2e5a9433e990ea178f5083acbf /engine/npctrade.asm | |
parent | c33ba049a5a993fc678fd1698645039ce4974022 (diff) | |
parent | 050a0162b89c645c4a2a3ed311c4da791fb3de6c (diff) |
Merge pull request #342 from PikalaxALT/master
More label interpretations
Diffstat (limited to 'engine/npctrade.asm')
-rwxr-xr-x | engine/npctrade.asm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/npctrade.asm b/engine/npctrade.asm index a8d3b71aa..f28734ea9 100755 --- a/engine/npctrade.asm +++ b/engine/npctrade.asm @@ -311,9 +311,8 @@ GetTradeAttribute: ; 0xfcdc2 ld e, a ld d, 0 ld hl, NPCTrades -rept 2 add hl, de -endr + add hl, de pop de add hl, de ret @@ -458,9 +457,8 @@ PrintTradeText: ; fcf38 call AddNTimes ld a, [wcf64] ld c, a -rept 2 add hl, bc -endr + add hl, bc ld a, [hli] ld h, [hl] ld l, a |