summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author7Soul <5599828+7Soul@users.noreply.github.com>2021-02-12 14:39:57 -0300
committer7Soul <5599828+7Soul@users.noreply.github.com>2021-02-12 14:39:57 -0300
commit81a178ec1bb48a4f1223837d6539bc0916e19927 (patch)
treec75005a9d5c318437b370fdaff251d586c1d1048
parent7ce935db1d071df6b5eaa21f548905d0e8c4f5c6 (diff)
Replaced wBuffer with wBuySellItemPrice as to match the code in SelectQuantityToSell in current pret
-rw-r--r--Infinitely-reusable-TMs.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/Infinitely-reusable-TMs.md b/Infinitely-reusable-TMs.md
index 3b8ee53..db46436 100644
--- a/Infinitely-reusable-TMs.md
+++ b/Infinitely-reusable-TMs.md
@@ -152,9 +152,9 @@ Edit [engine/items/mart.asm](../blob/master/engine/items/mart.asm):
+ jp c, .AlreadyHaveTM
+ farcall GetItemPrice
+ ld a, d
-+ ld [wBuffer1], a
++ ld [wBuySellItemPrice + 0], a
+ ld a, e
-+ ld [wBuffer2], a
++ ld [wBuySellItemPrice + 1], a
+ ld a, 1
+ ld [wItemQuantityChange], a
+ ld a, 99